yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] vegetaleb:
I followed instructions for passing from stock ROM to CM

Everything went fine till the Recovery-flashing passage where I get an exclamation point :(

I then found a solution but very poorly explained:

[*]Boot into recovery-RA without flashing (fastboot boot recovery-RA-nexus-vXXXXX.img). This will upload the recovery as a temporary boot image, so at this stage it needs to be present and accessible on your computer (not the sdcard).

[*]Wipe the device (Wipe data/factory reset)

[*]Flash the update-cm-XXXXX-N1-signed.zip file (Flash zip from sdcard). Do not reboot afterward.

I didn't understand first point: how do I boot into ''recovery-RA''??? How can we upload the Recovery.img file if we don't flash it??
[Nexus One Android Development] Amon_RA:
It's already explained in your own post :

Boot into recovery-RA without flashing (fastboot boot recovery-RA-nexus-vXXXXX.img)

=> This will boot the recovery image, not flash it.
[Nexus One Android Development] vegetaleb:
Ok thanks :o
[Nexus One Android Development] liam.lah:
No and No, The cyanogen one is just a picture.
[Nexus One Android Development] esincho:
Thank you sir
[Nexus One Android Development] brian6685:
Awesome thanks. Flashing the new recovery does not mess with my current rom does it? Or will i have to reflash and resetup everything? Sorry for all the questions..
[Nexus One Android Development] BogiYear:
No, it will not affect your current loaded ROM.
[Nexus One Android Development] acidash:
The phone is unlocked and is working fine but out of the sudden it is hung at boot up screen.

Now i cannot even access the RA-nexus recovery gui. It will hang at the screen with the 'X' logo.

I tried to re-flash the recovery but got the below error when i try to do a fastboot.

"

D:\Downloads\Nexus One\android-sdk-windows\tools>fastboot devices

123456789012 fastboot

D:\Downloads\Nexus One\android-sdk-windows\tools>fastboot flash recovery recover

y-RA-nexus-v1.7.0.img

sending 'recovery' (3948 KB)... OKAY

writing 'recovery'... FAILED (remote: not allowed)

D:\Downloads\Nexus One\android-sdk-windows\tools>

"

Any help on this??
[Nexus One Android Development] codington:
It appears that you might have lost ROOT. If you did, then get it back

here

. Do you want to flash a recent backup? You can run the recovery without flashing it to the recovery partition.

[SIZE="4"]fastboot boot recovery recovery-RA-nexus-v1.7.0.img[/SIZE]
[Nexus One Android Development] acidash:
I have tried the superboot but it got the same message:

"

D:\Downloads\Nexus One\ROM\1.0-EPE54B-nexusone-insecure\1.0-EPE54B-nexusone-insecure> fastboot-windows.exe flash boot boot.EPE54B.insecure.img

sending 'boot' (2052 KB)... OKAY

writing 'boot'... FAILED (remote: not allowed)

"

Seems like i need a GoldCards for Nexus One but i don't know how to make it since my only Nexus One is not accessible now. :(

Another weird output when i ran the 'fastboot-windows.exe devices -s'

"

C:\1>fastboot-windows.exe devices -s

123456789012 fastboot

"
[Nexus One Android Development] Amon_RA:
First of all this is not the correct thread to be posting fastboot issues in...

I assume that you unlocked your SPL correctly "fastboot oem unlock"?

If you unlocked it correctly, you might be using an old version of fastboot.

Try to update to the latest stk version
[Nexus One Android Development] acidash:
Thanks Amon_RA.

I have use the latest version but it still fails. Have posted in another thread in Nexus One Q & A section.
[Nexus One Android Development] 05TurboS2K:
So,

I've seen a few videos on unlocking and then rooting.

All I know is I want to wifi tether as well as use stream videos that T-mobile has brought an end to.

I can follow the instructions on unlocking and then rooting the phone....

Questions:

1) Will I loose everything saved such as aps, pics, numbers SD card info?

2) Can I make my phone look and feel like OEM except being unlocked/rooted?

3) Pinch & Zoom still going to work etc? Will I loose any features?

4) Does it matter what version I use? I'm looking at some 2.1 SDK tool pack.

I don't want some custom rom... or at least not yet, I just want the full functionality unlocked.

How can I accomplish this?

Not sure what tools to use to accomplish this and who to listen to.

