yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] xHausx:
Well 2.2 is up for any brave souls who want to give it a spin!

only took me four tries to upload

I've tested it out a few times and didn't have any trouble with it but let me know if anyone comes across anything. This one should be better at keeping up when you get to the recovery part

Changes for v2.2:

* Updated the recovery to Amon RA's version 2.2.1

* MTD information for each phone is saved in case it is restarted and unable to find out.

* Fixed a bug where pre 3.XX ROMs were not being recognized correctly.

* Phones are explicitly called by their serial number to prevent confusion if an emulator starts or another phone gets plugged in.

* Unresponsive ADB daemons are killed to help prevent them for hanging or randomly restarting.

* Minor bug fixes.
[EVO 4G Android Development] Menotti:
Thanks for all the hard work!
[EVO 4G Android Development] pbartolini:
My buddy needed a working phone by tomorrow morning and I was done "flashing random stuff" out of desperation. At first Sprint tried to fix it but they gave up and just gave him a new one. I wonder what the notes on his account say.... Thanks again for your help. I just sent over some beer $$.
[EVO 4G Android Development] iiipm:
win7 64bit or win p 32bit

I dual boot and am wondering which OS is preferred for this operation winxp or win 7 64bit

thanks
[EVO 4G Android Development] JinB:
I can tell you that Win 7 - 32 bit worked well for me...
[EVO 4G Android Development] BIBUBO BCJ:
Sorry, I'm a new member, and I have a question now: Did it work on 3.26 Software version ?

Sorry for my bad English
[EVO 4G Android Development] jaberocs:
worked perfectly for me. thanks for all the hard work!

i used 7 64-bit
[EVO 4G Android Development] DanWalker:
is this a one time root? I'll be able to flash any rom afterward? I keep reading that people are having issues using certain roms depending on their root method.
[EVO 4G Android Development] xHausx:
yes, it works with all version. I've never tested it on 3.26 though so let me know how it goes for you

either one should work, I made it in win7 64 though

this is a permanent root so you will be able to flash any ROM
[EVO 4G Android Development] JinB:
X, you look bored - no questions to answer for an hour. So I'll ask one...

what files do I need to copy/store for safe keeping? (now that I have root)
[EVO 4G Android Development] jirafabo:
Do I use the 'no pc36img' for the quick method since I'll be flashing my own stuff after?
[EVO 4G Android Development] xHausx:
lol, thanks man. Wish I was bored though, I have to get ready for work. The only thing you really need to keep is the wimax backup. To be honest though, you may want to make one more of them after you get a permanent recovery installed because I'm not so sure phones with the new partitions are making good backups.

You'll still need the pc36img for the bootloader. You will also need one of the .9X bootloaders in order to use it. Rarely it will work with 2.02 but not very often.
[EVO 4G Android Development] JinB:
The "permanent recovery" that you speak of... is what? Where/how is that done? Thanks.
[EVO 4G Android Development] Code3VW:
I'm a G2 owner trying to get wireless tether for root for a buddy of mine with an Evo.

He doesn't need/want a fancy rom, so I'm trying to just get him setup with a rooted version of the stock rom, and wireless tether for root 2.0.6. I'm planning on running the auto root, but am unsure whether he needs the Full Zip, PC136, or Tools only. Ultimately, I want the phone to look and act just as it does now (stock) but with wireless tether for root working. PDA net isn't working properly and I want something more long-term for him.

Thanks!
[EVO 4G Android Development] xHausx:
The permanent one is flashed when the rooted rom is. The temporary one was when the screen showed the red triangle.
[EVO 4G Android Development] xHausx:
This will flash the sprint lovers rom by default but you could flash another one afterward if he was wanting it 100% stock. Sprint lovers is close but has a few changes such as the battery sites how many percent is left, the htc start up animation etc.
[EVO 4G Android Development] xHausx:
I appreciate that man, ya if he wants to try again let him know to do it sometime when he has some spare time in case it doesn't go as planned. For the most part as long as the phone turns on it can be recovered but sometimes its easier than others.
[EVO 4G Android Development] lostinroot:):
HELP

HELP

Can some one give me a pointer. i Unrooted just so i could clear my phone back to plane and im attempting to re root but when i run autoroot or Openshell and autoroot quick it quits after a few seconds and here is what it reports

Any ideas?

