yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] kaiser_tytnii:
thanks! is there any specific reason why it has to be FRF83 or FRF72 if you know? for us AT&T Nexus User stuck on EPE54B, shouldn't we be able to do the same? or the ota.zip is different in that sense? Please give us some insight. thanks!
[Nexus One Android Development] MishFdM:
Sorry, where is The attached .zip "ROOT_FRF83.zip" ?
[Nexus One Android Development] vigan8:
where is the attached .zip "ROOT_FRF83.zip"
[Nexus One Android Development] Constrabus:
Oops!! Added link to the top!
[Nexus One Android Development] vigan8:
the link wont work :(
[Nexus One Android Development] Constrabus:
Link updated
[Nexus One Android Development] lostinatlanta:
Still getting either adb with no sd, or sd with no adb.

When I follow your exact process, apply "sdcard:update.zip" returns

"-- Install from sdcard...

Finding update package...

E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)

(No such file or directory)

E:Can't mount SDCARD:update.zip

Installation aborted."

and then "adb push flash_image /sdcard/flash_image" returns

"failed to copy 'ota.zip' to '/sdcard/flash_image':Permission denied".

These are the exact same returns I get when I tried the process without a card inserted, which is what leads me to believe the card is in but not mounted.

Is there a way to tell adb to (re)mount the SD card in recovery?
[Nexus One Android Development] lostinatlanta:
Or am I doing something wrong...

Can you walk me through just those particular steps? Like Cookbook-detailed instructions.
[Nexus One Android Development] Constrabus:
Make sure that you are inserting the sdcard BEFORE you press Power and Volume Up to reveal the recovery options and AFTER you get adb connected in recovery mode with loop.

Also make sure you can get adb working while in android to make sure the driver is installed properly.
[Nexus One Android Development] kaiser_tytnii:
weird thing is adb devices do not see my phone even without SD card...

guess froyo is a must to get this working?

i am on EPE54B, still...
[Nexus One Android Development] adambenjamin:
I now have an unlocked, newly unrooted FRF83. Will this tutorial still work for me?

t mobile usa 3g network, stock recovery image. I think I am unrooted because there was a warning in the tutorial and my adb shell denies super user permissions.
[Nexus One Android Development] Constrabus:
This guide is for people stuck on FRF83 because you can't revert to the older build where other guides worked.

If you are unlocked, this guide would be redundant for you. The purpose of this guide is to root without having to unlock, thus preserving your warranty.
[Nexus One Android Development] bcrook:
Shell script version of loop.bat:

I assume this will work...

while true; do adb devices; done
[Nexus One Android Development] adambenjamin:
I still would like to get my root back. Will that part of this tutorial work to get the root back?

EDIT: Got it rooted. wow that was easy.
[Nexus One Android Development] what25:
Based on you providing links for recovery-RA-nexus-v.1.7.0.1.img, update-CM-5.0.8-N1-signed.zip, google addon EPF30; will the steps involving these install Cyanogen on my phone?

