yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] Constrabus:
Yes thank you! I'm glad it worked for you.

Yess fixed that last night.

You need the proper zip files to flash while in Recovery mode.

Flash the ERE27 to FRF50 zip

http://files.androidspin.com/downlo...=signed-passion-FRF50-from-ERE27.1e519a24.zip

THEN

Flash the FRF50 to FRF83 zip

http://android.clients.google.com/packages/passion/signed-passion-FRF83-from-FRF50.38d66b26.zip

I'm so glad it worked for you! I was so relieved when I finally rooted without unlocking. I LOVVEEE CM 5.0.8. ADWlauncher is amazing.
[Nexus One Android Development] blas4me:
All you have to do is get the non-rooted version FRF50 & FRF73, from there you can use the root without unlocking bootloader method. Use the method where you have to cut a piece of the battery tab. Just a little hint, when flashing recovery don't put a period after the v, it's (nexus-v1.7.0.1), in the instructions there's just a little type-o. But other than that it's 100% the real deal. I recommend after you finish the entire proccess flash MoDaCo's lastet, based of the ota update. The new update has some features that you will enjoy. Google knows what the people want, they offer AP2SD, wifi and wired tethering, they added some features to the camera, and of course flash, check it out.
[Nexus One Android Development] kaiser_tytnii:
I wish someone couldfind the ota for ere21 or epe54b for us
[Nexus One Android Development] pseudoheld:
or for us europeans stuck with epf30 :(
[Nexus One Android Development] cmstlist:
Okay, let's say I'd like to root my N1 without wiping or flashing a different ROM.

It would appear that by Step #18, the phone has booted up and has been rooted (since the Superuser app is popping up). Has any data been wiped by this point in time? Can I just stop here? Will apps requiring root work at this stage? E.g. Root Explorer, Titanium Backup.
[Nexus One Android Development] madj42:
I would think if you are going to keep it stock you should be able to stop at that step. All apps requiring root should work. Although I'm not sure if flash_image is required for something. You may want to complete the process up to #21 if it's required for something.
[Nexus One Android Development] cmstlist:
Good to know. It would probably be good practice at that stage, anyway, to take a full Titanium backup. That way if you plan on flashing to another ROM you can restore what you want.

Next question: Let's say I go as far as flashing the RA recovery but not a new ROM.

1) Does this allow me to take a nandroid backup of my configuration up to this point?

2) Does this displace anything else of interest on my phone?

3) Is there a way to get back to stock recovery under this scenario?

4) Is there any chance that any component backed up from a phone in this state (stock, rooted, bootloader not unlocked) could be used to relock the bootloader of an unlocked N1?
[Nexus One Android Development] :
1) Yes

2) No

3) Yes

4) No

Stock can be returned by flashing PASSIMG.zip

Cannot relock. By flashing recovery, you get to the same point as what people who unlocked the bootloader are at.

you must complete through #24 if you want to maintain root with updates
[Nexus One Android Development] cmstlist:
I used a paring knife and a nail file to make the battery tab mod. Followed the procedure, worked for me! But I stopped after step 15, so let's see what works on "stock permaroot".

The ninja Superuser app shows up on boot. Yay. Let's try Root Explorer (previously purchased for Milestone so I can dl free from the Market again). Looks like this app is happy - can mount partitions R/W and so forth.

Titanium acquires superuser permissions, but then asks for busybox. I click "Problems?" to get a BusyBox install. And now... wahoo! Titanium is happy too.

I'm particularly happy that this root method did not require a wipe like when unlocking the bootloader. And since the battery mod is on a piece of hardware HTC never asks for when doing warranty, they'll never know I cut the tab =)

Regarding root with updates... my understanding is that the phone won't get OTA updates anyway with a replaced bootloader, no? I guess I'll just wait and see what happens for other users next time an OTA rolls out. If this root method continues to work then I am happy to stay on rooted stock.
[Nexus One Android Development] cmstlist:
Exact same point? Perhaps with one difference though - if you follow this thread's instructions rather than the unlocked bootloader, then your boot animation will not show the "unlocked" symbol on it.

So my question was whether anything can be transferred from a phone rooted in this manner (i.e. mine) to a phone with an unlocked bootloader, that would reset the latter phone's bootloader (or at least its boot animation) to the locked version.
[Nexus One Android Development] madj42:
From my understanding of all the posts throughout the board here there is no way to relock a bootloader at this time once it's unlocked.
[Nexus One Android Development] cmstlist:
Gotcha, well, glad I waited!
[Nexus One Android Development] :
that bootscreen is not the only way HTC knows you have an unlocked bootloader. Unlocked info is noted in the SPL. I do not believe nandroid touches that particular bootscreen nor does it back up the SPL.

