yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] d0cx:
I managed to successfully complete this tutorial, except the unrevoked part which I chose to skip. I rooted using the SimpleRoot method and successfully unlocked my NAND as well. I'm now running a rooted 2.2 ROM with custom netarchy kernel and everything is going pretty good. Thanks to everyone who made this possible.
[EVO 4G Android Development] ejpyle:
I have the same problem and apparently nobody knows the solution to it. I have formatted my card twice, downloaded from every mirror, AND every step before that was successful. Not sure why this is happening but it is nuisance.
[EVO 4G Android Development] ejpyle:
Every step before this has worked. I have downloaded every PC36IMG zip file available. It NEVER finds the PC36IMG file on my sdcard and it is there. I have redone every step up until this point 3 times and I still have the end result. Why is this not finding the zip? I give up. Not time to root yet for me I suppose.
[EVO 4G Android Development] Trident:
I haven't done it yet, but I'm going to try again today or tomorrow.

When you get to that point, you need to follow the directions in the file called hboot driver.htm so that the correct drivers are loaded. Then follow the guide. The file is located with the unrevoked files that were decompressed so that you could get the reflash.exe file.

For your convenience, I've attached the file below.

I also see that the OP has modified the guide to include:

Make sure you install the modified android usb driver that comes with the unrevoked3 install (see the html file included when you extract the exe)
[EVO 4G Android Development] tiato:
Everything worked on the first try on my wife's EVO. Followed the OP's instructions step by step except for a couple things:

1. Copied the unrevoked-forever.zip, mtd-eng.img, and PC36IMG.zip files to sdcard by mounting the sdcard as Disk Drive. Doing that resulted in 3 less adb commands to type.

