ok so here are the steps that i follow to do this hack
If you need a root privileges you must do some simple steps
Here i use a Linux based system to do that , can be also used Windows or Mac however ,the choice is yours
First thing we need to communicate with our htc tatoo
So we need some tools
Download:Android SDK ===>>> http://developer.and.../sdk/index.html
Fastboot ===>>> http://developer.htc.com/adp.html
After you download this things , you must unzip them
OK so i renamed the directory android-sdk-linux_86 to android , its more easy to work under a linux shell for me
First thing to do now is to put the Fastboot file in /android/tools/
directory
Adb will help us to have a connection with the htc in recovery mode
Fastboot will work with htc in fastboot mode
Now make sure that you have set Debug Mode in your phone
You can change this settings under Settings>Application>Development>Debug USB jutt put the flag to set this option
Let's start
Set the permission to the executable
Now we don't need to specify every time /home/user/android/tools ./adb
We can simple use ./adb without the full path
Is just for the convenience
Connect your phone to the pc and type
List of devices attached
HT93YKF00480
Don't forget to have the privilege needed to do that
Now download the exploit to gain the root access from Here
Extract the files to your current directory
Follow this steps
u must use
/home/user/android/tools/./adb options
With this commands that we did before we copy the files we ned to our phone
Now let's exploit , we drop in our phone shell
So we have root access
Now to make this change definitive
To use tho root we can download the Terminal emulator
directly from our htc tatoo
You must go under /system/bin directory
Then use su to get root
Use also id to see if you are the root
# iduid=0(root) gid=1000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)
iduid=0(root) means you are root
If you need a root privileges you must do some simple steps
Here i use a Linux based system to do that , can be also used Windows or Mac however ,the choice is yours
First thing we need to communicate with our htc tatoo
So we need some tools
Download:Android SDK ===>>> http://developer.and.../sdk/index.html
Fastboot ===>>> http://developer.htc.com/adp.html
After you download this things , you must unzip them
OK so i renamed the directory android-sdk-linux_86 to android , its more easy to work under a linux shell for me
First thing to do now is to put the Fastboot file in /android/tools/
directory
Adb will help us to have a connection with the htc in recovery mode
Fastboot will work with htc in fastboot mode
Now make sure that you have set Debug Mode in your phone
You can change this settings under Settings>Application>Development>Debug USB jutt put the flag to set this option
Let's start
Set the permission to the executable
cd /android/tools chmod +x fastbootSo here we can export the Path to use this tools without need to enter every time the full path
echo 'export PATH=/home/user/android-sdk-linux/tools/:$PATH' >> /home/user/.bashrcAfter that just exit or loggout to make the change permanent
Now we don't need to specify every time /home/user/android/tools ./adb
We can simple use ./adb without the full path
Is just for the convenience
Connect your phone to the pc and type
./adb devicesMust have an output like this
List of devices attached
HT93YKF00480
Don't forget to have the privilege needed to do that
Now download the exploit to gain the root access from Here
Extract the files to your current directory
Follow this steps
cd tatt00hack adb push m7 /data/local/bin/m7 adb push tattoo-hack.ko /data/local/bin/tattoo-hack.ko adb push su /sdcardNote that is used adb ,so if you will not export the PATH like we did before
u must use
/home/user/android/tools/./adb options
With this commands that we did before we copy the files we ned to our phone
Now let's exploit , we drop in our phone shell
adb shellMake the exploit executable and proceed to execute the code
chmod 755 /data/local/bin/m7 cd /data/local/bin while true ; do /data/local/bin/m7; doneAfter the code was executed the sign $ will be changed to #
So we have root access
Now to make this change definitive
export LD_LIBRARY_PATH=/system/lib export PATH=/system/bin insmod /data/local/bin/tattoo-hack.ko mount -o rw,remount /dev/block/mtdblock5 /data[] mount -o rw,remount /dev/block/mtdblock3 /system mv /system/bin/su /system/bin/su.old (here probably we get an error ,don't worry) cat /sdcard/su > /system/bin/su chmod 6755 /system/bin/su rebootThe phone will reboot
To use tho root we can download the Terminal emulator
directly from our htc tatoo
You must go under /system/bin directory
Then use su to get root
Use also id to see if you are the root
# iduid=0(root) gid=1000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)
iduid=0(root) means you are root














