yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] iknowsquat:
Sorry been away from the thread for awhile, didnt mean to leave you hanging.

You may have figured this stuff out already but I'll answer anyway for those that may wonder:

Yes you restore your Nand via Recovery in the event you want to go back to that ROM. It is a copy of the system in it's entirety. You do NOT use it as a method to restore your settings unless you pull just the data.img file from the backup (Clockwork lets you just restore data.img no need to do it manually)

No there are not big differences between the two recoveries-it's like ROMs-try both and see whatcha like da best :)

I have not heard of any definitive ways to lose root besides accepting the OTA's, I wouldnt sweat it. I've seen a few posts of users who *claim* to have lost root or just the hboot via just flashing but it's rare. If you ever need to flash a PC36IMG file (some chefs package their ROMs that way) double check your hboot is still .76.2 or the file won't go. Toast Part II is fairly simple to reapply IMO in the event you need to.

As I indicated above some chefs package their ROMs in the PC36IMG file type but by and large ROMs come in a zipped format to be flashed via Recovery.

ALL root files can be removed entirely or just from the root of your card-ie. put into a folder.
[EVO 4G Android Development] scottspa74:
@ winmonewbie, hey thanks.
[EVO 4G Android Development] dwntwnall4u:
I really need help to nand unlock.

This is my phone software info:

Android version

2.2

Baseband version

2.15.00.07.21

Kernel version

2.6.32.15-g746f4f0

htc-kernel@and18-2 #58

Build number

Fresh Evo 3.1 beta 1 by Flipz

software number

3.26.651.6

Browser version

Webkit 3.1

PRI Version

1.40_003

PRL Version

60669

Every time I try to enter "cat /sdcard/flash_image > /data/flash_image"

It says invalid length?
[EVO 4G Android Development] 063_XOBX:
There is no root for 2.2 yet!!!!!
[EVO 4G Android Development] dwntwnall4u:
But I'm rooted, just not nand unlocked.
[EVO 4G Android Development] myjunksonfire:
still have an issue

Just got a replacement phone because my screen had failed. Now when i try to root, I get an error that says "Main Version is older!" "Update Fail!" and asks if I want to reboot. This happens as I proceed through the very first step. Any ideas on what I may be doing wrong or how to get past this?

My steps:

Uploaded to SD card the 5 files

the 2 pc files are zipped and the other is unzipped with the 3 files on the card.

unzipped the recovery file to my C: drive as it says and ran the restart as it says

It goes all the way through the process of loading it and then the above error comes up.

My specs:

Firmware version - 2.1 update1

Baseband version - 2.05.00.06.10

Kernal Version -2.6.29-78bf291

Build number - 1.47.651.1 CL195459 release-keys

software number - 1.47.651.1

browser version - webkit 3.1

PRI version - 1.40_003

PRL version - 60669

Help please
[EVO 4G Android Development] myjunksonfire:
got it after doing section 5, duh!!! Should of read it closer.

It seems as if the stock rom rooted is no longer available, anyone have another link to it? Trying to run wireless teather and it says "Your phone is currently in an unknown state"

Any ideas?
[EVO 4G Android Development] scottspa74:
@myjunksonfire

I used this method coming from 1.32, not not 1.47, and I believe the instructions are different, I forget. That said, I'm pretty sure you only put one pc36.img on root of card when rooting , then after flashing that thru hboot, rename it to eng-pc36, then put original eng-pc36 (but delete the eng- part) file on the root of your SD card, with the recovery, mtd, and flash-image, do the terminal emulator commands , then back to hboot, update>yes. Don't forget to wipe between pc36 flashes. Oh maybe 2nd one flash thru recovery, I forget.

It's all in the 1st post. My method may be a little different than yours since I started from an older version, but I imagine some of this applies and may clear up any questions. But OP is clearer than any rooting instructions I've seen anywhere. Good luck.
[EVO 4G Android Development] scottspa74:
Well, if you're full and properly rooted with nand unlock and custom recovery netarchy thread has a stock rooted 2.2 ROM and wireless tether pre7 confirmed working on it, and pre4 or 6, I think.
[EVO 4G Android Development] mindinhavoc:
terminal

hey the android terminal is giving me problems. it says cannot creat /data/flash_image: permission denied

