yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] beesneazy:
Ahh, I had never gone and finished the SDK setup. :rolleyes:

Am willing to take the chances though.
[EVO 4G Android Development] will75:
Those that have the pre .1 update but were waiting to root.... would it be smart to just use old root method and dont even worry about this particular ota's benefits?
[EVO 4G Android Development] marklyn:
question on last step of booting into recovery

Hat's off to everyone who put this together, particularly the video, very helpful in addition to the written instructions.

Some clarification for a newbie...

I'm in recovery mode now. Do I wipe and make a backup? If I make a backup, is this a backup I could restore from if I tried another ROM?

Also, if I wanted to try OMJ's ROM, would I do so at this step by downloading his ROM? I'm a little confused at the moment on where I pick up if I want to try another ROM.
[EVO 4G Android Development] cle0950:
Could someone help. I put in abd shell in the cmd prompt and it is not recognized.

Any advice?
[EVO 4G Android Development] bprinehart:
Many thanks for this guys..Awesome work Steel and "Dev X"

Mirrored this on 4shared as well...

Here

I combined all the necessary files, and added your post as a pdf jiqqa, should be quite clear and concise, even for a first timer...just trying to help out.
[EVO 4G Android Development] jmglidden:
Could someone who has used this root please reply to let us know if it kicks you back to the old PRI version (1.34_003)?

I might RUU up to 1.47.651.1 stock and then use this root if it'll let me update to the latest PRI and keep it.
[EVO 4G Android Development] #Winning#:
Sorry if this is not posted in the right area. Just wanted to make sure if I use this root that there is a way to go back to Stock completely on my phone, yes "unroot" it. This incase anything goes wrong with my phone and I need to take it in to Sprint for any reason.
[EVO 4G Android Development] swaze:
IMO that can't happen because it would require some sort of collaboration between sprint and the dev's. Neither knows exactly what is being implemented in the update so the dev wont know exactly how to circumvent it, until its actually released. Its always get a dump of the update and then go through it, see the changes, and adjust accordingly. What you are asking will probably not be feasible, but just my opinion.
[EVO 4G Android Development] dfskevinohyeah:
i downloaded the files from jiqqaman post but i need help,

how do i make eng-PC36IMG.zip a stand alone ZIP file when it downloads as a WinRAR ZIP archive (.zip) please help
[EVO 4G Android Development] webs05:
This question has been answered all over the forums. The simple answer is yes. You can always unroot by running the latest RUU from HTC.
[EVO 4G Android Development] seankent4uf:
Definitely recommend you use toast's part 1 and 2 root methods, then check out this thread http://xdaforums.com/showthread.php?t=715915 to flash the newest stock RUU but maintain your full root and unlocked permissions.
[EVO 4G Android Development] #Winning#:
Thank you webs05, and just to verify this is where I would download the sync program from HTC and use the ruu from Shipped roms correct?
[EVO 4G Android Development] PlankLongBeard:
Reminder! LoL

FINAL STEP - Do NOT accept any OTA updates from this point on. REALLY. DON'T **** UP YOUR ROOT!

I Love that line. ;)
[EVO 4G Android Development] The_Infamous_One:
Since this method uses Toast's NAND unlock, it does indeed downgrade your PRI to 1.34.
[EVO 4G Android Development] seankent4uf:
You would only make a backup if you wanted to restore that ROM. You wipe user data and dalvik cache prior to flashing a ROM. So yes, if you make a backup before wiping data, you could restore that ROM if you go custom and then want to go back. Just know that not everything is backed up with nandroid - radio/wimax partitions are unaffected. If I were you, I would complete the full root process, verify you have the engineering HBOOT, then follow the instructions in this thread http://xdaforums.com/showthread.php?t=715915. Once you've done this, boot into recovery and nandroid backup. From there, have a ball with a custom ROM - you can always go back to the latest RUU by restoring your backup.
[EVO 4G Android Development] seankent4uf:
If running Windows, you need to be in the \android-sdk-windows\tools folder to run ADB, so change your directory as appropriate. The only way to run ADB without actually being in the \tools folder is to add the path to your environment variables.
[EVO 4G Android Development] SteelH:
Seriously dude, the files are attached to the original POST! Open your eyes.

Your second question has already been answered elsewhere and does NOT pertain to this thread.
[EVO 4G Android Development] Mr. Spontaneous:
Would this method be portable to the Incredible? Or does the exploit only exist in the EVO's Flash Lite build? Thanks!
[EVO 4G Android Development] webs05:
HTC sync can be downloaded from your phone or HTC's website. Not sure what you mean by the last part. Stock RUUs with no root can be downloaded from these forums, but you can get them easily from HTCs website too. Anything else you can get from this forum. Just search or look at the stickies.
[EVO 4G Android Development] SteelH:
If you read the directions you'd already know the answer.