Thanks in advance everyone.

-Greg
[Nexus One Android Development] 05TurboS2K:
Update:

I followed instructions at least to the point of unlocking.

I now have a mostly blank phone that shows that little unlock symbol when I reboot.... I'm now curious can I just use that SUPERBOOT program from here or is it too late?

I'm not interested in ROMS.... I don't think?

I do want wi-fi tether and etc. with a otherwise stock OEM looking phone.

I want to use this program "superboot" theunlockr.com/2010/01/02/how-to-root-the-nexus-one

-Greg
[Nexus One Android Development] 05TurboS2K:
Stuck... at #7 I downloaded the file, don't know where to place the file or what to do with it........

1. Download fastboot and adb files:

Here

2. Extract tools.zip to a folder and Open a command window in that folder by holding down your shift key and right clicking anywhere in the window and select open command prompt here

3. Then with your phone turned off hold the power and trackball to access the bootloader.

3b. Type this command to make sure your phone is connected and reconized. "fastboot.exe devices"

4. Once in the bootloader type this command in your command prompt "fastboot.exe oem unlock"

6. Follow what that sceen says.

7. Flash Amons RA Recovery Image from here

---------------Now to root your phone.---------------

1. Once you've flashed the recovery image turn your phone off.

2. Then power on by holding power button and trackball then tap the power button to access the bootloader.

3. From there use your volume keys to go down to recovery and hit power button again to access the recovery console.

4. Enjoy rooted phone
[Nexus One Android Development] codington:
Re: [Recovery] [21-Mar-2010] RA-nexus-v1.7.0

No it is not too late. You are doing things in the correct order. Now that your phone is unlocked, you can load a custom recovery like Amon's which allows you to perform nandroid backups amongst other things. Basically you now can play around with ROMs and recover a known/good working ROM if things go badly. If you want WiFi tether, you need to be rooted. Which is the supetboot process you already mentioned.

If you are going to come this far, you might as well load a stable and tested ROM like Enom's where things like WiFi tether are already installed and tested. Unless you start loading themes, a custom ROM will look just like stock only perform much, much better.

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[Nexus One Android Development] Amon_RA:
To all the newbies unable to use fastboot : Your fastboot "issues" are NOT related to this recovery but to your lack of general Windows knowledge. There are plenty of guides around on XDA.

The next post asking how to use fastboot will be reported!
[Nexus One Android Development] timal:
Did you use fastboot-windows devices to see if your computer can find the phone?
[Nexus One Android Development] mikebionca06:
Well finally it worked on like the third try strange but its working now thanks, but my super user still doesnt work any ideas?
[Nexus One Android Development] richardrahl:
Error

forget I said anything
[Nexus One Android Development] joedude8080:
Amon_RA, are you planning on bringing BART to Nexus One recovery?? I like that more than Nand
[Nexus One Android Development] seraph1024:
LOL. Love it.

You should also have said about ADB as well. And I love to help people out and I have in the recent past but people do need to read a little more before they hit reply or a new thread.

Totally agreed.
[Nexus One Android Development] QMAN101:
+1 here. It appears that most of the problems installing are related to putting the image in a different directory than what they are executing the fastboot command from.
[Nexus One Android Development] Amon_RA:
Should I now report you? ;)

Anyway, the image doesn't need to be in the same folder.

You just need to add the sdk tools directory (which contains the fastboot binary) to your system PATH.