1) You dont have a replaced bootloader.

2) If you stopped at 15, you have touched neither recovery nor bootloader

3) You WILL get OTA's. OTA's are disabled by the modders in their own ROM's

4) Since you don't have a custom recovery, if you flash an OTA, you will lose root.

If you want a stock rooted ROM capable of being updated to rooted updates, stop at step 24. This is what I did
[Nexus One Android Development] Constrabus:
Just to clarify...

The difference is that, with this method, you can revert to a completely stock phone.

If you unlock your bootloader, you cannot.
[Nexus One Android Development] clubs07:
for anyone who doesn't want to temper with the battery i advise getting a spare battery of ebay. sells around $11 including shipping for a new 1400mAh spec nexus battery. i got one and it works as good as if not better then the stock battery. doesn't have a tap on it so no shaving necessary. and you get to have a spare battery :)
[Nexus One Android Development] :
yes thats right. i meant it only in terms of backing up a locked loader. The unlocked loaders cannot back up their unlocked loaders. likewise we will not be able to backup our locked loaders. Those with holiday phones would probably be more help however their spl size is larger
[Nexus One Android Development] cmstlist:
Oops I typed that before eating my breakfast. :) I meant that following 15-24 would replace the recovery.

Of course I always have the option of not installing an OTA. So perhaps the next time an OTA comes out I'd just wait to confirm whether it can be unlocked the same way.

It would be nice to have a separate tutorial posted in a sticky for restoring recovery and unrooting an N1 that has been modded this way.
[Nexus One Android Development] thisisred:
WIll this Lock Bootloader =(
[Nexus One Android Development] crxtasi:
Just want to say my thanks OP! I knew having patients has its virtue :D been waiting since January for this and almost unlocked my bootloader a couple of times but the unlock icon would just annoy me on boot up!
[Nexus One Android Development] :
Well if your sending in your phone for a hardware defect, the best way would be to make a nandroid and then just flash PASSIMG.zip

once you get your phone back you can reroot and flash back your nandroid

I believe the PASSIMG.zip method will always be available therefore the phones should be rootable unless there is a change to the SPL (or perhaps radio) that disallows the specific PASSIMG.zip

as far as OTA's go, paulobrien has been posting 100% stock with root updates here. I just updated to stock rooted FRF83 without wipe coming from FRF72.
[Nexus One Android Development] torchedlh:
Completed! Thanks so much to OP, booker-t, fishfan319, m9x3mos and everyone else for their help!
[Nexus One Android Development] nachod0g:
Any news on when this procedure will work on the AT&T version of Nexus One?
[Nexus One Android Development] :
probably when we get an OTA of ATT
[Nexus One Android Development] torchedlh:
Need help getting Titanium Backup up and running. It says it does not have proper root privelages even tho i gave it superuser permissions.

EDIT: I had it download/update busybox and it's good to go!
[Nexus One Android Development] ChronoReverse:
Worked out for me (up to step 15). Time to try out some root only apps.
[Nexus One Android Development] cmstlist:
Which PASSIMG.zip to use? Is there a particular source? Is it specific to each build?
[Nexus One Android Development] hmanxx:
No one try building a harness to conenct the battery outside of the phone to avoid trimming the battery ?

The battery contact pitch is not so dense..easy to make contact with spring loaded 4 pins connenctors
[Nexus One Android Development] crxtasi:
why even chance to burn out your batt or your phone? cutting a little piece of plastic is good enough :D I would rather change a $25 battery than a $500 phone.
[Nexus One Android Development] GyTe:
Without build some "strange" adapter, I've inserted my microSD inside the slot, tilting and pushing the battery on the contact ;)
[Nexus One Android Development] Rusty!:
Tell you what this is useful for... getting a NAND backup before you unlock so you don't have the hassle of wiping :cool:
[Nexus One Android Development] MishFdM:
If I stop the procedure in step 15 I will have root permission anyway and stock rom and recovery, is

it correct ? Any problems ?
[Nexus One Android Development] reaper1412:
Same here

Got the N1 with EPF30 build
[Nexus One Android Development] riderk:
Rooted, thanks you very much...

Now I found a problem

before rooted : 2.2 FRF83

after rooted : 2.2 FRF50

did anybody have the same problem / is it correct to have FRF50 after rooting?

NO OTA update can get from the system update!!

NEED MANUAL to have a update From FRF50 To FRF83 ?
[Nexus One Android Development] Rusty!:
No, mine stayed on FRF83
[Nexus One Android Development] GyTe:
Same here... After update still FRF83
[Nexus One Android Development] stickerbob:
This worked perfectly, thank you so much! Patience has definitely paid off!
[Nexus One Android Development] riderk:
it seems that i wasn't lucky enough or i done somethings wrong while rooting...

NOW is it possible for me to use the official(non-root) FRF50>FRF83 patch to do the update
[Nexus One Android Development] sosquidtaste:
New to these parts...

Big thanks to Constrabus for this guide!

I finally created my account so I could download the zip in the first post. Looking forward to rooting my Froyo'd N1.

XDA seems like a swell place. Keep it up, everyone :]
[Nexus One Android Development] cmstlist:
I think that will work but it will also unroot you. You could then try once again to root it ;)
[Nexus One Android Development] :
Read this:

Update to FRF83 by flashing Pauls stock FRF83 rooted found in this forum posted june 24th

more info can be found here: http://xdaforums.com/showthread.php?t=688562&page=4

Do not know if it will work for all build/regions but im pretty sure it works for Tmobile US

you can also restore by flashing the stock recovery by the flash_image command and then wiping/flashing an OTA
[Nexus One Android Development] MishFdM:
Sorry flybyme, I think I lost that post. Thank you :)
[Nexus One Android Development] deprecate:
Pulled this off on a friend's phone yesterday. He wanted to keep frf83 so I stopped after replacing recovery and rooting the environment. Big thanks for taking the time to figure this out. Too late for many of us but to not have to jump through the hoops of not using fastboot to replace recovery? Worth seeing that annoying unlocked icon during boot :P
[Nexus One Android Development] :
NP. The main item that allows for the persistence of root is the recovery. You will only be able to use rooted apps if you dont do this. mods such as the 720p recording would not be possible as they cannot be flashed with the stock recovery.

going through to step 24 allows you to ensure that root will be maintained. RA recovery won't let you flash official OTA's so you dont lose root by accident. Paul also releases stock rooted updates here so its possible to stay stock and rooted. the only difference is that the OS updates must be made manually.
[Nexus One Android Development] J.L.C.:
Did you get this exploit to work on an ATT nexus?
[Nexus One Android Development] kaiser_tytnii:
why don't you give it a try if you have an unrooted one?
[Nexus One Android Development] MishFdM:
Very useful informations, thank you. As I thought, I have to go on till the step 24 if I want a "full rooted" phone. What if I want to change my rom in the future ? What kind of procedure I should follow ?
[Nexus One Android Development] :
the steps would be similar to those from 25 on. the steps should be included in the rom thread but its usually wipe>flash>reboot
[Nexus One Android Development] Constrabus:
Anyone on a stock FRF83B, can you test to see if this process works?

You can flash the following from FRF82 to get to FRF83B

h**p://android.clients.google.com/packages/passion/signed-passion-FRF85B-from-FRF83.f62ffd2b.zip

PS: OP updated with more links and notes.
[Nexus One Android Development] J.L.C.:
ADB doesn't see my phone in Recovery with or without SIM. It just locks up at the android with exclamation mark until I pull the battery.

ADB sees it fine when on and connected with debugging on.

This is with Ubuntu as OS

edit: I am curious to try it. I have one of the ebay N1 batteries and they don't have a tab on them so the SD card can be inserted with no problem.
[Nexus One Android Development] Rusty!:
No need to pull the battery, hold power and press volume up.
[Nexus One Android Development] elnoxvie:
Thanks this works perfectly.
[Nexus One Android Development] Kazidhea:
Hey Guys, I just apply the update for AT&T for a stock unrooted nexus one (FRF85B).

I can confirm that this process won't work the way it is described because I can't see my phone in ADB while it is in recovery....

Guess the only way to root this is still by unlocking the bootloader.
[Nexus One Android Development] J.L.C.:
I was just about to update my post to say the same thing.

Device not visible in ADB while in recovery, it shows up when booted to the OS in debugging mode in both Win 7 Enterprise 64 bit and Ubuntu 10.04 64-bit, but no dice while in recovery with or without sd card or loop/script.

