yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] rstuckmaier:
This was awesome! Thank you so much! I went from new (0002 refurb actually) to CM7 in about a half hour... all while watching Tosh.0!! Last time I did this I had to pay a lot more attention, and actively work (which is nice, that way I new what to do if something went wrong).

Thank you again!
[EVO 4G Android Development] xHausx:
Good to hear it went well, the revA version of the recovery will work with all partitions except for ext4. ext3 and ext2 are good to go though. There is a copy of it by itself in a PC36IMG under the res\ folder; you can use the the FlashZip script to flash it to your phone.

almost forgot about that one, I think you're the first person to notice that in there. :)
[EVO 4G Android Development] makskylan:
Has anyone tried this method with the EVO Shift?
[EVO 4G Android Development] rattlesnake8:
Can i use the pc36IMG from the OP to go back to stock??

Are those pc36imgs in the OP rooted or just normal ??
[EVO 4G Android Development] issafram:
Bumpity bump...
[EVO 4G Android Development] secondskin:
Great thanks for the info. I just switched over to your modified recovery. I'm guessing the ext's on matter if your using a2sd correct? I don't need a2sd so that doesn't bother me.
[EVO 4G Android Development] kingdazy:
just noticed you've updated this, wondering, is there any dire need to update the recovery? (used last version) or just any benefits?

and again, thanks for your time put into this tool.
[EVO 4G Android Development] xHausx:
Sorry, won't work with the Shift. It shouldn't let you even try but if for some reason it does it will probably leave your phone in a very bad state.

The lone PC36IMGs are untouched straight out of the RUU.
[EVO 4G Android Development] xHausx:
This way may use Unrevoked forever to unlock the bootloader but uses htc's built in update routines to flash everything.
[EVO 4G Android Development] xHausx:
Ya, it is just for the sd-ext options. If you are not using apps2sd it shouldn't effect anything.
[EVO 4G Android Development] xHausx:
Everything looks normal there except for when it timed out, I would try it one more time and see if it goes through. If it doesn't reboot into the recovery and use the StartRecovery script so you can flash it manually. It will be on the sd card as URFSOff.zip
[EVO 4G Android Development] Damaj:
Thank you xHausx. I appreciate all the time you've put into this tool and your support. It's been a big help to me while learning android.
[EVO 4G Android Development] webby_s:
Quick question before I go insane, my work buddy wants me to root his phone and I am thinking I will do the quick method because our work computer won't install HTC Sync. So my question;

Can I do the quick root instructions without the HTC Sync? With OpenShell? What are my options?
[EVO 4G Android Development] Indiana Jones:
Hello

I wanted to add in some info on the process i went through for an EVO 004 3.70 which is about 1-2 months old.

Computer prep

- clean windows 7 64 bit install. Please note neither HTC Sync or evo drivers have ever been installed in this computer.

1. Turned off anti virus

2. installed HTC Sync 2.0.35.exe

3. downloaded Autoroot 2.4 Full root zip.

I clicked on the HTC sync program and it gave me an error??? I closed it and then opened the HTC sync again using the compatibility "run as administrator". HTC sync is now running but phone has not been connected.

Phone prep:

1. formated the SD card from the phone by clicking unmount then format SD within android.

2. Performed Factory reset, then synched to google contacts only once the phone restarted.

3. Enabled USB Debugging from the phone's application> development tools.

4. Opened HTC sync as administrator, plugged in the phone and selected charge only.

drivers installed with no errors. The HTC program is still running at this point but it does not indicate that the phone is connected from the bottom right corner. I disregarded this and closed the application.In fact i closed all applications, including my web browser and any other progs on my task tray. ( can you tell im paranoid?)

5. Opened the autoroot 2.4 folder and ran AUTOROOT as administrator

The program ran through its paces until my it displayed the words "waiting for phone". I let the phone sit for 5 minutes and made sure the computer did not go to sleep.

A white screen is showing on my phone but nothing is happening. I refer to step 7 of the guide at the beginning of this thread and i learn that i must flash manually.

6. I pressed the power button to go into the bootloader which was already highlighted on my phone's screen.

more progress bars

7. Do you want to apply this zip? i chose yes

more progress bars including a radio fail.

8. The process is finished and clicked no for reboot.

9. I select recovery from the menu.

