yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] mylasthope:
Haha. Even though I'm going to sound like a total idiot for asking, but could you also show how to update the radio? Thanks again for the awesome guide! :)
[EVO 4G Android Development] Biggamer3:
One more possibly stupid question. Noob here so bare with me.

What do i gain by doing part 2 exactly? all this extra stuff after part one gets me what exactly?
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

Flash it just like a custom ROM. Use "install zip from sdcard." Check the topic in step 35a for full info.

-------------
[EVO 4G Android Development] T Mac:
worked perfectly for me so far. took a lot longer than i thought, maybe 30 minutes or so, but it worked. thanks for this.
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

You will just flash the Froyo ROM like any other ROM. Don't do the official update or you could lose root for good.

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

You can write a custom recovery image right to the phone so you don't have to rely on that exploit to get into recovery without a computer. You can also write to/system while in Android, so apps like AdFree and Root Explorer actually work.

-------------
[EVO 4G Android Development] sjwaste:
Stupid question: When I take a nandroid backup, does that save the entire state of the phone? By that I mean installed apps, configuration, screen layouts, etc? Or is it just the system data?
[EVO 4G Android Development] tinpusher:
I'm stuck on step 51 (NAND). I entered "adb reboot recovery", and it booted into recovery. After running the .bat file as administrator, a command window pops up quickly, but the phone doesn't do anything.

I tried pasting the command from the .bat file into an administrator window, but it just outputs the options for the adb-windows.exe file.

Any ideas?

Thanks

Also, I'm Win7 64

SOLVED Instead of running the bat in administrator mode, I just double clicked it. An hour wasted. For some reason I didn't need to right-click and run as administrator
[EVO 4G Android Development] Biggamer3:
thanks for the replys Biles!

Really appreciate your efforts here.

So even without part two i am rooted right?
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

Everything except the radio.

-------------
[EVO 4G Android Development] wings9130:
Important question. I did step 1 of the rooting a few days ago. I wiped the phone clean and did a nandroid backup then. Now I am going to do step 2 since the guides are up. Do I need to wipe the phone clean again before I do step 2 or can I just go ahead and do step 2 since i wiped 3 days ago?
[EVO 4G Android Development] TheBiles:
Re: [TUTORIAL] IDIOT-PROOF Root Guide! NAND Unlock and ADB Update!!

You should wipe everything again.

-------------
[EVO 4G Android Development] Android 17:
I'm stuck here too, I followed the steps to the letter from what I can tell.

The 2nd cmnd window closed by itself, so I copied and pasted the abd code in step #53 on the first cmnd window ran under the android tools.