------------ AutoRoot.bat Begin - v2.0 - Mon 01/10/2011 19:50:00.90 ------------
Params=1'quick' 2'' 3'' 4'' 5'' 6''

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'
Firmware version 'FRF91'
Version Major 'FRF91'
Version Minor ''
[EVO 4G Android Development] xHausx:
You still have a custom rom and that is throwing it off. Try 'autoroot s3' and it should skip the version check.
[EVO 4G Android Development] rvega01:
Hi Haus,

Sorry but I'm still very very lost with the Recovery.log thing.

I double click on the open shell file and I got a message saying "Your NAND must be unlocked first!", but since I'm very lost with this, I don't know if I have to have the phone first connected to the computer, or if I have to do something else before in the phone or just something else that I have no clue....

Thank youvery much...!
[EVO 4G Android Development] eltheself:
I used the autoroot 2.1 on both my evo and my friend's evo (mine is hardware 04 and hers is 03). worked like a charm. the autoroot quick command didn't work on mine though, but it was flawless on the 03 model...
[EVO 4G Android Development] Philosuffer:
Ok I got a replacement phone from Sprint, its HW0003 and came pre-installed with hboot 2.10 and 3.70.651.1 ROM. I tried running AutoRoot 2.2 using "autoroot quick" and now my phone seems to be stuck at the splash screen, and the custom recovery seems to have failed to install also.

I've tried the 3.70.651.1 RUU exe and I keep getting Error[170]:USB Connection Error.

What are my options now?

Edit: NM, I put the 3.70.651.1_PC36IMG.zip on SDCard and renamed to PC36IMG.zip and flashed that through bootloader. Able to boot into Android now at least...

Going to try Autoroot again...

Edit 2: Decided not to try "autoroot quick" and instead used AutoRoot.bat and worked like a charm.
[EVO 4G Android Development] xHausx:
It can't do much if the phone isn't connected can it? ;) just make sure it is turned on and it should work.

I did find a typo in the one I posted though, you'll need to unzip the one attached over top of the old one and try again
[EVO 4G Android Development] xHausx:
The quick method only works with 002 and some 003 evos. If your phone came with the 2.xx hboot it wont work.
[EVO 4G Android Development] llzel:
so confused

So i read every post and I'm still confused. I'm pretty techy. I'm planning on buying a new EVO directly from sprint and would like to root so I can get 3 things, WiFi tether for my ipad, better battery life, and GPS.

Can someone point me to a tutorial and download? Does everything run from the EVO onboard SD card?

Thanks and sorry for the question
[EVO 4G Android Development] xHausx:
This will need to be run from a windows machine. Just plug your phone in and install htc sync, thats all you should have to do in order for it to work. After downloading the full autoroot zip and opening it in to a folder you can run the autoroot file to start. Just be sure to read and understand the instructions first.
[EVO 4G Android Development] llzel:
thanks! So tonight I'll download. Does HTC sync come with the phone? Will Wimax work? Seems it might or might not. I need wimax wifi for work.

can I root and set up then activate with sprint?

I'm on a blackberry now do I use gmail to sync all my contacts back to phone?

Thanks again
[EVO 4G Android Development] JinB:
You have to installl HTC Sync first....there is a new HTC sync here. That is installed to you windows computer.

Not sure, but I think activate first, then root...
[EVO 4G Android Development] xHausx:
I would activate it first, I have heard some say they had trouble activating after they rooted. Syncing your contacts and calender to your gmail account will let you restore them as well.
[EVO 4G Android Development] reggen's evo1980:
AWESOME!!

I bricked my first EVO not sure how maybe it was the Hboot I installed or maybe it was the PRL update that I tried not sure. It wouldn't charge unless off and USB was nto working right. Sprint sent me a refurb which pissed me off to no end. This method worked great with the refurb phone. Now I just gotta look for a new rom and I'm off again thanks for making a script that works. The refurb came with hboot 2.10 and soft 3.70 so I was a bit worried that it might not work due to the old pc36img file fails when trying the old way of rooting got my EVO back in July so the old way was all I knew. This was so much easier and took care of some things that I would have had to do manually before. So kudos I owe you 12pack u name it it's yours!!!!
[EVO 4G Android Development] xHausx:
Most likely not if you said it already failed. I have had people with the new hBoot say it worked for them but many others say it doesn't
[EVO 4G Android Development] dkdude36:
this could be pretty easily configured for hboot 2.02. the method is baisically flashing a rooted 2.02 from hboot, and using toast's bootrecovery from pc to put on a custom recovery, and flash unrevoked forever (s-off), then downgrading to engineering .76.2 hboot. maybe one day one of us will make one of these for 2.02 and/or macs. sounds good?