Red triangle is shown on my phone's screen in sync with a brown stain on my pants.

script continues on my computer followed by several phone reboots.

HTC drive safely or whatever logo is displayed for a good 40 years but i manage not to pull the battery in desperation.

Success and root.

:)
[EVO 4G Android Development] mleet1980:
Recovery won't stick

Let me start off that this is very weird & might not make much sense but,

abd will reconize my phone when it's in stock recovery.

i go into stock recovery then i push the start recovery file in the auto root folder.

it then flashes recovery. I managed to get s-off with this.

But everytime I try to flash a rom I get a message saying the rom bad.

So I reboot and go back into recovery and there it is default android recovery.

i shouldn say reboot. I can't get a rom to load on the phone. recovery or nothing.

It doesnt sound like its bricked but it does.

I don't get it.

any help is appreciated.

update:

this it the exact message I get whe I try to flash a rom:

install pc36img.zip

press power to confirm

any other key to abort

install from sd card

finding update package

opening update package

E:cant open /sdcard/pc36img.zip

(bad)

I added my auto root log
[EVO 4G Android Development] xHausx:
You'll want to run autoroot as admin so it can try and block other apps from interfering. You can use this method if you wanted to try it through the command prompt.

http://xdaforums.com/showthread.php?t=829045
[EVO 4G Android Development] xHausx:
Pc36img files can only be flashed through the bootloader while update zips are only for the recovery.

To finish rooting you'll want to run the FlashZip script and use it to flash SprintLovers_AmonRA..zip. That will bring your phone back up to date with a permanent recovery. Once you do that you can use the recovery to flash a different rom if you would like.
[EVO 4G Android Development] mleet1980:
i ran the flashzip script and it sent me back out to hboot. when i selected recovery is was back to default. can u tell me where i can get the rom from. im assuming its in one of the files . in the auto root folder.
[EVO 4G Android Development] xHausx:
It should have given you a list of files that can be flashed when you ran it. The file name I gave in my previous post is the one you want.
[EVO 4G Android Development] Damaj:
Just wanted to let you know everything went smoothly when I retried it. Thanks again!
[EVO 4G Android Development] mleet1980:
i think i got it. i will let u know shortly
[EVO 4G Android Development] mleet1980:
I flashed the rom from here:

http://xdaforums.com/showthread.php?t=830153

and rebooted.

went back into recovery and it was stock. amon ra didnt stick.
[EVO 4G Android Development] xHausx:
You never flashed AmonRA; the StartRecovery script is temporary, not permanent.

You need to flash the file I mentioned earlier with the FlashZip script.
[EVO 4G Android Development] mleet1980:
I finally got it working. I flash a pc36img that was just recovery. Then I ran the script to flash the specialized Rom.
[EVO 4G Android Development] CheesyNutz:
for some reason i can't get the RUU image to be seen i need to unroot a evo to send back

abd i get a error [170]
[EVO 4G Android Development] xHausx:
Connection error, try putting it in fastboot mode and it should go through.
[EVO 4G Android Development] CheesyNutz:
then run the RUU.exe ?

if so it gives me the same error
[EVO 4G Android Development] xHausx:
Ya, it doesn't like it likes your fastboot drivers then. You can flash it as a pc36img also, if you still have the autoroot folder place one of the zips from the op in it and run the flashzip script. You can also do it with the sdk with:

fastboot oem rebootRUU

fastboot flash zip pc36img.zip
[EVO 4G Android Development] Davenroth:
Unix/Lotoor

Why did my version of Autoroot 2.3 have "Exploit: Unix/Lotoor" in it?

Microsoft Security Essentials just detected it while I was just perusing my PC. I did a little digging, and this seems to be the malware that recently exploded on the Android Marketplace.

microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?Name=Exploit:Unix/Lotoor

Specifically it was found in the file rageagainstthecage-arm5.bin

Anyone care to comment? I love the XDA community, but this sort of has me freaked out.
[EVO 4G Android Development] xHausx:
That is the exploid exploit, it is in that file and in the autoroot.apk. That is what all froyo root methods use to get root.

Unfortunately, it's also the same thing the douche bags who made that malware used to get root.

It only works to elevate permissions on android and mobile lookout does a good job of blocking it if you are worried about it. Of course you won't be able to get root if you block it though.

