yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] dkdude36:
this is not an error message! This means it is working! Just move on to the next step. If there is nothing that says the word error, there is probably no error!
[EVO 4G Android Development] snandlal:
I try flashing PC36IMG.zip with fastboot like fastboot flash zip PC36IMG.zip and it goes through unzipping and flushing the images but at the end it says "remote: partition update fail". I cant "adb reboot oem-78 because I only have fastboot usb, hboot usb, and bootloader.
[EVO 4G Android Development] xHausx:
ya, your phone is stuck thinking it has the old configuration when it actually has the new one on there. Its not completely downgraded. I'm uploading something that should help
[EVO 4G Android Development] xHausx:
ok, try this one. if it won't work through fastboot you may need to rename it to PC36IMG.zip (just remove the beginning) and place it on your SD card

Edit: Sent you a PM
[EVO 4G Android Development] snandlal:
I tryed it and it flashed but it vibrated multiple times meanin radio v2 git fail pu and everything is still black. Didnt take i guess
[EVO 4G Android Development] xHausx:
k, sent a pm
[EVO 4G Android Development] gmramirez1973:
Hello could you help me I am in the same problem too:

A:\android-sdk-windows\tools>fastboot getvar all

INFOversion: 0.5

INFOversion-bootloader: 2.02.0001

INFOversion-baseband: 2.15.00.09.01

INFOversion-cpld: None

INFOversion-microp: 041f

INFOversion-main:

INFOserialno: 123456789012

INFOimei: *************** (taken out)

INFOproduct: supersonic

INFOplatform: HBOOT-8x50

INFOmodelid: PC36*****

INFOcidnum: 11111111

INFObattery-status: good

INFObattery-voltage: 3815mV

INFOpartition-layout: Generic

INFOsecurity: off

INFObuild-mode: ENG

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: 52609458

INFOhbootpreupdate: 11

INFOgencheckpt: 0

all: Done!

finished. total time: 0.016s

