yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] tttttt:
I came across that error, too. I downgraded to 3.21update, rooted that, and then upgraded using the modded OTA

So the method that worked for me with some other additions was as follows:

1)	Backup (why not, right?)

2)	Install all the proper drivers

a.	HTC Sync (then uninstall…as usual)

b.	unrEVOked drivers when the phone is in HBOOT USB mode etc...

3)	Copy regaw_leinad’s PC36IMG, from the thread with id 765496 and copy it to the root of the sdcard (don’t rename…)

4)	Boot using VolDown+Power

5)	Let it do it’s thing (which it should do automatically) and downgrade to 2.1update

6)	Download version 3.1 of unrEVOked, found by putting 3.1 in the url of the download

7)	Run it hopefully to a rooted system

***Using the unrEVOked 3.21 I would get Backup CID is missing, using 3.1 I didn't***

Then for the update

8) Download and install the OTA from thread id 789913 and install by downloading to the SD and booting into your new bootloader

9) Should be rooted and up to date.

Sorry about not being able to post links...

I don't know if those steps work for you, but there was a great deal of troubleshooting I had to go through for each step to get to my working, rooted phone. I think this applies at least until there is a new unrEVOked released (as the 3.1 version worked better than the 3.21 for the 2.1update and not at all for my 2.2 stock)

I'm sure others can shed some light on this and might even advise against some parts of it, but I got my phone in the mail on Oct 5 and this was the only thing that worked for me.
[EVO 4G Android Development] NraButtons:
Troubleshooting

Following the guide from the first post, I am able to run ./rageagainstthecage-arm5.bin and get a # instead of a $ in the adb shell.

However, when I get to the following step

cd /data/local
./flash_image misc /sdcard/mtd-eng.img

I get an error message:

mtd: read all-zero block at 0x00000000; skipping
mtd: read all-zero block at 0x00020000; skipping
mtd: not writing bad block at 0x00020000
error writing misc: No space left on device

This is AFTER repeating the steps after the red asterisk several times, and always getting the same results.

How should I proceed, if I even can?
[EVO 4G Android Development] ICEReaction:
I think so some people said they backed up their SD Card and then reformatted it and it worked. Guess that's worth a shot. That or maybe you downloaded a bad copy of the mtd-eng file.
[EVO 4G Android Development] NraButtons:
I saved everything from the SD card to my computer and factory reset the phone, but now my computer can't see the phone, and the phone can't see the SD card.

That is, when I plug it into my computer (Win7), it sees the phone as, and installs drivers for, "Qualcomm CDMA Technologies MSM." I can't access the SD card through either the computer or the phone.

I'm even less sure about what to do now than I was before.
[EVO 4G Android Development] NraButtons:
So by now I've factory reset my Evo. I've fixed access the SD card through fastboot, but the USB cable or the phone's interaction with it is still hampered.

The cable refuses to charge the phone if it's on, regardless of where the cable is plugged into (computer or wall socket). However, if the phone is off it charges fine. Additionally, it's still doing the "Qualcomm CDMA Technologies MSM" thing with my Win7 laptop. I might go to the Sprint store later today, but is there any way that I can fix the phone and avoid the trip?
[EVO 4G Android Development] D.J.CaSpER:
I see and understand that this thread says how to root ur 2.2 stock roms but there is a way easier way. Go to search and put "toasts 1 click root."

sent from my Evo 4g
[EVO 4G Android Development] ssconceptz:
Does this kill 4G?
[EVO 4G Android Development] ssconceptz:
Theres a big difference, you cant create backups with the other method.
[EVO 4G Android Development] D.J.CaSpER:
Using toast 1 click root on my phone it did not wipe my phone like this does on this 1. After i rooted with toast i downloaded rom manager from the market and backed up phone.

sent from my Evo 4g
[EVO 4G Android Development] mateezyforeezy:
When I try to push adb shell it says error: device not found then I tried again and it said error: more than one device and emulator. So what am I supposed to do?
[EVO 4G Android Development] furikuri2021:
Hi im trying to root my EVO 4G the part where i type "./flash_image misc /sdcard/mtd-eng.img" it brings it up again then says "./flash_image: not found i've typed it many a times and still nothing. After that I said maybe its part of it, so i fastboot PC36IMG and gives my the file version is older error and it doesn't happen. I wanna know whats wrong

EVO 4G

OS 2.2 Froyo

software version 3.29.651.5