The sdk installation instructions (http://developer.android.com/sdk/installing.html) clearly mentions :

Optionally, you may want to add the location of the SDK's primary tools directory to your system PATH.
The primary tools/ directory is located at the root of the SDK folder.
Adding tools to your path lets you run Android Debug Bridge (adb) and the other command line tools without needing to supply the full path to the tools directory.

[LIST]
[*]On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to the tools/ directory to it. If you don't see a line setting the path, you can add one: export PATH=${PATH}:<your_sdk_dir>/tools
[*]On a Mac OS X, look in your home directory for .bash_profile and proceed as for Linux. You can create the .bash_profile if you haven't already set one up on your machine.
[*]On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ directory to the path.
[/LIST]
[Nexus One Android Development] BrooklynAvi:
Wipe/Factory Reset

Amon_RA - As always, thanks for the amazing recovery images.

I think I may have done something wrong here. Please advise. I did a wipe from the recovery menu--I'm assuming (correctly?) this is the same factory reset from the Settings menu--and it did not wipe my phone completely. After wiping from recovery, some traces, like the wallpaper and a few apps, were left on my phone. I did a factory rest from from the settings menu and it rebooted into recovery and performed a wipe there. It worked this time.

This is not really an issue for me as I am mostly curious. I'd like to know if it's something I'm doing wrong.
[Nexus One Android Development] seraph1024:
You can try this:

fastboot erase userdata

fastboot erase cache
[Nexus One Android Development] Amon_RA:
You are not doing anything wrong. Wipe from recovery should clear your userdata and cache. I'll try to reproduce the issue once I received my Nexus One. Thanks for reporting.
[Nexus One Android Development] droiddrop:
Amon_RA could you create an RSS feed or twitter updates so we can track version releases outside of XDA forums, and have one reliable link? It would be greatly appreciated.
[Nexus One Android Development] enomther:
feature request :)

Hey man,

I know that some will find this less significant in the nexus1.

But I'd like to request them ... as I'll definitely want these from a dev perspective at very least ...

1) Bring back the wipe ext partition.

2) Bring back the nandroid+ext backup/restore.

3) The ext upgrade and error checking options.

I'd greatly appreciate it if ya could mate!

:)

~enom~
[Nexus One Android Development] Amon_RA:
Why would you want to use the ext on the Nexus?

Please don't tell me a2sd...
[Nexus One Android Development] Beast84:
Why is everyone so anti-a2sd for the nexus?? I don't think its a bad idea to have the option. My mytouch3g had more room for apps than my nexus does. Not saying I would use it but options are always great!
[Nexus One Android Development] enomther:
For me personally ... I run a union and/or bind mounted linux distro ... usually debian ... which is still wayyy too big to run directly off the yaffs2 nand. :)

Like I said .. most will find this less significant ... and *of course* I can handle these things *manually* but it would be super sweet to be able to blow away and restore things in a pretty Amon_RA recovery image as I constantly blow up my phone to bring about and try new things!

I know that most will have no need for it, but if it's not much trouble. I'd really appreciate it!

~enom~
[Nexus One Android Development] Amon_RA:
Ok, makes sense, I'll see what I can do for a next version ;)
[Nexus One Android Development] enomther:
Thanks man! I greatly appreciate sir!

:)

~enom~
[Nexus One Android Development] BrooklynAvi:
This works and so does the factory reset from the Settings menu.

