yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] pongoface:
xHausx, couple of quick questions. Since I am rooting 4 evos tomorrow all with 2.10 hboot and havent rooted evos since launch lol. I did it the old fashion way obvious. Looking at your method seems straight forward. Question is if it gets stuck you said if the battery pull and and reflash dont work that to run the ruu again. I dl'd the .exe on your op. Is that the correct one or do I need to just flash the matching pc36img.zip that is pulled from the ruu you have listed. I see that the recovery listed is amon 1.8 correct? Really awesome script btw.

I saw you explain this to another user. But if I used unrevoked 3 which also flashes unrevoked forever and a recovery of my choice. If the evo's have the current radios and wimax in which they do then All I would have to do is flash a custom rom and kernels correct? Of course nandroid.

Is the advantage of your root method that it performs a wimax backup and the oppurtunity to load the unlocked eng bootloader. Just looking for the fastestand easiest way since I am rooting, flashing roms and kernels, and nandroids on 4 evo's tomorrow. Thanks
[EVO 4G Android Development] xHausx:
Well I don't really recommend a battery pull except for sometimes if you try to boot in to the old firmware on newer phones, and even then it is unnecessary now. The RUU exe can be ran while the phone is in fastboot mode where the PC36IMGs can be flashed using the FlashZip script and as long as your phone is plugged in it should work. All of that should be unnecessary though as long as nothing interrupts it.

Unrevoked 3 is faster and will keep all of your settings and apps intact but using the phone's built in update mechanisms is generally safer if something goes wrong. About the only way to brick it is to pull the battery while it is flashing the radio.
[EVO 4G Android Development] rocknblogger:
Okay I'm on the bootloader screen which is better than what was happening before. How long should I wait or what should I do now? On the PC it says "Waiting for the phone".
[EVO 4G Android Development] JosefCarlin:
OK, I found WIMAX_HT????.img on my Windows 7 folder.

However for the life of me I can not find the Nandroid folder on the sdcard. I have attached the autorootlog.txt.
[EVO 4G Android Development] xHausx:
unplug it and then plug it back in
[EVO 4G Android Development] xHausx:
You have to make the nandroid through the recovery. You can get to it by holding down the power button and selecting reboot to recovery.
[EVO 4G Android Development] JosefCarlin:
Yeah I tried that and it is there. I thought your script did a nandroid backup, but I was wrong. Finally, what modifications, if any, did you make the to the SprintLovers?
[EVO 4G Android Development] rocknblogger:
WooHoo!!! Rooted and booted. It went smooth as butter once this dumb ass here read the damn PC screen:o

Hey man thanks for all the help dude, I really appreciate it.

So now whats the coolest or best 2.3 ROMS to try? Is 2.3 Ice Cream or Gingerbread I forget? Whats your favorite?

Thanks again,

Cheers!
[EVO 4G Android Development] iLLestCoW:
do my phone have to be synchornized with htc sync before starting this process? or just keep on charge only?
[EVO 4G Android Development] xHausx:
I added a modified recovery to the sprint lovers PC36IMG but other than that everything is the same. Nandroids are no longer made during rooting because they were only good for restoring the wimax partition and I did not trust the backup integrity with phones who were unable to boot normally with the old firmware.

Glad to hear you were able to get it going. Right now I'm using the stock 2.3 (gingerbread) leak but I may switch over to one of the new Sense ports. There are tons of great ROMs but I always end up going back to the stock one. I really like CM7 with launcher pro now that it has 4G but I've resisted completely switching over because I already have sense set up how I like it. Keep in mind that you can get away with only wiping your dalvik-cache/cache going back and forth between Sense ROM but going from Sense to AOSP you have to wipe everything.

You should be good on Charge only while rooting but make sure to sync everything before you start. This will wipe everything and start you off with a clean install.
[EVO 4G Android Development] Nickdroid86:
Sorry for not reading through, but is this thing up to date on evo's?
[EVO 4G Android Development] xHausx:
yup, should be up to date with all new releases
[EVO 4G Android Development] JosefCarlin:
Thanks!!