Seriously, your comments have nothing to do with rooting. Stay on topic please.

Fixed. Who needs spell check with XDA users handy? :)

Search function is your friend.

Google 'android-sdk' or search the XDA forums, the information is readily available with a little effort.

As the directions state, this is for those with 1.47 OTA update and no root access. Clearly this doesn't apply to you. SO no, you don't need this.

Sure, just download the latest OTA update on your phone. It'll properly **** your root access right back to stock.

You might want to ask in the Incredible forums.
[EVO 4G Android Development] jiqqaman:
O.o

I don't know if I should take this question seriously not.

Anyway, its already a .zip all you have to do rename it from eng-PC36IMG.zip to PC36IMG.zip
[EVO 4G Android Development] dfskevinohyeah:
oh haha sorry for the stupid question but i keep on getting adb is not recognizable as a internal or external, operable.... any help?
[EVO 4G Android Development] jiqqaman:
Do you have adb installed ? If not

http://www.youtube.com/watch?v=2Wi1UagsL5g&sns=em
[EVO 4G Android Development] SteelH:
Add to your path statement or execute it from the adb install directory.
[EVO 4G Android Development] dfskevinohyeah:
thank you guys! sorry for the noob questions.
[EVO 4G Android Development] SteelH:
The most important rule for any n00b, the FINAL STEP. Follow that and you'll love your EVO :)
[EVO 4G Android Development] luisrcastillo:
Great job. Rooted with the last update. Can't get any better than that or any easier.

Thanks for the anonymous user and everyone who donated for this great cause!!
[EVO 4G Android Development] frankenstein\:
For those who are struggling with ADB, and there seem to be quite a few of you, this will help get you oriented:

http://xdaforums.com/showthread.php?t=694250&highlight=adb+tutorial

It certainly helped me on my first days with a new phone os.
[EVO 4G Android Development] SteelH:
Great link, thanks for helping!
[EVO 4G Android Development] DevilStrider:
Phone loads to fast. I can't get part 2 loaded.
[EVO 4G Android Development] SteelH:
Watch the video tutorial to see how it's done.
[EVO 4G Android Development] DevilStrider:
I'm getting the $ sign in adb.
[EVO 4G Android Development] DevilStrider:
scanning forever now.
[EVO 4G Android Development] DevilStrider:
How long does this scan take.
[EVO 4G Android Development] jiqqaman:
Devil, it shouldnt take no longer than 30 seconds maybe less. If its taking longer that means part 1 = fail. Watch the video that was posted and go along with it.

And we understand if you get frustrated during the process but try not to post 3 one lines posts, it'll help keep the thread a little more organized.
[EVO 4G Android Development] Dubez:
Went through almost all the steps, but the phone didnt boot!

It didnt recognize any images on my sd card...

Do I have to start all over, or just from part 2, or did i do something wrong? Is it the Hboot?

help please...
[EVO 4G Android Development] civic4982:
#################!!!!!!!!

Thanks...
[EVO 4G Android Development] frankenstein\:
did you rename eng-PC36IMG.zip to PC36IMG.zip?

are you using windows have do you have explorer set to hide file extensions? i.e. did you mistakenly name the file PC36IMG.zip.zip? You can check by doing "adb shell" and then "cd sdcard" and then "ls" and look for the file.

the file name has to be all caps. pc36img.zip won't work.

these are a few common mistakes that are easy to fix...
[EVO 4G Android Development] Dubez:
Ok it was PC36IMG.zip.zip, I think if fixed it, do I have to start from scratch?
[EVO 4G Android Development] frankenstein\:
shouldn't have to as long as you flashed the mtd-eng.img successfully.
[EVO 4G Android Development] Sevenx:
I'm having an issue after rebooting and holding down the vol-down Key.

After it loads the image and begins to check it I get the following:

Main version is older!

Update Fail!

Do you want to reboot the device

vol up yes

vol down no

I'm not sure where to go from here. I downloaded the linked PC36IMG.zip, removed the eng part of the title etc and it's on my SDcard.

Thanks for any assistance!
[EVO 4G Android Development] frankenstein\:
you failed to flash the mtd-eng.img file properly. This resets the main version to allow installation of the pc36img.zip file. You need to go back and redo the steps to get this done.
[EVO 4G Android Development] skovy:
Made it all the way to step #11. When typing in

