yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] mikek9:
Ah sorry must have missed that version of the OP that stated not to try the OTA, I believe one of the earlier versions said it was a viable option? I must say though, great work, and apparently youre making it even easier now! Thanks for helping me root!
[EVO 4G Android Development] grrrrrant:
including wifi tether? :)
[EVO 4G Android Development] energizer1389:
Ok, let me refrase my comment. I followed the guide and succeeded. I have root. Next I downloaded Fresh Evo 3.1.0.2 and flashed it and know have latest 2.2 update, superuser, wifi tether, etc, etc, etc. As the guide says: "You can now reboot to recovery and flash a custom rom". There are plenty of 2.2 roms out there. The challenge was to revert to 2.1 so we could obtain root. Regaw and the rest of the devs were succesfull in doing this.

Thankyou, thankyou, thankyou.
[EVO 4G Android Development] gdolla3:
Hey regaw,

Thanks for the root and your assistance in advance.

I am stuck at error opening ./flash_image misc /sdcard/mtd-eng.img: No such file or directory.

I tried to run the PC36IMG.zip in the bootloader, but gives me the older version error. I do not think it flashed.

Where should I go from here? PLEASE help.

Im so close, yet so far....lol. Thanks again in advance.
[EVO 4G Android Development] swiftinmotion:
awesome! thanks:D
[EVO 4G Android Development] regaw_leinad:
Yes

The reason you should use my stock 2.2 root after this guide is because I downgraded EVERYTHING on your phone. Radios, wimax, hboot... everything. When you run this next part that I will have out shortly, it will upgrade EVERYTHING back to stock 2.2, while maintaining root and a custom recovery (which allows you to use wifi tether etc.)

Custom 2.2 roms that you flash will not upgrade your other partitions back to 2.2 this is why I recommend doing it my way first, THEN flashing a custom rom. I will be updating the OP with all of this shortly
[EVO 4G Android Development] mikek9:
Flashing a custom ROM is insanely easy, but dont feel bad I spent probably an hour at least searching these forums and googling trying to figure it out. That is until I realized just how easy it was.

Remember how you downloaded the unrevoked-forever.zip file and pushed it to the sdcard? Pick your choice of custom rom and do the same.

I preferred using the adb shell to boot into bootloader, but you can also use the power button - volume (down?) method as well. Either way boot into bootloader, choose recovery just like you did for the unrevoked forever image.

This time however when you go to install from sdcard instead of choosing the unrevoked-forever.zip, choose whichever .zip file you pushed for your rom.

Whichever ROM you picked should say if you need to wipe or not, but from what Ive read it seems like a good idea to wipe your cache, dalvik cache (this is under advanced tab in clockwork) and data before flashing a rom.

Thats it, happy flashing.
[EVO 4G Android Development] regaw_leinad:
yeah you cant flash the PC36IMG.zip until the flash_image works first. Verify that you adb pushed everything to the right location and chmodded everything correctly
[EVO 4G Android Development] gdolla3:
Yup, I made sure everything is in the directory on the SD card, and chmodded too.

Another question? should I try to just remove the files, then just drag them and frop them on the sdcard location? Does it make a difference? Just curious.

Thanks again
[EVO 4G Android Development] grrrrrant:
fuggin sa-weeeeeet!
[EVO 4G Android Development] peteyo:
FYI make sure the pc36img is 167mb after you download it. i was running in circles for hours cause the file was only 154mb. if you don't get options after checking the pc36img. wtf lol
[EVO 4G Android Development] f10g44:
ugh i feel like a big idiot... anyways, my problems:

Microsoft Windows [Version 6.0.6002]

Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>CD c:\android-sdk-windows\tools

c:\android-sdk-windows\tools>adb push unrevoked-forever.zip /sdcard/

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

operable program or batch file.

then when i try what fintheman suggested i get:

C:\Users\f10g44>cd android-sdk-windows\tools

The system cannot find the path specified.