Edit: I also have the source code available for both rage & the autoroot apk if any one is curious as to exactly what they do.
[EVO 4G Android Development] CheesyNutz:
worked perfectly !!! tyvm for all the hard work !
[EVO 4G Android Development] winkynatedog:
I just flashed the universal root and everything went super smooth. After everything loaded up I hit the power button then rebooted into recovery. It comes up Build: RA-supersonic-v2.3- HAUS MOD rev.A. So I feel the recovery stuck even though I saw in a previous post it was only temporary till you Run flashzip.bat. So I guess my question is do I leave it the way it is or do I run flashzip.bat. One last thing I know a lot of people say to use RA's 1.8 cause it is stable does anyone know if 2.3 is stable as well?
[EVO 4G Android Development] shadd01:
Soo my phone has been stuck at the black screen with white htc letters for 20+ minutes. Not sure what to do.... dos prompt says:

"Flashing Firmware...

It is very important that you do not interrupt this while flashing. Unplugging or turning the phone off while it is flashing can easily brick your phone.

any help would be great...
[EVO 4G Android Development] xHausx:
did it show a green progress bar along the bottom of it?

edit: If not you should be ok to close out the script, if you can attach the autorootlog.txt file to a post that will show what happened to it.
[EVO 4G Android Development] xHausx:
You're good to go if it made it through, the temporary recovery is only used during rooting. The person earlier had something interrupt it mid way through so it never finished.

The haus mod version of Amon RA functions the same as the regular 2.3 with a few small tweaks. It's a little bit faster, and doesn't have the screen glitches, but either one should be reliable.
[EVO 4G Android Development] CGCampbell:
so i am having problems so it flashed and all and i was able to set my phone up then it started saying daemon not running. starting it now on port 5037 about 5 times and after every line it said daemon started successfully

then pushing amon_ra_1.8 mod to/...

phone is flashing unrevoked forever.....

daemon still not runningerror: connect to daemon

phone exited recovery mode.

waiting for the phono

rebooting into the bootloader...

waiting for the phone and thats where its sitting right now doing nothing and the phone is in fastboot
[EVO 4G Android Development] CGCampbell:
well i took a chance and i disable my firewall from macafee and rebooting into bootlaoder..it didnt like it but it started all over and i think it flashed but i am right setting up phone again
[EVO 4G Android Development] RoadBicyclist:
I tried last night after watching the video (and reading the instructions) and it went through... or so I thought. It did say I had root, but did not go through with the progress bar I saw on the video. I'm obviously missing something.

Please check my attachment, I am still S-ON. I removed my battery after being stuck for half hour on the red triangle with exclamation point. When I rebooted to recovery I could see some instructions in recovery that do not usually show in recovery; it almost seems as if it went thruogh while it was flashing some files (see attachment).

Anyway, should I go through the entire process again or just follow the instructions from recovery? I'm not familiar with adb, so I'm lost at this point.

Thanks in advance.
[EVO 4G Android Development] dteze88:
All I get is "failed to get a root shell" error, HTC Sync is installed and I believe the drivers are installed correctly. I've done it on other Evo's and never had a problem. Thanks!
[EVO 4G Android Development] xHausx:
It shows adb is still disabled in the recovery; you have to let it flash the pc36img from the bootloader in order to continue. Nothing was flashed yet so you can restart it like normal.

Something is blocking it from getting root. If you do a factory reset it should let it go through.
[EVO 4G Android Development] dteze88:
You are correct Haus, factory reset did the trick. You da man!
[EVO 4G Android Development] stonemad:
I don't know what is wrong. It stalls at the recovery screen, then I don't have nand unlocked, I have 2.1 on my phone and I am not rooted. I have an Evo with the white case, dows that make a difference?
[EVO 4G Android Development] xHausx:
Did it give you any adb errors? It may just need to be ran again.
[EVO 4G Android Development] stonemad:
Just that daemon could not run
[EVO 4G Android Development] Semantics:
I'm in a bit of a jam here. I ran the auto root, said I'm nand unlocked and that all was successful but I cannot boot into recovery. I get the red triangle with the exclamation point. When I use the start recovery script it wont run, and when I use the flashzip script and I get the option select a number 1-4 etc, when I select 1 it just shuts down. I cant figure out how to get my phone connected so I can put something on the SD card like a recovery img or something. Any suggestions? I've been without my phone for over 2 hours trying to figure this out. I do see S-off etc and I can boot into the bootloader/fastboot. I just cant get a recovery script to work.
[EVO 4G Android Development] calopez_22:
was wondering if i could get the latest autoroot and 3.7 pcimage, for some reason i cant get it to download from the link get a message that the site is no longer valid.