Thanks for all your work. I know my small donation in no way compensates you fully for your time, but I hope it at least buys you a couple of really nice pints of beer!
[EVO 4G Android Development] badassdes:
Ok, I'm trying this, but I don't see the option to "restore defaults". Once I enter the MLS code, the only option I have is 'ok' or 'cancel' and then jumps to another screen showing 'Data profile/EVDO/Advanced/WIMAX and USB charging which has the ability to be checked.

So we still with no phone...

:confused::(
[EVO 4G Android Development] xHausx:
bring up the data screen and see if the menu in there will let you, it should be in there somewhere.
[EVO 4G Android Development] js11222:
I don't get it I either have to loose brightness control or camera no matter what kernel I use any idea how I can keep both?
[EVO 4G Android Development] xHausx:
Thanks man, a couple pints is all it takes to make me a happy. :)
[EVO 4G Android Development] badassdes:
I found it, but now it says that cannot update the profile, no network connections... =(
[EVO 4G Android Development] wtr1906:
Okay, I rooted my phone with no issues and now I am trying to root my friends phone and I get to the part where the phone goes into recovery and the red triangle with black screen just hangs and c prompt just says waiting on phone...

What am I doing wrong? thanks
[EVO 4G Android Development] xHausx:
Have you tried over wifi? It sounds like you may need to unroot and have Sprint take a look at it after all. I'm not sure what could have happened to it.
[EVO 4G Android Development] xHausx:
You may need to unplug it and then plug it right back in. Did you see any thing about adb errors?
[EVO 4G Android Development] badassdes:
Yeah... I will unroot and taking it to Sprint. Thanks.
[EVO 4G Android Development] DjKurt:
Ok, I am having some serious problems rooting my friends' phones... I rooted mine no problem with this process but I keep getting a message saying daemon not running or daemon still not running cannot connect to daemon and then it will connect but now I have rooted the phone (S-Off) and flashed unrevoked forever but no nandroid backup and I'm stuck at the bootloader screen...

The only thing I can think of that I did different was actually hook my phone up to the HTC Sync service...

Any help???
[EVO 4G Android Development] aacevedo17:
copy to sd card

hey everyone, i recently got a 16gb sd card, and i was wondering how i go about switching to this new sd card.

all my files for root are saved on there, so if i switch to the other card will it mess up root?

Do i just copy and paste everything to this new card?

thank you in advance
[EVO 4G Android Development] xHausx:
htc sync will do it, it was probably trying to connect to the phone at the same time the script was. If you already have s-off your almost there though, just use the FlashZip script to flash the SprintLovers PC36IMG and you should be good to go.
[EVO 4G Android Development] xHausx:
usually I just copy and paste everything but out won't hurt anything to use it blank either.
[EVO 4G Android Development] aacevedo17:
thanks for the help!!
[EVO 4G Android Development] ZeeMox:
I'm having a horrible time of this. For whatever reason, my phone drivers don't seem to be installing correctly on my PC no matter what I do, resulting in ADB/HTC sync never finding the phone. Isn't there some way to do this without the ADB and all that jazz? I rooted my Evo no problem just by flashing a few things way back in June. This autoroot stuff has just had me going nuts over the course of a few fruitless hours while trying to root my friend's phone. Surely there's got to be a way to just flash a recovery and root from there?

I'm deeply grateful for the community's efforts with the autoroot and everything, but I'd love a work around...

edit: To clarify, I do have "USB debugging" enabled. I have to assume this is what the first post means by "ADB Debugging" since that option doesn't exist in my Settings > Applications > Development screen. Software version is 3.70. Not sure about hboot.
[EVO 4G Android Development] xHausx:
Unfortunately the new hboot can only be rooted with the help of adb. When the phone is plugged in to the computer can you see a triangle icon with an exclamation mark on the status bar?
[EVO 4G Android Development] stonemad:
I was having the same problems, I figured out that I was using the wrong version of Sync. HTC will give you 3.0 and you want 2.0.35. Make sure you do a factory reset on the phone, turn off your anti-virus when you download the root, and run sync. It should work great, let us know how it goes.
[EVO 4G Android Development] ZeeMox:
Yeah - the phone says that USB debugging is enabled, and it knows it's plugged into the computer, but whether I set it to "charge only" or "htc sync", it just can't sync up with the PC.
[EVO 4G Android Development] ZeeMox:
I grabbed 2.0.35 first, since that's what the thread linked to. I ended up replacing it with 3.0 since that didn't work for me, but alas, no cigar.

I did not, however, do a factory reset first. I'm a little hesitant, since - if that doesn't do the trick - I'll have a phone I've wiped for no reason.

If it helps at all, I tried connecting my rooted evo to the PC with the same results, and it's running CM7, so it seems more likely to be a problem with the computers (I've tried two, both running Win7 x64) than the phones.
[EVO 4G Android Development] xHausx:
Do you have another usb cable you can try? It's not uncommon for an aftermarket or bad one to do that
[EVO 4G Android Development] sirajperson:
Oh man, I really think something is going seriously wrong.

