yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] docsparks:
try running wifi tether? or titanium backup, they both require root.

and to ensure your recovery is the correct, and final one you'll end up using,

turn the phone off, and back on, with the VolumeDown+Power method [make sure you have renamed PCimg file on your SDcard FIRST BEFORE REBOOTING INTO THIS WHITE SCREEN, otherwise you'll have to wait through that verify crap again] but again once you get to the white screen, volume down to recovery, and press the power button to enter the black/green screen recovery.

if its the android system recovery or whatever on the top, I think you did it correctly. if you already flashed a rom, just for the hell of it, make another Nandroid backup now, just incase.

--

im going to stop pressing refresh every minute or so, and goto bed soon.. so if there are any other questions.. please get them in now, ill keep up on this for about 5 more minutes...
[EVO 4G Android Development] effluent:
Well I decided to do step 53 over again even though it gave me no errors the first time..and after doing that I now got past 55...and I think I've finished successfully!
[EVO 4G Android Development] docsparks:
let us know! your soooo close!

best of luck, i got to sleep.

gotta drop in the morning. F'ing court systems :(

---

anddddd like 3 hours later. im up.

Work for court? hell no. Im a victim of the court system! ..atleast for 6 more months
[EVO 4G Android Development] Android 17:
Sorry for not updating, but I was making sure Fresh 0.3 was playing fine, and it seems to be :).

I finally got it working right, thanks a lot for all of the help you provided doc, you're a good guy, even if you do work for the court system....(just hope you're not a lawyer..)

Just messing with you, but seriously, thanks a lot, I appreciate all the info you passed along to us and several others!
[EVO 4G Android Development] >MR.T:
+1 thank you

Thanks for all your help with the dredead ADB. I have been shying away from it for about six months now and I am so relieved to finally be getting my feet wet with it! YOU DA MAN.:D
[EVO 4G Android Development] xxbabiboi228xx:
Thanks biles worked like a charm. Because of you I know how to use adb now.
[EVO 4G Android Development] howdyace:
Just got done . Whew! Alot more harrowing then i imagined. But nontheless everything worked out just fine with no problems to speak of.

I appreciate the work you put into this for guys like me who are imidated by all this nonsense (to us).
[EVO 4G Android Development] srt8pank:
Wanted to say thanks for this! The whole process went smooth......Step 51 had me for a while, I ended up just double clicking instead of running as administrator.....other than that everything went fine.
[EVO 4G Android Development] napoleontheruler:
on step 55 i get error main version is older update fail. please help
[EVO 4G Android Development] TheBiles:
I got that the first time I did it to. Like I said, wipe everything agian, boot back into the ROM, perfom the lines from step 53 again, then try again.
[EVO 4G Android Development] sjwaste:
So if I wanted to revert back entirely to stock after doing this, what would I do? Would I have to find a stock rom and flash that, or is there a combination of functions in the recovery backup/restore menu that would start me back at the beginning?
[EVO 4G Android Development] luvtorev:
Got it....finally. here is what i did

on #53

-put the phone on htc sync

-open up adb

-type each line individually (pressing enter after each line)

-once done (hopefullly with no errors) turn off phone

-unplug the phone from usb

-hold volume down, and press power button

-assuming you have the right PC36IMG it should all run smoothly (it will check for the pc36img and then all you have to do is say yes to flash)

hopefully this helps...now continue with tutorial
[EVO 4G Android Development] CUKIO34:
Whenever you enter these codes

adb shell

cat /sdcard/flash_image > /data/flash_image

chmod 755 /data/flash_image

/data/flash_image recovery /sdcard/recovery.img

reboot recovery

do you enter them all at once or line by line?

