[GUIDE] Rooting 3.7/Hboot2.02+ w/screen shots (1/27/2011)

2CupsWithString

passionately curious
Jun 1, 2010
2,760
412
0
[Note]This only pertains too the 3.70 software (2.2 froyo), NOT to the latest 4.22 software (Gingerbread). For info on the latest software go http://forum.androidcentral.com/htc...sa-rooting-new-2-3-not-possible-yet-read.html[/Note]



ALL credit for this goes to zikronix at XDA in this thread: http://forum.xda-developers.com/showthread.php?t=829045

ROOTING YOUR PHONE WILL VOID YOUR WARRANTY – YOU ARE RESPONSIBLE FOR WHAT YOU DO TO YOUR PHONE. YOU WILL LOSE ALL YOUR DATA.

(If you want to backup your apps and app data you can temporarily root with z4root version 1.3 and then install Titanium Backup from the market and backup your apps & data!)

Rooting the EVO for 3.7 Software

stock.jpg


What will this do? This process will force a custom recovery on to your phone, at which point Unrevoked-Forever will be flashed to the phone, this will toggle the phones security verification to OFF (otherwise known as NAND unlock or S-OFF) by toggling a security bit in the phone’s radio, after that you’re free to install any ROM you want, here we’ll install the latest Sprint Lovers ROM because it comes included in the file set needed to root your phone and has the latest radios, after that point though you can go to any ROM you’d like.

First you’ll need to get some software together:
1) HTC Sync: Application - HTC Sync for all HTC Android Phones (NAM) (Pro tip: install this first before you start downloading other files, it may need to reboot your PC!)
2) An UnZipping utility (built in to Windows or WinRAR or WinZip)
3) MD5 Checker (you can grab this on Google, any free one will do)
4) The root files: http://www.multiupload.com/S5T9GCOKSF (when this file downloads, verify its MD5 checksum using the MD5 checker you got from Google, use this code: 27eb4a36ba01078193975fc93723dd60 if the checksums do not match you MUST re-download the file!)

m5.jpg


While you’re waiting for these files to download and to install HTC Sync, charge your phone!

1. Factory reset your phone (from the home screen: menu > settings > SD & phone storage > Factory data reset) (when it reboots, skip all the setup stuff so you just get right to a home screen)

reset.jpg


2. Connect your phone to your computer via USB, Windows will install some drivers from the HTC Sync installation. LEAVE YOUR PHONE AS CHARGE ONLY!

3. Enable application installation from unknown sources (from the home screen, menu > settings > applications > unknown sources) & Enable USB debugging (just hit the back button, select development and check the usb debugging check box)

unknown-sources.jpg


4. Extract the hboot_2.xx_soff-VX.zip that you downloaded earlier, put it in an easy to use place like C:evoroot

Make sure you have all the files and folders extracted, you should have these folders: pc36img, recovery, root and these files: adb, AdbWinApi.dll, AdbWinUsbApi.dll.

5. Open a command prompt (In windows XP & Vista go to start > run > type “cmd” > enter and type “cd c:evoroot” – for windows 7 users open windows explorer and browse to c:, press the left shift key and right click on “evoroot”, select “open command window here”)

cmdevoroot.jpg


6. Copy & paste the below commands, line by line in to command prompt (copy them here and right click in the command window and select paste – cltrl+v will not work). This will push over the required files to your phone’s sdcard. Press Enter after each line, some files will take some time to transfer – DO NOT DO ANYTHING WITH YOUR PHONE AT THIS POINT!

adb push root/unrevoked-forever.zip /sdcard/
adb push root/mtd-eng.img /sdcard/
adb push pc36img/PC36IMG-ENG.zip /sdcard/PC36IMG.zip
adb push pc36img/PC36IMG-MR.zip /sdcard/PC36IMG-MR.zip
adb push root/flash_image /data/local/

evopush.jpg

*I combined a few steps in this screen shot for sanity reasons :)

7. Still in command prompt the following commands will install and start z4root: (hit Enter after each line)

adb -d install -r root/z4root.apk
adb shell am start -a android.intent.action.MAIN -n com.z4mod.z4root/com.z4mod.z4root.z4root