Must be a Froyo thing :(

edit: Will try again after applying this Froyo update for ATT phones! http://xdaforums.com/showthread.php?t=712983
[Nexus One Android Development] riderk:
thanks flybyme

i will try it
[Nexus One Android Development] riderk:
one more question,

if i flash the update.zip which was signed / rooted just like Pauls stock FRF83 will it make the bootloader become unlock ?
[Nexus One Android Development] mlevin:
Dang. I just updated to 85B and was hoping to use this method. If anyone gets it to work, let us know!
[Nexus One Android Development] mlevin:
I just went to Radio Shack tonight to get some parts to try this. You guys think it is a bad idea? Didn't seem too risky to me.
[Nexus One Android Development] J.L.C.:
ATT phone with stock FRF85B is detected in recovery!!

But, I think the ota.zip will need to be modified. I tried to create one similar to the one contained in the OP link using the FRF54B to FRF85B manual update but it fails signature verification at step 14.

i am able to connect and push the files though :)
[Nexus One Android Development] ChronoReverse:
Hopefully a method will be found for 85 =(
[Nexus One Android Development] crxtasi:
How much parts did it cost you? Part numbers?
[Nexus One Android Development] ChronoReverse:
Okay, this method works for FRF85B. I have just tried it and it works all the way to step 15.

For those of you it didn't work for, did you enable USB debugging (and installed the driver). I am running Windows 7 x64
[Nexus One Android Development] cmstlist:
So just to clarify: The same files posted at the top of the thread to root FRF83 were also able to root your FRF85B?
[Nexus One Android Development] ChronoReverse:
Unless they were changed from the files that were there yesterday (when I first rooted FRF83 to step 15).

I went from FRF83 (rooted to step 15) to FRF85B. Root no longer worked at this point.

Then I followed the steps from 1-15 again and succeeded. Root was working again.
[Nexus One Android Development] J.L.C.:
X2

I just did it successfully with the files from the OP after applying the FRF85B from FRF54B manual update.

I'm now rooted! I didn't go as far as flashing the custom recovery (gonna wait for an official froyo or CM6).

I am running Ubuntu 10.04 64-bit, stock micro sd card, no loop file, ebay battery (no tab).
[Nexus One Android Development] Okawa:
Wow awesome!

I orginally unlocked my boot loader on my AT&T Nexus One but I just switched to T-Mobile and I traded a guy for his T-Mobile band N1 so I could get 3G again. But he didnt unlock the boot loader. Well now that I have a locked boot loader no more voided warranty! woot ^_^
[Nexus One Android Development] cmstlist:
Well, leave it to us at XDA to try the bleeding edge ;)

Already rec-rooted up to step 15 on FRF83. Ran the update.zip knowing I'd lose root. Interestingly, after the update Superuser and busybox are still exactly where they used to be, but root permissions don't work. I think su got deleted.

Back to recovery, yes I can still ADB in. Root procedure works again!

It rebooted, it be rooted :) Busybox permissions got meddled around with so Titanium insisted on reinstalling it.

Still no idea what's changed in this release.
[Nexus One Android Development] artcarney:
Worked For Me!

Wow! Rooted but still with the stock Froyo FRF83 rom on it!

If I can do this, anybody should be able to do it. I'm 57 and I own an iMac, Linux and Win7 computers. Just to play it safe I took it easy on myself and used the Win7 laptop.

It's too late tonight but tomorrow I'll figure out how to do a Titanium backup, then I'll back up my Froyo system and install Cyanogen's rom and play!
[Nexus One Android Development] godjunior:
I'm stuck at number 14

11) In your terminal, type "adb push update.zip /sdcard/update.zip" and DO NOT yet hit Enter

12)Ready your finger near the Enter key of your keyboard so that you can quickly hit it once you complete the next step

13) Choose "apply sdcard:update.zip"

14) As soon as you see the yellow progress bar, hit Enter on your keyboard

- Tip: If completed properly, you should see a message about rooting adb

I just couldn't see the msg about rooting adb!

what should i do :confused:

Thanks!
[Nexus One Android Development] cmstlist:
Question, I've been told the way to return to stock recovery from here requires PASSIMG and it wipes the phone...

Is there a way to restore the stock recovery using flash_image and a .img file, and would that be non-destructive?