So I busted my phone showing my little kid how to do cart wheels... I get a new phone and it is not rooted. I ran the latest auto root, and now I am stuck at an HTC screen. I am afraid to unplug the battery because I don't want a brick, (If i don't already have one).

Log:

------------ AutoRoot.bat Begin - v2.4 - Thu 04/21/2011 21:01:09.46 ------------

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

Working Directory is 'C:\Documents and Settings\Owner\Desktop\AutoRoot_v2.4\'

Phone SN is HT07VHL09752

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 79 percent.

Checking for root...

UID is 'Got Root!'

Checking for needed files...

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

594 KB/s (76044 bytes in 0.125s)

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

1107 KB/s (655360 bytes in 0.578s)

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

1004 KB/s (225014 bytes in 0.218s)

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

1174 KB/s (225551 bytes in 0.187s)

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

678 KB/s (76028 bytes in 0.109s)

Dumping WiMAX partition...

rm failed for -s, Read-only file system

mtd: MEMGETBADBLOCK returned 1 at 0x000a0000 (errno=0)

1476 KB/s (12451840 bytes in 8.234s)

WiMAX partition saved as 'HT07VHL09752_wimax.img'

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'

Setting RUU mode...

... OKAY

Sending flash PC36IMG_UD.zip command...

PING ADB State Changed '1' out of '0'. ADB State is 'offline' expected 'fastboot'

ERROR Phone is not in fastboot mode! Aborting!

Passed to ERRHANDLER

Killing ADB server...

* server not running *

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

Let me know if there is anything I can do. Thanks a million for any help.
[EVO 4G Android Development] sirajperson:
I just took the plunge and unplugged the usb wire and it went back to the RUU hboot screen. I suppose I need to do a little research as to why this attempt to autoroot failed.
[EVO 4G Android Development] xHausx:
It looks like it may have gotten ahead of itself there, you should be ok restarting it as is.
[EVO 4G Android Development] sirajperson:
Yeah, I got a little panicy. Sorry about that. But the question still remains; am I able to root my phone?
[EVO 4G Android Development] xHausx:
Yup, you should be good. It should be able to do everything automatically once it gets going. Just make sure you are not using htcsync 3.0 first
[EVO 4G Android Development] sirajperson:
Ahhhhh. That would be the problem, thanks man. You rock.
[EVO 4G Android Development] igotroot:
Why this method as opposed to Unrevoked????
[EVO 4G Android Development] xHausx:
Why not?
[EVO 4G Android Development] sirajperson:
I do know that you cannot downgrade your hboot version when you use Unrevoked, and since with the new hboot you cannot flash custom boot images I would call that one reason. Can you even flash custom roms after using unrevoked? I seem to remember using unrevoked then part 2 of root guide before this fine gentleman made the awesome script.