2. (This would be Step 6 in the OP's instructions). The computer I used has Windows 7 64-bit with UAC (User Account Control) enabled so I launched the Command Prompt with elevated rights. Clicked on the Windows Orb -> All Programs -> Accessories -> right-clicked on Command Prompt and select Run as administrator.

In the Command Prompt, changed the directory to C:\android-sdk-windows\tools by typing "cd C:\android-sdk-windows\tools" (no quotes).

Didn't have any hiccups with adb commands.
[EVO 4G Android Development] lostevonube:
I'm really frustrated i need help!!!!!!

I have followed everything to the "t" and still no luck. Every time I try to push the files to my sdcard I get

'adb' is not recognised as an internal or external command, opperable program or batch file.

I've deleted everything and started over like ten times. Does anyone have an answer?
[EVO 4G Android Development] ippikiokami:
Not sure if this helps anyone but I was getting the permission denied when just copying the first file.

What happened was eventhough the notification bar was stating I was in charge only mode I still had to go in and select charge only.
[EVO 4G Android Development] cire001:
hey did you guys come up with the mac instructions??!?!?
[EVO 4G Android Development] lostevonube:
I did that but didn't help me
[EVO 4G Android Development] Topgun966:
Ive been reading reports that there might be a issue with some of the Evo's usb ports. They seem to wear out very quickly and start causing some intermittent connection issues.
[EVO 4G Android Development] prophetx2:
followed your instructions to a "T" and everything worked flawlessly. Actually this is probably the easiest guide i've ever used. Thanks a mill!
[EVO 4G Android Development] bassic:
Sorry if I missed the answer to this question (I tried searching through the 100 pages; there should be a wiki!!!), but does this get you to stock 2.2 Android (from Google) or stock from HTC (with sense and all the Sprint bloatware/crapware)?

Yesterday, I believe the OP said it's ok to accept the OTA. Is this still the case? I'm assuming unrevoked forever maintains root (and nand unlock).

Ideally I wouldn't mind having sense, but without all the sprint crap, and I'd also like to kill HTC Weather, News, Stocks, Amazon MP3, Friendstream, Footprints, Facebook for Sense, and all the other junk that keeps spawning on its own. I don't necessarily need a custom ROM, but the last I checked there were problems with running Sense and not leaving some of the crapware (specifically Facebook and Frienstream) intact.
[EVO 4G Android Development] mrcharlesiv:
86 thousand views for this thread already. Damn!

Thanks for finding this root, Dan.
[EVO 4G Android Development] noregretzzzz:
I used to have that same problem on 2.1, what worked for me back then is just using an sd card reader to put files on the phones sd card and if I needed to use adb to push any files,i would connect to usb through fast boot which is accessible through the boot loader.hope it helps.
[EVO 4G Android Development] sleepy926:
it is posible to do a recovery to the rom after been root

it is possible to do a recovery to the ROM after been root and use it to flash other evo please at vice gracias great work !
[EVO 4G Android Development] red man:
after cd /data/local./flash_image misc /sdcard/mtd-eng.img

i get BAD SUBSTITUTION

what am i doing wrong
[EVO 4G Android Development] Trident:
cd /data/local

Then

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

Two separate lines.
[EVO 4G Android Development] Topgun966:
Just do

cd /data/local

then press enter

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

cant do that on the same line
[EVO 4G Android Development] lnchbx13:
A couple questions.

I am also having the problem with the USB connecting for a second and then it disconnects. Also, when I hold the volume button and the power button (while the phone is off) it vibrates three times, but never loads into hboot. Any ideas?

I went through this tutorial last night prior to him adding the second step and it worked perfectly all the way through. Just having problems getting into recovery unless I use the quickboot program or rom manager to restart me into recovery.

Also, one more question. I have the rom set up how I want it for my wife...can I make a nandroid and then do the second step and then restore the nandroid? Or will it erase the stuff the second part fixed? I also noticed it downgraded the radio, so I just flashed the latest radio and the latest wimax file and everything is working (except for what I described above).

Thanks for this, it worked perfectly and I will be donating shortly.
[EVO 4G Android Development] Trident:
What are the benefits of doing it this way? Why do I want an unlocked NAND & if it has and advantage, why isn't it done with unrevoked?
[EVO 4G Android Development] willy900wonka:
Normal scoping rules don't apply during an exploit.

You need be specific.# ls /sdcard

Or

# ls /sdcard/*
[EVO 4G Android Development] bhughes3:
So does this mean that running part 2 of the rooting process will downgrade my phone to 1.34 PRI? I just checked and after part 1 and flashing ota 2.2 and the most recent clockworkmod recovery I have 1.40_003 PRI.
[EVO 4G Android Development] Trident:
From what I read, I don't think that's what happens.

It seems that the simpleroot method is doing this. [a partial answer to my earlier question]

Looks like there is now a Part 2 for the guide to get back to stock 2.2.

So, the big question here is (trying to stay on topic) what are the advantages of using this method versus the others out there? Especially in regard to kernels, NAND and different ROMs? I'm very new to Android and I've been searching and reading Wikis for a few days- but most just talk about their own stuff, and offer few comparisons between methods and different code.
[EVO 4G Android Development] Bizdady:
Why are ppl chosing simpleroot over unrevoked forever?
[EVO 4G Android Development] Topgun966:
Its not recommended if you can get unrevoked to work. People that are having isssues with unrevoked are trying other things (like me). I was never on 1.4 PRI so it didn't effect me.
[EVO 4G Android Development] rpearl:
It is a larger download, slightly less legit in that it was leaked from HTC, and downgrades your PRI! Also, it can be removed by OTAs.

Wait, those are reasons not to use it. My bad.
[EVO 4G Android Development] joeynuggetz:
Everything seemed to go well but I'm only half way thru. I'm confused about the unrevoked USB driver. When do I need to apply this? The instructions arent clear. Do I have to reboot my phone first, install the drivers, come back up and follow the procedure or is there some other sequence. I was running OTA 2.2 and following the guide I'm at 2.1 now - phone booted fine but I want to be extra careful before moving forward with the unrevoked step.
[EVO 4G Android Development] Spurs_Redskins:
Quick review question

After tinkering around yesterday, I was able to go from stock 2.2 to 2.1.

I then realized the guide needed some editing and when I saw the OP was coming out with a rooted 2.2 upgrade I waited for today to follow the improved guide.

Can someone tell how to verify if I have root access on 2.1? Reason I'm asking is because after installing ROM Manager and initializing it, the app says I need to be SU (root user I suppose)

I do not want to go forward with the 2.2 upgrade if I have something missing.
[EVO 4G Android Development] lovethexi23:
I got everything done, but it take a LONG time for the android market to load apps and let me download.....But once they are downloaded and when i get on the internet, it runs normally. Is this because its a rooted version?
[EVO 4G Android Development] churchwin88:
I think you need SuperUser installed but one way is to download Terminal Emulator by Jack Pavelich(sp?) in the market and just type su if it gives you a $ then you DO NOT have root if you get # then you DO have root.

EDIT: Actually, I think you might need SuperUser installed to run that too...I'm about to leave for work so hopefully my way answers your question.
[EVO 4G Android Development] joeynuggetz:
Same here. I dont appear to have root on 2.1. I stopped following the guide after I booted into 2.1. Titanium backup says I dont have root. Tried the terminal emulator but it force closes so I can't try typing su.

Am I supposed to be rooted at this point?
[EVO 4G Android Development] Trident:
Read the directions in the htm file. If you are already in the bootloader/white screen on your phone, start the directions with Open Device Manager.

In the OP's guide, he's made it much more clear when it needs to be done with the update he did today.
[EVO 4G Android Development] ejpyle:
I did this and then went through the process all over again. At the point of it searching for the PC36IMG it never finds it. Why is this being do damn complicated?
[EVO 4G Android Development] Tiffany84:
For the person talking about turning the phone of and pressing power and volume button makes the phone vibrate 3 times. Make sure your doing volume down and the power button because the same thing happend to me and it was because i was pushing volume up and the power button. i dont know why the phone acts crazy while doing that but it just doesnt.
[EVO 4G Android Development] Bizdady:
oh cool i got a # lol and here i am trying to install simpleroot lol
[EVO 4G Android Development] NetEndeavors:
What's the Operating System of your laptop / desktop?

If Windows are you in the directory that contains the adb.exe when you invoke the command?

If Linux or Mac, are you in the directory that contains the adb binary? On these to OSs, you need to invoke adb as ./adb

In my experience on Linux, you need to be root user on Linux (e.g., su - root)

Hope that helps...
[EVO 4G Android Development] jdr6382:
dont accept the OTA
[EVO 4G Android Development] jdr6382:
this happened to me all day yesterday on two different evos.

Turned out the PC36IMG was incomplete.

you need to re-download the PC36IMG and should be ok.

the second I tried the process with a newly downloaded PC36IMG, it worked as it is supposed to.
[EVO 4G Android Development] DCMillz:
I get all that done right...then when I cut the phone off to load into Bootloader...it tells me the image file is there for PC36IMG.zip then goes on to say

Main Version is older!

Update Fail!

Do you want to reboot device?

I redownloaded the zip 3x lol and I can't figure out whats goin wrong :confused::(
[EVO 4G Android Development] joypunk:
Just wanted to give my thanks to Dan for getting the Evo rooted again. Recently had to ship my already rooted Evo in and get a replacement because mine had some hardware faults. The new one came already updated to 2.2.

I'm a little ADB-phobic, so I'm going to wait for someone to transform this into a simple root... but I've sent a little support your way to help you get an Evo of your own. :)

Thanks!
[EVO 4G Android Development] 77vices:
So 2.2 ota for evo is rooted, eh? Big ups to you xda dev for this. I really appreciate the hard work. Ive been patiently holding off from downloading the 2.2. update just so i could get root on the ota 2.2 and glad it payed off. Im tempted to try this method, but most likely I will sit quietly for a more simple root (one-click root would be great though) and see if more of the kinks get ironed out. Thanks XDA!
[EVO 4G Android Development] rjl09:
I've gone thru many pages, and couldn't find this.... I'm used to hacking but y am I getting "no such directory" when I adb push "rageaganistthemachine bin"...i extracted the file to the android sdk tools folder and i typed it word for word on the cmd (windows 7)....any advice?

P.s. I did adb fine when I rooted my old nexus one
[EVO 4G Android Development] Spurs_Redskins:
Actually, I think you might need SuperUser installed to run that too...I'm about to leave for work so hopefully my way answers your question.[/QUOTE]

I got a $ after typing SU :confused:

Does this mean I have to start from the beginning of this guide? If not, what do I repeat? (Downgraded from stock 2.2 to 2.1, but still no root)
[EVO 4G Android Development] Tiffany84:
does anyone know if i need htc sync installed to do part 2(flashing rooted stock froyo)
[EVO 4G Android Development] brian19876:
I am planning on rooting my girlfriends evo she like the custom thing i can do with my rooted incredible is there anyway to back up all your phone numbers stored so you dont have to type them over again i know on verizon we have a backup assistant I dont know if there is a way to do this on sprint
[EVO 4G Android Development] excessive81:
so how long is normal for simple one click root and wifi hub unlock after hack is found.
[EVO 4G Android Development] Bizdady:
so does nand need to be unlocked to install CM6?
[EVO 4G Android Development] boost happy:
When I reboot into bootloader my phone well never ask me if I want to apply this zip. WTF. Did it 3 times & I get stuck here. It checks the PC36IMG.zip the goes back to HBOOT screen.
[EVO 4G Android Development] sz99:
Last night I followed the instructions and was able to root the phone in about 30 minutes (first time attempting to root any phone). This morning after reading a few post, I came across the issues mentioned with the USB connection, so I tried connecting to my PC and had the same exact issue, however I was able to resolve the problem and have USB connection back by doing the following (running Vista Ultimate 32 bit).

- Factory reset the EVO

- Uninstalled HTC Sync including the HTC Driver Installer

- Rebooted the PC

- Reinstalled HTC Sync 2.0.40

- Reboot the PC

I have fully USB connectivity now.
[EVO 4G Android Development] gdolla3:
C:\android-sdk-windows\tools>adb push flash_image /data/local

148 KB/s (0 bytes in 26172.000s)

This is what I get when trying to push. What am i doing wrong?

I put the enrevoked, PC36IMG, and mtd-eng.img on the sdcard already by mounting. I made sure the card is not mounted for push, USB debugging is on, and it is set to charge only.

Any suggesstions?
[EVO 4G Android Development] Bizdady:
Ok so im on 2.1-update1 build 1.47.651.1 PRI 1.40_003

What should I do next? Unrevoked forever or Simpleroot? Simpleroot wont work just keep getting Main version older error.

Im pretty lost right about now.
[EVO 4G Android Development] HeckNoTechnO:
Ok I feel like I am screwed. I rooted and everything thru the process was ok. It keeps telling me there is a voicemail update that it will not completed. I cannot connect my phone to a pc, or mount the drive at all, not even thru adb, I can't even ruu the phone i get connection error 170. Please help!
[EVO 4G Android Development] boost happy:
this is so ****ing fail. I have tried this 6 times now & NOTHING :mad:
[EVO 4G Android Development] themachineXD:
Are contacts stored on phone or gmail (google)? To check you can use the filter function to see by opening her contacts list > press the menu button and click "View" where it will show counts for Google contacts, Phone contacts, etc... Google contacts should be synced with her Gmail account automatically as long as syncing contacts for the account is turned on (Home > Menu > Settings > Accounts & sync > click gmail account > make sure Sync contacts is checked > press Sync now on bottom to ensure sync is up to date). If/when phone is wiped, syncing up with that gmail account again will bring all of those contacts back.
[EVO 4G Android Development] xcodesterox:
Great guide! managed to get through all of it with no problems.. then i looked into theming, and found a nice glass transparent etc etc theme that i would like to use,

not really getting any information on how to apply a theme other then "in ROM-MANAGER" so i figure what the hell, ill boot into recovery and install the zip, see if that works.

Now heres my problem, I cant get into my recovery. It just doesnt exist since unrEVOked-forever.. the last time i was able to use clockworkrecovery was after the last steps of the guide, I recall wiping data installing ROM, and then Volume ^ + Power... it vibrated three times and then would not power on until battery pull.

Any help would be greatly appreciated..

Google is not very helpful on this aspect for me.
[EVO 4G Android Development] LuCkyCn:
After this ( cd /data/local )

I'm getting errors for this command

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

It's showing that "No space left on device"

I've tried this many times but no results :( I have tried restarting from scratch, rebooting the phone but i'm getting the same error again...

Help please :)
[EVO 4G Android Development] xcodesterox:
toggle airplane mode on and off. It took me my second attempt but press it like your playing old school mario. jump pause pause pause jump pause pause pause jump... lol
[EVO 4G Android Development] Karadorde:
Nevermind! This post should serve as a lesson to me and every other new person to READ READ READ!
[EVO 4G Android Development] CWasko:
I haven't seen any yet. But, I'll be giving this a whirl on mine tonight. I'm pretty sure you do not need the HTC Sync drivers, etc. So, the Mac guide will probably not need that. I'll be documenting along the way. If I'm successful, and don't drink too much beer, I'll post this evening. Probably won't be until 12:00am EDT when I post my results by.
[EVO 4G Android Development] pett20:
needing help