now the files are in the correct location, C:\android-sdk-windows\tools.

what am i doing wrong?

thank you!!
[EVO 4G Android Development] fintheman:
Make sure you are in C:\

Press "cd\"

You should then see C:\

At that prompt is when you type in "cd android-sdk-windows\tools"
[EVO 4G Android Development] Ep3n3wp:
Should I hold off on doing this until you (op) put out the 2.2 rom? Or am I good to go now? With what I got?

Also how did that video go?

Sent from my Second Wife using Swype on the XDA App
[EVO 4G Android Development] regaw_leinad:
Updated first post at the bottom with 2.2 upgrade tutorial. The link will be up asap, read over the instructions while you wait please, so we can cut down on questions :)
[EVO 4G Android Development] f10g44:
sorry "fintheman" if i'm doing something stupid...

Microsoft Windows [Version 6.0.6002]

Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd\

C:\>

C:\>

C:\>

C:\>cd android-sdk-windows\tools

C:\android-sdk-windows\tools>

C:\android-sdk-windows\tools>

C:\android-sdk-windows\tools>

C:\android-sdk-windows\tools>adb push unrevoked-forever.zip /sdcard/

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

operable program or batch file.

thanks!!
[EVO 4G Android Development] trim81:
will this update pri from 1.34 to 1.40?
[EVO 4G Android Development] partsguy1:
i went over everything again.i manualy put the files on the sdcard.it seems to me that the problem is that the sdcard won't mout. here are my out puts.

c:\android-sdk-windows\tools>adb devices

* daemon not running. starting it now *

* daemon started successfully *

List of devices attached

HT079HL08182 device

c:\android-sdk-windows\tools>adb shell

$ exit

exit

c:\android-sdk-windows\tools>adb push unrevoked-forever.zip /

891 KB/s (213877 bytes in 0.234s)

c:\android-sdk-windows\tools>adb push flash_image /data/local

327 KB/s (26172 bytes in 0.078s)

c:\android-sdk-windows\tools>adb push rageagainstthecage-arm5

p/

112 KB/s (5392 bytes in 0.046s)

c:\android-sdk-windows\tools>adb shell

$ /sdcard/

/sdcard/

/sdcard/: permission denied

$ chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

$ chmod 0755 /data/local/flash_image

chmod 0755 /data/local/flash_image

$ cd /data/local/tmp

cd /data/local/tmp

$ dir

dir

dir: permission denied

$ pwd

pwd

/data/local/tmp

$ ./rageagainstthecage-arm5.bin

./rageagainstthecage-arm5.bin

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3317, 3317}

[*] Searching for adb ...

[+] Found adb as PID 78

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal mone

[*] 7-4-3-C@web.de so we can compensate time, effort and HW c

[*] If you are a company and feel like you profit from our wo

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on deskt

$

c:\android-sdk-windows\tools>adb shell

# cd /data/local

cd /data/local

# ./flash_image misc /sdcard/mtd-eng.img

./flash_image misc /sdcard/mtd-eng.img

error opening /sdcard/mtd-eng.img: No such file or directory

Thanks for any help.
[EVO 4G Android Development] regaw_leinad:
It should, it's basically running a modified RUU zip that I made. Everything stock 2.2 from the factory, minus the recovery image, Superuser, su, and busybox.
[EVO 4G Android Development] regaw_leinad:
well one problem I see is that you are using windows commands in the adb shell (aka linux).
[EVO 4G Android Development] trim81:
For process 2, you mentioned for "a new custom recovery"

Does that mean it will overwrite my current Amon Ra?

If yes, how do I reinstall amon-ra?
[EVO 4G Android Development] regaw_leinad:
nevermind... sorted out...
[EVO 4G Android Development] partsguy1:
this is what i was looking for

# ls

ls

flash_image

tmp

rights

recovery.img

drmrights

#

