[EVO 4G Android Development] illogos:
1. Make sure that you downloaded and installed HTC Sync from HTC website.

2. Unzip hboot202-s_off-V71.zip to a folder in your C: drive. I used C:\hroot

3. This hroot folder should have a folder inside it called root. If you have a folder called hboot202-s_off-V71 then you need to move all the files from that subfolder to c:\hroot.

4. In Vista/7 slick on the start button and type in cmd. You will see in the program list the command prompt. Right click and open as Administrator.

5. In the command prompt type cd c:\hroot

6. On phone goto-> Setting>Applications>Debugging make sure usb debugging is on.

7. Connect the usb cable to your computer and phone. The phone should change it's screen to ask you what type of connection mode you want. Make sure that it is on charge only. Do not mount.

8. Type into the command prompt: adb push root/unrevoked-forever.zip /sdcard/ After a pause you should see a confirmation message that states the file size and transfer speed when the file is done being pushed.

9. Type into the command prompt: adb push root/mtd-eng.img /sdcard/ After a pause you should see a confirmation message that states the file size and transfer speed when the file is done being pushed.

10. Type into the command prompt: adb push pc36img/PC36IMG-ENG.zip /sdcard/PC36IMG.zip After a pause you should see a confirmation message that states the file size and transfer speed when the file is done being pushed.

11. Type into the command prompt: adb push pc36img/PC36IMG-MR.zip /sdcard/PC36IMG-MR.zip After a pause you should see a confirmation message that states the file size and transfer speed when the file is done being pushed.

12. Type into the command prompt: adb push root/flash_image /data/local/ After a pause you should see a confirmation message that states the file size and transfer speed when the file is done being pushed.

13. Type into the command prompt: adb push root/rageagainstthecage /data/local/tmp After a pause you should see a confirmation message that states the file size and transfer speed when the file is done being pushed.

14. Type into the command prompt:adb shell You should see a $, this means that you are "in" the phone.

15. Type into the command prompt:chmod 0755 /data/local/tmp/rageagainstthecage You should see this echoed on your screen. This is normal. You should still have $ on your cmd line.

16. Type into the command prompt: chmod 0755 /data/local/flash_image You should see this echoed on your screen. This is normal. You should still have a $ on your cmd line.

17. Type into the command prompt:./data/local/tmp/rageagainstthecage A message will pop up on the screen. It will take a few seconds, and your will be kicked "out" of the phone. The $ should now be gone.

18. Type into the command prompt: adb shell You should have a # on your command line instead of a $. # means you have temporary root in your phone. If you do not have #, then start over.

19. Type into the command prompt that has #: ./data/local/flash_image misc /sdcard/mtd-eng.img

20. Type into the command prompt that has #: sync

21. Type into the command prompt that has #: reboot bootloader

22. Your phone will be rebooting now. Eventually your phone will be at the bootloader menu. On your phone use volume up/down to highlight bootloader and press the power button once. It will start loading the PC36img.zip file.

23.After it loads, it will ask if you want to flash. Press Volume UP to say yes. It will now flash, which can take some time. You may see some red fail messages. This is normal.

24.When it is done flashing it will ask you if you want to reboot. Press Volume Down to say now to reboot.

25. Use volume up/down to highlight recovery. Press the power button once. This will try to boot into recovery mode but fail and load a screen with a red triangle. This is normal because you have not installed recovery yet.

26. Go back to your computer screen and your command prompt. You should not have a #

27. Type into the command prompt: adb push recovery /

28. Type into the command prompt: adb shell busybox --install /sbin

29. Type into the command prompt: adb shell nohup /sbin/recovery &

30. After a pause you should see a new screen on your phone. It should be green text with your recovery options.

31. Highlight backup/restore. Press the power button. Highlight backup nand and press the power button. Press the power button again to confirm the action. Your phone is now doing a nandroid backup. This will backup your wimax keys amongst other things.

32. It will take a little time to do the backup. After it is done press the power button once to return to the recovery menu.

33. Highlight enable USB-MS and press the power button.