Noobie to rooting...

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

cannot stat 'flash_image': No such file or directory

So what could I be doing wrong?

I have clear the first ADB and unable to do the second step...
[EVO 4G Android Development] You stole Boo Boo's Name:
and step 2 root has the updated radio and wimax?
[EVO 4G Android Development] youngbasedgod:
Omfg! I'm stuck at work dying to get out and do part 2 of this root! Thank you very much regaw for all your hard work and help!!!
[EVO 4G Android Development] xcodesterox:
I was stuck there too, my issue was i had c:android...\tools\android...\tools

and had it in the tools directory with android... so make sure its absolutely in the same directory as tools.
[EVO 4G Android Development] poohhbearr:
older version error (FIX)

If your getting the older version error it's because you did the step below incorrectly. I tried it several times untill I realised what I was doing wrong.

This is 2 seperate lines. Hit enter after "cd /data/local" this should fix your issue.
[EVO 4G Android Development] boost happy:
this is really pissing me off. complete waste of my lunch hour.
[EVO 4G Android Development] Bizdady:
I was on this last night for 4 hours and today I start step 2 lol
[EVO 4G Android Development] 2kmy477:
I just rooted my phone successfully,was back to 2.1 now,if I do the OTA update to 2.2,does it break the root or can I still flash a custom rom after OTA to 2.2?
[EVO 4G Android Development] tws101:
I did two phones successfully last night. Biggest trick was using the android usb drivers that come with unrevoked 3.1 instead of using HTC Sync.