i just wanted to make sure the files were there.
[EVO 4G Android Development] barnacles10:
You guys using toast 2 for nand?
[EVO 4G Android Development] trim81:
Will the 3 files for process two be posting tonight?

Any ETA on that?
[EVO 4G Android Development] grrrrrant:
lol. i know. i keep clicking refresh on page 1 like every 2 seconds!
[EVO 4G Android Development] firestetz:
thank you

this is my first post but thank you very much for all the hard work root worked flawlessly:D
[EVO 4G Android Development] sdsoundguy:
problem

got to the point of trying to install the unrevoked driver and this is what I get:

Ø jjj UpdateDriverSoftware-Androidl.O

Windows was unable to install your Android 1.0

Windows could not find driver software for your device.

If you know the manufacturer of your device, you can visit its website and check the support

section for driver software.

flTose

any clues to what I am doing wrong?
[EVO 4G Android Development] regaw_leinad:
I am fixing the zips right now for upload to the server. I had a little set back in time when trim81 talked about having Amon_RA instead of clockworkmod recovery. I am now giving you the option when you download the zips.
[EVO 4G Android Development] drrtydisko:
Thank you!!

It took me all evening to root my Evo, but second try and I did it.

Second time through was very easy. My advice would just be to READ very carefully through all the STEPS. It's very easy to get confused if your are just excited about it and are trying to finish as soon as possible. Also I copied and paste the commands(using Windows 7) not sure if you can do that in all OS, but it helped rather than typing it out and messing up.

I can't really give advice about any other problems because I'm not that good of a problem solver this is the second time I ever root a phone, but I have to say again it was very easy. Thanks.
[EVO 4G Android Development] Topgun966:
Where gettin there :P should be shortly
[EVO 4G Android Development] regaw_leinad:
hold on technical difficulties
[EVO 4G Android Development] grrrrrant:
links dont work
[EVO 4G Android Development] trim81:
getting error- size mismatch for the zips
[EVO 4G Android Development] regaw_leinad:
hold on technical difficulties, came a little too early with that post ;)

all links are temporarily down... bare with us. We are rearranging them.
[EVO 4G Android Development] Ep3n3wp:
Quick question.... The phone stays plugged in the whole time until GOLD STAR STEP 2...

And also how many times should I toggle airplane mode?

Sent from my Second Wife using Swype on the XDA App
[EVO 4G Android Development] lovethexi23:
This is pissing me off.

I have adb AND i have HTC Sync......ive USED htc sync before.....BUT IT STILL SAYS IT CANT FIND THE DAMN DRIVERS and unrevoked wont go anywhere

How the hell have i used it before....BOT OH...I DONT HAVETHE DRiVERS?? this is really pissing me off.

Can someone just post the damn drivers that are needed for vista cause this BS just isnt working.

it says ANDROID 1.o drivers not found.
[EVO 4G Android Development] grrrrrant:
i think uploading this set of links to the server is the hardest part of the root, huh? lol
[EVO 4G Android Development] regaw_leinad:
just toggle it on/off until you get the results you need outlined in the guide.

Well, for one, you were supposed to UNINSTALL HTC Sync... and the Android 1.0 drivers help file is the hboot driver.htm that gets extracted when you extract the unrevoked3 exe. Look for it and read what to do. And follow the guide to the 'T'

lol ya... pretty rough
[EVO 4G Android Development] rancherochido:
When you bring up the HTML in the files you extracted... you know the one with the instructions on how to install the driver... the very first bullet on that page is the link to the driver.
[EVO 4G Android Development] envoykrawkwarrior7:
make sure htc sync is completely shut off

and when you click on the unrevoked link, one of them takes you to a step by step picture guide and at the top is the link for the drivers, then just exctract them and put them in a new folder on your desktop and when you go to install the drivers direct it to that folder and itll take a bit but itll install them
[EVO 4G Android Development] sdsoundguy:
Here ya go the link to the drivers had to re download it myself for some reason they were corrupted and got stuck at the same point
[EVO 4G Android Development] rancherochido:
Ohh and before you get pissed off again.. uninstall HTC Sync. It WILL freeze unrevoked.
[EVO 4G Android Development] Ep3n3wp:
Ok so I uninstalled htc sync from computer... Do I need to uninstall htc driver installer as well or keep that one?

