yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] ermacwins:
Thanks, seems to be working

wanted to flash kimgxklick FroyoDesire2Nexus-ALPHA3 but it says unlocked bootloader required o_O

so does that mean it will brick if i try?
[Nexus One Android Development] fineiwill89:
so i have a noob question. i changed the recovery to clockworkmod and was wondering, if i flash CM6, is there a way to go back to using stock rooted frf91? would it just be restoring the nandroid backup or flashing the frf91 zip file?
[Nexus One Android Development] mlevin:
It says that as an error message when you try to install it? Or do you just mean that it says that in the instructions? It's possible that the author of the instructions simply didn't know that there is now another rooting method as the non-unlocking way (described in this thread) is rather new.

I could be wrong, but I thought that as long as you have a custom recovery partition, you should be able to install whatever you want, regardless of how you got that custom recovery partition installed (fastboot from an unlocked bootloader or flash_image from a rooted phone without an unlocked bootloader).

I'd say try it. If you have a custom recovery partition, you should be able to flash any update.zip you want. Just take a nandroid backup first. If for some reason it doesn't work, you can always boot back into recovery and restore the backup.
[Nexus One Android Development] uoY_redruM:
OK, I got it to recognize the adb device and show its connected in recovery during loop. I hit cntl+c, y. It stops. I put the SD card in. I hit volume+/power. I hit apply update.zip. I do the adb push flash_image/sdcard/flash_image but it does not push the image! It just recycles the adb menu.

Any suggestions?
[Nexus One Android Development] MishFdM:
How did you do the update ?
[Nexus One Android Development] uoY_redruM:
85B ota update worked. Non of the others would.
[Nexus One Android Development] yiannit:
the loop is not finding my device, when the phone is in normal mode and i type adb devices it works, but when i try loop then go into recovery nothing, i hear the sound on my pc that it connects but i dont get the message from adb that its attached
[Nexus One Android Development] MishFdM:
Sorry, could you explain ?

If I'm on FRF91 I follow the link in first post and get EPE76, that's ok. But then ? How can I update from EPE76 to FRF85B (the only one you said works) to complete the procedure ?
[Nexus One Android Development] uoY_redruM:
I'm on a different PC right now so I'm unable to attach the file, but its the universal 85B ota update. I looked around for a while on google and was able to find it.

By using that file and doing the update process, it worked.
[Nexus One Android Development] MishFdM:
Is the third one here ? http://xdaforums.com/showpost.php?p=7032214&postcount=29
[Nexus One Android Development] uoY_redruM:
Just switched PCs.

Here is the file (link below). This was the only one I was able to get to get me back to 85B after downgrading..

http://www.megaupload.com/?d=MVHDIFZ2
[Nexus One Android Development] MishFdM:
Thank you ! I'm going to try right now..
[Nexus One Android Development] yiannit:
nm i think i got it
[Nexus One Android Development] MishFdM:
You are simply great.. thank you very much, I was starting to be a little worry about this downgrade. It worked, updated to FRF85B.

I was on CM6RC1, downgraded to try this alternative procedure to help many people stuck on FRF91 in Italy and I almost gone stuck on EPE76 for it.. Thanks again !
[Nexus One Android Development] justplay:
Can I update via OTA after doing this? Will I lose the admin previliges after doing an OTA?

UPDATE: did an OTA update after root and the admin previleges were gone...
[Nexus One Android Development] godjunior:
Can somebody please help me. Stuck for a whole week already.

i am still unable to go beyond step 14 the switching step. I keep getting -

--Install from sdcard...

Finding update package...

Opening update package...

Verifying update package...

#:signature verification failed

Installation aborted.

I am so frustrated.

Can you please help me!!

Thanks.

Edit: i got it! when they say " as soon as you see the yellow line" , they meant the installation bar. For all this time , i kept thinking the yellow line was the one when they say " -- Install from sdcard--", so i always pressed to early.

Edit: After step 14) i got

unrEVOked for Incredible

http://unrevoked.com/incredible

setting up a proper adb shell...

su in adb shell if you want to flash image

or reboot for stock permaroot

Install from sdcard complete.

Is this even correct?

cause after i rebooted, and typed adb shell in terminal

i got " error: device not found"
[Nexus One Android Development] uoY_redruM:
Hey, no problem at all man. Glad I could help :)
[Nexus One Android Development] 3RR0R404:
Any1 have tried to root the new Korean ROM FRF91 with this mothod ?
[Nexus One Android Development] Constrabus:
Yes that's all correct.