PS: I am using 2.0.35 for my HTC sync version. Still no luck.
[EVO 4G Android Development] xHausx:
Same thing? You should be able to restart it and it go from there.

Did you have to install the revoked boot drivers when you used it?
[EVO 4G Android Development] xHausx:
When I first posted this it was because unrevoked was bricking a ridiculous amount of phones and I doubt HTC appreciated getting hundreds of bricked evos back. This uses a method that has been used since the phone was released and is about as safe as doing an its upgrade.

Plus some like to know what is happening to their phones and may not want to run exe files from someone they don't know.
[EVO 4G Android Development] sirajperson:
Lets see, these are the steps I did:

1) enable debugging

2) check to see if I had enough room on my memory card.

3) downloaded htc sync 2.0.35 (I thought I had 3, but had 2)

4) Disabled antivirus

5) installed htc sync

6) downloaded latest auto root

7) ran the autoroot.bat

got:

------------ AutoRoot.bat Begin - v2.4 - Thu 04/21/2011 21:01:09.46 ------------

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

Working Directory is 'C:\Documents and Settings\Owner\Desktop\AutoRoot_v2.4\'

Phone SN is HT07VHL09752

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 79 percent.

Checking for root...

UID is 'Got Root!'

Checking for needed files...

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

594 KB/s (76044 bytes in 0.125s)

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

1107 KB/s (655360 bytes in 0.578s)

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

1004 KB/s (225014 bytes in 0.218s)

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

1174 KB/s (225551 bytes in 0.187s)

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

678 KB/s (76028 bytes in 0.109s)

Dumping WiMAX partition...

rm failed for -s, Read-only file system

mtd: MEMGETBADBLOCK returned 1 at 0x000a0000 (errno=0)

1476 KB/s (12451840 bytes in 8.234s)

WiMAX partition saved as 'HT07VHL09752_wimax.img'

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'

Setting RUU mode...

... OKAY

Sending flash PC36IMG_UD.zip command...

PING ADB State Changed '1' out of '0'. ADB State is 'offline' expected 'fastboot'

ERROR Phone is not in fastboot mode! Aborting!

Passed to ERRHANDLER

Killing ADB server...

* server not running *

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

Ended up stuck in RUU mode.
[EVO 4G Android Development] xHausx:
Will it do anything if you restart it in ruu mode? I think it may not be giving it enough time to get ready before checking
[EVO 4G Android Development] sirajperson:
I am trying right now, this time I got a status bar. Looks like it is pushing through.
[EVO 4G Android Development] sirajperson:
Phone is rooted. Thanks a million dude! What an awesome utility.
[EVO 4G Android Development] ZeeMox:
I have a few. I'll give a new one a shot and get back to you :)
[EVO 4G Android Development] BorLEH:
Can this be used on MAC's?
[EVO 4G Android Development] xHausx:
Some people have been able to run it in wine but I think they had to do something to set up the folders first. If you are able to let me know and I can add the instructions to the op.
[EVO 4G Android Development] r2tincan:
I

Having some trouble. This has been this way for 5 or so minutes. I still have a red triangle. What do I do here? :/
[EVO 4G Android Development] xHausx:
What version of htc sync do you have?
[EVO 4G Android Development] r2tincan:
Downloaded the one linked in the thread.

And I just checked and I have two versions? WTF? I guess I had a newer version, too. Is there a way to remove all the drivers, both programs, and start again?

edit: I'm upset HTC let me install an old version over a new version without alerting me. :/
[EVO 4G Android Development] xHausx:
There should be an option to uninstall them in the start menu. You may also be able to get away with just terminating it from task manager.

The next version I'll have to find a way to work with the new sync, that seems to be causing the majority of the problems people are having.
[EVO 4G Android Development] r2tincan:
Thanks, I'll uninstall them. How do I restart the process when I've uninstalled them?
[EVO 4G Android Development] xHausx:
If the script is still running use ctrl+c or close the window to stop it and leave your phone as is. When you are ready to continue just restart the script and it should pick back up where it left off.
[EVO 4G Android Development] r2tincan:
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...