Thanks!
[Nexus One Android Development] Rusty!:
Could you not extract the recovery.img from the PASSIMG file and flash that on it's own?
[Nexus One Android Development] OutlawPro:
Just did this procedure last night up to step 15. No problems here once I got the 64bit drivers installed on Win7. This was so easy to do that I can't imagine an easier way.
[Nexus One Android Development] mlevin:
I was just going to Frankenstein something together. I just got some hookup wire and some of those little things you crimp onto the end of a wire that kinda look like a capital Y where you can screw them down for a contact. I was just gonna get some little piece of plastic (cut apart an old credit card?) and use a hot pin to make holes (measured carefully, of course), put the wire through, blob some solder on and maybe bend those connector things 90 degrees to make a flat surface. I hadn't really figured it out yet.

It should be immediately apparent that I am not an artist, but this is vaguely what I had in mind.
[Nexus One Android Development] dyndragon:
worked perfect! wife didn't want to do a wipe to root her phone and now its rooted without a full wipe! thanks for the instructions
[Nexus One Android Development] Rusty!:
And if you want to unlock properly, you can now make a NAND backup so even though you have to wipe, you get it all back straight away.
[Nexus One Android Development] nogoodnik30:
Cannot find the android-sdk-windows\tools using terminal

I've got the SDK Downloaded and extracted. When I enter the Command prompt in STEP 2. C:\Users\My Name\Desktop\android-sdk-windows\tools I'm getting The System Cannot Find the File Path Specified.

Running Win XP Professional.

Is there somewhere specifically that the sdk needs to be extracted to? Am I missing something here? Please help.
[Nexus One Android Development] godjunior:
Where can i download this 64bit drivers? i'm also using win 7 64bits. Thanks!
[Nexus One Android Development] OutlawPro:
There is a link in the first post where he mentions "Working ADB". Just click the link and there are 64 bit drivers there.
[Nexus One Android Development] Talderon:
I am using Win7 64 bit and had the drivers installed by the SDK, I did not need anything else. Not sure what you are missing, but installing the SDK should put all the needed drivers on your system.

Check your install I would guess... :)
[Nexus One Android Development] Moodilic:
In the 'tools' folder, try this; hold down SHIFT and right click to bring up an alternate right-click menu and choose "open command window here".
[Nexus One Android Development] allen099:
Guys, this worked beautifully! Thanks for the super-clear instructions. After rooting the phone on FRF83 (and installing custom recovery), I went ahead and downloaded FRF85 with root files here (http://htcpedia.com/forum/showthread.php?p=67177#post67177) and it's a dream! Thanks for the hard work.
[Nexus One Android Development] Constrabus:
"- Example: Type "cd C:\Users\Matt\Desktop\android-sdk-windows\tools" and hit Enter" was just an example. Replace "C:\Users\Matt\Desktop\" with where you actually extracted the SDK or do what Moodilic said.
[Nexus One Android Development] scalp42:
What files are necessary for frf85b?

Amy chances to have a zip with all the files needed just like FRF72 and FRF83?

Thanks a lot for frf83, rooted with bootloader locked (transcend 8gb class 4)
[Nexus One Android Development] J.L.C.:
The file linked in the first post has everything you need :)

__________________________________

Sent from a sexie nexie
[Nexus One Android Development] fineiwill89:
so if i do not want a new image such as cyanogen mod and just want root access what do i do? and if i want to go back to stock unrooted is that possible/how?

also what is the difference between the img in step 16 and the root access from the previous steps?

btw you guys are amazing..love xda..thanks for all the help
[Nexus One Android Development] netzpirat:
wow, that works fine! it was the right way to wait an dont unlock the bootloader, thx! :D

can i update to frf85b with the google update.zip? or isnt it necessary after rooting?
[Nexus One Android Development] Constrabus:
First post updated to include instructions for ATT

and

the links to flash FRF85B for both T-Mo and ATT.
[Nexus One Android Development] jimbo831:
Thank you so much for finally figuring out a way to root without going through the traceable method. I feel so much more comfortable being able to root while keeping my warranty (yes, I know, SOME HTC reps will still honor it, but there are no guarantees.) It worked perfectly and easily on my Nexus running FRF85B. Thanks again for your hard work!
[Nexus One Android Development] deslock:
I ran the instructions and succeeded at getting root from frf83, I installed Amon RA recovery, all seemed fine.

Can I assume that now I'm rooted and have a custom recovery that I will no longer be able to install OTA signed zips?

BTW, useful new information:

I just tested and was successful at viewing and purchasing paid and secure apps so this looks pretty solid.
[Nexus One Android Development] kkiran:
Works great on my Mac!

Wonderful guide except for suggesting CM 5.0.8! If you got froyo, why go back to 5.0.8?