Sent from my Second Wife using Swype on the XDA App
[EVO 4G Android Development] grrrrrant:
keep the drivers
[EVO 4G Android Development] regaw_leinad:
Keep the drivers
[EVO 4G Android Development] regaw_leinad:
Links are NOW LIVE. I promise haha. Part 2 is up and running. I need feedback, so get on it!
[EVO 4G Android Development] rancherochido:
Downloading Now
[EVO 4G Android Development] Topgun966:
LOL sorry about that guys, screwed the pooch when I was trying to put the links up in a way we could see how many times it was downloaded..didnt work..

Right now there is ALOT of people downloading it so if its slow atm im sorry :(
[EVO 4G Android Development] soxozor:
I was able to flash cyanogen with just PART ONE. Wiped etc. It worked.

I will now do part two just in case that I need to update radios and what not. Reporting back.
[EVO 4G Android Development] Ep3n3wp:
@regaw.... Which one do you recommend/works better? Clock or amon?

Sent from my Second Wife using Swype on the XDA App
[EVO 4G Android Development] fernruffryders:
help, i run unrevoked app, and it says waiting for reboot... and then it just says failed to flash recovery image... i installed the modified usb drivers and uninstalled htc sync... any help fellas??
[EVO 4G Android Development] Topgun966:
I say just use simpleroot ota. I personally like that better. It does unlock nand etc.
[EVO 4G Android Development] fernruffryders:
where do i get that? market? is it free>?
[EVO 4G Android Development] rancherochido:
Updating

10Char
[EVO 4G Android Development] fernruffryders:
someone willing to help me out here?!
[EVO 4G Android Development] rancherochido:
Post a question.
[EVO 4G Android Development] lovethexi23:
THANK GOD.....what the hell was the problem??
[EVO 4G Android Development] regaw_leinad:
And remember, I'm not supporting simpleroot OTA in this guide, for one because I know nothing about it (other than the fact it downgrades your PRI) and 2, I rooted my brother's EVO once last night, and this was the foolproof method.
[EVO 4G Android Development] fernruffryders:
i did...

ill post my problem again...

i got all the way to the very end of first step, where i run unrevoked app, it does its thing, and then says "waiting for reboot"

then

it just says "failed to flash recovery image"
[EVO 4G Android Development] Ep3n3wp:
can i perform this whole root using a 2gb sd card? or would it be better with a 4gb card?

I have a 2 and 4 extra both of them i just deleted everything off of..

im bout to do this once this finishes downloading...
[EVO 4G Android Development] rancherochido:
you either have HTC Sync installed or you don't have the unrevoked driver installed
[EVO 4G Android Development] regaw_leinad:
doesn't matter, zip is only ~180 Mb
[EVO 4G Android Development] fernruffryders:
i do have htc sync UNINSTALLED and i do have unrevoked drivers installe, i downloaded the zip file, extracted it, ran the app, and i actually also manually installed the modified usb drivers
[EVO 4G Android Development] ilyheather2010:
thanks for the great work

i have had my evo sense day 1 it came out but i decided to just test this out

and see how good it was so i unrooted and installed stock 2.2

then i used this method on non rooted 2.2

works perfect some confusion but it was great

advice just read carefully over everthing
[EVO 4G Android Development] grrrrrant:
after choosing "no" for reboot, how do I get to the "recovery" option?
[EVO 4G Android Development] Caanon:
noob moment:

Does running "unrevoked forever" do the same thing as "unlocking NAND"? I know the forever does a tweak to the baseband NVRAM, but is it considered a "full root" after you run forever, or is another step required to unlock the NAND?
[EVO 4G Android Development] regaw_leinad:
Step 3: After choosing NO to the reboot, you will see a menu again. Use the Volume Down button to hover over "Recovery" and press Power to click on it.
[EVO 4G Android Development] fernruffryders:
regaw_leinad can u give me a hand, dont know what im doing wrong here...
[EVO 4G Android Development] rancherochido:
and your phone is on charge only and usb debugging on?
[EVO 4G Android Development] grrrrrant:
i don't see a "recovery" option. I see "bootloader", "reboot", "reboot bootloader", and "power down"
[EVO 4G Android Development] regaw_leinad:
Yes it's nand unlocked. And there isn't suck thing as "fully rooted". Root is a binary quantity. "As rooted as can be" is the same thing as 'rooted'
[EVO 4G Android Development] fernruffryders:
yesssir, on charge only with usb debugging on
[EVO 4G Android Development] ilyheather2010:
click bootloader the first one then go down and click recovery the second 1
[EVO 4G Android Development] regaw_leinad:
See this is why I need a F***ing EVO infront of me. Can anyone else confirm this? there is no recovery option?? In my tests there was!
[EVO 4G Android Development] grrrrrant:
thanks a lot!
[EVO 4G Android Development] fintheman:
I'm at the RA-Evo part - Flash Zip from sdcard then I go and do that then I get

verifying update package....

E:No signature (8) Files

E:Verification Failed

Installation Aborted.
[EVO 4G Android Development] regaw_leinad:
ok thank you, updated the guide with that.
[EVO 4G Android Development] btrxsheriffx:
i got the same result ... =/ so doing the process again
[EVO 4G Android Development] rancherochido:
Ok, finished and rebooting now
[EVO 4G Android Development] regaw_leinad:
****TTT. I forgot to sign a zip. I'll post a new link for amon_RA soon. Error is only on Amon_RA recovery. my bad. sorry guys/girls
[EVO 4G Android Development] btrxsheriffx:
it ok man just relax and look everything over you got this done son =)
[EVO 4G Android Development] grrrrrant:
after i press "recovery", how long should the white screen saying "htc EVO 4G" stay up? what should i do?
[EVO 4G Android Development] rancherochido:
Used clockworkmod file and phone is up and running
[EVO 4G Android Development] ilyheather2010:
ur welcome just to clarify