But you are getting error: device not found because you haven't set up adb properly on your with your phone fully booted.

You need to enable the "USB debugging" setting and then install the USB drivers from the sdk. aka, working adb, one of the prerequisites.

PS: Actually it said "yellow progress bar." I thought that was clear enough. But I just changed it to "yellow installation progress bar." Thanks
[Nexus One Android Development] Constrabus:
UPDATED

Simplified prerequisites.

Now one, single process for both TMO and ATT, thanks to Google's universal FRF85B.
[Nexus One Android Development] MishFdM:
Well done, I wanted to hint you this update after my experience

with FRF91 ;)

Thanks again for whole tutorial, till now I used it two times on the same phone (from FRF83 and from FRF85B), and

every time was a success. Just perfect.
[Nexus One Android Development] Bjur:
Can someone please be kind to show me how the battery should look like after the razor blade trick?

On my battery I see the tab sticking up off the battery, but should I just align it so it doesn't stick up anymore, because my SD card is left to the tap?

Thanks for the help.
[Nexus One Android Development] Daneshm90:
K guys im just putting the finishing touches on a batch script that'll guide u through this whole process and do most of the commands for u. If theres any user who hasnt rooted their nexus and is on a windows machine, plz hit me up. Thnx
[Nexus One Android Development] MishFdM:
Great work :)
[Nexus One Android Development] Daneshm90:
K so im done with the script, i dont want to post until i have atleast 1 successfull root with it. If theres any user whos facing issues when rooting

their locked nexus, plz hit me up. k thnx
[Nexus One Android Development] Bjur:
Got the battery fixed, but how can I tell that my phone is rooted in FRF85B?
[Nexus One Android Development] Daneshm90:
If u boot into ur rom, and go into a console and type su, u shud get

super user on ur phone asking u to allow/deny

If u dont get that message / get "access denied" when u typed su u dont have root

If ur on windows, just go to cmd and type "adb shell su", once again u should see a popup on ur phone.

Btw if u dont, if u dont have root access, then ur a perfect candidate to try my script :D
[Nexus One Android Development] Bjur:
It does accept it;) so I'm afraid I won't be able to help you. Thx. for the help:)

A couple of questions more, since I'm quite new to rooting.

1. Won't I keep getting OTA to FRF91 (and loose rooting), since I'm only on FRF85?

2. If I want CM 6 RC to my phone, is it correct assumed that I should first use RA-Nexus and then Nandroid to backup the system before using CM?

Thanks for the help.

2.
[Nexus One Android Development] Daneshm90:
1 - I dont think rooted phones get OTA, u can always flash a stock rom and get OTA, but ur in good hands in terms of being ahead of the curb with a community like ours ;)

2 - Yea, u gotta flash a custom recovery -> then nandroid -> then cm+gapps

Nandroid is ofcourse optional cuz im sure u can find stock roms on the forums.
[Nexus One Android Development] Daneshm90:
Ugh i dont think i'll get any testers lol, so imma just post it here, feel free to try it and give me back feedback.

- Download exe

- Run exe

(it'll extract the needed files in the folder of the exe, and from there the script will take over)
[Nexus One Android Development] godjunior:
Sorry for noob questions again. But how do i flash the CM6 radio after we finish the whole rooting process, and flashed the rom and stuff? When i selected the Flash zip files. the radio file won't show since its an .img file.

Thanks in advance!
[Nexus One Android Development] godjunior:
Thanks for the response and all your effort! It was truly great help. I was finally able to finish the process. Running CM6 now :D
[Nexus One Android Development] Rusty!:
flash_image radio /sdcard/radio.img
[Nexus One Android Development] Daneshm90:
Em with this root process isnt the bootloader locked ? hence u cant fastboot anything ? :confused:

Oh nvm, is the radio.img an ota one ? Then i guess it would work. Ignore ;)
[Nexus One Android Development] Bjur:
Thx Daneshm90. But actually when I go to system updates I get an available update, does that mean I haven't rooted correctly?

I can get su in adb.
[Nexus One Android Development] Rusty!:
Don't need fastboot, refer to flashing the recovery in the OP, do the same, only with the radio.img file.
[Nexus One Android Development] Daneshm90:
Oops, i though u had typed fastboot flash ....
[Nexus One Android Development] uoY_redruM:
I can tell you now, this DOES work. This is the process he took to remotely do my root for me. I have the "original" rough script sitting on my desktop now.