If there's any way for me to help, let me know. I've wiped four or five times trying to work out an issue (http://xdaforums.com/showthread.php?t=613835) and it worked every time except for the last. So it wasn't every time if that means anything. Again, thanks for everything.
[Nexus One Android Development] seraph1024:
The other thing is that if you allow google to store your settings, they'll reinstall your apps/settings from online storage. Last reset brought back 31 apps I downloaded prior to restore.
[Nexus One Android Development] codington:
Are you following Amon's instructions form the OP? For convenience, put the img file in the same folder where the fastboot.exe command is located.

via fastboot

Copy recovery-RA-nexus-v1.7.0.img to a location where fastboot can find it.
Boot your phone into fastboot mode (power on while holding the trackball)
Connect your phone via usb to your pc/mac/...
fastboot devices (to make sure that fastboot "sees" your phone)
fastboot flash recovery recovery-RA-nexus-v1.7.0.img
[Nexus One Android Development] waterskiingmatt:
help please

Ok so i want to put cyanogen mod on my phone and i am already rooted and bootloader unlocked. all i need is this and when i would try using the unlockrs tut my cmd prompt wasent seeing my phone or the file is some one could please explain by a step by step for a noob that would be awesome. sorry if it seems like a dumb question thanks in advance. contact me at mattminer@comcast.net
[Nexus One Android Development] prettyboy85712:
Everything you need to know is in the first post.
[Nexus One Android Development] big nu:
Wipe All Feature?

@Amon_RA

Although I haven't read through most of this thread so im not sure if it was brought up in the past..

I was wondering if it was possible to put a "Wipe All" feature in the wipe section of the recovery?? To avoid having to wipe each every single file prior to installing a new (incompatible) ROM, maybe my lazyness is talking, but i do a lot of flashing and this would be really convenient..

Patiently waiting for your response, Thanks.
[Nexus One Android Development] dorima27:
Little help.

Hope somebody can explain to me:

What's the difference between the Regualr version recovery image and the CyanogenMod version?

And for the Modaco's Superboot, what's the difference between the regular and the one with himem enabled?

Thanks.
[Nexus One Android Development] big nu:
If im not mistaken its just the color.. Same features..
[Nexus One Android Development] williams2917:
SwitchRom

Hello Android Community

I'm wondering how to access the switchrom option via 1.7.0 recovery (since it was moved). I have the cyanogen version. Thanks for the help!:D
[Nexus One Android Development] aoch88:
Hey guys, I've read through many articles and I'm pretty sure I did it correctly. However after doing "fastboot flash recovery recovery-RA-nexus-v1.6.2.img", I'm unable to enter recovery mode. When I restart the phone in bootloader mode, I click on recovery and after a while, a screen with an android chicken (whatever you call it) with an exclamation mark appears and it stays there until I remove the battery.

Please help? :(
[Nexus One Android Development] pzumk:
Please read the thread.

This has been answered 5 times in the last 10 sites
[Nexus One Android Development] douglasjboehme:
If you boot into recovery immediately after flashing without rebooting, the amon ra recovery should still be there. If you reboot and it's gone, you still need to get root access on your phone to keep the recovery in place. Some examples (as you can see from the thread) are Cyanongen's ROM or Superboot.
[Nexus One Android Development] snavid972:
which one do i download to get apps2sd i got the apps2sd setting on my phone but is greyed out and im using cyanogen rom online kitchen with apps2sd on it..
[Nexus One Android Development] r8zer:
you have to partion your sd card with ext3 or 4 and you can do that in recovery. but be sure to backup your sd card. before you do this.
[Nexus One Android Development] InFlicT666:
Just a quick question...

I take it i can rename the nandroid backups to something else? So i know what nandroid is what. :)

For example: 20100410-stock or 20100410-cm506t2 etc.

This wont make any differance to the backup working or not right?

Ta
[Nexus One Android Development] android.activate:
Yeah Renaming the backup folders does not make any difference during backups

So I had following folders on my sdcard

nandroid/HT02KP9XXXXXX/BDS-20100330-1233

and I renamed it to

nandroid/HT02KP9XXXXXX/CM-BDS-20100330-1233

and still the restore works

Rename and keep as many backups as you want.. or your card permits
[Nexus One Android Development] NeonMonster:
I have been searching around, but not sure if this is possible.

I made a Nandroid backup of my current setup on my Nexus One, but have to get a NEW nexus one, (AKA a completely different nexus) is it possible to use my old Nandroid backup to restore my settings on my NEW Nexus One?

Its the same device.... So i don't see why not... Other than having different device codes? Or is this simply not possible? I have all my apps and data and settings backed up on my SD card, so it ultimately not a problem. But it would save me time....
[Nexus One Android Development] linuxluver:
One of things that really annoys me about XDA is the need to maybe read 150 pages of posts to find out simple things like this.

I've tried to search on it "difference cyanogen"....and other args....and the search finds nothing.

An answer to a question like this - which should have been addressed in the original post - is far more useful than a post saying someone should go look for the answer among the 800-ish posts on the 80 pages in this thread.

RTFM is fine....unless the manual is huge bag of glass marble emptied onto a hardwood floor in a high wind (picture it).
[Nexus One Android Development] linuxluver:
Can't really help you as we don't even know what OS you have on your PC.

I can help you with Ubuntu Linux v9.10....as that is what I use. The key to seeing the Nexus was updating the rules files in the /etc/udev with an additional line describing the device.

For fastboot to work I also needed to use "sudo ./fastboot" .....etc..etc.. from the sdk / tools folder

If you use Windows....well, I can't help you. Linux is much easier for this task. Windows hides too much from the user. If Windows doesn't work with fastboot or adb, you don't know why and have no idea how to fix it.
[Nexus One Android Development] linuxluver:
I had this problem on Linux. Fastboot appeared to flash the recovery....but didn't really. I had to pull the battery.

Next, I did two things differently at the same time...so I don't know which one worked:

1. Ran fastboot using sudo "sudo ./fastboot flash recovery recovery.img"

2. renamed the recovery to "recovery.img". The first time I tried I had called it "racmrec170.img" to save typing the original name and still make the version clear.....and help my memory. :-)