I was hoping to do this process without wiping my phone's memory and keeping my stock FRF83.
[Nexus One Android Development] madj42:
If you don't want the Cyanogen ROM or RA recovery just skip step #22 and stop with step #24. I didn't follow this tutorial as I did Booker-T's method with some tweaks but if you do what I said you should be fine.
[Nexus One Android Development] DiviousD006:
You dont have to use that rom, you can flash any other rom as long as you have root. Paul obrien offeres a rooted FRF83 rom
[Nexus One Android Development] CMUKyle:
I was able to do this without taking out / putting the SD card in (and thus avoided filing down my battery. I didn't run "loop.bat" until I was highlighting the Recovery icon, the ran it, when into Recovery, and adb picked it up.
[Nexus One Android Development] vigan8:
Worked perfect!

Just, when flashing recovery, the better terminal emulator was giving me an error, i used Rom Manager to flash the recovery, and back to terminal to rm /system/etc/ blah blah ....GREAT Tutorial!
[Nexus One Android Development] allen099:
Whose sim card do you have in there now? Whoever you get 3G with, that's how you know which carrier's phone you've got. As far as I know, there isn't a way to tell via software (at least not with FRF85).
[Nexus One Android Development] imfloflo:
Can we by pass the step6 by charging our nexus (sector or usb) instead of using using battery ?
[Nexus One Android Development] adambenjamin:
Wow. Thank you for this. I just rooted in less than 5 minutes. The hardest part is deciding to cut the tab on the battery. It shaves pretty easily with a kitchen blade.
[Nexus One Android Development] deslock:
BTW, for people that may have done this on 72 or 83 and want to upgrade to 85b stock (rooted).

<------To update to 85b from any other version and NOT lose root:----->

Step 1

================

Download both of the files from this post:

http://xdaforums.com/showthread.php?t=713019

Step 2

===============

Name the 85b image update85b.zip (full image, it's about 72mb)

Name the root update updateRootTools.zip

Put them both on your SDCard

Step 3

===============

Boot into Amon RA recovery and flash the stock 85b.zip

Do NOT reboot after flashing the 85b

Some people have been rebooting after the stock is flashed and lose root and have to start over again.

Step 4

===============

Next Flash the optional root updateRootTools.zip from above.

Step 5

===============

Reboot after both are updated.

This will NOT wipe anything and it will maintain your root (and installed an SU permissions app and term console).

Anyway, since I had 83 and wanted 85 but didn't want to lose root, I thought these steps would be useful for other people.
[Nexus One Android Development] braingravyuk:
Is it possible to flash a stock recovery say from build ERD79? I've got a EU Nexus and I want to put froyo on it but want to avoid unlocking the bootloader.

Cheers :)
[Nexus One Android Development] fineiwill89:
all reps have to honor it

see attached image
[Nexus One Android Development] MishFdM:
Thanks to Constrabus and to every one who helped to create this procedure. It's amazing:)

Does it works also with EPF30 ?
[Nexus One Android Development] Amdathlonuk:
The good news is I get my exchange phone tomorrow as it has dust under the screen for the 3rd time.

Whilst I am over in California I asked if they would just exchange it instead of me sending it for repair again when I get back to the UK!

Yee-ha, I'll be able to root my replacement without unlocking the bootkoader. My current has the bootloader unlocked.
[Nexus One Android Development] kaiser_tytnii:
could not got it working on EPE54B, so chances are... it's froyo only unfortunately...
[Nexus One Android Development] kaiser_tytnii:
agree, restoring to original bootloader and ROM is a good idea too so that they won't have any excuses...
[Nexus One Android Development] what25:
Does anyone know how I can unroot by device rooted by this method?
[Nexus One Android Development] :
already been answered multiple times in this thread......

flash PASSIMG.zip or use the flash_image command to flash the stock recovery and flash an OTA
[Nexus One Android Development] 021311:
I'm stock in...

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"

So I pressed apply sd on the phone then hit enter, didn't work..don't really know why.. little help please?
[Nexus One Android Development] :
timing may not be right

try again

about .5 second wait
[Nexus One Android Development] 021311:
but the installation abort within 0.5sec.../___\

Mine is 85E using FRF83 attachment?

Is that gonna be ok?
[Nexus One Android Development] cmstlist:
Do you have a link to the .img file we'd use to flash back the stock recovery only with flash_image, without wiping anything else?
[Nexus One Android Development] :
its located in the passimg.zip

http://www.mediafire.com/?qktelijgzny
[Nexus One Android Development] unchainedrssr:
I flashed stock unrooted FRF85B using Clockwork ROM Manager and then used this method to regain root. Worked great. My bootloader is already unlocked but I wanted to do it anyway. :D

It was very fast and the instructions were clear and to the point. Great work! :)
[Nexus One Android Development] otto888:
This apparently doesn't work on stock recovery 3E. :( I tried every ota exploit guide, all failed.
[Nexus One Android Development] I7redd:
Could someone also check the "

A2SD setup Tut/Guide

" thread, and suggest why signature verification fails with a locked bootloader, even with the stock recovery.

Or at least can someone verify this works. Thanks! ;)
[Nexus One Android Development] :
if your using the stock recovery....you cant flash anything except ota's.........

follow through step 24

OP should include stop-points in the thread.

15. Minimal root for root enabled apps, lost upon flashing OTA's

24. Fully stock ROM with persistent root with ability to flash modifications and other ROMS
[Nexus One Android Development] I7redd:
Sorry i wasn't clear. Successfully installed RA1.7 (vB/xda noob without a sig option ;)