anybody want to or have tested the method i have stated above? i will hold your hand command by command if you haven't but want too. 2.02 hboots for testing only, but i will help anybody.
[EVO 4G Android Development] antivirus6613:
Once I do these steps will I be fully unlocked (NAND) or will I just have root?

I want to be able to flash roms and kernals so should I use unrevoked after I do all these steps on my phone?
[EVO 4G Android Development] xHausx:
This should leave you fully rooted with NAND unlocked, the only thing you won't be able to do is update the hBoot. For that you will need unrevoked forever. If you have the new 2.02 hBoot it may not take though, have you tried rooting previously?
[EVO 4G Android Development] antivirus6613:
I have HBOOT .97 on my phone, if I follow these instructions for my goal to flash a custom rom and kernel would there be a point to upgrade the HBOOT?
[EVO 4G Android Development] xHausx:
You shouldnt have any trouble then. As far as I know there are no real benefits to using a different hBoot.
[EVO 4G Android Development] antivirus6613:
thanks! I will be using this method tomorrow and letting you know how it goes. Previous rooted evo charger port fell off so now I got a replacement and its been yearning for a root. This process is much easier than what I had to go through before to root my evo.
[EVO 4G Android Development] scottspa74:
Xhaus, thanks for all your work. Dkdude, thanks for your offer to walk anyone thru hand by hand. I have a launch day Evo, but shudder when I think of dropping it in the toilet or some **** and having to get a new one. What a hassle to root now, it seems. I rooted mine using toasts files and fastrx8 method (no computer required). If, god forbid, I ever have to get a replacement Evo, I'll be looking you up. If you can come up with a no-pc method, damn, that's hot ;)

Thanks all.
[EVO 4G Android Development] xHausx:
Youre welcome. That was my original goal but have been busy with it being so close to thanksgiving. I still plan on whipping up a phone only method here sooner or later.

Only thing is with a pc I believe I can automate the entire process where the phone only method you would still need to interact with the bootloader. We'll see though.
[EVO 4G Android Development] jmoroschan:
I've tried zikronix guide and have 2.02 s-off now. I ran unrevoked 3.21 for root. It worked. However, I am unable to get a working recovery. Can't nand or flash roms in clockwork or amon ra. Will your guide work for me? If so, where should I start? Went back to stock with Ruu 3.30, still have s-off.
[EVO 4G Android Development] xHausx:
Normally all you would need to do it place the pc36img.zip file on the root of your sd card and flash it however many 2.02 users have reported that it does not flash correctly with an incomplete nand unlock.

Try flashing the .76 bootloader by itself, that one may flash correctly. You will need to reflash a kernel or ROM afterwards or it will boot into the bootloader.

see here
[EVO 4G Android Development] jmoroschan:
Thanks for the response. I will try this.
[EVO 4G Android Development] xHausx:
yw, by the way it may be safer to try flashing the recovery version it. I would try that one first and then the hBoot version if it doesn't work. The second post has the recovery one
[EVO 4G Android Development] antivirus6613:
just did part one "runexploit" and then the phone reboot and its sitting at a screen where it says "fastboot usb" and the four options are bootloader, reboot, reboot bootloader, power off. I am trying to run flashrecovery and it says device cannot be found.

Any suggestions?

EDIT : Just flashed the PC36 img again and the phone is currently rebooting past the loop.

EDITEDIT: Got it working. Had to go through process twice though. First time flashing didn't stick I guess.
[EVO 4G Android Development] escobar301:
newbie needs help

got evo running 2.2 on 3.30 software. got stuck on step 4, keep getting a black screen with red triangle. now my phone says its on 2.1update1 and 1.1.651.1 software #

I have attached the three log files. Please help
[EVO 4G Android Development] xHausx:
That's the stock recovery, did your hBoot flash correctly? It should say

Eng s-off on the top line. You can get out of that recovery by pushing vol down & power (if I remember correctly) or by pulling the battery