damn just noticed guy in post before me addressed issue.
[EVO 4G Android Development] dschoenike:
sorry to ask, but when did you remove the usb? I think ive gotten the commands down without error (each line just repeats) but when im done with the 3rd, nothing happens and im not 100% what to do next. unplug usb and turn off, leave it plugged in and turn off, wait for something to happen and turn off? I hate being so dumb :(
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

You can leave it plugged in for the whole process.

-------------
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

Download the official Sprint RUU (it should be an .exe file) located somewhere on this board and run it.

-------------
[EVO 4G Android Development] docsparks:
If you guys go back to page 28, there are a lot of things that were asked, and awnsered, over the next few pages to help troubleshoot guys.

::sighs:: I know its somehow PAINFUL to READ more than the original post, but ****ing do it.
[EVO 4G Android Development] bronxknight28:
OP should try to put those Q&A on his first post =] that will probably help a lot of people out
[EVO 4G Android Development] jedil1c1ous:
I was finally able to flash a custom rom but I had to use ROM Manager instead of the ClockWork utility. I was having the same problem where after selecting the rom from the SD, it tries for a few seconds to load, but kicks me back to the main menu and doesn't load. How do I fix it so I can use that utility? What step in the guide do I need to go back to? Should I boot PC36IMG again?
[EVO 4G Android Development] Jayseos:
hey what do u do if your adb commands is not working?
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

How is it not working? What seems to be the problem?

-------------
[EVO 4G Android Development] Jayseos:
for some reason the commands is not being reconized none of them. Now I have the files on my sd card to I still do the process even without the abd commands?
[EVO 4G Android Development] docsparks:
No, you read over and understand how to make ADB work.

You most likely do not have the drivers installed for ADB to recognize your phone.

If you cant understand the few steps necessary to install ADB,

you most likely will not be able to handle the 56 some odd steps, to do this to your phone.

Sorry, Truth.
[EVO 4G Android Development] Jayseos:
what drivers are those?
[EVO 4G Android Development] Jayseos:
well for your info I have rooted part one my phone yesterday the steps is not the problem the abd commands is. I haven't never used the command prompt before
[EVO 4G Android Development] docsparks:
I recommend you dont try this yet.

Read the 1st post, like 15 times, before you try to do the step by step tutorial, that is, again, the 1st post / the meaning of this thread all together
[EVO 4G Android Development] Jayseos:
well like i stated before i've already flashed my phone twice with supersonic and fresh 0.1. I'm just stuck on step 41. Now just trying to find some abd driver
[EVO 4G Android Development] Riztnack:
Honestly this was prolly the most pain in the ass part, but its butter after that.
[EVO 4G Android Development] upaboveit:
Just wanted to say thanks for this great guide. I'm NAND Unlocked and Fresh 0.3'd!
[EVO 4G Android Development] jmanecke:
Sorry about that, I meant step 35a, I'll edit my original post so I don't confuse anyone that may find it.

The link to [RADIO] Evo-1.39.00.05.31 thread in steps 35a and now 58a provides a good step by step checklist for updating the radio. It's not an IDIOT-PROOF guide, but it is pretty straight forward. If you've made it all the way to 58a, you've already done all the tasks (though maybe with other files) for updating the radio at least once.
[EVO 4G Android Development] kakepner:
Step 53

When I put it cat /sdcard/flash_image > /data/flash_image i get the message ?sdcard/flash_image : no such file or directory

Yet i can see in in my root directory
[EVO 4G Android Development] jmanecke:
Yes, if you've gone all the way through to the successful NAND unlock, you can safely delete them all. A few specific notes on each:

update.zip - this is the clockworkmod recovery. If you remove it, you can't boot into this recovery, but that is not a problem as you now have another option. You've flashed the amon-ra-recovery onto your phone as recovery.img in step 56. You can now access this from the recovery option of the bootloader screen (the white screen). If you still want the clockworkmod recovery as an option, then leave update.zip in /sdcard.

flash_image - this is the code that actually flashed the two .img files. You're all done with it now.

mtd-eng.img - you flashed this onto your phone and used it as part of the NAND unlock, you don't need the copy in /sdcard anymore.

recovery.img - this file is now flashed onto the recovery partition of your phone. Don't need the copy in /sdcard anymore.
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

Maker sure you aren't in "disk drive" mode.

-------------
[EVO 4G Android Development] jcjr81:
I'm getting frustrated as heck. I have the first part down. I should be rooted after I update PC36IMG.zip and the phone reboots, correct? Upon restart I've tried two recovery methods, ROM Manager and clockwork recovery to flash a ROM, but it's neither method works. When I navigate to a ROM in ROM Manager I can select to flash it, then it asks if I want tor reboot in recovery, I click yes and nothing happens. With clockwork, I can manually select the rom in recovery mode and flash it. It shows that it is loaded, but upon reboot I'm still on stock. I don't think I'm sucessfully rooting the phone initially, but I don't know how else to do this.
[EVO 4G Android Development] blissid:
ty for the info!