The issue is with fastboot, and whether flashing still works at all with a locked bootloader. (see A2SD topic) Or if signature validation fails, and we can't therefore flash images, like stock recovery.
[Nexus One Android Development] :
you cant use fastboot without an unlocked bootloader. you can flash through adb but if your talking about boot.img.... you can just make an update.zip
[Nexus One Android Development] I7redd:
Lol. Exactly! :D

Is it hard to make an update.zip with LeoFroyo boot.img to get A2SD running?

Edit: ahh i see, have to learn a little update-script.. thanks!

And BIG thanks to Booker-T, Constrabus, etc for this cool "warranty voiding" workaround! *thumbsup*
[Nexus One Android Development] cmstlist:
Great, thanks. Also I see that the link you've presented is for build ERD79. Does this build have the same stock recovery version as FRF85B?
[Nexus One Android Development] Constrabus:
OP should include stop-points in the thread.

15. Minimal root for root enabled apps, lost upon flashing OTA's

24. Fully stock ROM with persistent root with ability to flash modifications and other ROMS[/QUOTE]

I figured that was common knowledge on XDA, but I added all that anyway, yesterday morning.
[Nexus One Android Development] :
ui_print("Writing boot image...");

show_progress(0.200000, 10);

assert(package_extract_file("boot.img", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "boot"),

delete("/tmp/boot.img"));

show_progress(0.100000, 10);

ui_print("Install complete!");

^ i believe thats all youll need. take an OTA, delete the system folder (data folder if there is one,) open update script in a text editor and put the above. sign the update and flash. It should work

it should
[Nexus One Android Development] I7redd:
Wow. Thanks for the assistance. (slightly off topic, but appreciate the help!) :cool:
[Nexus One Android Development] :
np tell me how it works haha

and its still relevant because we need to know how to do things that require fastboot in an alternate way
[Nexus One Android Development] I7redd:
Indeed!

I read this last night..

"We cannot provide update.zip for stock recovery as it has to be signed by google."

So that's why i asked if anyone had verified the process which was being suggested earlier in the thread, seeing as fastboot also doesn't work ;)
[Nexus One Android Development] :
lol well to flash the stock recovery, you flash it the same way you flashed the RA recovery in this tut. just change the name of the file
[Nexus One Android Development] J.L.C.:
Can you flash a boot from an abd shell the same way you can flash a recovery?

# flash_image boot /sdcard/boot.img

Or does that not work with boot images?
[Nexus One Android Development] I7redd:
Tried the following steps;

9) ....flash_image had been wiped going from FRF83 > FRF85b

then 19) thru to 24) using nexus stock recovery...commands appeared to work ok.

then reboot into /!\ and Power-Vol-Up does nothing. (no recovery, remove battery)

repeat 19) thru to 24) with RA1.7 and Amon's recovery working again.

---

Anyone else any luck reverting to stock using flash_image?
[Nexus One Android Development] cmstlist:
I downloaded from that link and got a ZIP file that WinZip and 7-Zip can't open, as they say it's corrupted. Is there an alternate link?
[Nexus One Android Development] :
thats the one i know about and it opened fine for me. you should find it in the "Stock rom" thread stickied here in one of the posts. post here again if you cannot find it

@I7redd

Did you press the power first? hold it then press vol +

it takes a few tries sometimes. if its giving you the /!\ symbol, chances are it flashed fine
[Nexus One Android Development] xr3al:
Make sure you SDCARD clicked in when you pushed it in. It really helps to shave that little lip off the battery. Also, I rooted my MyTouch Slide last week with this same method and I found it easier to use a 16ig sdcard. Not sure why that would make a difference, but as soon as I used my 16gig my phone would always show up in recovery. Also, not sure if you have PDANET installed but it helps as well. Just google the download link for it. Hope this helps.
[Nexus One Android Development] ChronoReverse:
With this method you get root without unlocking the bootloader

Lets say I take the next step and flash a custom recovery. Is it possible to revert this back to stock recovery and if so, how would that be done?
[Nexus One Android Development] jug6ernaut:
i would imagine u would just flash stock recovery xD.
[Nexus One Android Development] ChronoReverse:
hehe, well, I was trying to non-chalantly ask where the stock recovery file would be just in case it was somewhere really obvious that I missed.
[Nexus One Android Development] Rusty!:
Inside a PASSIMG.zip somewhere.