Sorry for the bother, but any help would be appreciated. Was I supposed to copy and paste it in the recovery cmnd window? Like I mentioned, for some reason it closed on me so I could only try it on the tools cmnd window.
[EVO 4G Android Development] wings9130:
OK I will wipe again. Another question. does it matter if you make your nandroid backup before or after you do step 2? I have already made a nandroid backup before step 2. i don't remember if it was before i rooted or after i rooted. thanks.
[EVO 4G Android Development] Zardos66:
Just wanted to say thanks. Worked like a charm on the first try. Taught me how to use adb to!
[EVO 4G Android Development] wings9130:
Also, in step 44 when you want us to connect our phone to the usb of our computers, what mode do we put our phone in...charge only or disk drive.
[EVO 4G Android Development] Android 17:
Disk drive, since you'll have to copy certain files to your SD card a few steps later.
[EVO 4G Android Development] wings9130:
Actually i dont remember if i made the nandroid before or after i rooted step 1. Hopefully it was after. Nandroid backup has to be after step 1 root correct?
[EVO 4G Android Development] SheeerZ:
yeah i am pretty much stuck right now on 53 it says that there is no such file or directory. So i am just chillin here till i can figure out what it is :) anyone possibly that can help?
[EVO 4G Android Development] scooter185:
i had to be in clockwork recovery to get that step to work. also i believe you should be in charge only mode (tho if you go to recovery that won't matter)
[EVO 4G Android Development] Android 17:
Same here, I even re-did a few of the steps and went back to the regular part 2 guide and tried it a bit differently and nothing works, now I'm just hitting refresh until a kind and enlightened individual takes pittances on my newbness and imparts words of wisdom upon me that will forever be appreciated...
[EVO 4G Android Development] Android 17:
I just tried putting both charge only, and going into clockwork recovery mode (have the latest version), tried step 53 again, and I receive a very similar "no such file or directory" command.
[EVO 4G Android Development] SheeerZ:
okay it keeps saying that the pc36img.zip is older and that the update is failed what do on do on this part
[EVO 4G Android Development] blissid:
I am on step #55 right now, so far so good. No errors or anything. The adb commands in step #53 worked like a charm for me. I will report back once i complete all the steps.
[EVO 4G Android Development] DRACONIANDRAGON:
My file wont flash says its to old also. I suck giving up:p
[EVO 4G Android Development] effluent:
I'm on 55, but when it goes into the bootloader it doesn't do anything, doesn't ask if I want to flash it..just has the menu to reboot etc.
[EVO 4G Android Development] Android 17:
Lol, I just caught up to you, I'm on that as well.

Is it possible it's doing this because I still have the older PC36IMG.zip when I did the first step? I renamed that one to root-PC36IMG.zip so I don't see why that would be interfering though.
[EVO 4G Android Development] blissid:
I'm all done, worked great TY! I have attached what my final cmd prompt looks like incase anyone is wondering.

I also did not run into any problems at all(It let me boot into recovery the first time i tried, i did not have to pull the battery or anything like that), and i too have the root-PC36IMG.zip file on my sdroot directory.
[EVO 4G Android Development] docsparks:
i beleive you accidently used the wrong PC36IMG.zip, i also mixed my two up aswell.

at this moment im stuck on #53 aswell, but i decided to skip it a few tries back, and got the Main image is older error, and looked at everything again, and realized i used the wrong one. hope that helps.
[EVO 4G Android Development] DRACONIANDRAGON:
I just got it to take. Be sure the flashes take with no errors. Also i did not mount the drive this time.:D
[EVO 4G Android Development] docsparks:
hm, still encounting an error with #53.

Nice.

Figured it out.

What I did differently?

I had my phone in Charge mode, and just went to HTC Sync mode.

while it was searching for HTC Sync software on PC, i reopend ADB and tried the commands again, and they all went no problem.

hope that helps someone.

-----------

and also as expected, when i tried to flash the PC36..yadda yadda, after making sure that i DID use the correct zip file of the two, that also flashed no problem.

No "Main version is older" crap, so again, Triple check!, keep the files organized to ensure you dont make that mistake!

-----------

also, in step 56#, line "reboot recovery". im confirming does bring me back to the black/green screen recovery. awesome

---

2 more things worth mentioning

1.during the process where it gave us the SuperSonic rom, and said we could flash ANY rom we wanted then, I tried to flash fresh.03 when i tried that, it basically didnt do anything, and gave me no indication whether or not it did anything. this was because nand unlock needs to be unlocked first, which isnt until the end of this process. So, stick with the rooted supersonic rom, for the beginning process.

2. instead of restoring my nandroid backup in the end, I ended up wiping data/factory reset and then wiping cache.

then proceeded to flash the newer radio, rebooted, got back to recovery, and then flashed fresh.03

now all is well.
[EVO 4G Android Development] mylasthope:
Hey Biles, I know your guide says to flash the radio before the rom, but I updated the rom after getting Fresh 0.3. Should I reinstall fresh?
[EVO 4G Android Development] effluent:
I may have had the older one the first time by mixing them up, so re dl'd the new one and made sure to keep it in it's own spot before transferring it over. Instead of nothing happening on the bootloader I got the 'failed older file' error. So at least for me it doesn't seem to be due to having the wrong pcimg.zip.
[EVO 4G Android Development] blissid:
So after completing all the steps and being now "Fully Rooted(NAND also), is it safe to delete all the files i have in the root of my sdcard?

this includes:

update.zip

flash_image

mtd-eng.img

recovery.img

(the .zip files i know are not needed to stay there so i removed those already)
[EVO 4G Android Development] Android 17:
Same here, just to make sure I deleted all older PCIMG files I could find on my computer, re-downloaded the new one, renamed it, put that in the SD card, and it still says

"Main Version is Older! Update Fail!"

I'm not sure what else I'm doing wrong...I'm running fresh 0.2 and I also kept the zip file of it on the sd card, could that be causing any problems? Highly unlikely though.

Anyone else have any helpful advice they could impart?
[EVO 4G Android Development] docsparks:
unplug the USB cable?

make sure the older PCIMG , even if renamed is off the SD card?

also make sure the PCimg is on the ROOT of the sdcard?

Im just throwing out suggestions, that easily get overlooked.

Little details, i s'pose.

--

It was easier for me to keep track of the PCIMG file by size, how many MB is the one your trying to flash? I had to change directorys in which I was downloading to, because for some reason Chrome cache'd the original one from temp and just basically restored it to the original download location. I had to change directories [and file names] in all, to ensure I downloaded the correct version, even after I thought i downloaded the correct version.

170mb is the size of the SECOND one you want

168mb is the size of the FIRST one, that you dont want.

----

WINGS9130 - the same thing happend to me. Instead I just double clicked the file instead. Worked fine WITHOUT running as administrator. But it did second guess and ask me if im sure I want to run it.
[EVO 4G Android Development] wings9130:
After I did step 51 and I clicked "run as administrator" the command prompt window went away and my phone is still sitting with the exclamation logo. Do I press up and power to get it into the recovery or did I do something wrong? Just want to make sure I don't screw this up. please let me know as i am just sitting here with my phone like this.
[EVO 4G Android Development] wings9130:
nevermind navigated back a few pages and found it...had to double click it.
[EVO 4G Android Development] Android 17:
At what point am I supposed to unplug the USB cable? Right after I input the commands from step 53 and before I reboot the phone?

Just to make sure, I've deleted all other PC36IMG files and am re-downloading it again, this time with Firefox....I'm far from a genius, but it's frustrating that I'm getting caught up in what seems like a minor, stupid issue.
[EVO 4G Android Development] bronxknight28:
rooted my phone in 15 mins thanks man you have my eternal gratitude xD:cool:
[EVO 4G Android Development] effluent:
Tried everything I can think of and still get 'main version is older.'

Deleted every instance of pcimg off my computer and sd card(including old renamed one) then redownloaded (170mb confirmed)and put on the card, unplugged phone, went to bootloader and still fails.. ugghhh.
[EVO 4G Android Development] wings9130:
ok im on the last step to go back to nandroid to restore my phone. I'm looking at the date of nandroid and it is from a few days ago. I did 2 nandroid backups. One a few days ago before i did step 2 and one now while doing step 2. Should I just go ahead and go to my old nandroid or could I lose the stuff I did for part 2 unlocking nand? please let me know soon as im sitting waiting.
[EVO 4G Android Development] docsparks:
Now this part, im not sure about. Sorry. Let us know the results to that one.. and perhaps a little bit more details as to what nand backups your referring to.. The only nandroid backup you should be restoring, should be the one made in the black/green screen recovery, similar, but different from the clockwork recovery [i could be wrong, but if i am, please tell me someone, so i dont give false advice]

I personally would recommend starting fresh, and restoring Titanium/mybackuppro backups, but , if in all doubt.

Make a Nandroid back up now, and then restore one from the previous point.

if the previous Nand doesnt have root/unlocked nand, then I would restore the Nand you should of just made before hand, and then start fresh. Sorry.
[EVO 4G Android Development] docsparks:
As for Android17-- any progress? how we looking over there

Effluent-- I hate to say this, but i did it also...

I would start over from step 16, and keep a very good track of where you store each file, and make sure not to miss a step. I do this often, overreading and then doing stuff, rather than reading and doing each step at a time.

Perhaps your using an incorrect pcimg from the start?

Again, Im no Dev folks, but I am extremely good with computers/programming code [not android though], customer support, remote help, and all electronics. So I at least feel I can help others in troubleshooting.

.. that.. and ive flashed a ****ton of G1's with random stuff, and have experimented a lot on my N1

Sorry if I get stump'd too!
[EVO 4G Android Development] wings9130:
So you are saying make a nandroid back up now. Does the phone save 2 nandroid backups? I just made one and it said it was complete. I know there is a yellow and black screen as well which may have had nandroid too. Not too sure.
[EVO 4G Android Development] docsparks:
Yes. nandroid backups are usually done with dates and time, for example...

20100529-0852

2010- year 5/29 - date 0852- time

so if you have made more than 1 nandroid back up, you should be able to identify when you made it.

--

any of you guys, if you have AIM, feel free to IM me, as to save clutter from XDA [while it may be useful to others, a final result with explanation is just as helpful as trial and error / progress posting.. hence why I edit so much]
[EVO 4G Android Development] wings9130:
my backup is in the black and green screen in clockworkmod recovery
[EVO 4G Android Development] Android 17:
Ok, I managed to get past step to get to step 56, however, when I copy and paste the text, it does not reboot into recovery, I tried to do the other steps with taking out the battery, and whatnot, but when I tried that, the phone still did not go into reboot....

HTC Sync seems to have issues sometimes syncing up, however, even though I installed the file provided in the instructions.
[EVO 4G Android Development] effluent:
Alright..give it another shot tomorrow. Probably missed something. One thing I did just remember is on step 52 I saw no "backup and restore", just "nandroid backup" which started a backup. So was something already wrong at that point? Thanks, I'll hang up and listen.
[EVO 4G Android Development] docsparks:
I understand that, but the final black/green screen recovery you get, should not mention clockwork recovery anywhere whatsoever.

Again, im not sure if it makes a difference, but i beleive they ARE two different recovery consoles.

Assuming this, from the fact that the final recovery image we flashed, was a amon-ra-recovery image, that we rename to simple recovery.img,

while the original one we flash is clockwork mod recovery.

again, they could possibly use the same format of Nand backup, but I do not know this for sure, and i mean really, theres only 1 way to find out -- try it.

Seriously, if its that important to you to restore the nand back you've made before doing this, restore it. If it did restore a point in which somehow un-does the nand-unlock you just did, now that you did all the steps, does it really seem like that much work to do it again? I wouldnt think so.

**** it though, try restoring it. I'll be on here still to help troubleshoot whatever awaits.
[EVO 4G Android Development] Android 17:
Ok, at the last of the part of the work-around now, however when I try to enter lines 2 through 5, it says at the end:

/data/flash_image: text busy

If I retry it sometimes, it may say : too many arguments.

Edit: There seems to be an issue with HTC Sync, I managed to get it working properly for a bit, but then it just keeps trying to search for it for a while, and tells me I do not have it on my laptop, even though I have the program opened right there.

I have the latest update, and I also rebooted my laptop just incase and it did not solve the issue.
[EVO 4G Android Development] effluent:
Your problem and setup, even being on fresh 0.2 was the same as mine..how'd you get past 55? Good luck on 56.
[EVO 4G Android Development] wings9130:
thanks for the quick replys doc. I did another nandroid backup. this time the backup looked different than the last one. This one had a progress bar. The one I did in step 50 something had dots instead of a progress bar. I think that was a nandroid in a different place and I don't know how to get to it. The phone is working ok as far as I can see. Do I need to restore the nand from the step 52 still?
[EVO 4G Android Development] wings9130:
I still havent updated the radio nor installed a custom rom yet so i want to know if I need to restore that nandroid.
[EVO 4G Android Development] wp_815:
im stuck on #53. after inputting those commands, i get the error: no such file or directory, even though 'flash_image' is on the root of my sdcard.

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

# cat /sdcard/flash_image > /data/flash_image

cat /sdcard/flash_image > /data/flash_image

/sdcard/flash_image: No such file or directory

#

why is this? and what do i do? do i ignore it?
[EVO 4G Android Development] wings9130:
wp did you do each command individually line by line or all at once? You need to do it line by line and press enter between lines i believe but doc will know best.
[EVO 4G Android Development] Android 17:
I had deleted all PC36IMG.zip files I had downloaded, and to be safe, I re-downloaded the file again, this time using firefox to circumvent any Chrome cache issues, I also moved all other zip files I could find on my sd card to my computer and deleted them on my sd card, save for the PC36IMG.zip file. This included an update.zip file.

I also tried to do step 53 while connected through HTC Sync, but it has been giving me issues.
[EVO 4G Android Development] wp_815:
i did each line one by one, and i get that error.
[EVO 4G Android Development] docsparks:
Just for the FYI - I dont have HTC Sync installed whatsoever. I just have the ADB drivers installed for the phone [W7-32bit]

I dont know why going from charge mode to htc sync mode made any difference in the way the 2nd line from step #53 reacted, but it did.

"cat /sdcard/flash_image > /data/flash_image"

again, not a clue, but it atleast didn't return any error to me at that point.

another thing, on step 30, it says you can install ANY custom rom of your choice, and that you dont have to install the Rooted supersonic it lists,

I found that to be not true, as I said on page 28,

"during the process where it gave us the SuperSonic rom, and said we could flash ANY rom we wanted then, I tried to flash fresh.03 when i tried that, it basically didnt do anything, and gave me no indication whether or not it did anything. this was because nand needs to be unlocked first, which isnt until the end of this process. So, stick with the rooted supersonic rom, for the beginning process."

----

Also, I tried that line "cat /sdcard/flash_image > /data/flash_image" atleast 10 times, all with error.

Even though someone said to do it in clockworkmod recovery, I could not get it to work, I tried it in Windows soley in charge mode, and it did not work

Only when I clicked on my phone, to connect via HTC SYNC, and when the phone was searching for HTC Sync software on my computer [ a box was open on my phone saying that ] is when i then tried again, to open a new command prompt, and adb shell, and tried that line over, and somehow it magically worked.

I without a doubt, have no idea what is right and wrong here, nor know for sure what im doing.

But, I am just helping off of troubleshooting logic, and the fact that it worked for me, after several attempts, trying different things.

--

wp815- awesome. happy to hear that
[EVO 4G Android Development] wp_815:
I just tried this, and the error didnt appear again. so i was able to get passed the 2nd line and the rest of the commands sucessfully without error. i rebooted and am sucessfully flashing my image now. thanks. =]
[EVO 4G Android Development] docsparks:
androind 17 and effluent - were still stuck right?