One of these two things worked. If you use Windows, then you probably want to try the second one...and the first one may not be relevant (unless a cmd window started with "Run as administrator" will help")

Then it worked.
[Nexus One Android Development] alix0056:
help please!!

I unlock the bootloader, I have root access but when I try to flash the recovery image I get:

Macintosh-2:~ zoklo$ /users/zoklo fastboot flash recovery recovery.img

-bash: /users/zoklo: is a directory

when I go into recovery mode I get the droid with the exclamation in the triangle.:confused:
[Nexus One Android Development] Murphy2712:
Do not write "/users/zoklo ".

Just write "fastboot flash recovery recovery.img".
[Nexus One Android Development] :
"./fastboot flash recovery recovery.img" is more accurately for UNIX
[Nexus One Android Development] ndep:
I have a bricked N1 which could be brought into HBOOT with power+voldown, but not fastboot mode.

so I downloaded the first ROM in http://android.modaco.com/content/g...-online-kitchen-optional-root-insecure-himem/ ,

rename it to PASSDIAG.zip, put it on SD card, the phone is still complaining about "No Image". How can I make it work?
[Nexus One Android Development] Amon_RA:
This is a recovery thread, not a general help thread, please post in the appropriate forum.
[Nexus One Android Development] eug89:
Hey Amon_RA it would be possible to add to your excellent recovery support for Koush's ROMmanager App?
[Nexus One Android Development] brosen:
What is the objective of "Wipe battery stats : Wipe the battery stats in /data" ?, do I have to do this every time I install a new battery ?, I am confused, please your advice, thanks
[Nexus One Android Development] liam.lah:
If you run your phone to a certain percentage (say 50%) each day, over and over. The phone can lose track of where 100 and 0% are. This will give the appearance of a shortened battery life. Wiping the stats and doing a full cycle can reset this.
[Nexus One Android Development] brosen:
Thanks, please could you explain what do you mean by doing a full cycle ?
[Nexus One Android Development] Rakeesh_j:
I'd be interested to know this as well. Full cycle as in power cycle the phone once, or completely drain the battery and then completely charge it to full?
[Nexus One Android Development] norazi:
hi im trying to install using the terminal method and followed the instructions to a T and am getting a "flash image: not found" error

- put the recovery.img file onto root of SD

- ran terminal emulator

- "sd" (said always on the popup)

- flash_image recover /sdcard/recovery.img

any noobie mistake i might be making?
[Nexus One Android Development] Amon_RA:
You lack the flash_image binary on your phone...
[Nexus One Android Development] MI_canuck:
where on the SD card do the nand backups get stored? couldn't find where they are.... so perhaps not even stored on the SD??? I have too many stored backups now and i want to get rid of some backups I don't need...

plus I'd like to rename a couple of recent ones (that I know what they included) to make it less confusing when restoring later on....

thnx
[Nexus One Android Development] codington:
/sdcard/nandroid
[Nexus One Android Development] sonnysoul:
You should have a folder named nandroid on your SD card. They will be in there.
[Nexus One Android Development] leonnib4:
Just wanned to thank you Amon_RA for your recovery image ;)

Great work.

World seems a lot easier with your recovery!
[Nexus One Android Development] liam.lah:
In reality i used incorrect terminology, as Li-Ion batteries act in such a way that two runs down to 50% is a cycle just as one run down to 0% (or as near to as you are allowed to get)

Wipe the stats. Run it down until you get the "plug into a charger" notification, then charge overnight so it is completely full.
[Nexus One Android Development] innisdb:
does wiping cache and/or dalvik cache erase any data on the phone such as messages etc or is that only the factor reset wipe?
[Nexus One Android Development] hyperandy:
Can't Read MISC error message

Is there a way to re-flash the recovery image, everything looked to be working until I partitioned the SD card now my Nexus just keeps saying Can't read MISC:(no space left on device). I removed the sd and even try another and get the same error, even thought it partitioned it. I can adb into the phone but I can't figure out how to fastboot the image into it again to try resetting it

...help I have a $500 paper weight right now, any clues
[Nexus One Android Development] simms22:
can you get into the bootloader mode?(power on pressing the trackball and power buttons at the same time)
[Nexus One Android Development] hyperandy:
Yes it's going into it everytime by itself