although i have a question, i'm currently trying to use linda file manager to delete some .apk files from my system folder while in the OS and it's telling me it's read only. But if i adb boot into recovery it allows me to rm /system/app/amazonmp3.apk no problem. I figured since i unlocked NAND that i'd be able to have write access to my system folder while in my OS, or am i mistaken? Only other thing i can think of is linda file manager doesn't allow it? *shrug*
[EVO 4G Android Development] therealrizzsp:
worked perfect... thanks for the time and effort =]
[EVO 4G Android Development] josue85:
Just wanted to give a quick thank you for this guide. It is very well put together and easy to follow. Kudos to you!
[EVO 4G Android Development] 12MaNy:
It just dawned on me that I never formally thanked TheBiles for this guide. :eek:

Thank you very much for taking the time to post these steps, so that the less experienced members can feel like hackers too.

:D:D:D YOU ROCK BROSEPH!!! :D:D:D​
[EVO 4G Android Development] srbthegoat:
Nand Unlock

I am having trouble getting past step 50. When type "adb reboot recovery" and the comman promt (C:\android-sdk_r06-windows\android-sdk-windows\tools) i receive and error. the error says "'adb' is not recognized as an internal or external command, operable program or batch file". Can you provide some direction.
[EVO 4G Android Development] 12MaNy:
I had the same problem with the SDK. I asked for help on a few different forums, but no one seemed to have an answer. Hopefully someone has some insight here.
[EVO 4G Android Development] jmanecke:
In the OS, it mounts /system as as read only by default, even if you have root. That's why you can't do it from there. When booted into recovery I believe it's read-write. To get it to work from in the OS, you'd need to remount system as rw.

I've seen how to do this on other threads, but I can't reliably tell you myself. Your question is a little beyond this thread.
[EVO 4G Android Development] jmanecke:
Yes, you are rooted after the phone reboots from the first PC36IMG.zip. I'm pretty sure you can't boot into the recovery by either method unless you have successfully rooted.

It sounds like you forgot to wipe. Make sure you are doing all the wipes required in step 33. You need to wipe BEFORE you install a zip from the sdcard.
[EVO 4G Android Development] TheBiles:
Not sure if this matters, but make sure your android-sdk-windows folder is directly in the root of your C: drive. Take it out of that other folder. After that, check to make sure there is an adb.exe file in the /tools folder.

Get Root Explorer from the Market. You can mount the system as R/W and easily delete anything from it.
[EVO 4G Android Development] takmsdsm:
This hasnt been mentioned yet, but if you happen to get this error when doing a NAND backup:

Error: Run nandroid-mobile.sh via adb! error.

You need to go back, turn on MS USB, and free up some space on your SD card, as there isnt enough room to do your backup operation.
[EVO 4G Android Development] feeth:
So if my phone is working fine I can skip this step?

Not sure how I am supposed to check if ROM manager is working? :o
[EVO 4G Android Development] dschoenike:
Thank you sir for that. That was the last hurdle for me, and the process is complete. (finally, lots of hours staring stupidly at this computer) Just wanted to thank everyone for answering questions from noobs like myself. I wouldnt be enjoying this phone half as much without all your help. Much appreciated.

dschoenike
[EVO 4G Android Development] J3STUR:
Nice Guide, Everything went good :)
[EVO 4G Android Development] ausch30:
Just started reading through all these pages this morning, now I'm on page 27 and I came across this post. I've been stuck on this step for a while. I rooted using toast's method as soon as it was released, I've been reading guide after guide trying to teach myself ADB.

I started at Section VII because I'm already rooted. Deleted everything and re-downloaded everything following step by step. The first time I tried to do #53 the cat and chmod parts worked fine but the /data gave me no such file or directory. Tried it again and none of them worked, tried it again and the second one worked, tried it again and the third one worked. I just can't seem to get all of them to work at once.

I'm going to continue reading, my answer might be further down. Once I get to the end of this I may just go back to stock and do it all again from the beginnning (really don't want to have to do that). Any insight would be appreciated, thanks.