once u hit bootloader it will ask to do the update again just click no and

then no to reboot

there now the recovery buttons there go down and select it and bam!!!!!
[EVO 4G Android Development] Tiffany84:
Hey Regaw, you've got nothing to be sorry for. You've been busting your ass for the last two days to help us out.
[EVO 4G Android Development] ilyheather2010:
i have no clue im on that right now and it seems to be taken a lil bit to long

do we wait or wat??
[EVO 4G Android Development] rancherochido:
Only a couple of seconds.
[EVO 4G Android Development] grrrrrant:
idk but its freaking me out!
[EVO 4G Android Development] grrrrrant:
well it's on this screen for a couple of minutes... what do i do?
[EVO 4G Android Development] btrxsheriffx:
if nothing happens in a min just do a hard reset "pull battery" and go to recovery again.
[EVO 4G Android Development] ilyheather2010:
idk amons not even signed just seen that wow just gonna go with clockwork for now bc i am gonna use a custom blue cyanogen recovery anyway thanks
[EVO 4G Android Development] btrxsheriffx:
im willing to wait for him to sign the zip =)
[EVO 4G Android Development] trim81:
grrrrrrrrrrrrr almost done too. waiting on 2.2 amon ra
[EVO 4G Android Development] btrxsheriffx:
relax man... its a easy fix just give him more time =)
[EVO 4G Android Development] Ep3n3wp:
okay... starting now... if i have any problems i might need an experts gtalk for a little guidence...
[EVO 4G Android Development] ilyheather2010:
haha got it i just zip easy auto sign to sign it my self booting up now after perfect install