WARNING Timed out while waiting on your phone to reboot.
Push any key to continue...

Now what? Do I have to start over? How do I do that? Phone is still on red triangle.

thanks
[EVO 4G Android Development] xHausx:
hmm :/

Try closing it out and running it again, it looks like adb was working normally that time around.

edit: Just a heads up, your phone isn't going to want to boot with the old firmware on there. It's normal and will be corrected once you bring it back up to date.
[EVO 4G Android Development] r2tincan:
This worked ! Thanks. !

edit: So yeah it isn't booting. How do I bring it up to date?
[EVO 4G Android Development] xHausx:
Run the FlashZip script and it should reboot your phone and tell you if you are unlocked or not, if you are have it flash the SprintLovers PC36IMG and you should be good to go.
[EVO 4G Android Development] r2tincan:
Thanks! Now I'm going to go find a guide on how to flash a custom rom on this thing... this is so not as easy as flashing Window Mobile
[EVO 4G Android Development] redtrk:
This worked perfect on a friends phone.......Thank You!!
[EVO 4G Android Development] xHausx:
ya, there is definitely a bit of a learning curve. Just remember to nandroid first and you should be good though. If you back up your boot, system, data & .android partitions and keep a copy of it on your computer you can restore from just about anything. Just remember to never downgrade your hboot and to be careful flashing radios and you shouldn't have to worry about ever bricking your phone.

Would you also send me your autorootlog.txt file that is in your autoroot folder? I'm going to see if I can get that adb issue taken care of for good.
[EVO 4G Android Development] r2tincan:
Of course... e-mail or what?
[EVO 4G Android Development] xHausx:
Email or you can attach it to a post, whichever way you prefer. My email is or the Manage Attachments button below the reply box will let you post it here.
[EVO 4G Android Development] ZeeMox:
Hey, I got my friend's phone flashed with the help of someone else's computer with a working copy of Sync installed. Just wanted to come in and say thanks for the great tool instead of just pissing off after I got what I needed. So, thanks!
[EVO 4G Android Development] iLLestCoW:
It worked great!. Thanks for taking your time to put this together :D
[EVO 4G Android Development] xHausx:
New update! I figured out what about the new htc sync was causing all the trouble and found out how to stop it. I had sync 3.05 installed the entire time and even started the script while it was trying to sync to test it out. I still recommend the older sync just in case though.

It will also try to backup your apps now, once you login to the market you may need to restart the phone again in order for it to link the apps to it.

Changes for v2.5

* Script now checks for Admin Priveledges and kills HTC Sync Services for Sync 3.05

* Fixed issue recognizing build numbers

* It will attempt to back up Apps now

* Checks branding in order to recognize KDDI Evos

* Unrevoked forever will now be retried if it doesn't get run the first try

* Changed it so it will leave the phones in Fastboot mode if it fails

* Recognizes ADB issues easier now
[EVO 4G Android Development] enserio:
thanks for the new update, I was having that exact trouble with Sync 3.05. Appreciate that!
[EVO 4G Android Development] enserio:
Still got issues, maybe it's because my work computer always has a firewall/anv running? The .bat file wont even start up. Opens, says can't init and something about extracting everything in the zip.

Also, when going through the files that should be in the zip, I see that the rageagainstthecage.bin is missing.
[EVO 4G Android Development] scottspa74:
Just wanna say, xhausx, you have been invaluable to this community. Thank you.

I've never seen another dev provide the support and assistance (particularly in these emergency situations), that you do.

Hope everyone is hitting this mans "thanks" button

;)
[EVO 4G Android Development] stinkbud:
I had an evo bought on the day it was released. Well, it got up close and personal with a toilet and yadda yadda yadda...i have a new refurb now. I rooted the old one the original 2 part method. I am trying this method and I cannot get past discovering the phone has no root permission and installing exploit. It just hangs there. What can I be doing wrong? I did a factory reset and that did not help. I will attatch the autrootlog file.