This is an image of the most recent attempt
[EVO 4G Android Development] Anthony's09:
Hi I'm stuck on step 56 when I put /data/flash image recovery /sdcard/recovery.img I get

mtd: not writing bad block at 0x00060000

mtd: not writing bad block at 0x000a0000

mtd: not writing bad block at 0x000e0000

mtd: not writing bad block at 0x00160000

mtd: not writing bad block at 0x001e0000

mtd: not writing bad block at 0x00220000

mtd: not writing bad block at 0x002e0000

Error closing recovery: no space left on device
[EVO 4G Android Development] CUKIO34:
Is it necessary to keep the update.zip on the sd card? can i remove it once phone is rooted and rom loaded?
[EVO 4G Android Development] TheBiles:
Your phone is not in disk drive mode, right? It needs to be either in charge only or HTC Sync (as some people have reported success with that). If that doesn't work, you may have to format your SD card (make sure you back it up first).

That is correct. Your recovery is now flashed to the device, and you can access it via QuickBoot or by entering the bootloader and selecting "recovery."
[EVO 4G Android Development] CUKIO34:
Im tring to do the nand unlock now, and i was just wondering if have to keep the update.zip file on my sdcard or can i remove it before stepping into the nand unlock?
[EVO 4G Android Development] TheBiles:
Oh. Well, yes. You can remove it then too. You will be accessing a different recovery via adb that you will eventually flash right to the device.
[EVO 4G Android Development] cpiddy:
i am getting "Error: run 'nandroid-mobile.sh restore' via adb" when trying to restore from the nandroid backup. Step 58. Any help here?
[EVO 4G Android Development] ausch30:
So, I saw this post, I didn't know about vol up and power. Did that, went into recovery, made a backup and tried again, success.

After reboot I tried step 56 and this is what I got

and that continued on for a while and ended in this

Going to continue reading, any help would be appreciated, thanks.
[EVO 4G Android Development] guyver2077:
I need some assistance with step 53.

I can not tell if anything is happening. Am i supposed to enter each of the 4 lines one at a time? I tried to copy paste the entire thing but nothing happens.

thanks

edit- made it to the final step and performing nand restore now. I think I am good to go.

great tutorial. the final adb steps could use just a tad more details.

thanks a bunch
[EVO 4G Android Development] ausch30:
To answer your question, no, it isn't in disk drive mode. I started out with it in charge mode and after I read the post about sync working I tried that. Another question I had was, I just noticed that after I flashed PC36IMG file I now no longer have the su icon under apps. Is that normal?
[EVO 4G Android Development] jedil1c1ous:
I get to step 50 and get "error: device offline"

WTH am I doing wrong? I've followed the instructions to a T.

BTW, I'm currently flashed to the rooted stock rom.
[EVO 4G Android Development] ausch30:
TheBiles, you said you had an issue and you disconnected the USB, took out the battery and rebooted. I did that and this time I got all the commands (from 53 and 56) to go through except for the last, I got the same mtd erase failure...no space left on device that I posted before. Not sure what the issue is.
[EVO 4G Android Development] nitty917:
when i try to to my nandroid restore it says it cannot locate e:sdcard/nandroid
[EVO 4G Android Development] neckface:
Several people have been getting the same not enough space error via my tutorial as well. I'm pretty damn discombobulated.
[EVO 4G Android Development] nitty917:
rom manager sees my backup, but i cant restore in recovery.
[EVO 4G Android Development] jedil1c1ous:
Is it the stock Supersonic rooted rom thats the problem? It's the same one from step 30.
[EVO 4G Android Development] ausch30:
went back, erased the dalvik cache, cache, and did a factory restore, still the same result. My phone is showing 348mb on the internal storage and 5.94GB on the sd card, don't know where that "not enough space" is coming from
[EVO 4G Android Development] spyngamerman:
hmm dotn know if i should try this now i just want rooted stock spritn rom i dotn care about nand if i just want roooted stock app am i gonna run into the same problems?

im backign up my full 16GB sdcard now which has my titanium backup on it on it then im going to erase sd card except having the pc136 whatever imgae on it