34. On your computer, you should see a new drive in my computer or a pop up asking you for an action. Click on Explore, or open the drive in my computer, to access your phone like you would a thumb drive.

35. Rename the file named PC36IMG.zip to PC36IMG-ENG.zip and then rename PC36IMG-MR.zip to PC36IMG.zip

36. On your phone, press the power button to disable USB-MS mode. You should be back at the recovery menu.

37. Highlight the option to flash image from zip. Press the power button.

38. Highlight unrevoked-forever.zip and press the power button. Press the power button again to confirm if told to do so.

39. When it completes flashing the image, select reboot from the menu.

40. When it reboots a few things could happen. If you think your phone is frozen, you are okay because that is a normal occurrence on this step.

----->Your phone gets "stuck" on a white screen with the word HTC on it for more than a minute. You need to take the back case off your phone and pull your battery out. Put the battery back in and put the back case on again. Hold down Volume Down and press(and release) the power button while you continue to hold down the volume down button. Your phone should go into the boot loader like it did at the start of the guide.

----->You phone started up and fully booted. You need to completely power off.Hold down Volume Down and press(and release) the power button while you continue to hold down the volume down button. Your phone should go into the boot loader like it did at the start of the guide.

----->The phone returns to the boot loader.

41. No matter which of the 3 scenarios occurred to you in the last step, you are now in the boot loader. Obviously the 3rd scenario is the best, but all are OKAY.

42. The phone should find PC36img.zip. It then loads this file and asks if you want to flash. Use volume up for yes. When it asks to reboot press volume up for yes.

43. When it is done booting, return to your computer screen and type adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-MR.zip into the command prompt.

44. Type into the command prompt: adb reboot recovery

45. Highlight backup/restore in recovery and then press power. Highlight backup nand and press power. Press power again to confirm. Wait for the backup to complete.

46. Press power to return to recovery menu. Highlight reboot phone and press power.

47. Your phone is now rooted, S-OFF, and booted into stock 3.30.651.2.

-------------------------------------------------------------------------

After Root:

1. Run through setup and get to the actual phone screens.

2. Try to turn on 4G/wifi/etc and see if it all works. It may not and this does not mean disaster.

For me, I had to flash Stock RUU root 3.30.651.3 to get 4G to work. Here is what I did next:

1. Download stock RUU root 3.30.651.3(I opted for Odexed version) from http://xdaforums.com/showthread.php?t=836728

2. Reboot phone into recovery by completely powering off. Hold down volume down and press power. When you get into the boot loader it will try to find PC36img.zip and fail (we renamed that file remember?) and that is normal. Use volume up/down to highlight recovery and press the power button.

3. In recovery highlight USB-MS and press power to enable.

4. Your phone should be mounted as a drive in your computer again like before. Copy the whole zip file that you downloaded for RUU 3.30.651.3 rooted odexed to your phone. Wait for it to finish the transfer.

5. On your phone press power to turn off USB-MS mode.

6. On the recovery menu highlight wipe and press power.

7. Highlight the first wipe option which is something like wipe cache/factory reset. Press power. Press power again to confirm if needed.

8. Hightlight the second wipe option which is wipe cache. Press power and then press power again if needed.

9. Highlight the third wipe option which is wipe dalvik-cache. Press power and then press power again if needed.

10. Return recovery menu.

11. Hightlight flash image from zip and press power.

12. Highlight the file that you just transfered over that is for RUU 3.30.651.3 and press power. Press power again to confirm if asked. It will start flashing the image to your phone, but you will not see progress bars. It will take a few minutes.

13. When it is complete select the option to reboot the phone.

14. The phone should fully boot up into the stock rooted 3.30.651.3 rom.

15. Now try to turn 4G/wifi/etc on and make sure it works. It did for me.

16. Assuming that everything is working fine, fully power off, boot into recovery, and do another backup. This newest backup is your holy grail backup. It is stock rooted S-OFF and 4G working backup.

Note: these last 15 steps can be used to flash any custom rom too. Just make sure that you get your "holy grail" backup first before you experiment.