Or after flashing the recovery, instead of deleting the install-recovery.sh & recovery-from-boot.p files, rename them. That way when you wish to revert to stock, you can give them their original names, and stock recovery will re-install when the phone is next rebooted.
[Nexus One Android Development] :
omg guys read 5 posts above you lol
[Nexus One Android Development] ChronoReverse:
lol, in that case, since I don't need to actually backup anything, I can finally flash a custom recovery.
[Nexus One Android Development] erikiksaz:
I'm trying to help someone out with this tutorial but amon_ra's recovery will not stick.

There's amon_ra's recovery image on the root of the sd card (along with a rom on the root of the sd card, but it has a different file name), and the recovery image's md5 has been verified to be correct. The sd card is also unmounted from the computer before attempting the steps below. After gaining su with the # sign, we typed in all the appropriate commands, but after the reboot, we keep getting the stock recovery. What could be wrong?

16) Download the following to the root of your SDcard

- recovery-RA-nexus-v1.7.0.1.img: http://rapidshare.com/files/39326736...s-v1.7.0.1.img

- 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/recovery-RA-nexus-v1.7.0.1.img" 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

You can now boot into your new Recovery by turning off your phone and turning back on while holding Volume Down.
[Nexus One Android Development] :
your messing up somewhere here

are you getting any error messages
[Nexus One Android Development] erikiksaz:
No errors with 22.

With 23 and 24, it always states that there is no file or dir present. The weird thing is that I got the same error when i flashed recovery on my own n1 and recovery still stuck. I don't know why it's different for this guy's phone.
[Nexus One Android Development] Rusty!:
23 & 24 are definately the cause.
[Nexus One Android Development] erikiksaz:
Do you have any workarounds in mind?
[Nexus One Android Development] Rusty!:
Erm, you could try deleting the files via a file manager on the handset perhaps?
[Nexus One Android Development] pseudoheld:
i have a question about this method.

i am on the european epf30 build so atm i can't make use of this.

we'll be getting the froyo update in a few weeks and it seems like it will be an alternative version than the frf83b that everyone else got.

so what files exactly are in the "ROOT_FRF83.zip" and could we switch or rewrite the important file to work with our froyo version? or is this not needed ie: do you think it will just work with the froyo version coming to the epf30?

any ideas?
[Nexus One Android Development] cmstlist:
Nevermind, I updated 7-Zip to the latest beta and it opens. Must be due to the fact that it's a signed zip.
[Nexus One Android Development] cmstlist:
Aha - brilliant, sounds like exactly what I need.

So to sum up:

i) By going just to Step 15, I have a temporary root that could be revoked by an OTA update.

ii) Through to Step 22, I've replaced the recovery, but if I reboot it'll get knocked back to stock

iii) If I change steps 23-24 to, let's say:

mv /system/etc/install-recovery.sh /system/etc/install-recovery.baksh

mv /system/recovery-from-boot.p /system/recovery-from-boot.bakp

then I now have the new recovery installed, but also a way to get back.

iv) This would probably be a great place to take a full nandroid backup on the new recovery before attempting anything braver. :)
[Nexus One Android Development] Rusty!:
My hunch is it will work, you'll have to substitute the update.zip from EPF30 in place of the supplied one.
[Nexus One Android Development] pseudoheld:
would be great if it would work...you say substitute the update.zip with the epf30 one.

how would i go about getting my hands on the update.zip once epf30 gets its update pushed out ota?

what exactly is the update.zip? its only about 200kb in size in the download in this thread? so it isnt the full update? would i somehow have to extract it? please explain.

there are soooo many of us stuck with epf30 who got screwed over by vodafone. if this method should work for us it would be great!
[Nexus One Android Development] Rusty!:
An update.zip is the file that is sent to your phone for an OTA update.

It's tiny on this thread because it just contains the SU files. The file named ota.zip is the one from Google, which was an incremental update to one of the pre-release 2.2 builds.
[Nexus One Android Development] pseudoheld:
ok i get that.

still how do i get the update.zip off my phone. is it stored somewhere on the sdcard?

could i then also delete everything except the files that are still present in this version? (to make it smaller) or isn't this mandatory?