If anybody needs their phone rooted, I would try this out. It should work as it worked for me.
[Nexus One Android Development] Bjur:
Can anyone tell me if I have done something wrong, since I keep getting update notification on FRF85B?

I can get adb su.
[Nexus One Android Development] MishFdM:
Sounds good.. Maybe I'll root my Nexus for the third time, just for take a look to this new automatic way :D
[Nexus One Android Development] sogo87:
Daneshm90 , What do I need to run this script?

I need working adb\usb drivers. what else?

do I need all the files from the first page?

do I need to downgrade from FRF91 to FRF85B before I run the script?

and the most important question: Do I risk anything be trying this script?

thank you
[Nexus One Android Development] Daneshm90:
You need to meet the rom prerequisites from the first page.

Yea u need to be on frf85b i believe. No u dont risk anything aside from ur time ;)

The files are included inside the exe so no need.

U need adb yes, the script checks for it and will report if u dont have it.
[Nexus One Android Development] uoY_redruM:
Basically, the script "pushes" the files automatically to the sdcard directory instead of you doing it manually. Then, it stops at the last step and waits for you. You click "update.zip" on your phone and as SOON as you see the yellow progress bar you click enter on the script and it pushes the final file over to the sdcard and BAM! Your rooted.

You should get a message on your phone that says a bunch of stuff including "evoIncredible blah blah blah blah blah lots of test here reboot to achieve permaroot" and your set.
[Nexus One Android Development] bearpupuk:
version of this for vodafone EPF30?

Does anyone know if there's a version of this that will work with the European vodafone EPF30 build?

I bought a nexus one from vodafone having been told it was a 'straight' google phone (i.e. no vodafone branded crap interfering with it), only to discover they are messing about with the firmware and delaying (and interfering with) the 2.2 update. I am NOT a happy customer! :mad:

I'd like to put a stock google firmware on so I just get the straight google updates when google release them, but I'd rather not void my warranty by unlocking the bootloader unless I absolutely have to.

Thanks in advance
[Nexus One Android Development] uoY_redruM:
You SHOULD (I don't know anything about international phones, but in theory I'd assume) be able to do the "downgrading" process listed in the OP and then do manual updates to the US FRF91....or just unlock this bad boy without unlocking the bootloader (which DOES NOT void your warranty)...
[Nexus One Android Development] MishFdM:
Here in Italy many people have the same problem with EPF30, the european build. I tried to update two different Nexus EPF30 with universal-ota-FRF85B but doesn't work. Maybe doing the downgrade to EPE76 and than update to FRF85B like in OP is possible to make it works.
[Nexus One Android Development] Daneshm90:
K heres a improved version of the script i posted earlier. It copies the commands to ur clipboard for u, all u gotta do is right click and paste when the time comes to do so.
[Nexus One Android Development] uoY_redruM:
Its much smaller....does it still have the necessary files to push?
[Nexus One Android Development] Daneshm90:
Ooops, good eye, lol fixing it.

Edit: K fixed it
[Nexus One Android Development] uoY_redruM:
;) just looking out.

Guys, if anybody can be his "tester" (I quote that cause I actually flashed this method) that'd be great. Want to make sure everything is A-OK.
[Nexus One Android Development] nik77356:
Does this still do the same process without unlocking the bootloader? Not really wanting to void my warranty just yet on my 5 day old phone.
[Nexus One Android Development] KvChaos:
I second this notion of having a screenshot or something.

Probably due to my weak english I have no full-idea what this means.
[Nexus One Android Development] Bjur:
To be completely sure, before I start risking my phone, if I want to update radio I should use this procedure:

16) Download the following to the root of your SDcard

- Imagefile...

- Note: UnMount your SDcard after copying these files, but keep your phone plugged in

17) In your terminal type "adb shell" and hit Enter

18) In your terminal type "su" and hit Enter

- Tip: At this point, it will hang until you choose "Allow" on your phone with the SuperUser app pop-up

- Tip: $ should now be replaced with #

19) In your terminal, type "mount -o rw,remount /dev/block/mtdblock4 /system" and hit Enter

20) In your terminal, type "cat /sdcard/flash_image > /system/bin/flash_image" and hit Enter

21) In your terminal, type "chmod 775 /system/bin/flash_image" and hit Enter

22) In your terminal, type "flash_image recovery /sdcard/"THE NAME OF THE IMAGE FILE" and hit Enter

