Android Root Process for HTC Thunderbolt

· Android

This article is a compilation of many different articles. I wanted to understand the whole process to ensure nothing bad would happen. I wanted to know what each of the files were for as well as the steps to take to reverse all the changes exactly. I tested this process on two Thunderbolts using Windows 7 x64 Ultimate with Service Pack 1. Enjoy!

Disclaimer: I am not responsible if you brick your phone. Do your research before performing any of the steps below. It is NOT illegal to root your phone, but it will void your warranty.

Besure to check out this forum for any and all help: http://www.xda-developers.com

NOTE: Much of the information from this article was taken from these articles.

http://www.androidpolice.com/2011/03/19/exclusive-how-to-root-the-htc-thunderbolt-and-unlock-its-bootloader/

http://forum.xda-developers.com/showthread.php?t=996616

All the files, but different (don’t use): http://forum.xda-developers.com/showthread.php?t=1005292

One Click root (don’t use for this article): http://www.androidpolice.com/2011/03/23/first-one-click-root-s-off-for-htc-thunderbolt-out-now/

Eng Bootloader: http://www.gotontheinter.net/content/engineering-bootloader-its-not-just-ttuttle-anymore

Read the following topics:

Other related articles:

Phone Changes:

  • Set Debugging mode on phone

  • Disable fast boot on phone

  • Charge battery to 100% on phone

Computer Changes:

Terms (used in the modding community, not necessarily in this article):

http://androidforums.com/incredible-all-things-root/142249-deodexed-vs-odexed.html

http://forum.androidcentral.com/thunderbolt-rooting-roms-hacks/72659-deodexed-vs-odexed.html

Files Required for Rooting:

  • RUU PG05IMG_downgrade.zip (ROM used to downgrade the phone initially which allows the engineering bootloader to be installed)

  • Exploits.zip (contains busybox, wpthis, psneuter, su, readme.txt, misc.img, and hbooteng.nb0)

  • RUU PG05IMG_stock.zip (Stock ROM with the addition of the superuser app preinstalled, it’s flashed from the engineering bootloader)

Other Resources:

Overview of the Tools:

  • adb – Android Debug Bridge which allows programs on a computer interact with the android phone

  • psnueter – Changes the ANDROID_PROPERTY_WORKSPACE to allow ADB shell to default to root

  • busybox – Contains an md5sum program that ensures the downloaded programs aren’t corrupt

My steps were pulled from this website with additional comments added in for clarity. It’s a great article:

http://www.androidpolice.com/2011/03/19/exclusive-how-to-root-the-htc-thunderbolt-and-unlock-its-bootloader/

Make sure ADB can be run from command prompt.

  1. Add files to device and then set the permissions:

adb push psneuter /data/local/<br /> adb push busybox /data/local/<br /> adb push misc.img /data/local/<br /> adb shell chmod 777 /data/local/psneuter<br /> adb shell chmod 777 /data/local/busybox

  1. Open shell and remove the environment check:

adb shell<br /> /data/local/psneuter

  1. Open shell as root and verify file is not corrupt (should output c88dd947eb3b36eec90503a3525ae0de):

adb shell<br /> /data/local/busybox md5sum /data/local/misc.img

  1. Write misc.img to the device and exit the shell:

dd if=/data/local/misc.img of=/dev/block/mmcblk0p17<br /> exit

  1. Rename PG05IMG_downgrade.zip to PG05IMG.zip and place on your SD card. This command will reboot your phone to the boot loader screen:

adb reboot bootloader

  1. Use the volume up and down buttons to ensure bootloader is selected and then press power once.

  2. When asked to “start update”, click the volume up button for “Yes”. The phone will reboot and then flash. The process will take a while. Don’t turn off the power!

  3. When the screen shows “Update Complete…”, press the Power button to reboot.

  4. When the phone boots, you will see the same wizard so when you first bought your phone. Quickly skip through the wizard and then enable Disk drive mode. Delete the PG05IMG.zip from your SD card. Enable debugging on the device again. Unplug and then plug back in the phone to enable debugging.

  5. Add the files to the device again and set the permissions:

adb push psneuter /data/local/<br /> adb push busybox /data/local/<br /> adb push wpthis /data/local/<br /> adb shell chmod 777 /data/local/psneuter<br /> adb shell chmod 777 /data/local/busybox<br /> adb shell chmod 777 /data/local/wpthis

  1. Open shell and remove the environment check:

adb shell<br /> /data/local/psneuter

  1. Open shell as root and unlock the eMMC:

adb shell<br /> /data/local/wpthis<br /> exit

  1. Copy the engineering bootloader to the phone:

adb push hbooteng.nb0 /data/local/

  1. Open shell as root and verify the file is not corrupt (output should be 6991368ee2deaf182048a3ed9d3c0fcb):

adb shell<br /> /data/local/busybox md5sum /data/local/hbooteng.nb0

  1. IMPORTANT: You can brick your phone if these steps are not performed correctly. Write the bootloader and then verify.

dd if=/data/local/hbooteng.nb0 of=/dev/block/mmcblk0p18<br /> /data/local/busybox md5sum /dev/block/mmcblk0p18

ENSURE THE CHECKSUM IS: 6991368ee2deaf182048a3ed9d3c0fcb

IF IT IS NOT, DO NOT REBOOT YOUR PHONE.

  1. If the checksum IS correct, reboot your phone.

  2. When the phone starts up, enable Disk mode, rename PG05IMG_stock.zip to PG05IMG.zip and place on your SD card. This command will reboot your phone to the boot loader screen:

adb reboot bootloader

  1. Use the volume up and down buttons to ensure bootloader is selected and then press power once.

  2. When asked to “start update”, click the volume up button for “Yes”. The phone will reboot and then flash. The process will take a while. Don’t turn off the power!

  3. When the screen shows “Update Complete…”, press the Power button to reboot.

  4. When the phone boots, you will see the same wizard so when you first bought your phone. Set up your phone for use!

  5. Enable Disk drive mode. Delete the PG05IMG.zip from your SD card.

You are now fully rooted.

author image

About Joseph Spurrier

I'm passionate about building solutions to automate tasks and improve efficiency. I worked for a few companies in the digital healthcare space. My education is in forensics. Tech guy. Traveler. Runner. Guitar player. Scotch and beer enthusiast. GitHub LinkedIn Twitter Google+

Share this post


Comments powered by Disqus