yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] xHausx:
ok, now you're starting to confuse me. Clockwork was not included in the zip because at the time this was made it did not work properly for the Evo.

Your best bet is to run the RUU while in fastboot mode.

Glad to hear it all worked out, every once and awhile you will have something that just doesn't flash properly. Your 4G should be good but you may want to double check it just in case, if anything you still have the nandroid that was made prior to that so all you have to do is restore that wimax.img.
[EVO 4G Android Development] lows10:
God this sucks way more work than it should b I'm downloading his restore ruu on my hero now hopefully he can atleast boot up I'm pist at myself

sent from my hero the iPhone eater
[EVO 4G Android Development] lows10:
Ok so I got the ruu but how exactly do I get it to connect I'm lost I used to run ruu on my tilt 2 all the time this is android so I have yet to do a rom like this NY help please

sent from my hero the iPhone eater
[EVO 4G Android Development] lows10:
I'm connected by fastboot USB it says error USB connection error please help me out I don't know what I'm doing wrong

sent from my hero the iPhone eater
[EVO 4G Android Development] xHausx:
do you have a different computer you can use?
[EVO 4G Android Development] lows10:
No just this notebook I have a another but both my linux sata and windows XP well both r at the x's and she isn't giving them back I feel bad for posting so much but I gotta ffix my lil bros phone I thank u all for helping me forreal

sent from my hero the iPhone eater
[EVO 4G Android Development] xHausx:
You'll need to download the zip below, rename it PC36IMG, and then place it on your sd card. You can flash it through fastboot with the commands I gave you earlier but it will probably be easier to just put it on the card.

Once it is on the card hold volume down and turn on your phone, then say yes when it asks to update.
[EVO 4G Android Development] lows10:
Thanks bro n r u uploading it I don't see it alot I go to recovery build says not set and when I try to flash certain Tom's it says candidates find update script

sent from my hero the iPhone eater
[EVO 4G Android Development] xHausx:
sorry, forgot to post the link. It's getting late lol

http://www.multiupload.com/PP10EEZXE0
[EVO 4G Android Development] lows10:
I did get the recovery to install so I'm making progress

sent from my hero the iPhone eater
[EVO 4G Android Development] lows10:
Thank u so much

Out of all the damn trouble i had all i had to do was flash the recovery yea damn it didnt work so renamed it to pc36img now running cm7 i know on my hero i have gapps how do i get all the google apks on his phone
[EVO 4G Android Development] mrkmrk:
Hiya. I hate to be a bother--I'd like to say that I've read this entire thread, but I haven't (I have done multiple searches and yet more ctrl+f)--but I'm rooting a friend's Evo and I'm having some trouble. Firmware is 3.70 and hboot is 2.10. Here's the log file:

http://dl.dropbox.com/u/560483/autorootlog.txt

Basically, it works just fine up to step 7, at which point it sticks at recovery and is never again seen by the computer ("The phone could not be found or was not read. ADB and Fastboot report it as 'offline' instead of the expected..."). Running the StartRecovery.bat file does nothing. It's late, I'm tired, and I may be missing something simple. FWIW, I downloaded the AutoRoot without PC36IMG, and got the separate 3.70 PC36IMG. Any idea what might be causing problems?
[EVO 4G Android Development] xHausx:
thanks for uploading the log, it looks like this is whats causing it to fail

Security is 'on'
Setting RUU mode...
... OKAY
Sending flash PC36IMG_UD.zip command...
sending 'zip' (223296 KB)... OKAY
writing 'zip'... INFOsignature checking...
FAILED (remote: 12 signature verify fail)

It requires the PC36IMG that is included in the full zip. It has a special recovery with adb enabled in it and is signed by htc so locked phones won't reject it. You can download it by itself from the link below, just rename it PC36IMG_UD, so it can find it, and you should be good to go.

http://sdx-downloads.com/sdx/evo/troot/eng-PC36IMG.zip
[EVO 4G Android Development] mrkmrk:
I will try that--thanks much for your prompt response, even at this hour!
[EVO 4G Android Development] lows10:
I agree I just had that prob for a couple hours just renamed the recovery worked fine then I was up and going I love the evo u guys r lucky back to my hero i go

sent from my hero the iPhone eater
[EVO 4G Android Development] :
I downloaded the auto root full zip, and after it flashes the pc36img, i tried to boot into recovery but it just hangs at the exclamation mark screen. What exactly would be the next step to finish the process?
[EVO 4G Android Development] xHausx:
next it should have made a backup, flashed the urfsoff.zip file and then reboot back to fastboot to flash the rom. You can bring up the recovery and do it manually with the start recovery file. Just be sure to check the log and make sure it doesn't show a bunch of ecc errors, if so you will want to run the ruu and start over with a clean slate.
[EVO 4G Android Development] cashgotsneaks:
need help plz

