[EVO 4G Android Development] xHausx:
I am proud to present the HTC EVO Auto Root script! It took me awhile but I finally got it fully automated, it probably would have been easier using VB to write it but I wanted it to be readable by everybody. I don't have working scripts for Linux or Mac yet but for older phones you should be able to follow the Alternative Method and use the code included at the end of the post with minimal changes. If you are new to rooting the Evo you should check out the Rooting Information and Common Problems thread to familiarize yourself with some of the screens you will see. At times your phone may shows ominous looking icons that look bad but really aren't, at times like that it is important that you don't panic and do anything that could damage your phone.

This will make a backup of your WiMAX partition and the RSA keys that are stored on it; backing up your RSA keys separate is not necessary. It will save it in the AutoRoot folder so be sure not to delete it.

If you run into any problems please include the following information with your post: Any methods you have previously tried to root with, what it did last plus any error messages it may have given (if you can right click, select all and copy it from the terminal), and if you are in the bootloader we need to know what the top two lines say. Running this will create a log file named: autorootlog.txt. Please post this as well.

Any feedback no matter good or bad is appreciated! Let me know how it works for you.

Randy (randyshear on youtube) has made a great video of the process if you would like to get an idea of what to expect before hand. It is important to note that, depending on your phone, the process may be slightly more involved or require more or less time.

HTC EVO 4G ** ROOT AND NAND UNLOCK ** AUTOROOT V 2.2 ** HOW TO **

This has been confirmed working with:

Software versions 1.32, 1.36, 3.29, 3.30 & 3.70

hBoot Version .76, .93, .97, 2.02 & 2.10

Thanks go to

HTC for making the phone to begin with

Sebastian Khramer for his rageagainstthecage exploit

Toastcfh for his tutorial and all of his work on improving the Evo, a lot of this is borrowed from his previous work

Amon_RA for his recoveries and for his quick work creating a recovery compatible with the new NAND blocks

Calkulin for collecting all of the radios and update images

Whosdaman, Football and Sniper911 for sharing the RUUs with us

The Unrevoked Crew for all of their hard work on the Unrevoked Forever s-off tool

amoamare and Zikronix for all of their hard work on rooting phones with the 2.02 hboot

chris1683 for his Sprint Lovers ROM

Netarchy for all of the great kernels

A huge thanks goes out to Dan0412 who took the time to debug this for version 003 2.02 phones

Schnick1 and tauzins for their help with getting ADB to act right

Props go to RyanZA and anyone else who worked on the z4root app. I wouldn't have got 3.70 rooted as fast as I did if I didn't have their app to learn from.

IF YOU HAVE PREVIOUSLY TRIED ROOTING YOU MUST RESTORE FROM A RUU BEFORE RUNNING THIS. IT WILL NOT ROOT IT UNLESS YOU DO THIS.

If you have an older phone and don't want to flash Unrevoked Forever or Sprint Lovers w/ the radio updates you can have it skip them. It will just flash the engineering bootloader to unlock the NAND and then flash the recovery directly from there. You will need to update everything and flash a custom ROM on your own. This will only work if your phone has a version .9x hBoot.