can anyone help me out?
[EVO 4G Android Development] dmcduck:
Late joining the game here, but I am also having this problem. I have re-typed the line several times, and even copied that specific line into the command prompt, but I'm still getting permission denied. For fun and giggles, I changed 'misc' to 'recovery' and got the same error. Help???

p.s. GREAT tutorial!

-Duck
[EVO 4G Android Development] dmcduck:
I found another thread (Toast's Part 2 instructions) which said to re-copy the files to the SD card and run that step (5S) again.

This also cured the "Main version is older" error!

Moving right along!!
[EVO 4G Android Development] creon100:
Since I can't seem to get the simpleroot program to work I'm going to do this procedure the long way this afternoon, following these directions. I unrevoked3'd my 1.47.651.1 and just want to get real root and nand unlock to flash a 2.2 rom.

I'm reading through the directions and all the adb-issued shell commands seem pretty straight forward, I'm a little unclear on what this one means though:

And there's a similar one with 'recovery' in it. Is misc a command from the flash_image file? This is the only part I can't really follow (well, that and my eyes glazed over reading through the part1 and part2 files, I haven't done shell scripting in a while, lol!!)
[EVO 4G Android Development] xlGmanlx:
I am no expert, looks like you are pushing the recovery image

Loading Signature....
[EVO 4G Android Development] creon100:
OK, I'm getting stuck on the infamous 5M-5N step where it gives me the error and after loading the flash site in the browser.

However, the solution in the OP isn't fixing the problem, I still can't get the directories to show up. Could this be because I had done unrevoked3 on the phone earlier or have netarchy's kernel on the phone?

I have root already (get a # when I'm in the shell instead of $), so is it possible to just skip ahead to the part to unlock the nand? If so, which step is that (or am I already there), the walkthrough for the 1.47.651.1 isn't broken up into two distinct parts.

[EDIT] Nevermind all, I did another factory reset and that seemed to fix the issue. Proceeding as normal now!
[EVO 4G Android Development] xlGmanlx:
bumping this for anyone else who is rooting their 2.2 as i found this to be a rock solid guide on how to root on 2.1. If the wife ever makes up her mind if she wants to have her phone rooted or not, this will be what i use to get it done
[EVO 4G Android Development] scottspa74:
bumping also

Bumping, and wanting to say thanks again to fastRX8. This tut is the only one I felt I could wrap my pea-brain around and get the nerve to root, after reading root tuts nonstop for weeks. Lifes been good since.

Thanks a lot. Excellent guide.
[EVO 4G Android Development] Jus10o:
I know alot about rooting and android. And this guide wasnt needed for me personally. But I would like to say Awesome job with the thread. It is one of the most simple and laid out guides/faq I have seen on this forum. Its just simply all there and easy to find and read. Awesome job OP.
[EVO 4G Android Development] brownmc77:
Excellent Guide, Well laid out and easy to follow. ^ Couldnt of said it better myself. Thanks
[EVO 4G Android Development] xlGmanlx:
I know its asking a lot, but if you could update this to incorporate the 2.2 root method in your KISS method, i think a lot more people will feel comfortable rooting the EVO. I used this after all the "guid roots" failed for me. Great job
[EVO 4G Android Development] veteran06:
HELP!

Ok I went thru all steps and made it all the way to recovery when I have to select my new rom,and install it.

I downloaded EvoNonSenceDroidX3 and had it saved to the SD card.

Once I start the flash zip from SD card i run into problems.

"E:Error in move-cache-sd

(status 65280)

E:Failure at line 5:

run program PACKAGE:move_cache_sd

Installation aborted...

Can someone please help??
[EVO 4G Android Development] mrjeancw:
i used this root to get to rooted ota 1.47..but now i got a new phone from sprint and im on 3.26...i dont like unrevoked can i do it with this?
[EVO 4G Android Development] thidanang:
someone please help! I have htc evo android 2.2

software number 3.29.651.5

I try to root my phone and I try all the step nothing work

I try to boot my phone or Hboot it gave me message

main verson is older!

update fail!

do you want to reboot device?

please help! I try 4 days not thing

work:mad::confused:
[EVO 4G Android Development] scottspa74:
Pretty sure the only way of rooting currently from 2.2 is using unrevoked. But you'll probably wanna come back here after unrevoked and use this method to get flash_image and amonRA recovery on your phone. Regaw has a thread for rooting 2.2, but I think it also incorporates unrevoked.
[EVO 4G Android Development] grega27:
i just tryed to root the htc evo, and when i do the update and the phone reads the sd card and asks if i want to update, instead of asking if i want to update it says Main version is older! Update Failed! do you want to reboot device?

can anyone help me figure out what i did wrong or why it wont update plz i am really new to this stuff
[EVO 4G Android Development] R32_Rocky:
FastRX8, are you Jason Isley? Or are you in Cal Club SCCA? Cause your avatar looks like its a yellow RX8 on an autox course.

If so, this is Rocky. I had the Subaru STi in the STU class a few years ago before I had to move to Texas for a job.
[EVO 4G Android Development] xlGmanlx:
Op, anyway you can update this thread? I used this to root my phone on 2.1
[EVO 4G Android Development] thidanang:
thank you thscottspa74 I root sucessful ,u say go back, where to get flash_image and amonRA please show me Iam new guy to all of this so please help,thank u again:D
[EVO 4G Android Development] scottspa74:
No problem, glad you got root. I'm no good at posting links on here, but;

Goto toasts thread about 'how to root part 2'. The flash_image file is posted there in op (actually, it may even be in the OP on this thread, I forget)

- then goto anonRAs recovery thread here on xda and get his latest recovery (v1.8.0.1, I believe)

- then, come back to this thread and use fasts instructions for installing flash_image and recovery.

I rooted 2.1 and never used unrevoked. Was just reading a thread last night here on xda that had people claiming that unrevoked forever fried their wimax. So read around a bit, I would say. But I'm pretty certain fasts method will work for flash_image and recovery even after unrevoked. But if I'm wrong, somebody please correct me.

Hope any if this helps.
[EVO 4G Android Development] iluvguns:
i have launch day stock evo running 2.1 1.32.651.6

im at section 2 version 2 step 2h

but it is not asking me if i want to update

its just sitting at the screen

-FASTBOOT

-RECOVERY

-CLEAR STORAGE

-SIMLOCK

-HBOOT USB

how should i proceed?
[EVO 4G Android Development] teh roxxorz:
Hello,

I've been following the Steps, and on 5)M after I have turned the phone off, and back at the $, I type in the sh /sdcard/part1 ; and it should repeat that line and direct me to the link, but it only repeats that line and tell me to turn my phone of and re-run, like in the previous step. Can anyone help me?
[EVO 4G Android Development] thidanang:
thak u scottspa74 Igot evry thing well done u are the best u have a good thankgaving ok:D
[EVO 4G Android Development] scottspa74:
Awesome. Glad you got it all up and sorted. Well done to you. I only pointed in a few directions, and had never used unrevoked. Only passed on a few things I had read here in the forums. Really glad you got it all and thanks for the thanksgiving wishes. Same to you. Enjoy your full root access. ;)

have you checked to make sure your recovery took by booting into recovery? If it's all good I would make a nand backup first thing and put it somewhere safe. Keep it on your SD card, and make a copy to keep backed up on computer or something (in case anything ever goes terribly wrong). That's great you got it, having root access and being able to play is such a different experience than just having a sstock phone. Big thanks to all the great devs and fast and others who made great tuts. And to fast, again, for pointing out the terminal emulator app.

@ iloveguns:

Could you post some more of your software info? When it doesn't ask to update, does it throw a 'main version is older' message? If you haven't got it sorted yet, I'll watch for your posts, and see if I can help at all. Good luck.
[EVO 4G Android Development] catseyenu:
I believe that is incorrect but I'm open to you showing me where that is said.

My understanding is there may have been problems with Unrevoked 3.21 but Unrevoked Forever is not problematic.
[EVO 4G Android Development] scottspa74:
You may be absolutely right. I was merely trying to caution posters/members to search and read before following ANYBODIES advice.

Honestly, I wouldn't even know where exactly to begin to show what I was reading. A thread that caught my eye on the xda app. It was one of the new tuts for rooting. I got caught up browsing it. So, since it didn't apply to me, i didn't write it down. What I DID DO, was give a heads-up and caution others to do their studying up. But thanks much for your correction (are you correcting me to correct me, or to point out to others to study up? - if it's just to factually correct me, then thank you _on behalf of those whom this is an issue to)
[EVO 4G Android Development] catseyenu:
A little of both I suppose, there's enough confusion as it is without adding to it concerning the difference between UnRevoked & UnRevoked Forever which was successful in the earlier regaw_leinad tutorial that I used in August:

[GUIDE] How to root Android 2.2 on the EVO 4G Outdated

As well as in the current working root package for the newer HBoot 2.02 units:

[ROOT][GUIDE] HBoot 2.02 S-OFF - Like a Boss Edition! - Updated 11/20/10

FWIW, I've only heard rumors of Unrevoked 3.21 being the culprit in the lost WiMax keys & suspect it had more to do with flashing radios without the proper recovery method (Amon_Ra) that backed the keys up as described here:

[GUIDE] Bad WiMax MAC? Broken 4G after update? Fix HERE!
[EVO 4G Android Development] scottspa74:
So maybe I stand corrected, maybe not. In any case, thanks for putting your information out for all to read (that's how this works). I think it was in the tut by someone who starts with a Z, that I saw the complaints about fried wimax, and blaming one of the unrevoked versions (I think the 3.21 version, I forget, exactly). The point, obviously, is just a heads-up and directing people to read all they can, if you see harm in that, then I take issue with your point. Making people aware of claims that are being made, is not the same as confusing people. Hardly. People should be informed of every rumor and claim made so they can research and make their own informed choices. It's not like I'm making a "smear" of unrevoked. Not at all.

And for what it's worth, I rooted my launch day EVO without unrevoked, and without amonRAs newest recovery that backsup the wimax keys and flashed the newest radio at that time . I still have 4g, none of it got screwed, and I didn't use unrevoked at all, and I didn't have amonRA 1.8 (it wasn't made yet).

So, telling people to be cautious and read everything they can, and point them to new discussions, is not a bad thing. I will say no more on this debate.
[EVO 4G Android Development] catseyenu:
I'm not criticizing or debating "you" & I apologize if it sounded that way, that is not my intention and I appreciate the help/input you offer. :)

I simply wanted the newer learners to not be afraid of an established working tool (UnRevoked Forever). God knows how frightening it can be the first time you jump off the Root cliff. :eek:

With good information & a little courage we can all learn to master this beast called Android.
[EVO 4G Android Development] scottspa74:
Point taken, and thank you. Yes, I know it is scary the first time (or any time), and I guess it is a very fine line between caution and fear. Difficult to walk it. Regards.
[EVO 4G Android Development] nesrey:
does this work with the evo 2.2. i tried the no pc version with all the files on my sd card but nothing works. any help. thanks.
[EVO 4G Android Development] scottspa74:
My understanding is that with 2.2 you have to use some version of unrevoked. (i could be totally wrong, I've only skimmed the root threads since I rooted before 2.2) . If you are gonna root on the new methods, make sure you know what version your hardware is, and what rev of hboot you have. Read the last several pages of this thread for starters.

I don't believe toasts pc36img works on 2.2 (anyone feel free to correct me)
[EVO 4G Android Development] jamyil:
rsa key saver

does this meted save the rsa keys?
[EVO 4G Android Development] iknowsquat:
Well this is what is should say:

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

I see typos in your code but I dont know if it's what you typed on your PC or just a typo when you wrote your POST.

Assuming your post is correct you have an extra space between the 4th "/" and "sdcard" which should not be there.

You also ended with "omg" instead of "img" (I assume THAT is just a typo on your post)

The adb codes are VERY specific to spelling, spaces, and symbols.
[EVO 4G Android Development] evohnoo:
Yes, if youre rooted, just flash the 1.47 install... the superuser app DOES come with the 1.47 build... flash and go my man... make sure you do a nandroid backup too
[EVO 4G Android Development] cw269484:
THANK YOU for helping me, but yes that was in fact a mistake i made when creating the post i am typing the exact command this is what im typing:

cat /sdcard/flash_image > /data/local/flash_image (hit enter)

chmod 755 /data/local/flash_image (hit enter)

/data/local/flash_image misc /sdcard/mtd-eng.img (hit enter)

"error writing misc: permission denied"

do you think i might be missing a file?

Thanks once again
[EVO 4G Android Development] dustlove:
OH MAN

I did everything exactly as you described and could not get your PC36 file to work correctly even after renaming it without the eng. I downloaded one elsewhere and got it working though. thanks for the tutorial
[EVO 4G Android Development] iknowsquat:
I'm an adb n00b but I as there are only two files associated with this step:

flash_image

mtd-eng.img

if they are both on your card a missing file isnt it.

I doubt you'd get this far if this were it but-how are you connected? Charge only with USB debugging enabled?

After that I'm stumped.

Your first DL may have been corrupted somehow. Glad you got it!
[EVO 4G Android Development] todubiro:
Cant get past part 5M

Third time through... wiped everything, USB Debugging is on and set to charge only, but I get this during step 5M

/sdcard/part1: cannot create /data/app-cache/com.android.browser/BEC48C17295CAF9

F550BCD500A0A6F03

/data/app-cache/com.android.browser/DE25D64D198E4BF84672045F0EAEE6CE

/data/app-cache/com.android.browser/EAFCD74DF11E57A3571B1E4D0B768134/foo: directory nonexistant

reboot and run part2

Not sure what Im doing wrong...
[EVO 4G Android Development] iknowsquat:
Fast told me he had the same error (once more-I haven't run this process)

He told me this post helped him:

http://xdaforums.com/showpost.php?p=7080437&postcount=234
[EVO 4G Android Development] FastRX8:
Thanks winmo.

Yes, I had that problem and that post fixed it.
[EVO 4G Android Development] DMiller:
I'm having the same problem. Got this far and then this happens. Maybe someone will figure it out I'm about to go to bed any other help would be greatly appreciated.
[EVO 4G Android Development] deepnoizer:
I'm bit stuck at

5U) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says

-FASTBOOT

-RECOVERY

-CLEAR STORAGE

-SIMLOCK

-HBOOT USB

When it reads the image it simply flashes like 4 times very quick while trying to read PC361IMG.zip from what I can catch its saying "wrong image or no image".

I tried 2 different sources of the file as someone sugested but still no luck.

Anyone got good source of the file that might work?

I noticed file used in first part of the guide for phones without OTA is slightly smaller, is that the same file?
[EVO 4G Android Development] FastRX8:
It is NOT the same file. The file you're trying to use for this step is supposed to be slightly bigger.

The error you're getting means that you don't have a file called "PC36IMG.zip" on your sdcard.

I spent a lot of time trying to help someone else that had this same error.

In the end, it turned out he had downloaded the file "eng-PC36IMG.zip" then he went to rename it, and he typed "PC36IMG.zip" but, his pc does not show extensions for common files. When he downloaded the file, all he saw was "eng-PC36IMG" because the .zip doesn't show. When he renamed it "PC36IMG.zip" he really created a file called "PC36IMG.zip.zip" but he couldn't see the last .zip

I'm not sure how to change it on Win7 or Vista, but on WinXP,

My Computer>Tools>Folder Options>View, there is an item that says "Hide extensions for known file types"

If you uncheck that box, you'll see the extensions for all common files (.zip .txt .mp3 .jpg)

Bottom line, you don't have to make the extensions show, just know that they are there. So in your case, you can just leave the .zip extension hidden and rename the file "PC36IMG"
[EVO 4G Android Development] deepnoizer:
Wasn't extension issue... I did not remove eng- part

THX much for help !
[EVO 4G Android Development] andiodjeff:
Stopping after first step, rooted stock EVO?

Hello,

I have already rooted my EVO using SimpleRoot, lost all my apps and data, not a big deal since I didn't have much to lose, the phone was rooted soon after I got it, however, my wive's EVO is about to be rooted but she has had it for a few weeks now and has many apps and data and she doesn't want to lose her stuff.

So my question is: If I complete the first step and get root access, Is it possible to stop at this point and install "Titanium Backup" (which requires ROOT access to use), make a backup of apps/data to the sdcard, and then complete the rest of the process of installing custom ROMs etc... and then restore apps/data using Titanium backup?

I'm sure there are many users who are looking to root their phone but are concerned about losing their apps/data. This would be a great FAQ.

GREAT write up...
[EVO 4G Android Development] ispolef:
Great guide...if you cant get it working by following this guide, you shouldnt be rooting in the first place....

Thanks!
[EVO 4G Android Development] FastRX8:
That is a good question. Personally, I've been rooted since the day I bought the phone. Backups and settings didn't cross my mind until way later, so I don't know the answer to your question.

In fact, I thought that just doing step one would cause you to lose your stuff. I really don't know.

However, once someone else chimes in w/ the right info, I will add it to the FAQ.

Thanks.