can you guys update me on what point or part your stuck at?

again- sorry
[EVO 4G Android Development] wp_815:
while flashing the image, everything went fine, showing "OK" as a response next to each option, except for TP. TP ended up with a "Bypass". Is that ok? if not, what do I have to do?
[EVO 4G Android Development] docsparks:
as far as bypass, I think your Ok, mine did that too.
[EVO 4G Android Development] wings9130:
ok so i found the other recovery menu in the adb recovery from the command prompt. I'm restoring it back. I don't understand why there are 2 nandroid recovery places.
[EVO 4G Android Development] Android 17:
I think I may have got it to work, what's an easy way to tell if you're fully rooted?
[EVO 4G Android Development] wp_815:
good to know im not the only one. everything seems great, now. ive sucessfully completed the entire guide. i guess now, all thats left to do is flash a custom rom, lol. thanks a lot TheBiles for everythings, and everyone else for helping.

-i would just like to confirm, that i now have a permanent custom recovery, correct? and i can now also flash whatever rom i wish?
[EVO 4G Android Development] docsparks:
Also-

During the process, when we reboot into recovery mode by holding power+volume down, and then going down to Recovery, [before finishing this] and then it would give you the exlamation ( ! ) screen, then we would have to hold Volume UP+ then power, and THEN it would give you the black/blue screen, and then we would apply update.zip from SD Card, which would then take us to the Clockwork recovery mod [black green screen] and lots of options there, and where were told to originally make a Nandroid backup.

and in the end, we flash a final recovery.img [amon-ra modified by toast] and it gives us a similar recovery menu, but with less options.

-

now that its all said and done, when I goto recovery via VolumeDown+Power, and then scroll to Recovery, it now brings up the final recovery version we flash to our phone [again, the modified amon-ra by toast]

Im curious, as to anyone with knowledge reading this, is there any way to get back to the Clockwork Mod recovery? Is there any reason, or need to?
[EVO 4G Android Development] docsparks:
I think so, atleast this is where, and when i updated my radio, wiped data&cache, and then flashed Fresh .03.

-again, I started with the rooted+supersonic rom that we were orignally told to flash in step 30 [even though I did make a nandroid backup, I never did restore it]

From this point on, everything has been awesome.