23) In your terminal, type "rm /system/etc/install-recovery.sh" and hit Enter

24) In your terminal, type "rm /system/recovery-from-boot.p" and hit Enter

Is this the correct way to do it?

My current radio version is:

32.36.00.28U_4.06.00.12_7

But Kang-O-Rama newest is:

32.36.00.28U_4.06.00.02_2

And CM6 is:

4.0.6.00.12_7

Does that mean, that if I want to use Kang-O-Rama CM6 alpha, I don't have to update image since mine ends with 12_7 instead of 02_2, but if I want to use CM6 I should upgrade radio image?
[Nexus One Android Development] Daneshm90:
This script eases the process of rooting without unlocking bootloader. It guides u through it.
[Nexus One Android Development] Bjur:
Can someone please tell me if the above is correct, or can I just:

adb shell su

and then

flash_image radio /sdcard/name of radio.zip
[Nexus One Android Development] Daneshm90:
If uve already cat and chmod flash_image then yes.
[Nexus One Android Development] Bjur:
Thanks for the answer. I'm sorry for the newbie questions. I have a couple more.

1. I have already chmod 775 /system/bin/flash_image once earlier when I used step 16-23 in this guide so, should I repeate these steps again, when flashing with new radio and change step 22 to flash_image radio /sdcard/radioname.img?

EDIT: Q2 removed.

I really appreciate the help, and don't want to begin the flashing before I am 100 % sure of the procedure.
[Nexus One Android Development] Daneshm90:
U can chmod a 100 times if ud like, nothing will change. Yea so chmod it and then do the command u posted.
[Nexus One Android Development] venki5star:
Help me please....

I am stuck!!!.

I was in FRF91 and downgraded to EPE76 using "[TIPS]Stuck On FRF91? Want To Downgrade To Get Root?"

But when I try to root using the about steps, I am stuck @ step 3. The "loop" executes and loops. But it is not listing the HTC devices.

I am using Window Vista Professtional Edition. "loop" works when the phone loads fully but not on recovery. If I proceed without the listing, I am getting the recovery screen with,

E:Can't open /cache/recovery/command

Or please help to upgrade to FROYO. I am stuck in the middle of ocean. FYI, this is the first time I am trying to root.

Thanks in advance.
[Nexus One Android Development] Daneshm90:
According to the OP u have to be on FRF85B. Switch to that and then try.
[Nexus One Android Development] venki5star:
Thanks for the reply. Where would I get FRF85B. Is that OK that I update FRF85B over EPE76?
[Nexus One Android Development] Daneshm90:
Yup according to the OP thats what ur suppose to do. Also are u on a windows machine ? If so could u use my script to root ur nexus ?
[Nexus One Android Development] venki5star:
Each update has from to Versions. How do I update from EPE76. I am confused.

And where is your script? I am using Windows Vista
[Nexus One Android Development] Daneshm90:
(Stuck on FRF91? Use THIS to downgrade to EPE76. Then update back up to FRF85B.)

Ur already on epe76 so ignore the first step, flash the 2nd link to go to frf85b.

My script is here,
[Nexus One Android Development] uoY_redruM:
Here is his script: DOWNLOAD SCRIPT

Here is how to upgrade to FRF85B:

- Download the FRF85B DOWNLOAD FILE

- Transfer it to the MAIN directory of your SD card (might want to remove passimg.zip)

- Rename the file update.zip (make sure its update.zip and not update.zip.zip)

- Power down phone

- Hold volume-(volume down) and click power. Continue holding volume down until you hit the white screen.

- Click "recovery" (you should be on a white screen with a large ! and an android on a skateboard)

- Hold power button and click volume+(volume up)

- Click apply:update.zip

- It'll install and you are now on FRF85B!
[Nexus One Android Development] venki5star:
Thanks you Danesh. Got rooted and installed CM-6 RC1.

Thank you very much for your script tool. Its did the trick.
[Nexus One Android Development] Daneshm90:
Awesome.

K can u give me bit more feedback. As in how i can make it an easier process. Also did the copy-paste commands (automatically) work ? did u get any permission denied and had to manually enter commands ? Just wondering. So i can finalize this script.
[Nexus One Android Development] CentralMoNexusOne:
If i just want to use MetaMorp and apply this phone mod do I stop at step 15?

Thanks