im gettin this error each time can u help me plz

'adb' is not recognized as an internal or external command,

operable program or batch file.

ADB daemon not responding, killing the process...

'adb' is not recognized as an internal or external command,

operable program or batch file.

ERROR Could not start ADB server!
[EVO 4G Android Development] xHausx:
Make sure you download the full autoroot zip and extract everything on at once.
[EVO 4G Android Development] rperez571:
Just started rooting...

I just started the rooting process. Took me a few tries to go past the "failed to get a root shell". Rebooted several times. I think it was advanced task killer. I just wiped my phone and then ran autoroot . Maybe add to the OP to wipe phone before starting the process?

Will let you know in about 30 min, hopefully, if it all worked.
[EVO 4G Android Development] rperez571:
more than an hour later

The phone got stuck on the htc screen with the green bar on it. Just took the battery out and then let the phone reboot. Worked like a charm.

Thanks!
[EVO 4G Android Development] xHausx:
Hmm thats odd, would you be willing to post the log for me? You shouldn't have had to pull the battery, especially on that screen :)
[EVO 4G Android Development] cashgotsneaks:
thx a lot it was a breeze after i went back over it like you said..
[EVO 4G Android Development] andygu3:
Thanks for this!

Had a quick question, tried unrevoked without any luck. Since I changed the hboot drivers to android bootloader interface for unrevoked, does the driver need to be changed back to HTC sync drivers?
[EVO 4G Android Development] xHausx:
You can try and see, I'm almost positive you will need to switch them back though.
[EVO 4G Android Development] andygu3:
I tried to uninstall the drivers but not having any success. If I run the ruu before running the script, will that work?
[EVO 4G Android Development] andygu3:
Went ahead and did the ruu and it did update the hboot driver!

Ran the script and I am now rooted, everything went perfect! Thanks so much!! Donation coming your way!!!
[EVO 4G Android Development] xHausx:
Thanks man, it is appreciated
[EVO 4G Android Development] ruizma:
PLease help. I got to the part where it said to run the Start recovery. bat (because my phone got stuck on the exclamation point.) I ran the Unrevoked s-off patch and proceeded to install a custom rom and it says,

Install from SD card...

Finding update package...

Opening Update Package...

E:Can't open /sdcard/update.zip

(bad)

Installation Aborted

WHAT DO I DO???
[EVO 4G Android Development] xHausx:
You'll need to flash a permanent recovery first, if your phone will boot up just restart it and run the script one more time. It will see you ran unrevoked and finish up.
[EVO 4G Android Development] ruizma:
it wont boot up, it gets stuck at HTC EVO 4G screen. what do I do?
[EVO 4G Android Development] xHausx:
Hold volume down while turning the phone on and wait for the bootloader to come up. When it does say no to upgrading and no to rebooting if it asks. Then press power to select fastboot mode. Once your phone shows fastboot usb highlighted in red you can run the commands I posted on the previous page to flash the recovery & rom. I'm writing this from my phone so I can't go back and see exactly which post out was on
[EVO 4G Android Development] ruizma:
Do you mean these? Sorry i'm new at this....

After I run those commands I get an error
[EVO 4G Android Development] xHausx:
Yup, those are it. You can skip the adb shell reboot one since you are already in fastboot mode
[EVO 4G Android Development] ruizma:
I get an error cannot load 'res\PC36IMG-SprintLovers-Armon_RA2.2.1.zip
[EVO 4G Android Development] xHausx:
Armon should be Amon, you can rename three file to something easier to type if you want
[EVO 4G Android Development] ruizma:
got it to flash file, now it is on the quietly brilliant screen

edit: It worked!!!! thanks mann
[EVO 4G Android Development] ruizma:
where can I get a completely stock ROM?
[EVO 4G Android Development] xHausx:
This one should be stock along with the superuser app and a few other very minor mods so that you can take advantage of root.

http://xdaforums.com/showthread.php?t=874251
[EVO 4G Android Development] badf1sh:
Successful root

First off wanna thank Xhausx for root script.. rocks.. and wanna post my friends experience to maybe help someone else out.. I hardly ever post I am almost strictly a lurker