/data/flash_image recovery /sdcard/recovery.img

I get a error opening /sdcard/recovery.img: no such file

any help, thanks!

@jiqqaman...did you really "Devil Dog" someone? lol
[EVO 4G Android Development] Dubez:
Frank you are the man!!! Im all ######...

Now im @ the Android system recovery menu, do i just "reboot system now"?
[EVO 4G Android Development] frankenstein\:
make sure the phone is in charge only mode. if it's in disk drive mode the pc has exclusive access the the sd card and it can't be accessed via the shell.
[EVO 4G Android Development] sonykid15:
This:

image:

SD Checking...

Loading...[PC36DIAG.zip]

No image!

Loading...[PC36DIAG.nbh]

No image or wrong image!

Loading...[PC36IMG.zip]

No image!

Loading...[PC36.IMG.nbh]

No image or wrong image!

happened to me while the files were on my 2gb sd card and i fixed the issue by transferring the files to my 8gb and it worked perfectly
[EVO 4G Android Development] frankenstein\:
yep. from this point you can go pick out any rom you want to run and install it via recovery.

whitslack has a good method for implementing the latest stock rom with the current ota, raido and wimax partitions. You may want to do this to update your radio and wimax to current before installing you new rom or you may want to just use the rooted stock rom you will wind up with once completing his process.
[EVO 4G Android Development] frankenstein\:
yeah, HBOOT is particular when it comes to the type of sd card your using at times. This has been noted in other threads including toast's part 1 and part 2 root method.

congrats, your in bidness
[EVO 4G Android Development] Dubez:
Thanks again Frank... Is it possible you can link me to a tutorial on how to flash roms. I hope its not as intricate as this process was... Oh, and how do I update radio and wimax? Also, I should be able to tether and mobile hotspot now, correct?

Oh, i have to do the Nand root now correct?
[EVO 4G Android Development] urcboss07:
Help, Help, Please! I stuck at adb shell /data/local/part2, it keeps saying part 2 is scanning. Do you have any idea?
[EVO 4G Android Development] jiqqaman:
Its

/data/local/flash_image recovery /sdcard/recovery.img

I was talking to devilstrider lol and in no way did I mean to sound like a ****... we all start learning from somwhere.
[EVO 4G Android Development] skovy:
Yes, phone is in USB charge mode only...my software# is 1.17.651.1

What happens if I just reboot the in adb shell with out flash_image recovery? :confused:
[EVO 4G Android Development] ManInCamo:
I had to wipe my phone a 1/2 dozen times last night trying to get it to work.
[EVO 4G Android Development] jiqqaman:
Part 1 failed for you. Start over. Follow video posted.
[EVO 4G Android Development] CruzECO13:
:D thanks guys for all your hard work into this. Thanks for the video as well :D

I am now completely Rooted!! woot woot :D :D :D :D
[EVO 4G Android Development] Mikesus:
Maybe I am an idiot, but wouldn't it be prudent to just load the

PC36IMG-1.47.651.1_eng-hboot_RA-1.7.0.1.zip

from here -> http://xdaforums.com/showthread.php?t=715915

seems that you would save a step of having to reflash?
[EVO 4G Android Development] skovy:
using what you sent now I get a simple: /data/local/flash_image : Not found ?
[EVO 4G Android Development] frankenstein\:
well, your rooted but without a custom recovery your kind of stuck with what you've got. if you do an ota update you'll loose your root again, etc... You'll keep the engineering hboot you've installed but loose root on the phone.

you need to flash the recovery now that you've got the system unlocked and then you can do what you want to... Damage Control, Fresh, whatever ROM you like, radio and wimax updates, etc... I like RA's recovery which is what is included here. other people like clockwork. it's up to you...
[EVO 4G Android Development] frankenstein\:
Can't jump straight to this. This is a home built PC36IMG.zip which means it's not signed by HTC. The HBOOT that comes with the release of the phone, which this process replaces with the engineering HBOOT version, requires the file to be signed by HTC so attempting to use this would fail the signature test.

You have to start here, then go there.
[EVO 4G Android Development] Sevenx:
Edit - went through the process again and fixed it.

Thanks :)
[EVO 4G Android Development] Dubez:
Frank, anyone, Am I fully rooted, or do I need to go thru any other steps?
[EVO 4G Android Development] jiqqaman:
Skovy, sorry it should be

/data/flash_image recovery /sdcard/recovery.img