Dave
[Nexus One Android Development] allen099:
I was able to follow this procedure a few weeks ago and rooted my phone successfully w/o unlocking the bootloader. Now I received a replacement phone (the 1st one had dust under the screen) and it came with ERE27. I successfully updated to FRF85 as per the OP's instructions. However when running the loop script in Windows while in recovery mode on the new phone, it's not picking up the device. Anyone have any ideas? Would HTC start doing something differently now? I notice the little detection sound in Windows chimes in about 5 seconds after it hits recovery mode where as before I think it was instant. Interesting.
[Nexus One Android Development] uoY_redruM:
You still have the current adb and SDK, correct?

Also, try opening cmd, run it from the tools folder of the sdk and type 'adb devices'. Does it detect it?
[Nexus One Android Development] MishFdM:
Rooted (again) my Nexus One with Daneshm90' s script. It works !
[Nexus One Android Development] arkavat:
I have read through most of the thread and I have a slight confusion. I might have missed some posts.

So here is what I have understood till now...

I install SDK

I install USB drivers

I go from FRF 91 to EPE76 to ERF85B

Connect phone...set to USB debug mode

Now at what point do i run the script? do i still have to do the insert card etc steps from first post? at what step (from first post) do i run the script.

It would be great if you can compile a to-do for script..from start to end. Although you have answered many of the questions..the information is too scattered in the thread.
[Nexus One Android Development] allen099:
Yep, I haven't changed anything as far as adb goes. I ran the SDK to update to newest revision..but adb still works properly. It just doesn't detect the serial number from the loop script or adb devices in cmd. It also doesn't detect it in Terminal on my mac by using ./adb devices.
[Nexus One Android Development] MishFdM:
-Connect your phone (FRFB85B) to pc

-Than you run the script

The script will tell you what you'll have to do, step by step
[Nexus One Android Development] uoY_redruM:
Correct.

Note, the phone should he off at that point.
[Nexus One Android Development] CentralMoNexusOne:
Can anyone tell me if this is correct?
[Nexus One Android Development] nik77356:
When I try to flash the custom recovery image, I type in "adb shell" in my terminal on the phone and what is returned is "Permission denied". What to do?
[Nexus One Android Development] arkavat:
script worked great!

I am now on rooted FRF91. The instructions by OP, the script by Danesh and ROM Manager made the procedure quite easy. Thank you!
[Nexus One Android Development] Daneshm90:
U have to do adb shell su first and accept the popup on ur phone.

Awesome. Any suggestions as to improving it would be appreciated, i wanna finalize it. Did u happen to get permission errors ? Did the auto copy/paste work for u or did u have to manually type commands ?
[Nexus One Android Development] nik77356:
Now I'm getting adb not found. What might I be doing wrong?
[Nexus One Android Development] Daneshm90:
K u do realize u gotta b booted into the rom to do this right ? the stock recovery doesnt have the adequate binaries to flash images.
[Nexus One Android Development] nik77356:
No, I didn't. This is my first crack at rooting an android OS. I thought I had to flash the custom recovery to put a new ROM on it? I could do just about anything on an iPhone though. Haha. Thanks for your help.
[Nexus One Android Development] Daneshm90:
Yes you are correct. So go into stock rom, flash recovery. Go into recovery and flash ur rom. All done.
[Nexus One Android Development] nik77356:
Thats the problem, I'm not able to even flash the custom recovery. I've put the .img file in OP's post at the root of my SD card and typed in su in terminal and hit allow. Now once I type "adb shell" I get "not found".
[Nexus One Android Development] Daneshm90:
I think i get what you're messing up. Do these commands in order in a new cmd window

adb shell

su

flash_image recovery /sdcard/recovery. img
[Nexus One Android Development] arkavat:
I did get the permission error and the copy paste procedure/script worked great. I do have some really minor suggestions...just to avoid confusion.

1) instructions for the user to put phone in debug mode. At start and after rebooting.

2) option to exit recovery installation. I thought the script came with the image file so I said "yes" to install recovery image... when it asked me to drag the file, I decided to cancel the installation..but there was no option for that.

Thanks!

BTW everyone else...

After you have root, just install ROM Manager from market and install recovery from it. Also, you can install ROMS directly from it. It also has stock FRF91 rooted ROM.. no need to do anything special.
[Nexus One Android Development] nik77356:
Now I am getting "Permission Denied" on adb shell and when I try to flash the image
[Nexus One Android Development] Daneshm90:
So when u do

adb shell su

Ur not getting the popup on ur phone saying allow/deny ?

If so then u dont have root.