1. Downgraded to 2.1

2. Unrevoked it

3. Unrevoked Forever S-OFF

4. Flashed Stock Un-rooted Froyo using Clockwork to flash it

5. Reflashed CLockwork as it was removed by Froyo

6. Reflashed Super Users as it was still present but broken by Froyo

7. Now I have Stock Rooted 2.2

8. Downloaded Wireless Tether pre8

9. Working Great on both phones
[EVO 4G Android Development] Jordangreiner:
noob question

Ive been following this forum for month waiting for the 2.2 root because I accidently OTA'd :(... I read through the process breifly, and I think I can handle it. I was just wondering if anyone here imagines that there will be a simple root app or something where you just click them and it does the command prompt, etc. Or should I just go for it? I mean I have brick insurance :D.
[EVO 4G Android Development] Karadorde:
Nevermind. Forgive me for clogging the thread with two unnecessary posts. Thank you Dan. I will be sending some dead presidents your way. I appreciate the help and hard work. Excellent guide. I had a few hang ups, one of which was my own fault, but other than that it was smooth sailing, although a little hair raising at times. Thanks again.
[EVO 4G Android Development] ejpyle:
So at this point (after installing the correct drivers) it reboots me if I do it right and just stays at the screen if I do it wrong and I have to back track. As soon as the pound # sign shows up and I get dumped from the shell, my phone reboots. Anyone else having this issue?
[EVO 4G Android Development] LuCkyCn:
I've tried this numerous times bro... My phone eventually restarted on me... Is this normal? I think I may want to try on a different pc :P I'm having no luck with my computer at the moment :(
[EVO 4G Android Development] Ep3n3wp:
okay round 2... goin to try this again.. (wishes that adb had spell check!! lol)
[EVO 4G Android Development] Bizdady:
rageagainstthecage was a ***** lol
[EVO 4G Android Development] JBone19:
Works for the first timer

Fist root here and first post lol. Worked great no hicups. A little tip for the non PC geeks out there:

CMD tricks use: CTL C to copy the commands and in the corner of the CMD window you see the icon for CMD. Click on this and choose edit, then select paste. There, no code misstakes ;-)
[EVO 4G Android Development] dwilso82:
easy way to root 2.2 stock ota

I was able to root by simply step 1 download.ing the PC36IG.zip to the phone. Sept two I used androzip (get it from market) to movie the PC36IG.Zip to your SD card. You do this by going into android.zip go to downloads and long press on the pc36ig.zip scroll down and select move. Use your back arrow to get out of downloads and click move here. Step 3 turn off the phone then turn it back on and hold down vol down. Phone should try to install it but it will fail but turn it off and turn back on holding down vol down. This time it should go through. Once phone booted back up I was on 2.1update. Step 4 I used unrevocked3 to root and then I installed a custom fresh 2.2 Rom. I did this on my Evo running stock ota 2.2. This worked and was lot more simple to do. P.s make sure u install the drivers for unrevocked when rooting
[EVO 4G Android Development] sgallos1:
Can anyone tell me if I can do this whole root process with Windows xp?
[EVO 4G Android Development] Caanon:
Right-click->Paste works too ;)