Make sure you have recovery.img on your sdcard
[EVO 4G Android Development] JUST2SUAVE:
anybody got this fully working yet?
[EVO 4G Android Development] JUST2SUAVE:
could you post up corrected instructions for all of us? thanks.
[EVO 4G Android Development] Sevenx:
TO ALL OF THOSE WITH ISSUES RELATING TO PART TWO AND SCANNING FOREVER

In your command prompt have this line ready:

adb shell /data/local/part2

As your phone powers down, you will hear the windows notification noise indicating your USB device has disconnected (due to power down)

When you restart the phone, have the above line pasted, and hit enter after you hear the similar sounding notification indicating the usb device has connected again.

IF it says device not found, quickly push the up arrow key, and enter again until it says it's scanning.

It should take approx. 20-25 seconds before you'll get a response.

In my personal experience, if you wait until the phone has fully booted you will sit on scanning forever - it's obviously scanning a file during the boot process.

This was indicated in the guide, but I think people are misunderstanding this part.
[EVO 4G Android Development] skovy:
Now its back to saying what it was earlier....I`ve rebooted the phone and I am rooted?? If its not broke....dont fix it applies here? next step is to flash a custom ROM?
[EVO 4G Android Development] jiqqaman:
Again try

cat /sdcard/flash_image > /data/local/flash_image

Use /data/local/

instead
[EVO 4G Android Development] Sevenx:
I went ahead and restarted the whole process from step one. When I got back to step 9 in which you enter the following three lines:

cat /sdcard/flash_image > /data/local/flash_image

chmod 755 /data/local/flash_image

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

I took each line one-at-a-time, pasted them, hit enter, then went to the next line, pasted, enter, next line paste, enter.

The responses you'll get after each enter keystroke is simply a duplicate of what you just typed. If you get all three responses with no permission issues, continue to the next step.
[EVO 4G Android Development] jiqqaman:
You should be rooted that step just flashes a recovery. Download a a terminal app and type Su... see what u get
[EVO 4G Android Development] jerich007:
I followed jiqqaman's video tutorial and got it working after a couple snags.

For those stuck on step 9, the key thing is to run that adb command when you see the white HTC boot screen. If it doesn't work, keep trying, i.e. error: 'device not found' HIT THAT UP ARROW to repeat the last command!

The timing is critical! If it takes more than a few minutes, start over. This method works. THANKS to anonymous for the root, and jiggaman for the video!
[EVO 4G Android Development] Pezu23:
Rooted, but no recovery?

Deleted... found the answer by reading Toast's part2 post... go figure...
[EVO 4G Android Development] SteelH:
You DONT NEED THIS root method if that is your ROM version!

You can't seriously be asking that. Follow the thread.
[EVO 4G Android Development] twe90kid:
so what's the difference between doing this vs the full root method provided by toast?
[EVO 4G Android Development] justinisyoung:
oh, for god's sake, please READ!

toast's method roots 1.32.651.1 or 1.32.651.6 devices, while this is 1.47.651.1, or the OTA rom.
[EVO 4G Android Development] CruzECO13:
I was able to root with the original hackfiles.zip NOT hackfiles2.zip

hackfiles2.zip (Gave me errors when the flash site in internet browser loaded)

After refreshing the site and reboot type: adb shell /data/local/part2 (Do this part really quick as the screen is loading!!)

Here's my log :P

Thanks again to all the devs and evo community for getting this done :D
[EVO 4G Android Development] twe90kid:
i dont' got time to look through so many pages to find out the difference. if u got nothing better to say, dont answer it.
[EVO 4G Android Development] justinisyoung:
i didn't mean anything bad when i said that, it's just that it's all in the title. actually in the first post even. it's really just spending one extra minute to go to the first post and read a bit.

i wasn't trying to be mean or anything, just that the answer is really obvious
[EVO 4G Android Development] jrdejavux:
how about using the search button? and not being so lazy? search before you post if you dont want to be flamed
[EVO 4G Android Development] Henchmin:
would this method work on other android devices that use flash?
[EVO 4G Android Development] snowwy66:
ok folks. i'm new to this adb thing. so this is my first attempt. i followed a youtube vid on installking the sdk and found the instructions to get all the updates kicked in. i'm ready to run the program but it's not running.

failed to execute tools\android.bat

system cannot find the file specified.

????

windows 7 32bit amd64

youtube also instructed to download daemonlite. and the sdk page said to download jdk.
[EVO 4G Android Development] frankenstein\:
ok, i'll put this up again...

for those new to the android sdk and adb this is where you want to start:

http://xdaforums.com/showthread.php?t=694250&highlight=adb+tutorial

it's an adb tutorial. it will help you understand what these commands are and what they do.
[EVO 4G Android Development] unknown_owner:
This should be a pop-up message that everyone gets when they come to any of these sub-forums
[EVO 4G Android Development] John Kotches:
Android n00b, unix veteran here.

I'm comfortable with all the command line work, but I'm actually hung up at the beginning, step 1.

I don't see how to get /sdcard mounted whether it is attached to a MAC or a PC. I tried putting the files into the root FS that appears from the mount point (/Vol/No Name and/or E: as appropriate) but that fails.

Am I missing a step, or does this require having root already?

Thanks for tolerating the n00b type question.
[EVO 4G Android Development] SteelH:
You connect your EVO as a USB drive, it's an option u select on the phone. This method is for you to acquire root, so by definition root is not a prerequisite.
[EVO 4G Android Development] frankenstein\:
When you connect your phone to the PC via the usb cable you should get a prompt on the phone asking you if you wish to connect it in one of a number of ways including:

1. Charge Only

2. HTC Sync

3. Disk Drive

4. Internet Sharing

If you select disk drive the sd card should be presented to the pc as a removable disk drive just as any piece of usb attached storage would be it a hard disk, thumb drive, etc...

When connected in disk drive mode the sd card is available exclusively to the pc and not to the phone through a file explorer app or adb shell or etc...

If you change the connection mode to Charge Only, the phone will remount the sd card and make it available to the phone mounted on the /sdcard directory off the root file system.

If your running windows, you can easily get the drivers you need for the OS by installing the latest version of HTC Sync which you can download from the htc www site on the Evo support pg.
[EVO 4G Android Development] rhunt56:
My PRI says it is 1.40_003

is this a problem?

I can't seem to get the flash to work in HBoot.
[EVO 4G Android Development] habitual_line_stepper:
C:\Users\Michael>adb shell

$ sh /sdcard/part1

sh /sdcard/part1

power down your phone from the power menu and re-run

C:\Users\Michael>adb shell

$ sh /sdcard/part1

sh /sdcard/part1

visit http://bit.ly/ad0pRn in the EVO Internet browser app

refresh that page or reopen it

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

F550BCD500A0A6F03

/data/app-cache/com.android.browser/BEC48C17295CAF9F550BCD500A0A6F03/foo: direct

ory nonexistent

reboot and run part2

^^^ i'm getting this error every time i do the "part1" , any ideas?
[EVO 4G Android Development] frankenstein\:
PRI has nothing to do with this.

more info please... What are you trying to flash? How? Are you getting any error msg? ...
[EVO 4G Android Development] frankenstein\:
check back through the thread. there are a number of posts a few pgs back that deal with this. There is also a posted video with a write up on how to do this end to end.
[EVO 4G Android Development] habitual_line_stepper:
OK thanks, i will reread through it. And I am using the Jiqqaman video that is posted to help me through this
[EVO 4G Android Development] apexi350z:
LOL! you are so mean! j/k!

Seriously people, the title says 1.47.651.1 ROOT method.. if you don't know what that is, then don't mess with ROOT!!
[EVO 4G Android Development] frankenstein\:
yeah, that's the video I'm referencing. There is another post a few pgs back that talks about cleaning up those directories in preperation of doing this. I'll see if I can find it for you...
[EVO 4G Android Development] rhunt56:
I had some trouble at step 7 but finally got the line shown:

crw-rw-rw- root root 90, 2 2010-07-05 19:37 mtd1

in step 8, I copied and pasted the whole command and found that doesn't work well, so tried each line separately. Not sure what is supposed to happen when doing each line.

after running the last line of step 8 and getting back to $, I do steps 9 and then on step 10 it won't flash.
[EVO 4G Android Development] rhunt56:
on failing to flash in step 10 I get this error:

Main Version is older!

Update Fail!

Do you want to reboot device:
[EVO 4G Android Development] snowwy66:
no dice man. i copied the folder directly to c drive and renamed it just like those instructions said. it just won't execute.
[EVO 4G Android Development] frankenstein\:
bingo

you failed to flash the mtd-eng.img image to the misc partition. Flashing this file to that partition resets the main version of the system allowing this process to proceed.
[EVO 4G Android Development] frankenstein\:
found it...

http://xdaforums.com/showthread.php?t=718889&page=24

One of the posts on that pg should help you out.
[EVO 4G Android Development] CruzECO13:
I had this same issue when using the hackfiles2.zip

I used hackfiles.zip (The first zip that was posted and file used in video) instead and root complete :D