no errors
[EVO 4G Android Development] regaw_leinad:
It's the patch that I made to insert superuser and su and all that. It doesn't have to be signed for clockworkmod, and I forgot to sign it before I zipped it up w/ amon_ra
[EVO 4G Android Development] btrxsheriffx:
if you want to get it rooted already then download the clockworkmod and follow the steps pretty easy but if you want to wait for 2.2 amon ra then wait =)
[EVO 4G Android Development] jatoprieto:
my evo is taking a long time aswell on the white screen when going into recovery.

ohh and thank you. i was able to follow everything. i've been up since 11pm reading all the 90+ pages. i will donate
[EVO 4G Android Development] btrxsheriffx:
yeah had the same problem but if nothing happpens after more then 5mins then just do a hard reset "battery pull"
[EVO 4G Android Development] regaw_leinad:
how long? did it ever go to recovery?
[EVO 4G Android Development] Ep3n3wp:
this is what i got so far... it doesnt look like it is working... where did i fail? lol

C:\android-sdk-windows\tools>adb push unrevoked-forever.zip /sdcard/

557 KB/s (213877 bytes in 0.374s)

C:\android-sdk-windows\tools>adb push flash_image /data/local/

cannot stat 'flash_image': No such file or directory

C:\android-sdk-windows\tools>adb push rageagainstthecage-arm5.bin /data/local/tm

p/

cannot stat 'rageagainstthecage-arm5.bin': No such file or directory

C:\android-sdk-windows\tools>adb push mtd-eng.img /sdcard/

cannot stat 'mtd-eng.img': No such file or directory

C:\android-sdk-windows\tools>adb push PC36IMG.zip /sdcard/
[EVO 4G Android Development] fintheman:
I'm up and running

2.2 / baseband 2.15.00.07.28 / 2.6.32.15-g746f4f0 / pri 1.34_003
[EVO 4G Android Development] btrxsheriffx:
gratz man im still waiting for the other link
[EVO 4G Android Development] jatoprieto:
i waited 2 minutes and pulled the battery. then it went straight in.
[EVO 4G Android Development] btrxsheriffx:
did you follow every step bec you might have passed one up i think you didnt place the files in the "tool" folder
[EVO 4G Android Development] Topgun966:
Select the bootloader then recovery (using the power button)
[EVO 4G Android Development] trim81:
pri 1.34?

my main goal was to go factory fresh and get my evo to 1.40

Did you run process/step #2??
[EVO 4G Android Development] Sir-Duke:
it keeps giving me $ instead of # :( what am i doing wrong ?
[EVO 4G Android Development] grrrrrant:
now how do i get free wifi tether?
[EVO 4G Android Development] trim81:
find it in the market place
[EVO 4G Android Development] btrxsheriffx:
market place and search wifi tether and download
[EVO 4G Android Development] Ep3n3wp:
yeah they all in tools folder on my c: drive...

inside tools folder i have...

evo-root(unzipped) contents inside that file are:

flash_image (its a file)

mtd-eng (image files)

rageagainstthecage-arm5.bin (BIN file)

next:

PC36IIMG (zipped)

next:

unrevoked-forever (zipped)

what am i missing?
[EVO 4G Android Development] jatoprieto:
good question. and also,

how do i check if im rooted.

i mean i know i am but i would like to know how to check for reference
[EVO 4G Android Development] trim81:
you need to toggle airplane mode (read the op)
[EVO 4G Android Development] btrxsheriffx:
Make sure USB Debugging is ON?, everything else seems good , you can redownload the files just to make sure and replace the original files in the tool folder and repeat the command process again slowly and make sure everything is copy correctly
[EVO 4G Android Development] Ep3n3wp:
alright ill give it another whirl... thanks for quick response guys... (thank god for two comps)
[EVO 4G Android Development] btrxsheriffx:
np man just waiting for the other file right now =) hopefully i helped on something =/