my friend unrooted his phone yesterday to take it into sprint to fix some hardware issues. he was initially rooted via unrevoked. well they gave him a new phone, so he read up on autoroot2.2 and decided to use it to root, uh phone version was 3.70. downloaded full autoroot2.2.zip and started script. everything went okay for him until it tried to flash the amon ra recovery. at this point operation times out and script quit.

obviously he became visibly upset. unhook, battery pull, because it never actually began flashing the recovery, it went to stock recovery screen instead of the green down arrow. well phone was broked. wouldnt boot, couldnt attach it via usb to put an RUU on sd card. could get into the bootloader, but couldnt really do anything from there.

luckily his lovely wife has an evo, so when she got home he threw his sd card in her phone, then put the RUU from the UNROOT method on his sd card. this was build number 3.29. this effectively downgraded his phone. ruu flashed perfectly and everything was back up.

he formatted sd card, then tried autoroot on the 3.29 build instead of doing the sprint upgrade first. worked perfectly, no problems whatsoever. Why it worked on the downgrade, he doesnt know. but and did, and now he is happily miui'd.

Maybe this will help someone if they happen to have the same issues I or my friend had.

Thanks XHausx!
[EVO 4G Android Development] ryohei47:
Starting ADB server...

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

* daemon started successfully *

Searching for phone...

Found the phone connected as 'device'

Checking MTD configuration...

Phone uses the old block size.

Firmware version '3.70.651.1'

Battery is at 100 percent.

The ADB Shell does not have root permissions.

Installing exploit...

Rooting...

Looking for Root...

Restarting ADB Server...

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

* daemon started successfully *

Failed to get a root shell, please restart your phone and try again.

Press any key to exit...

i restarted, still didnt work
[EVO 4G Android Development] xHausx:


You'll have to do a factory reset, something on your phone is keeping it from getting root.
[EVO 4G Android Development] nobodyever:
:confused:

The device would red triangle before entering RECOVERY and still shows S-ON. I tried StartRecovery but says NAND was LOCKED.

Please help.

Searching for phone...

Found the phone connected as 'device'

Checking MTD configuration...

Phone uses the new block size.

Firmware version '3.70.651.1'

Battery is at 87 percent.

The ADB Shell does not have root permissions.

Installing exploit...

Rooting...

Looking for Root...

Got Root!

Checking for needed files...

Pushing res\flash_image to /data/local/flash_image...

Pushing res\mtd-eng.img to /sdcard/mtd-eng.img...

Pushing res\URFSOFF.zip to /sdcard/URFSOff.zip...

Pushing res\URFSON.zip to /sdcard/URFSOn.zip...

Pushing res\PC36IMG_UD.zip to /sdcard/PC36IMG.zip...

Flashing misc partition...

Rebooting in to bootloader...

Verifying bootloader status...

Bootloader shows Firmware Version '1.17.651.1'

hbootpreupdate set at '11'

Verified the phone has the newer MTD setup with hBoot Version '2.10.0001'

Verified NAND is locked.

* Using the phone push Power to select Bootloader and then say Yes when it asks

to flash the PC36IMG.zip.

* It will complain part of the way through about the bootloader or radio failing

but should continue.

* Once it finishes it will ask to reboot, say No.

* Use the Volume Down button to highlight Recovery and then press Power to

select it. If it stays on the white htc EVO 4G screen for more than two or

three minutes pull the battery and turn the phone back on. Again say Yes when

it asks to flash the PC36IMG.

* Once in the recovery you will see a red triangle with an exclamation mark,

rooting will automatically resume a few moments after that appears.

It is very important that you do not interrupt your phone when flashing.

Unplugging or turning the phone off while it is flashing can easily brick

your phone. This script will time out if too much time passes.

Waiting for the phone...

** daemon still not runningerror: cannot connect to daemon

** daemon still not runningerror: cannot connect to daemon

** daemon still not runningerror: cannot connect to daemon
[EVO 4G Android Development] xHausx:
You have something interfering with the script, you'll need to try again on a different computer. To restore your phone just hold volume down while turning it on, say no when it asks about the pc36img and to reboot, then push power to select fastboot. It should then change and show fastboot usb highlighted in red. Once you see that you can run the RUU from your desktop.
[EVO 4G Android Development] nobodyever:
Recovery was successful, but don't have access to another computer. HTC sync reports the USB connection error and to reconnect after 10 secs even in normal mode.
[EVO 4G Android Development] xHausx:
You'll have to find out what's interfering with it. Do you have pdanet or the unrevoked drivers installed?
[EVO 4G Android Development] nobodyever:
Only have HTC sync installed, tried another vista computer to no avail. Do I have to create a shortcut to the .bat so I can run as admin?
[EVO 4G Android Development] xHausx:
You can right click on it to run it as admin. Try restarting your computer and disabling your anti virus as well.
[EVO 4G Android Development] nobodyever:
1. Save any work