Please im asking for help.
[EVO 4G Android Development] joshyone:
I am back, after not getting much help, I have the absolute ****tyest root out there, I followed the instructions to the T, and am still unable to flash cm6, why cant I get any clear instructions on this? now the only thing I want more is an unrooted phone, the worst part of this whole thing is, I did the exact thing with a phone with a bad esn,{my play phone} and it worked the first time flawlessly. I am somewhat of a newbie, although I am a computer geek, and know how to follow the steps and I still cant get it right. WHYYY????:(:(:(:(:(:(:(:(:(:(:(:(:(:confused::confused::confused::confused::confused::confused:
[EVO 4G Android Development] evohack99:
Okay first do you have root? Try downloading titanium back up. It needs root to dl, do you have a super user icon? Can you boot into recovery? That's something they really don't tell you, after you root you need to flash a recovery img. Then you flash a rom and get full root, I didn't get my icon till I flashed my first rom.

Sent from my netarchy_toast, froyo beast of a machine evo!
[EVO 4G Android Development] drunkenmonger:
I know where your coming from i just spent the last four hours searching this forum for answers and came up with a way of TRUE ROOT for the 2.2 android. My bootloader said S-ON which means that NAND is not truly unlocked. The unrevoked method is a good starting point for 2.2 but it doesnt give true root.

This what I did and maybe it could help you as I'm running CM6 nightly build 130.

1. I did the How to Root Android 2.2 on the EVO 4G. Thanks to everyone who put this together.

2. Next I did Toastchf part 2 nand unlock. This will provided the S-OFF nand unlocked part. Thanks Toastchf.

3. At this point all your radios will be from when the evo first came out so you need to find a rom that has not been updated to the new radios, I had the very first Fresh rom still so i loaded that up from recovery.

4. Once your booted into Android go ahead and flash Amon recovery.

5. next you need to update you radios so head over to Calkulin and do the part highlighted in blue then download and flash the first radio combo file.

6. Now you should be able to flash CM6.

I hope this helps, i guess before you start you could go into your bootloader and at the very top you check and it will either S-ON or S-OFF. If its S-ON then try this.

Edit: All the post you need to find can be found at 4G Wiki. Thanks to everyone at XDA for providing the tools needed to root
[EVO 4G Android Development] rowdy2.5:
Muchas Gracias!

It took me a few hours to get this done but there it is. Rooted HTC Evo.

Thank you for your work. I will be donating today.
[EVO 4G Android Development] ink718:
Am on Part2 and seem like the links are dead for: ClockWorkMod recovery included and Amon_RA's recovery included. Can someone please reupload to another host...
[EVO 4G Android Development] J-point:
cannot root successfully

i'm a newbie , Great Job has been done, buy i still cannot follow it.

After all ingredients are downloaded, and doing all instruction, i was suspicious there are some results differentiation after typing and giving command prompt on Evo:

while seeing in the instruction on djr3z ' walkthrough ,: in command prompt, for example:

C:android\tools adb push flash_image /data/local/

327 KB/s (26172 bytes in 0.078s )

but in my evo there only 0 byte of 123456

it happened to others command too. just giving it to 0 byte, and finally , when installed unrevoked3, it just said that CID file Missing...

MY Evo has been down grade to 2.1 , and still dont know how to root it, maybe any senior has known how to fix the problem? thanks a lot

the Phone has bad ESN for sprint, but is this a correlation problem for rooting ,while i want to use other provider..
[EVO 4G Android Development] rbgotee784:
Finally got my evo and this worked like a charm freakin awsome.. thanks for all the hard work...
[EVO 4G Android Development] ICEReaction:
Links are working fine for me. But here you go:

Part-2_evo-root_Amon_Ra.zip

Part-2_evo-root_clockworkmod.zip

@J-point:

If you are downgraded to 2.1, you can try to use Unrevoked 3 (not 3.21) and Unrevoked Forever to root and nand unlock/S-OFF or some people have used the SimpleRoot method to root too.
[EVO 4G Android Development] dmcgrath009:
Just tried the unrevoked method of rooting my Evo I just got a new one from sprint because my old one decided it dint like itself and tried to commit suicide off desk.

Just after doing nothing but the one click root i have this information in my boot loader

SUPERSONIC EVT2-3 SHIP S-OFF

HBOOT-0.97.0000

MICROP-041F

TOUCH PANEL-ATMEL224_16ab

RADIO-2.15.00.09.01

If I am not mistaken the fact that it says S-OFF instead of S-ON means I should be able to flash the cm6 mod correct ?
[EVO 4G Android Development] ICEReaction:
Think you need ENG Bootloader 0.76 instead of 0.97.

ENG bootloader (0.76 needed for CM6) extended fastboot commands.
[EVO 4G Android Development] D.J.CaSpER:
Yes ur good to go. Dowload rom manager using that makes it much easier to flash to different rom, radios, kernels, and splash screens. And u can back up each rom u use so if u reside to go back to it just pick the rom file I backed up for that rom and recover it and everything u had set will be the way it was when u backed it up. Have fun flashing but please pay atition to what ur doing so I don't mess ur phone up.

sent from my Evo 4g
[EVO 4G Android Development] D.J.CaSpER:
Toast 1 click root there is no need to downgrade and so much easier for u to understand. But sense u downgraded to 2.1 go back a few pages in this thread and everything u need to help u to do it this why is there and broken down for u.

sent from my Evo 4g
[EVO 4G Android Development] D.J.CaSpER:
This root says for 2.2 root but u have to downgrade to 2.1 to use this root. Once u downgrade to 2.1 this root will work i guess it seems to work for some people. Read my post above this one to.

sent from my Evo 4g
[EVO 4G Android Development] catseyenu:
Clean Up, Aisle 2.2

Rooted using the instructions as posted in OP back in Sept., now wondering how much if any of the files I need to keep in the root of the SD card?
[EVO 4G Android Development] crazifyngers:
just got my phone today. i haven't yet successfully rooted it. able to downgrade but unrevoked says it roots it but no superuser app.

strange thing is my hboot is 2.02.0000

has anyone seen this or did i get ****ed with a new one?
[EVO 4G Android Development] ICEReaction:
If you are rooted, you can just download the superuser app from the market.
[EVO 4G Android Development] crazifyngers:
unrevoked does not seem to work with this hboot. yes i have used unrevoked before and i can follow directions
[EVO 4G Android Development] omrgambino:
could someone upload this file "evo-root.zip." unable to download in the 1st page..thanks in advance..

**Edit-- **found it**
[EVO 4G Android Development] omrgambino:
followed all steps provided by OP and everything came out smooth...took a few hours but well spend time...thanks to this thread...
[EVO 4G Android Development] ccnd8:
Hi, I'm a newbie here on the forum. Please pardon me if I am to ask questions that may have been asked before. I have no knowledge about rooting my HTC Evo 4G I've recently purchased 2 days ago. It comes with Android system version 2.2 ofcourse. I've no problems with following instructions on page 1. However, I have a few questions to ask before proceeding with rooting. Can rooting be revert back to original if something happened to my Evo and I need to send it in to Sprint for warranty? If so, how? Second, if I have contact phone numbers, pictures, apps, etc. currently on my phone, will it be deleted after rooted? Thanks in advanced. :)

P.S mainly I want to root my Evo so I can tether hotspot my laptop at work. If anyone has directions to guide me it will be much appreciated.
[EVO 4G Android Development] krueger84:
Newbie Question.....

I keep getting stuck on this step:

Ok now for the root shell.

*

(still in adb shell)

Code:

cd /data/local/tmp

Code:

./rageagainstthecage-arm5.bin

You will now see some text on your cmd prompt screen explaining the exploit.

Wait for the adb shell to go away, and it will dump you into your windows command prompt again (no shell) should look something like this:

C:\android-sdk-windows\tools>

After i type

./rageagainstthecage-arm5.bin, it say file not found. Am i doing something wrong? I looked in the tools folder and i see the file there. but i see the file has the vlc media player icon next to it, do i have to change it to something else? if so, to what? thanks in advance for the help.
[EVO 4G Android Development] fixxxer2008:
( Step 3: Download HTC Sync 2.0.40 here

Run the installer. Move on once installed. If reboot is required, do so and then move on.

Windows 7 Users:

Go to your start menu, then control panel. When that is open, (if you are in category view mode) click on "Uninstall a program" and then choose HTC Sync to uninstall. If you are in Icon view mode choose "Programs and Features" and then click on HTC Sync to uninstall. This will load the proper drivers needed for unrevoked3. )

??? im confused, do i install htc sync, then uninstall it before rooting? very confusing on that part.
[EVO 4G Android Development] catseyenu:
Yes, the uninstall of HTC Synch leaves the driver you will need behind (still installed) after removing Synch.
[EVO 4G Android Development] 6uPMAH:
Stuck at UNrevoked reflash

Hi all,

I seem to have run into a little problem here. I had done this root method on my GF's phone w/out any probs. Got my own Evo today, and everything was going fine until I ran the reflash.exe from unrevoked. It went through the steps, but when the phone is supposed to reboot into the recovery, it boots into the system instead. When I try to force-reboot it into recovery, I get the red triangle icon. The reflash.exe is showing "Waiting for root..."

Any ideas?
[EVO 4G Android Development] oodlexaps:
None of my own :) but i did see post #659 here:

http://xdaforums.com/showthread.php?p=8986799#post8986799
[EVO 4G Android Development] phonetec:
is anyone working on root for 3.30.651.2??
[EVO 4G Android Development] muzicman82:
Is this guide now out-dated and no longer necessary? I just got an EVO with 2.2 on it. I followed the instructions exactly and am having a horrible time when it comes to unrevoked3. I know there is a newer version than what is used in this guide...

So, if I am reading the web correctly, unrevoked3 3.21 takes care of 2.2 on EVO without the need for most (or all) of this guide? When I run 3.21, I get "This has been a triumph" message and it reboots normally. After that, it doesn't seem like there is any kind of recovery image on the phone and I don't think I have root.

How exactly do you check for root? I just guessed that I should be able to go to adb shell and type su, but I get "permission denied" when I try that.

I'm OTA updating back to 2.2 and am going to try unrevoked3 3.21 from there without the rest of this madness.

Thanks.
[EVO 4G Android Development] TheNexxuvas:
I think the hboot thing is keeping me from rooting my new evo...problem is, I followed instructions here and in the thread to fix the hboot to s-off and failed on both parts.

Strange to because I nailed rooting my HTC Hero on the first try.

Oh well...will try later.
[EVO 4G Android Development] DeveuS:
I had the same problem until i realized that in the final step (when you delete the first "PMIMG") then upload the new one to your SD card, since you have just installed a new image, you MUST go to your Settings and REASSERT the "Debugging" mode as well as the "Hard Drive Mode" AND UNINSTALL the Windows "Sync app"... After that, reboot into the bootloader, select HBOOT, select "NO" when asked if you want to reboot, then select "RECOVERY", etc.

After the reboot, it will be good!

Hope this helped.
[EVO 4G Android Development] c0011j:
So everything works fine to this point... I even did the format and added the PC36IMG.ZIP again but when phone reboots is when I have issues..

Parsing...[SD ZIP]

[1] BOOTLOADER - Bypassed

[2] RADIO_V2 - Fail-PU

[3]-[9] Are OK

Partition Update fail!

Anyone that can enlighten me?
[EVO 4G Android Development] Drykeze:
Just so I'm clear, this is the newer version, right? I read somewhere that there is/was an old version floating around, and call me lazy but I'm not reading 201 pages of this thread to figure that out. :D
[EVO 4G Android Development] slyder33:
Just wanted to say thank you to all of you that worked on this! I finally got it working after 2 days of straight repeating the steps and VOILA! so Thank you Thank You Thank you!:D
[EVO 4G Android Development] dominguezcarlosm:
please help!!!!

C:\android-sdk-windows\tools>

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

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

* daemon started successfully *

1328 KB/s (223144 bytes in 0.164s)

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

798 KB/s (26172 bytes in 0.032s)

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

p/

376 KB/s (5392 bytes in 0.014s)

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

1397 KB/s (655360 bytes in 0.458s)

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

1286 KB/s (175848953 bytes in 133.480s)

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

$ chmod 0755 /data/local/tmp/rageagainstthecage_arm5.bi

chmod 0755 /data/local/tmp/rageagainstthecage_arm5.bi

Unable to chmod /data/local/tmp/rageagainstthecage_arm5.bi: No such file or dire

ctory

$ chmod 0755 /data/local/flash_image

chmod 0755 /data/local/flash_image

$ cd /data/local/tmp

cd /data/local/tmp

$ ./rageagainstthecage-arm5.bin

./rageagainstthecage-arm5.bin

./rageagainstthecage-arm5.bin: permission denied

$ adb shell

adb shell

adb: permission denied

$

just wondery what was my mistake to be at that point above. some help will be realy appreceated
[EVO 4G Android Development] c0011j:
Are you running the Command Prompt as 'Admin'?
[EVO 4G Android Development] djorijun:
You're running the new hboot, i don't think this can be rooted yet.
[EVO 4G Android Development] c0011j:
You know of anyway to 'restore' it to stock? I have searched for hours.... And if there is a way I can only do it from the SD card because I cannot get windows to recognize well enough to do anything else.
[EVO 4G Android Development] djorijun:
download the RUU from somewhere around here. hit fastboot and run the RUU and you're done.
[EVO 4G Android Development] dominguezcarlosm:
how can I get that? loging with my administrator passwork?
[EVO 4G Android Development] dominguezcarlosm:
chmod 0755 /data/local/tmp/rageagainstthecage_arm5.bi

chmod 0755 /data/local/tmp/rageagainstthecage_arm5.bi

Unable to chmod /data/local/tmp/rageagainstthecage_arm5.bi: No such file or dire

ctory

somebody know how can I resolve this issue? please
[EVO 4G Android Development] dynamicpda:
you left the 'n' off at the end.

you push *_arm5.bin

but you are trying to chmod *_arm5.bi
[EVO 4G Android Development] slyder33:
curiously, anyone have issues with camera not working after this??? my camera will not launch. tried to install camera magic and still nothing.......

installed custom rom and camera works now!
[EVO 4G Android Development] zikronix:
incorrect

http://xdaforums.com/showthread.php?t=829045
[EVO 4G Android Development] WKlingbeil:
Phone Won't Boot Past Bootloader

Once I got to the step "you are now on the stock 2.1 build of Android," the phone won't go beyond the boot loader screen. Every time I reboot, it boots right back into boot loader, no matter what. I can't get the phone fully booted so I can remove PC36IMG off the sdcard. Any ideas of how to fix this, or what went wrong? It just loads into the "Fast boot" screen and won't boot beyond it... :/
[EVO 4G Android Development] PureMunky:
Awesome!!

I just wanted to say thanks!! This walkthrough was amazingly helpful and I'm now the proud owner of a rooted EVO. You guys are the best!!
[EVO 4G Android Development] Tobb555:
having some issues pushing files over. I was in shell and did the adb push for all the files over. Stupid me went out of step and i had to restart the process. I went back into shell and i cant push anything over. I know im dumb for going out of order but the phone runs fine so i didnt kill it. What can i do to reset the process or push the files over. When i do it now it just says permission denied.
[EVO 4G Android Development] torremitsu:
mine is doing the same thing, has anyone figured this out>?
[EVO 4G Android Development] dominguezcarlosm:
hi guys I did. thank to all of you that made it possible. cogratulation for a excelent job.

dominguezcarlosm
[EVO 4G Android Development] muzicman82:
Hey guys,

I thought I'd share what I was doing wrong here...

I successfully rooted with unrevoked3 version 3.21 without any other prep or steps. The mistake I made is rather silly.. I just didn't follow through the entire process until it said "Done." It's a bit misleading because the first instruction is to arrow down to HBOOT and press Power. This will happen a second time! The first time I tried this, I thought it was done and had gone back to the beginning of the process because right before that, it says, "This has been a triumph."
[EVO 4G Android Development] GrooGruxJ:
I am running into the same exact issue as you, just wondering if there is a fix or if i'm bricked.

My bootloader screen reads the same as yours. I followed the root instructions and when I loaded the PC36IMG.zip I get the [2] Radio FAIL-PU like yours. I have formated my SD card to FAT32 and re-downloaded the image and same thing. I tried another SD card, same thing. I then tried AMON and Clockworks PC36IMG.zip and same thing. Each time formatting card before trying.

Is it safe to say my phone cannot be recovered?

Thanks all
[EVO 4G Android Development] erikrapolla:
I'm trying to root my buddies phone using adb and when I'm in adb shell and try to chmod 0755 /data/local/flash_image, I get, " Unable to chmod /data/local/flash_image: Operation not permitted" can someone help me out with this one, pleaseeee...
[EVO 4G Android Development] w1ngman07:
help if you can

I have done everything in the guide with no errors... the phone does not seem to be rooted though. i tried a telnet connection to localhost as a test as i have read but it is giving me an error... any ideas on something simple i may have missed? i did the unrevoked->stock2.2 -> 2.2root. All things came back successful. Thanks in advance.
[EVO 4G Android Development] aegiswa:
Same boat here - got my EVO yesterday - followed the process - after the PC36IMG.zip problems - MD5 says it is a good file - tried the reformat, re-copy files and same as the other are seeing -:eek:

Anybody have any suggestions?

Thanks -