After the second line your phone will have z4root on it, choose “Temporary Root” and wait a few seconds while the software gains access.

z4on.jpg


8. In command prompt type: (hit enter after each line, after you hit SU, you must hit “allow” on your phone)

adb shell
su

9. Backup your 4G RSA keys (in command prompt, at the #) – The following three commands will create this directory: nandroid/RSA-PR-BACKUP on your sdcard, inside of that directory will be this file: wimax.img, that file is a digital image of the partition on your phone which holds your 4G keys.

mkdir /sdcard/nandroid
mkdir /sdcard/nandroid/RSA-PR-BACKUP
cat /dev/mtd/mtd0 > /sdcard/nandroid/RSA-PR-BACKUP/wimax.img

10. Create a text backup of your keys (still in command prompt, at the #). This will create a file: rsa_OEM.key in the root of your sdcard which will also hold your 4G keys.

busybox sed -n '/BEGIN CERTIFICATE/,$p' /dev/mtd/mtd0 > /sdcard/rsa_OEM.key

11. Change permissions and flash some system version information: (this is still done in the command window, at the #, press Enter after each line)

chmod 0755 /data/local/flash_image
./data/local/flash_image misc /sdcard/mtd-eng.img
sync

12. Now reboot the phone directly in to bootloader: (In the command window, at the #)

reboot bootloader

13. When the phone reboots use the volume keys and power button to select Bootloader from the menu, hit the power button to select this choice. The phone will scan the PC36IMG.zip file we pushed on the sdcard earlier (this is the engineering software release for the EVO), after the scan is complete, the phone will ask if you want to apply the update, press volume up for yes. (Some selections will be skipped, this is normal and will take a few minutes to run) When the update is done the phone will ask if you want to reboot, use the volume down key and select No.

14. Move the selector to “Recovery” using the volume keys and press the power button to select it. Your phone will reboot to a screen with a red triangle on it, this is normal. (If you get stuck here at the white HTC screen, this is OK, just pull the battery then power on the phone by holding the volume down and power buttons at the same time. When the bootloader loads it will re-scan the PC36IMG.zip, select No to apply the update, then No to reboot device, from the menu select Recovery)

evosrecovery.jpg


15. In the command prompt (press enter after each line)

adb push recovery /
adb shell busybox --install /sbin
adb shell nohup /sbin/recovery &

16. Your phone will now have a green recovery menu.

17. Select enable USB-MS toggle using the volume keys and power button, this will open your sdcard up on your computer. Rename the file “PC36IMG.zip” to “PC36IMG-ENG.zip” then rename “PC36IMG-MR.zip” to “PC36IMG.zip” (you don’t need to enter the .zip part in windows because it’s hidden as a file extension). Disable USB-MS on your phone.

18. Select Flash zip from the recovery menu and choose “unrevoked-forever.zip”, after installation is complete, select Power Off.

evoked.jpg


19. Power on the phone, it will boot in to the HTC engineering software for the Evo. When the phone loads just leave it alone

20. In the command window type:

adb reboot bootloader

21. Select Bootloader from the menu with the power button, it will scan the renamed PC36IMG.zip file on the sdcard (Sprint Lover’s ROM), select Yes and apply the update, then select Yes to reboot when it’s done.

You’re now in Sprint Lovers rom which you can read more about here: [ROM] 01/10/11 | SPRINT LOVERS | 2.2 | 3.70.651.1 | Radio/Wimax/PRI All-In-One - xda-developers this is a pretty solid, very stock rom that included all the latest radio updates and a wifi hotspot app. If you like this ROM I would suggest setting it up properly with all of your information and then downloading ROM Manager from the market and creating a backup, this way you always have a way to “come home.”

To entirely reverse this process and go 100% back to stock, follow this guide here: http://forum.androidcentral.com/htc...turn-stock-after-using-unrevoked-forever.html
 
Last edited by a moderator:
This is awesome; so much clearer than the original thread! If you'll allow me to play the idiot in the interest of making this idiot-proof (everything I've read indicates it does, but I can't remember explicitly reading it) : does this method work for all previous hardware, software, and hboot versions? If it does, maybe change the title to add "and lower"?
 
This is awesome; so much clearer than the original thread! If you'll allow me to play the idiot in the interest of making this idiot-proof (everything I've read indicates it does, but I can't remember explicitly reading it) : does this method work for all previous hardware, software, and hboot versions? If it does, maybe change the title to add "and lower"?

Yes it will work for all evos....but the earlier evos have a tad bit easier method....BUT this is still the recommended method because it is SURE to work and you will know what goes wrong IF something goes wrong. and you learn something in the process instead of just clicking a button and hoping and praying it works.


great job thefredelement! now get this stickied!!!
 
This is awesome; so much clearer than the original thread! If you'll allow me to play the idiot in the interest of making this idiot-proof (everything I've read indicates it does, but I can't remember explicitly reading it) : does this method work for all previous hardware, software, and hboot versions? If it does, maybe change the title to add "and lower"?

Yes it will work for all evos....but the earlier evos have a tad bit easier method....BUT this is still the recommended method because it is SURE to work and you will know what goes wrong IF something goes wrong. and you learn something in the process instead of just clicking a button and hoping and praying it works.


great job thefredelement! now get this stickied!!!

Yes, the way to root the 3.30 software is relatively easy and doesn't require as many steps, as well it can also be done without using unrevoked-forever (not like I have anything against it, it's just kind of cool to use all of HTC's software for the process).
 
can i skip 7-10 and jusmp straight to #11 if i already have my rsa keys backed up from a previous failed attemp at rooting... also do i need to put usb debbuging check
 
can i skip 7-10 and jusmp straight to #11 if i already have my rsa keys backed up from a previous failed attemp at rooting... also do i need to put usb debbuging check

You sure can skip if you'd need to, just enter adb shell & su to get in to the shell.

If ADB isn't pushing the files then enable USB debugging (I'll add this in the first step after the factory reset on the instructions).
 
  • Like
Reactions: 4lth4z44r and wtfm8
great post it worked great and your screenshot helped a lot.. i forgot to do MD5 thingy but it didnt seem to matter for me at least.. I want a new Rom

what do you think of [ROM] Myn?s Warm TwoPointTwo - [RLS 5 - 01/07/2011] - More Than Meets The Eye! - xda-developers and bad things about it? also do rsa keys ever change or if i have them saved on my comp will i be fine in the future if i ever flash them

RSA keys never change, they'rd coded with your device.

Myn's is nice a lot of people really like it. You'll most likely do some ROM flashing and see what you like best then probably go back and forth down the road to try out new things.
 
RSA keys never change, they'rd coded with your device.

Myn's is nice a lot of people really like it. You'll most likely do some ROM flashing and see what you like best then probably go back and forth down the road to try out new things.

cool thnx.. any good stickies or tutorials on how to install a new rom and then customize it following... I really wouldn't know what to do without you guys.. I consider myself a quick learner but when it comes to this i really feel ******ed
 
cool thnx.. any good stickies or tutorials on how to install a new rom and then customize it following... I really wouldn't know what to do without you guys.. I consider myself a quick learner but when it comes to this i really feel ******ed

I'm writing the next part, like how to flash ROMs now but I'm at work so it'll be some time before it's up.

There are plenty of threads at the evo section on XDA with a ton of roms, check it out!
 
Thanks so much. Very detailed, love the screenshots, might give this a try, it will be my first attempt at rooting.
 
So for pre-pre-root preparation would doing a backup of apps using an app like Androzip suffice?
 
So for pre-pre-root preparation would doing a backup of apps using an app like Androzip suffice?

You can install z4root 1.3 and get temporary root on your current installation, then install titanium backup and backup that way.

I'm not familiar with the app you're talking about, but that doesn't mean it's not good, if it backs up what you need then I'd say go for it.
 
I like this alot!! i think i might try this later but i might need you around to help me lol
 

Trending Posts

Members online

Forum statistics

Threads
955,672
Messages
6,965,497
Members
3,163,355
Latest member
shalim77