:(
[EVO 4G Android Development] xHausx:
Thats strange, can you send me the autorootlog.txt file so I can see if there is anything showing in there?

You can flash it manually by running the openshell file with the phone showing "fastboot usb" and typing

Fastboot oem rebootRUU

Fastboot flash zip res\pc36img-SprintLovers-AmonRA....zip

Just change the pc36img nanf yo match the one flash zip showed, sry I don't have the exact name in front of me.
[EVO 4G Android Development] xHausx:
Ohhh, it can't get a good connection to your phone. You'll need to reinstall the drivers from the htc sync linked to in the OP and make sure that no apps that can interfere with it are running.
[EVO 4G Android Development] bwolters:
Root Revamped

(Disclaimer 1: This may have been posted previously, but i dont have time to go through all 208 pages.)

(Disclaimer 2: I am not responsible for anything that may or may not have occurred to your phone, you are following these steps at your own risk.)

I had previously rooted the day that the root tutorial came out after all the hard work went into rooting 2.2 Froyo.

I had to unroot in order to get my phone replaced because of the light separation at the bottom of the LCD. Came back here to root again, and I must admit as it was written it did not work for me, It told me that ADB was not running successfully no matter what I did, so I decided to get the ADB function working for myself.

Here is a Step by Step on getting your Drivers to work and ADB by default:

1.) Connect phone and PC via USB, enable USB Debugging, set phone to charge only.

2.) Power the phone off

3.) Push Power and Volume Down and hold until it gets you into bootloader

4.) Push Volume Down (it will go through a PC36IMG check)

5.) Push Volume Down again to select Recovery (push power to select), It will reboot.

6.) It will get you to a screen with a Red Triangle and !, don't worry, your PC will install the proper drivers, however there is no way to get out of this screen. To verify the drivers did install, your computer should have given you the balloon at the bottom right to show that you have successfully installed your drivers, if this did not occur it didn't work for you and cease with the rest of this step by step. Regardless Do a Battery Pull and move onto step 7 if your PC did in fact install the drivers.

7.) Power on your phone after you have put the battery back in place.

8.) Enable USB Debugging Mode, set phone to charge only.

9.) Unpack the AutoRoot_v2.4

10.) Rick Click the Autoroot.bat and Run as Administrator.

It is now rooting your phone, Enjoy.
[EVO 4G Android Development] Semantics:
Thanks xHausx, I kept trying the recovery batch file and i managed a temporary recovery, and from there I just went usb toggle and flashed that file you mentioned above and all is well now. Thanks again.
[EVO 4G Android Development] leadfoot9281:
ok in a bit of a jam here. used this on a friends evo and the prompt got stuck on "verifying bootloader" ... so after a few mins i hit "volume up" to start the update. .... now im stuck on the red triangle screen. any thoughts?

closed prompt and ran "auto root" again. this is what i got.

Starting ADB server...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Searching for phone...

Found the phone connected as 'recovery'

Setting up a temporary Recovery...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Pushing amon_ra_1.8-mod to /...

Checking MTD configuration...

WARNING MTD information does not match previous configuration!

Phone uses the new block size.

WARNING Unknown bootloader version!

Deleting /sdcard/PC36IMG.zip...

Setting auto-update command to flash Unrevoked Forever...

Rebooting the recovery...

Waiting for the phone...

Phone is flashing Unrevoked Forever, you should see a circular icon with a green

arrow pointing down for a moment and then it will restart a couple of times...

phone is still stuck on red triangle.

**EDIT**

restarted the auto root again and it is working... or seems to... lol.
[EVO 4G Android Development] almony8:
If it doesn't work, try downloading the LATEST PC36IMG.zip for amon RA recovery and flashing that from recovery, worked for me when I was stuck at the triangle on my buddies 004 evo
[EVO 4G Android Development] leadfoot9281:
That's what I ended up doing, except I used clockworkmod instead. I don't know what went wrong but end result is its rooted and working again. Lol. Never been worried like that before. Thanks for the help tho.