Edit: it looks like you are already rooted but your NAND is still locked, did you get any messages while it was flashing in the bootloader?
[EVO 4G Android Development] escobar301:
It is still S-ON. Iwhen flashing the zip, all the steps state "OK'

but step 12 Bootloader states "Bypassed"

the last 4 steps are

(9) USERDATA - OK

(10) WIMAX - OK

(11) BOOT - OK

12) BOOTLOADER - Bypassed

update complete

Do you want to reboot device?
[EVO 4G Android Development] xHausx:
ok, I have a few ideas but I want to ask someone smarter than me about them first so I dont unnecessarily risk messing up anyone's phone. Have you tried unrevoked or anything yet or is this your first attempt at rooting it?
[EVO 4G Android Development] escobar301:
tried this then unrevoked. unrevoked did not work. kept crashing
[EVO 4G Android Development] xHausx:
ya, it looks like the first time it stopped before it could run the exploit and the second try you already had a root shell. Did the window close on you or just freeze up?

Zikronix's thread here has a lot of information about unlocking NAND with unrevoked.
[EVO 4G Android Development] reggen's evo1980:
oh no

I can't install tibackup when I do my ROM fails so looks like I can't use any apps from my other EVO this is ok I am glad to have a working phone again and 4G works after some messing around. I'm doing a jig over here, which is kinda funny cause I'm black and I can't dance. for those of you laughing shut up.
[EVO 4G Android Development] blaster127:
I just purchased an two HTC EVO from Ebay. The one that I got is rooted because they told me it is and I am able to flash different ROMS on it.

The other was not advertised as being rooted. So, my question is to the masses out there.

How do I tell if the second phone is rooted for sure and how do I tell what it was rooted with (i.e. Unrevoked, or other root methods ) ??

Newbe to this and I am trying to learn all I can in these great Threads on this site. Please explain in a newbe terms in language. Any help is greatly appriciated!!!
[EVO 4G Android Development] llzel:
Blaster follow this link, it will show you how to get into the phone's bootloader and when you do there should be S-on or S-off S-off means its rooted

http://xdaforums.com/showthread.php?t=865204
[EVO 4G Android Development] blaster127:
I new it had to be a simple thing to do.
[EVO 4G Android Development] rvega01:
Hi Haus,

You are right, it can't do much if it is not connected:D

OK, Now, I did connected using charge only and also Disk Drive, then I unzip the updated file you sent me, double click on it, and I got a black window with the following message in it:

"The system cannot find the path specified.

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

operable program or batch file.

Your NAND must be unlocked first!

Press any key to continue . . ."

After that I tried to paste the "adb pull /cache/recovery/log recoverylog.txt", and then the black window disappears. I did it again, and the same thing happens.

Help Pleeeeease.

Thank you very much...!
[EVO 4G Android Development] xHausx:
It was not in the autoroot folder when you tried to run it. The one attached you will be able to just unzip and run as is
[EVO 4G Android Development] xHausx:
If the bootloader is version .76 it was most likely not rooted with unrevoked and vice versa.
[EVO 4G Android Development] Harry Seaward:
Ok, there are nearly 1400 posts in this thread. I went back to the 2.2 announcement and didn't see the answers to my questions, so I apologize if this has been asked and answered already...

The instructions say to not use the 3.70 PC36 unless my phone came with it. I don't know what it came with, but the day I got it, I was prompted to do some software updates. I don't know which software it updated, but here are the current details:

HW version 0003

Software (build?) 3.70

hBoot 2.10 (Has a date of 10-15-2010 in the hboot screen)

kernel 2.6.32.17-gee557fd...

Which PC36 file do I use?

My main reason for rooting is I want to be able to do wireless tethering. I know the FM radio has been an issue for some phones/root methods. I can do without the FM radio if necessary, but I'd like to keep it (and any other features) if I can.

First, I'd really like to 'ghost' my phone so I can restore my apps, emails, sms, etc after rooting it. I tried to run Titanium for this purpose and it said I needed root access. ??? I thought I was backing up in case there was a problem rooting? How does this work?

Second, what's the reason for unlocking NAND protection? Is this necessary? If so, what stage do I do it?

Third, once I get the backup situation sorted, am I safe just running through the instructions from the first post?

Thanks, and sorry for being such a n00b. I really don't want to brick this baby so I want to get all of my questions out of the way not to minimize problems later.