thx for your patience with me ;)
[Nexus One Android Development] Rusty!:
When time time comes, the board will be full of update links for you to download :)
[Nexus One Android Development] cmstlist:
Does the recovery root method still work in FRF91 too?
[Nexus One Android Development] J.L.C.:
I'm curious too, but also too scared to go back to stock recovery just to find out that the sweet root method is what this patch "fixes" :p

________________________

N1 w/ XDA App
[Nexus One Android Development] Jizzle74:
how can i tell if my bootloader is locked or not.The bootscreen doesnt show a lock at all. But i dont think that it is unlocked.
[Nexus One Android Development] Rusty!:
Its locked then.
[Nexus One Android Development] cmstlist:
Well, I suppose the "lossless" way to test this out might be...

1) Using Amon-RA recovery, take a nandroid backup

2) Return to stock recovery using whichever method you choose

3) Flash the update.zip for FRF91

4) Try to recovery-root it

If recovery-root fails...

5) Flash/wipe the entire thing back to ERD79 using the PASSIMG method

6) Apply the update.zip file(s) required to reach a recovery-rootable version

7) Recovery-root and flash the Amon-RA recovery again

8) Nandroid restore
[Nexus One Android Development] Rusty!:
That won't work, the passimg wont flash unless the bootloader is unlocked due to being an older build.
[Nexus One Android Development] Jizzle74:
thanks rus
[Nexus One Android Development] cmstlist:
What about this:

http://xdaforums.com/showpost.php?p=6618050&postcount=22

Will this method work from FRF91?

Of course you'll want to backup your SD card externally if an SD wipe is involved.
[Nexus One Android Development] cajonez:
As far as I can tell, this method does not work with FRF91. ADB doesn't appear to recognize the phone while in recovery mode. Once the phone boots up normally ADB will recognize it again.
[Nexus One Android Development] Sooth:
Can i root my EPF21b WITHOUT unlocking it?
[Nexus One Android Development] J.L.C.:
One way to find out is to try it :)

It wouldn't work on mine with 54B (2.1-update1), but after manually updating to 85B (2.2) - it worked!
[Nexus One Android Development] cmstlist:
Is the recovery version still 3e after an upgrade to stock FRF91?

I think I'm not going to take any chances here... I'll upgrade using the pre-rooted rom via AmonRA recovery.
[Nexus One Android Development] gom4381:
I can confirm that after updating to the frf91 from this method of rooting will result in a locked device. I cannot install anything anymore. It does not show up in adb, I guess. When doing the loop command the phone does not show up. I have tried the PASSIMG.zip deal and that didn't work. Just to make clear I was rooted and running stock everything-bootloader still locked. I still have the superuser icon but I cannot get rid of it. Also after updating I lost the clockworkmod recovery. The programs that needed to be root to run showed up in the superuser category but didnt have the correct permissions to run. For example setcpu. I removed permissions for these programs and I think i am stock now. Please help!!!!! I want that new cyanogenmod!!!
[Nexus One Android Development] scalp42:
What about FRF85B ? Did you successfully root before ?

Might be a problem from your side, we need to be sure ;)
[Nexus One Android Development] unchainedrssr:
I'm going to try this again tomorrow. I believe there was a step missing. Looped until I did something.

I am not going to try to root with this method again until I know its safe with FRF91 but I am curious to see if adb will recognize my device as I remember looping for quite a long time before it was recognized.

This method worked fine for me on stock (non-rooted) FRF85B. I had to update to the latest SDK but that was it. :confused:

I'll post my results tomorrow. Someone may beat me to it, though. :)
[Nexus One Android Development] unchainedrssr:
Did you flash a stock (unrooted) version of FRF91 w/o wipe after getting root?

Please let us know to keep the community informed.
[Nexus One Android Development] gom4381:
Yes I was able to root so when I had frf85b on Tmobile network.
[Nexus One Android Development] gom4381:
I flashed the stock unrooted version of frf91
[Nexus One Android Development] gom4381:
The answer is yes.
[Nexus One Android Development] cmstlist:
I noticed when playing around with recoveries that when I tried to flash back to stock using recovery.img from the PASSIMG I have, I ended up with recovery version 2e. Is there a recovery.img floating around out there for 3e?