Sent from my desire with SWYPE sorry bout the spelling
[EVO 4G Android Development] xHausx:
It's usually a driver issue when it fails. The FlashZip script can be used to finish up as well, the SprintLovers PC36IMG has the ROM + Radios + Recovery in it so everything can be flashed at once.

It won't hurt anything to flash just the recovery but you'll want to update your Radios afterward as well.
[EVO 4G Android Development] leadfoot9281:
But your saying just flash sprint lovers and I'm good? Xda went down last night when we was deciding on a rom so its on cm for now.

Sent from my desire with SWYPE sorry bout the spelling
[EVO 4G Android Development] xHausx:
Yup, the pc36img version of sprintlovers will have everything in it needed to bring your phone back up to date since it has the radios included. You can flash it normally or over usb by putting the zip in the autoroot folder and then running FlashZip.
[EVO 4G Android Development] tke0834:
Haus, did you get a chance to look at that log file I sent you? I got hung up during the recovery set up & I keep getting a 170 error when trying to run the RUU...

I've run this method 4 times on 4 different phones & this is the 1st issue I've had.
[EVO 4G Android Development] xHausx:
Just replied, you can use the flashzip script to get the phone in fastboot mode. From there you can cancel out of it and run the ruu instead.
[EVO 4G Android Development] tke0834:
The flashzip needs to go on the SD card & run via the recovery like you would flash a Rom? If that's the case, I can't get into recovery. The option is there but it just boots into a red triangle...
[EVO 4G Android Development] xHausx:
You can run it from your pc. Another opinion is to flash it by hand; when you are in the stock recovery (red triangle) run the StartRecovery file. Then use the menu on the phone to flash URFSOff.zip. Once that is done run FlashZip and select SprintLovers.
[EVO 4G Android Development] tke0834:
Thanks for your help good sir! I thought I was screwed. Have a couple drinks on me.

2VP98087TG145693J
[EVO 4G Android Development] xHausx:
Glad you were able to get it going, some phones just like to be stubborn. Nice thing about doing it this way is thatsort of pulling the batt mid flash it's nearly impossible to brick or permanently corrupt the phone.

Thank you for the donation as well. I have a three day weekend coming up so I will def put it to good use. :)
[EVO 4G Android Development] stevo760:
My phone is considered a stubborn one. :)
[EVO 4G Android Development] matpal:
Sorry is this has been covered, but 210 pages is a lot to read.

My 4G turns off immediately after scanning for a signal. I am right on the border of 4G coverage, so I am not sure if it is the network or the ROM doing this. Any insight would be appreciated.
[EVO 4G Android Development] CtDMonet:
Root-Unroot Red Triangle problems

I rooted using the old method (quite a while ago). I attempted to unroot to take in for service (which worked), but now I seem to be caught in a limbo. I try to boot into recovery and I get a black screen, with a picture of a phone and a red triangle. I tried to use this autoroot method to get back to good, and something errors out. Is it because the new HTC Sync (3.0.5511) screws it up?

I have one re-occurring problem -- when I boot into bootloader, it says opening PC36diag.zip and can't find file, then it opens PC36img.zip, and all is well. Until I try to boot recovery and I get the black screen with the red triangle. Any ideas?
[EVO 4G Android Development] xHausx:
There is an app on the market called wimax key checker, you can use that to see if anything happened to your keys.
[EVO 4G Android Development] xHausx:
Sense 3.xx blocks this from running, you'll want to use the version that sprint gives out for phones.although, if you already have s-off you can skip that and use the flashzip script to flash the sprintlovers zip. That one has the rom, recovery & radio updates all included in it.
[EVO 4G Android Development] le nitro:
Hey guys,

I have the original build as the user who posted the youtube vid. I followed the instructions, and Idk what happened to my phone. I thought I bricked it and than it restarted and it has a version that doesn't look the same. I don't know if it is rooted or not...the software info looks to be the same but the pull down bar has options on top which it never had and the the color of the bars of service have changed...not really sure what quite happened but when it was supposed to reboot in fastboot it never did.

Anyway I can send someone the log of what happened and maybe they could tell me what happened...I don't exactly understand what happened, but I think I am rooted and the process didn't really seem at all like the youtube vid...at least bits of it