then ill add the update zip and remove pc one and then afetr i do that ill add the rotted stock one should this be sufficient to keep from possoible errors?
[EVO 4G Android Development] neckface:
Yeah, it's redonkulous. Are you getting the error when trying to flash the recovery image? If so, would you mind trying this recovery image? It's the original from toastcfh's tutorial, before everyone updated their how to for Amon Ra's recovery. Much appreciated. http://www.4shared.com/file/Msz1VwmN/recovery.html
[EVO 4G Android Development] yellaboyla:
worked perfect for me...no errors...thx
[EVO 4G Android Development] spyngamerman:
thats reassuring ok cool im gonna do it once my sd card finishes up backing up on my desktop tminus 4mins damn 16GB microsd huge cant wait till my 32GB ones comes in :)

ps i know this is offtopic but if anyone knows of a spot i can upload evo formated(MP4 optimized settings ) vids and tv shows pm me i have 2TB of shows bluray rips im gonna convert for evo and if anyone wants some for backup purposes pm me around 500MB per one on average im thinking making single link no extraction needed. My evo downloads stuff fast as hell on 3g here in chi not to mention the 4g i like Rapidshare and Megaupload is awesome
[EVO 4G Android Development] strung:
2nding this.

Fantastic guide, I'm also new to Android and I couldn't have flashed without this.
[EVO 4G Android Development] vedavin:
Good job!!!!
[EVO 4G Android Development] DevilStrider:
Whats the downside to rooting? I want to make sure i can get froyo when it drops.
[EVO 4G Android Development] rjmjr69:
I'm very well used to flashing roms etc etc. But I do not understand how this whole NON STICKING root thing actually works? How can it work if it resets to stock after reboot?

N'

Very nice write up thank you.
[EVO 4G Android Development] logosmonkey:
For those asking if this will work after the OTA updates, I can confirm that it will. I wasn't thinking and updated with the OTA updates when I got my phone this morning (6/12).
[EVO 4G Android Development] jblazea50:
Yes, you're right, this works even if you installed the OTA update.

I should have mentioned it earlier when I went through the process.
[EVO 4G Android Development] zebradude:
Thank you for this guide!

I am a expert in WI MO Roms and such BUT have no experience in Unix/Linux!

This helped very much. I was stuck on the Recovery installation !
[EVO 4G Android Development] Vinny75:
At step 32, could you use the "Install ROM from SD Card" function of ROM Manager to install the rooted stock rom instead of the manual process?
[EVO 4G Android Development] DevilStrider:
Not getting the "install zip from sdcard." in recovery.
[EVO 4G Android Development] DevilStrider:
I got it. Rom manager was not working for me.
[EVO 4G Android Development] TheBiles:
Updated the recovery section of the guide to include a full map of the recovery menu. Hopefully that will clear things up!

The non-sticking root essentially means that the unrEVOked method will only work when the unrEVOked .apk is present. It just allows you to run programs with root access through some glitch in HTC's security. The ROM itself isn't actually rooted, and you can't use it to do things like access recovery mode.

There isn't one, honestly. You will most likely get Froyo before it drops by rooting, as we already have a nearly functional build right now!

As far as I know, the debug ROM lacks the proper reboot file to actually reboot the phone into recovery from the menu. You can find the fix for this at the end of my guide, but it requires ADB (and most custom ROMs already have it fixed). You will be able to use it in ROMs like Fresh, however. I'm guessing you could successfully install and use ROM Manager, right?
[EVO 4G Android Development] itzjonjon69:
can someone show me how to flash fresh's 0.2 rom and the firmware?
[EVO 4G Android Development] TheBiles:
Follow the exact steps in the guide, but where I say to download the Stock ROM in step #30, go download the Fresh ROM .zip. The link can be found at the end of the guide along with instructions for installing any custom ROMs you want.
[EVO 4G Android Development] itzjonjon69:
Biles i did everything you stated, but when i choose fresh-evo-0.2.zip from the menu it says finding and installing for like 3 seconds then the main menu with reboot system, apply sdcard, wipe data, etc etc etc comes back up again. It doesn't give me a successful message about installing fresh's rom or anything?
[EVO 4G Android Development] TheBiles:
Hmm. You might want to try installing the stock ROM first then going to Fresh using the same method. But first I would make sure your Fresh Evo .zip file is not corrupted or anything (I think Flipz posts md5s). It should take about 30 to 60 seconds to install a ROM, and you will see a progress bar the entire time.