Thanks again!!
[EVO 4G Android Development] xHausx:
A lot of good questions here. The not I have next to the 3.70 rom I put there right after it came out and just never took it down. Since you already have the upgraded 2.10 hboot it shouldn't hurt anything to use it.

Rooting using this method will leave your phone fully functional just unlocked. Once a custom recovery is installed you will be able to do nandroids which are the same as ghosting. They are backups of the entire partitions.

Unlocking the NAND is when you set your phone so it shows s-off. It is just a security feature used by htc to lock the system, bootloader, radio & recovery partitions from being modified. With the nand locked you can temporarily root but everything will be undone when you reboot.

For the most party if anything goes wrong here you will be able to use the ruu to restore. The only way to truly brick it is to interrupt it while flashing the radio.
[EVO 4G Android Development] lagvoid:
Hi xHausx, could you explain what additional steps are required for 2.02?

The root got stuck during the recovery portion and I can't proceed. I've tried restarting into recovery and running StartRecovery.bat, but it's saying it can't find the daemon or something.

Baseband Version

2.15.00.09.01

Kernel version

2.6.32.15-g0f673ed

build 149 #10

Software Number

3.30.651.2

PRI Version

1.77_003

h-boot

2.02.0000
[EVO 4G Android Development] lagvoid:
I tried the FlashRecovery.bat you posted on the 11th and now I get "adb server is out of date. killing...

* daemon started successfully *

- exec '/system/bin/sh' failed: No such file or directory (2) -"

Any tips you could share? thanks
[EVO 4G Android Development] xHausx:
Can you attach the autoroot log for me to take a look at? It depends on whether or not your hboot shows s-off, if it does then all you have to do is flash a recovery.
[EVO 4G Android Development] lagvoid:
oops, I didn't see this response and am in the process of starting over. Log attached in case I come to the same error!

Thanks!
[EVO 4G Android Development] xHausx:
It looks like there was a problem with adb, if you restart your computer it should clear it up. From where you were in the recovery (after restarting your computer) 'autoroot makenandroid' will let it continue where it left off or if you have run the RUU just getting a fresh start may help it go through.
[EVO 4G Android Development] lagvoid:
Where can I find 'autoroot makenandroid'? I reran RUU and encountered the same error I had the first time. I restarted prior to this attempt as well. Am I just rerunning the autoroot.bat?

edit: after another restart and running startrecovery.bat, the menu displayed. Backing up nand now. Thanks!
[EVO 4G Android Development] adrian2pm:
does this back up your 4g keys ? please reply asap im about to do this on my friends phone
[EVO 4G Android Development] lagvoid:
hmmm sorry for the dumb questions, but I've backed up nand and h-boot now shows s-off. How do I get your tool to continue with the loading process? It's just sitting here in the recovery window now.
[EVO 4G Android Development] JinB:
X - I need advice. I know this isn't a autoroot problem, but maybe some insight.

The phone ran fine after root (for 2 days). But now the battery super drains, slow response and the "sync" indicator runs alot. I went into accounts and sync and turned off 3 of the 7 apps that were set to auto sync. Now I don't see the sync indicator, but the battery still drains fast and the phone is sluggish.

This seems to have happened after running QIK, so I uninstalled that. Didn't help.

So you think reset the phone, dump some files, recovery? I don't know how to do any of this stuff, but I been reading (which hasn't helped) maybe you can point me in the right direction. Thanks.
[EVO 4G Android Development] xHausx:
While in there flash the urfsoff zip so it will unlock your nand. After you do that run the open shell file and type the following:

adb shell reboot bootloader

autoroot flashrom
[EVO 4G Android Development] xHausx:
Yes it does but you will still want to make one more backup of the wimax partition once it is fully rooted.
[EVO 4G Android Development] xHausx:
Try wiping your cache / dalvik from the recovery. You can also use os monitor to find out what is hogging your cpu
[EVO 4G Android Development] xHausx:
Just curious, do you have the unrevoked drivers installed?
[EVO 4G Android Development] lagvoid:
Thank you! That did the trick!
[EVO 4G Android Development] JinB:
I have implemented your suggestions. The os monitor did not reveal any thing (that I could see). I'll see how it goes tomorrow.

I just don't know why it went from tolerable battery life to extremely poor instantly...

What happens if I perform a reset? What should I expect?

What's the procedure to go back to stock (but keeping root)?

Thanks for your help...