2. Uninstall HTC Sync

3. Start>Run>msconfig (Or windows key+r for run)

4. Services Tab, tick hide all microsoft programs (at the bottom of the msconfig window tick it)

(This is very important to click on hide all microsoft services first or computer issues can occur - be sure to tick this box)

5. Now once that is ticked, click on disable all (MS services are hidden as you ticked the box so they will not be disabled now)

6. Startup Tab, click on disable all

7. Close/OK then restart

8. The PC will restart with only essential MS programs running

9. Click on do not show this again

10. Install HTC Sync

11. Plug in your PDA

Now my device will restart from flashing the image to parsing SD zip. By the time that completes and I finish updating the script times out
[EVO 4G Android Development] xHausx:
I'm not sure I understand what is going on when you say it restarted from flashing and then begins parsing it. Could you attach the autorootlog to a post for me to take a look at?

If you are flashing it through the hboot you don't want to let it restart, you want it to boot in to the recovery instead.
[EVO 4G Android Development] nobodyever:
1 BOOTLOADER -OK

2 RADIO_V2 - UPDATING

(DEVICE REBOOTS AND LAUNCHES HBOOT)

I will finish the flash but the script will have timed out; heres the log

------------ AutoRoot.bat Begin - v2.2 - Wed 02/09/2011 16:11:40.68 ------------

Params=1'' 2'' 3'' 4'' 5'' 6''

Phone SN is HT11MHL07618

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='start' STEP='start'

PING ADB State Changed '1' out of '1'. ADB State is 'device' expected 'device'

Found the phone connected as 'device'.

Checking MTD configuration...

dev: size erasesize name

mtd0: 00c00000 00040000 "wimax"

mtd1: 00100000 00040000 "misc"

mtd2: 00480000 00040000 "recovery"

mtd3: 00340000 00040000 "boot"

mtd4: 15e00000 00040000 "system"

mtd5: 0a000000 00040000 "cache"

mtd6: 1aa00000 00040000 "userdata"

'check.bat mtd' returned 'new'

MTD matches info from INI file.

Firmware version '3.70.651.1'

Version Major '3'

Version Minor '70'

Battery is at 66 percent.

Checking for root...

UID is 'shell'

Installing exploit...

pkg: /data/local/tmp/AutoRoot.apk

Success

1347 KB/s (767044 bytes in 0.556s)

adb: Product directory not specified; use -p or define ANDROID_PRODUCT_OUT

Sending Intent...

Starting: Intent { act=android.intent.action.MAIN cmp=com.autoroot.getroot/.getroot }

Checking for root...

UID is 'Got Root!'

Checking for needed files...

Pushing res\flash_image to /data/local/flash_image...

1197 KB/s (76044 bytes in 0.062s)

Pushing res\PC36IMG_UD.zip to /sdcard/PC36IMG.zip...

1302 KB/s (211823071 bytes in 158.825s)

Flashing misc partition...

Rebooting in to bootloader...

Verifying bootloader status...

hBoot version '2.10.0001'

Version Major '2'

Version Minor '10'

Bootloader shows Firmware version '1.17.651.1'

Version Major '1'

Version Minor '17'

hbpreupdate set at '11'

Security is 'on'

Waiting on operator to flash the PC36IMG.zip and reboot into the recovery.

Checking for ADB...

PLEN='1250' PSTATE='recovery' RETURNTO='b2recovery' STEP='recoveryboot'

PING ADB State Changed '1' out of '1250'. ADB State is 'fastboot' expected 'recovery'

PING ADB State Changed '156' out of '1250'. ADB State is 'disconnected' expected 'recovery'

PING ADB State Changed '861' out of '1250'. ADB State is 'offline' expected 'recovery'

PING ADB State Changed '862' out of '1250'. ADB State is 'daemon' expected 'recovery'

Here is also a video of it restarting mid cycle http://rapidshare.com/files/447085650/VID_20110209_161813.mp4

Downloaded 2.2 root, replaced pc36img_ud with file 3.70.651.1_PC36IMG.zip and renamed it as such. Where am I going wrong
[EVO 4G Android Development] xHausx:
Im not at a computer where I can download the video but I just saw the last two sentences saying you changed pc36imgs. You must use the pc36img_ud that is included. Changing the files included will cause it to fail and you are risking messing up your phone by doing so
[EVO 4G Android Development] metallized:
i just tried to root my new evo using this method here... everything worked fine n i got the successful messege at the end as well... but now when i go to recovery i get that fone with red triangle with a exclamation mark screen..... on my other evo where i have used a different method to root it, whenever i go to recovery it has all those options to backup/restore, flash from zip, etc..... but is there a different way to flas roms on this ??? what am i missing ????