A:\android-sdk-windows\tools>
[EVO 4G Android Development] snandlal:
Welcome to my club. Is your screen black too? Do you have fastboot?
[EVO 4G Android Development] gmramirez1973:
Yes I get the black screen and it conncets with pc and I see the bootloader driver on device manager. :(
[EVO 4G Android Development] xHausx:
Can you run a 'fastboot oem partition' and let me know what it says?
[EVO 4G Android Development] snandlal:
...INFO[ERR] Command error!!!
[EVO 4G Android Development] xHausx:
Were you ever able to get 'fastboot oem h' to run? That will give you a list of all the available commands. I'm using mine for reference but it's the eng version with the extra

Edit: Sorry I told you wrong, it is 'fastboot oem listpartition'
[EVO 4G Android Development] snandlal:
INFO[hboot]: (RAW) block start=497, size=6 (768 KB)

INFO[misc3]: (RAW) block start=503, size=7 (896 KB)

INFO[mfg]: (RAW) block start=510, size=6 (768 KB)

INFO[sp1]: (RAW) block start=516, size=9 (1152 KB)

INFO[wifi]: (RAW) block start=525, size=5 (640 KB)

INFO[recovery]: (RAW) block start=530, size=40 (5120 KB)

INFO[boot]: (RAW) block start=570, size=20 (2560 KB)

INFO[system]: (YAFFS) block start=590, size=2800 (369600 KB)

INFO[cache]: (YAFFS) block start=3390, size=1280 (168960 KB)

INFO[userdata]: (YAFFS) block start=4670, size=3421 (451572 KB)

INFO[wimax]: (RAW) block start=8091, size=96 (12288 KB)

INFO[misc]: (RAW) block start=8187, size=5 (640 KB)

INFO[rcdata]: (OTHER) block start=0, size=0 (0 KB)

INFO[cpld]: (OTHER) block start=0, size=0 (0 KB)

INFO[microp]: (OTHER) block start=0, size=0 (0 KB)

INFO[a1026]: (OTHER) block start=0, size=0 (0 KB)

INFO[tp]: (OTHER) block start=0, size=0 (0 KB)

INFO[nv]: (OTHER) block start=0, size=0 (0 KB)
[EVO 4G Android Development] xHausx:
ok, looks good...

first you'll need this recovery: http://dl.dropbox.com/u/4481275/evo-test.img

then:

fastboot flash recovery evo-test.img

If no go do:

fastboot oem changeCid 00000000

fastboot flash recovery evo-rest.img

Once the recovery flashes do a:

fastboot oem powerdown

Then after about 20 seconds, with no PC36IMG.zip or anything it will want to flash on your sdcard, push vol down and power. That should take you into the recovery.

From there hopefully everything will be normal.

If that flashes with no errors but you still can't get in to the recovery try using the normal one found here: http://files.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-evo-v1.8.0.img
[EVO 4G Android Development] snandlal:
whats it spose to say in supercid mode? my last two lines are

INFOStart to change CID!

INFODone!

is this right? After this displayed and kicked back to C:\android\tools. I then tryed to flash recovery and im still getting (remote: image update error)

Post above this: mine looks like that too
[EVO 4G Android Development] xHausx:
changing the cid should let you flash all the partitions without any sort of verification. Can you do a fastboot getvar all to verifiy it is not all 0s

another thing to try:

Fastboot boot evo-test.img (or the reg amon_ra)

Do either of you use IRC? It would speed this up a bunch
[EVO 4G Android Development] gmramirez1973:
No IRC.

A:\android-sdk-windows\tools>fastboot getvar all

INFOversion: 0.5

INFOversion-bootloader: 2.02.0001

INFOversion-baseband: 2.15.00.09.01

INFOversion-cpld: None

INFOversion-microp: 041f

INFOversion-main:

INFOserialno: 123456789012

INFOimei: [removed]

INFOproduct: supersonic

INFOplatform: HBOOT-8x50

INFOmodelid: PC36*****

INFOcidnum: 11111111

INFObattery-status: good

INFObattery-voltage: 3792mV

INFOpartition-layout: Generic

INFOsecurity: off

INFObuild-mode: ENG

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: 52609458

INFOhbootpreupdate: 11

INFOgencheckpt: 0

all: Done!

finished. total time: 0.000s

A:\android-sdk-windows\tools>fastboot boot evo-test.img

downloading 'boot.img'... OKAY [ 1.188s]

booting... OKAY [ 0.000s]

finished. total time: 1.188s

A:\android-sdk-windows\tools>fastboot boot recovery-RA-evo-v1.8.0.img

downloading 'boot.img'... OKAY [ 1.125s]

booting... OKAY [ 0.016s]

finished. total time: 1.141s

Both times it will turn off the phone and i had to push the power button to restart it but still it vibrates once and that's it nothing on the screen. :(
[EVO 4G Android Development] xHausx:
can you get an adb shell after it vibrates? you wont get your screen back yet but if you can get the recovery booted you'll be alright
[EVO 4G Android Development] gmramirez1973:
I get error: device not found
[EVO 4G Android Development] snandlal:
We're Screwed :(
[EVO 4G Android Development] mntbkr:
try turning your antivirus off before downloading.
[EVO 4G Android Development] mntbkr:
ROM's are flashed through the recovery not the bootloader, I would suggest you run the RUU to restore the phone, then download the HTC sync from sprint instead of the one from HTC it works better. Reboot the PC and run the autoroot.bat as administrator. I just did my friends phone and it went with out a hitch. remember what you see in the Video may not apply to you because all phone are HW dependent, for example mine is a HW 0003 and I didn't have to do anything, His is a HW 0004 and there are some steps that you must manually(the script will tell you what to do just pay attention.)
[EVO 4G Android Development] Snowlock:
I also have HW 0003, but as mentioned the update process did not go cleanly. I'll retry the script.

edit: I reinstalled with the Sprint HTC sync and was still having problems. I dont think it cleared out the driver as it should have. I installed it onto a fresh system and the script worked without a hitch. My main computer still has usb connection problems. I'll have to see if I can't uninstall the ver. 3 driver somehow.
[EVO 4G Android Development] Truaim:
So if we already have HTC's sync installed and it's recommended that we switch to Sprints to prevent the 'Daemon running error,' how to we remove HTC's driver set?
[EVO 4G Android Development] backspacepc:
Oddly enough, I've found that running unrevoked3 before running the auto root makes it work with the white backed evos. unrevoked never finishes, after the phone reboots, it'll say waiting for system to settle, after this point, close unrevoked, run the auto root in fastboot. I was able to get 2 up and running this way
[EVO 4G Android Development] stevo760:
weird

Starting ADB server...

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

* daemon started successfully *

Checking MTD configuration...

Phone uses the old block size.

Firmware version '3.70.651.1'

Battery is at 94 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\URFSOFF.zip to /sdcard/URFSOff.zip...

Pushing res\URFSON.zip to /sdcard/URFSOn.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 older MTD setup with hBoot Version '2.10.0001'

Verified NAND is locked.

Setting RUU mode...

*

* 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.

*

Rebooting...

Waiting for the phone...

Phone is finalizing the flash, waiting...

Waiting for the phone...

ADB server didn't ACK

* failed to start daemon *

error:

after it does this it reboots and all my software information is old and i have to ruu back to the latest software versions.. this is weird cause this is like the 8th time ive tried rooting my phone today and it keeps giving me the same error or a differnt one... its so close to finishing but it just cant get there. once today i even saw armon recovery screen but at the bottom it said "no verision number" and i had to ruu restore again.. any help would be great
[EVO 4G Android Development] DaEXfactoR:
hello all, my anti virus software keeps identifying the AutoRoot v2.3-Full Root Zip and 3.29.651.5_PC36IMG.zip as trojans and it keeps terminating the connection. So when I try to open the file, I get a message cannot open the folder. The compressed (zipped) folder is invalid. Any suggestions???
[EVO 4G Android Development] gpz1100:
Here's a thought... Turn off your antivirus before downloading???
[EVO 4G Android Development] mrjeancw:
help...

im getting stuck on step #7...the red triangle. the script is not automatically starting up...
[EVO 4G Android Development] DaEXfactoR:
I thought of that. made me a little nervous. I dont have to worry about this file being some sort of trojan do i??? The link brings me to multiiupload.com. I rooted the epic back in september. i have the same AV software ESET NOD32, and I didnt have that problem. I think i'm just being overly cautious....Thoughts...???
[EVO 4G Android Development] teddykgb715:
Yes you are being overly cautious.
[EVO 4G Android Development] Action B:
FWIW the autoroot script worked on my white evo with out me lifting a finger. The program did everything and took 17 minutes (I timed it) and then my phone was rooted.

I used the 2.0.40 version of HTC sync
[EVO 4G Android Development] xHausx:
If you run the FlashZip file while it is stuck on the white htc evo screen it should reboot you into fastboot mode. Once there cancel out of the script and then you should be able to run the RUU from your desktop.

looks like htc sync decided to butt in and interrupt it, try uninstalling htc sync and see if it will let you continue the autoroot script.

I highly recommend against this, this and unrevoked use different methods and when unrevoked fails it can leave the phone in a very inconsistent and unstable state. If something is preventing either one from finishing you'll want to find out what is causing it.
[EVO 4G Android Development] 2LoWw7:
Which is the safer way, using this method or Unrevoked 3?
[EVO 4G Android Development] xHausx:
It's a driver issue. When it fails and shows the red triangle you can use the StartRecovery script to temporarily bring up the recovery, use that to flash the URFSOff.zip file and it will unlock your NAND. Once you do that run the FlashZip file and select SprintLover_AmonRA.

It's picking up on the exploit we use to get root, believe it or not that's actually a good thing(your antivirus is doing it's job :)). The exploit only works on android but more and more antiviruses are looking for it since someone started to use it for malware in apps.

The only two files that should trigger it are rageagainstthecage-arm5.bin and AutoRoot.apk. This is also the same exploit that z4root, unrevoked and any other froyo rooting method use so those should trigger it as well. Unfortunately some douche bag started adding it to regular apps and used it to get root access without permission.

did it say anything about errors or why it failed?
[EVO 4G Android Development] xHausx:
I've never used unrevoked personally but most of the methods used by this script have been used safely since the evo was first released. It uses the phones built in update systems to flash the phone so it should be no more dangerous than the OTA updates.
[EVO 4G Android Development] 2LoWw7:
What do you have to rename the PC36IMG.Zip to? Update.zip?
[EVO 4G Android Development] xHausx:
PC36IMG and update zips are different, what are you wanting to do with it?
[EVO 4G Android Development] xHausx:
Version 2.4 is up!

Updated the ROM and Recovery

The working directory is saved correctly when the path has a space in it

Fixed an error checking the firmware version that would cause the script to close

Made it more capable of recovering when the phone is in an unknown state

Fixed the SD card not being recognized with Eclair

Some parts will checks for 'daemon' error messages and will call to fix it

Made it so the MTD data is not saved unless it is recognized

The script will continue if it times out while waiting on Unrevoked Forever

The WiMAX partition is backed up through the ROM at the very beginning instead of through the Recovery

Still doesn't back up your data partition, yet, but I promise that'll be up next.
[EVO 4G Android Development] pkuaioria:
The zip file seems to be broken. cannot upzip it. says "invalid file"
[EVO 4G Android Development] gpz1100:
Just downloaded.. All 400+ MB. MD5 matches just fine. Check your browser and/or disable your AV.

I used the first link to download from - multiupload one.
[EVO 4G Android Development] Mindspin_311:
So I only read the 1st few and last pages of this thread, since its massive. So I have a few questions..

If I understand correctly, Autoroot will do the following:

1. Root the phone

2. Install Amon_RA recovery program

3. Flash the "Sprint Lovers" ROM

So I have 2 questions.

1. Is there a way to stop it from flashing the Sprint Lovers ROM?

2. If not, will I be losing all my Apps, etc? (And what should I back up before I start)

Thanks in advance.
[EVO 4G Android Development] xHausx:
Yup, it normally flashes Amon RA and Sprint Lovers. You can have it not flash them but you'll still need to flash a recovery, updated ROM and updated radios by hand. You can save your apps with titanium back up before hand but it has to completely wipe your phone during rooting.
[EVO 4G Android Development] Mindspin_311:
Ok, then what would be the easiest way to return to the stock ROM once the phone has been rooted?

I am wanting to go step by step. So root, then mess with the Stock ROM some, then move onto others from there.
[EVO 4G Android Development] xHausx:
Sprint Lovers is very close to stock, it just has some fancier icons and a few tweaks. If you would like a completely stock rooted ROM you can flash this one here through the recovery.

http://xdaforums.com/showthread.php?t=874251
[EVO 4G Android Development] Mindspin_311:
So since its saying flash radios and wimax separate, that means they will be untouched during the root/sprint lovers flash/stock rom flash? And, since my phone is 2 weeks old, I shouldnt have to do any updates.

Thank you for being so helpful.

Also, odex or deodex version? I honestly dont know what that means.
[EVO 4G Android Development] Mindspin_311:
So since Sprint Lovers is flashed, then I will be losing all my apps, email settings etc, correct?

I will basically have a fresh phone?
[EVO 4G Android Development] xHausx:
For it to root it will downgrade your phone to a very old firmware which will completely wipe your phone, more so even then normal RUUs will. It will not touch your sd card though so as long as you save your settings on there you will be able to restore them.
[EVO 4G Android Development] Mindspin_311:
And there will be no Nandroid of my stock phone, correct?
[EVO 4G Android Development] xHausx:
Not normally no, it is possible to make one though. You'll probably want to use titanium back up too just in case it doesn't work but I've been meaning to test that.

Want to be a guinea pig? :)
[EVO 4G Android Development] Mindspin_311:
Well, titanium wont work now since Im not rooted.

I am just going to write down everything that is on my phone and run your script tomorrow night. Ill just bit the bullet and manually reinstall everything.

The stock rom *IS* located in your 1st post though, right? Not the RUU, but the PC36IMG zip?
[EVO 4G Android Development] DaEXfactoR:
did it

ROOTED!!!! YAAAAAYYY!!! Thanks for this...one question though...I used Titanium and moved all my apps to the SD card, phone has been actin kinda buggy...Was that not a good thing to do???

Thanks again
[EVO 4G Android Development] Gilmore Game:
Sorry to post if this has already been answered. When running autoroot I get the error message: "Failed to get root shell."

Here is what I pulled from the log: ------------ AutoRoot.bat Begin - v2.4 - Mon 03/14/2011 0:28:17.71 ------------

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

Working Directory is 'C:\Users\Alamo\Desktop\AutoRoot_v2.4\'

Phone SN is HT08DHL02229

PING ADB State Changed '1' out of '0'. ADB State is 'device' expected '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 '3.70.651.1'

Version Major '3'

Version Minor '70'

Battery is at 90 percent.

Checking for root...

UID is 'shell'

Installing exploit...

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

Success

371 KB/s (767044 bytes in 2.014s)

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 'shell'

Checking for root...

UID is 'shell'

Restart ADB Server...

Checking for root...

UID is 'shell'

Still no root shell, giving up.

Attempting to dump the recovery log.

---------RECOVERY LOG DUMP BEGIN---------

/cache/recovery/log: Permission denied

----------RECOVERY LOG DUMP END----------

Killing ADB server...

------------ AutoRoot.bat End ------------

Sorry if that is too much. I've double checked. Hboot is 2.10. Help please
[EVO 4G Android Development] xHausx:
Something on your phone is preventing it from getting root. If you do a factory reset it should work afterward.
[EVO 4G Android Development] Mindspin_311:
I noticed in the Youtube video linked in the 1st post that there is a point after the root process that the phone boots to the bootloader, hangs for a couple seconds, then continues on.

I am guessing this is where Sprint lovers is flashed. Is it possible to stop the script at that point?
[EVO 4G Android Development] Gilmore Game:
Now that I actually think about it....maybe lookout was keepin it from happening? hmm....factory reset completed. Will edit with results once i've let my battery charge
[EVO 4G Android Development] DaEXfactoR:
My phone keeps having a problem accessing apps stored on SD. All media stored on the SD card play fine, just won't show the apps. When I go to settings, under applications, apps on SD, it just hangs on computing. Won't even let me format SD. This happened yesterday and after about two hours it started working again. Happened again today after reboot. I think when it happened yesterday it was after a reboot also.

Thanks...
[EVO 4G Android Development] DaEXfactoR:
yes, I believe it is Lookout. Same thing happened to me. When I turned Lookout off, it worked fine...
[EVO 4G Android Development] Mindspin_311:
Everything went smoothly!
[EVO 4G Android Development] xHausx:
safest way would be to start it and after it pushes the files to your sd card rename or move the PC36IMG_SprintLovers...zip. That way it will just throw an error to the log instead of flashing it.
[EVO 4G Android Development] xHausx:
Thanks for the heads up about Mobile Lookout, guess that app actually does something after all. It should help protect you from any malware since they all, that I am aware of, use the same exploit this does.
[EVO 4G Android Development] xHausx:
Try mounting it and letting windows run a scandisk on it. Every once and awhile they'll get corrupted and cause issues.
[EVO 4G Android Development] DaEXfactoR:
Thanks, couple questions for you...

Is it okay to format the SD card? I know there are certain zips placed there when rooting.

Is it a bad idea to store apps on SD with Titanium or any other app with root access? Will that screw with things?

Thanks
[EVO 4G Android Development] RandomViolence:
I can't seem to get AutoRoot to get through step #8, which is installing Unrevoked Forever. It gets through flashing the PC36IMG.zip in #7, after which I go to the Bootloader and select recovery. It boots into recovery fine and AutoRoot moves to saying that it is flashing Unrevoked and to expect some reboots, and a screen with a green circle, but it never reboots.

Any advice?
[EVO 4G Android Development] DaEXfactoR:
Anyone else having problems with the market?
[EVO 4G Android Development] xHausx:
Your phone will treat the sd card no differently than it did before.

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

Does your phone show a triangle or question mark when it tells you to look for the green arrow?

You may need to flash it by hand. After it fails go back to the recovery and use the StartRecovery script, then use the phone to flash the URFSOff.zip. Once that finishes run the FlashZip script and select PC36IMG-SprintLovers-AmonRA... to finish
[EVO 4G Android Development] ZENGURU:
Same results

It shows with exclamation, Nothing with the green arrow. Will be trying suggestion from previous post.

Using Autoroot.

All is well.
[EVO 4G Android Development] secondskin:
I just rooted my friend's Evo yesterday using this method and it worked perfectly!

Thank you xHausx!!

I do have one question though. I noticed that the modified 2.3 AmonRA recovery provided with this method is much faster than my 2.3 version that I get from the AmonRa thread. I was doing some research on here and found out there there were some bugs with the modified version posted in this thread a little while ago and wondered if they were ironed out now. If so how can I get this modified version on my phone? It made my recovery seem sooooo slow after I watched his. I have the extracted files from autoroot 2.4 on my computer from rooting his phone so can I just flash the modified recovery from there, or is there a different way to get it?

Thanks
[EVO 4G Android Development] rstuckmaier:
I had an 0003 hardware Evo that kept restarting. I used toasts two step (which is really like 20 steps) method to root that one. I am currently waiting for this to finish download... This (hopefully) will be so much nicer.

I did like to add that this line cracked me up in the v2.3 changelog:
[EVO 4G Android Development] issafram:
Question: I can see this tool has matured and been used by many for a while now which is great. I used Unrevoked a while back and haven't needed to root my phone ever again. But now my gf just got an Evo that is completely updated and I am going to root it for her. I just can't decide whether to use the Unrevoked method or this tool. What do you guys recommend and why? Same end result either way, right? Thanks