edit: i read somewhere that i need to load ruu from my pc to restore stock stuff n try everything all over again.... how do i load ruu from my pc ??? sorry for being such a noob...

edit: nevermind... used a different method to install just the recovery n it worked gr8....
[EVO 4G Android Development] curlyrunner:
Unlocking NAND (Guidance)

Hello all,

I'm having some issues with my Evo and I was hoping someone could guide me on the correct course to take.

I rooted my Evo back in november using unrevoked but this week when I tried to flash a new recovery over Amon's 1.8 I got some errors. Searching around I found that I may be rooted but my NAND my still be locked since in HBoot it says "S-on".

So my question is: Should I run the official RUU for 3.30 (un-root, back to stock) and then perform the steps in the OP to re-root and unlock nand or can I just run through the OP method and everything will work fine? i have no problems clearing everything on my phone - i have already backed up what i needed and backed up my RSA keys via this method

I just want to update my recovery image and try some new roms but I can't update the recovery image.

Here is some info about my phone so i can get an accurate answer:

hboot:	0.97.000

Security:	S-on

Radio:	2.15.00.09.01

Recovery:	Amon RA 1.8

Hardware:	0004

Kernel:	2.6.32.15-g0f673ed htc-kernel@u18000-Build-149 #10

Build:	Fresh Evo 3.4.0.1 by flipz

Software:	3.30.651.2

PRI:	1.77_003

PRL:	60675

Thank you for your help.
[EVO 4G Android Development] xHausx:
You should be able to run this normally with out having to do anything because you have an older bootloader. I would only use the 3.29 ruu though if you ever need it, the newer ones will update your hboot which you don't want. As always make sure to do a nandroid first and I highly recommend backing up you're entire wimax partition through the recovery as well.
[EVO 4G Android Development] curlyrunner:
Thanks xHausx, I appreciate your quick reply.

Can you explain why i don't want to update hboot?

I had trouble making a nandroid yesterday and haven't tried since - I have one old one but either way i'm not too concerned starting from scratch so is it ok if i am not able to make a nandroid?

Also I didn't see anything about backing up the wimax partition in Amon 1.8... is this not available in 1.8 or is there another way to back up the wimax partition?

Thanks for your help.
[EVO 4G Android Development] xHausx:
1.8 backs up your wimax automatically. The new hboots are for the new phones and prevent you from downgrading to the engineering one. The eng bootloader makes it much easier to flash the recovery, splash screen, etc.

The backup is mainly just to save your settings, if you don't mind losing them then you don't have to worry about it.
[EVO 4G Android Development] Dacian:
I'm having trouble, I have Bootloader .93, 2.2, and software 3.26, when I try running the batch file it starts but then quickly closes. The log shows this

------------ AutoRoot.bat Begin - v2.2 - Thu 02/10/2011 23:50:49.30 ------------

Params=1'' 2'' 3'' 4'' 5'' 6''

* server not running *

Phone SN is HT05MHL12212

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='start' STEP='start'

PING ADB State Changed '1' out of '1'. ADB State is 'device' expected 'device'

Found the phone connected as 'device'.

Checking MTD configuration...

dev: size erasesize name

mtd0: 00c00000 00020000 "wimax"

mtd1: 000a0000 00020000 "misc"

mtd2: 00480000 00020000 "recovery"

mtd3: 00300000 00020000 "boot"

mtd4: 15e00000 00020000 "system"

mtd5: 0a000000 00020000 "cache"

mtd6: 1aba0000 00020000 "userdata"

'check.bat mtd' returned 'old'

MTD matches info from INI file.

Firmware version 'FRF91'

Version Major 'FRF91'

Version Minor ''

What's going wrong?

EDIT: Nevermind, it must have been my software version, I got the Old Method to work, it wouldn't flash my recovery but it rooted me and I just flashed Amon_Ra's through the Bootloader. Thanks xHausx.
[EVO 4G Android Development] tauzins:
so got my replacement evo today.... and im doing this flash, and right now im on the part where its suppose to nand backup and all of that, and ive had this sitting here for a long time with the red exclimation, how long should that step take?

got it working, looked liek it was the laptop i was using, i restarted from scratch RUU... i wanted everything to be perfect... :P