yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] Amon_RA:
Up to a certain point I could keep the ext backup scripts out of this recovery, mainly because Cyanogen didn't include apps2sd in his rom.

After a while other Nexus one rom devs started to include the old apps2sd script in their roms and from there on the huge amount of daily requests to have apps2sd backup support in this recovery became unbearable...

Just to stop the endless nagging I included the scripts people were asking for.

I actually prefer to not include these scripts because 99% of the issues posted in this thread are related to them.
[Nexus One Android Development] hristo2000:
Hi, just use Terminal Emulator and make the procedure through the phone (as described on the first page)....and the ! sign will not appear any more.....
[Nexus One Android Development] JUSMEJOSE:
im still confused...
[Nexus One Android Development] Amon_RA:
That means that your current rom doesn't have the flash_image binary.

Try this :

fastboot boot recovery-RA-nexus-v1.6.2.img (this will just boot the recovery)

adb shell (perform this when the recovery is booted)

flash_image recovery /sdcard/recovery-RA-nexus-v1.6.2.img (this will flash the recovery)
[Nexus One Android Development] JUSMEJOSE:
ok i tried that command.. in fastboot "fastboot is not a recognized as an internal or external command"
[Nexus One Android Development] ilanoraa:
Can't not get new recovery image to boot

I have unlocked bootloader, then it seems I have installed the recovery-RA-nexus-v1.6.2.image

sending 'recovery' <3954 KB>....okay

writing 'recovery'.... okay

I am taking that as it installed the recovery image, but when I go back into bootloader and recovery there is no new recovery image, please help me out......seems like I should get the new recovery as soon as I go into the bootloader.
[Nexus One Android Development] djnutz:
sweeeeeeeeeeeeeeeeeeeeeet!!
[Nexus One Android Development] DaveKid:
worked like a charm...thanks
[Nexus One Android Development] DaveKid:
what is the "button pressing order" to boot into the recovery image. i've tried everything i can think of
[Nexus One Android Development] nukes777:
power up holding trackball down.

select bootloader and press power button

select recovery using volume keys and press power button to select
[Nexus One Android Development] dnar56:
where could i place it that fastboot could find it? thanks
[Nexus One Android Development] Jackasaur:
I'm a bit lost as well, idk where to go to and how to flash it.
[Nexus One Android Development] mer6:
Directions seem pretty clear. Fastboot should be in the ADB tools folder or can be downloaded separately (don't have a link atm).
[Nexus One Android Development] Jackasaur:
I went into CMD typed in fastboot-windows

and it shows up with a list of options of what to press

then I type fastboot-devices

but it says its not recognized.
[Nexus One Android Development] xiutian:
there should not be a - in between fastboot and devices
[Nexus One Android Development] Jackasaur:
nvm solved it, I needed to type

fastboot-windows flash recovery recovery-RA-nexus-v1.5.3.img

:]
[Nexus One Android Development] BrooklynAvi:
Thanks Amon_Ra. I've already had to do a nandroid restore. It worked absolutely perfectly. I tweeted (@AppCritic) that I thought you were wrong about a2sd but have already reversed that position after playing with the N1 some more. I like the speed and would like to keep swap and ext stuff off this phone. I haven't even installed a task manager, something I couldn't live without on my G1 and myTouch. There is just about ZERO lag on this phone without any mods so why mess with a good thing? Thanks again.
[Nexus One Android Development] stian230:
Hey Amon_RA.

I wonder if it is only through fastboot I can innstall recovery on the nexus one? or with adb or terminal also

thanks again
[Nexus One Android Development] 11ryan11:
I've used terminal to flash recovery images b4
[Nexus One Android Development] mikebionca06:
I keep getting this when installing the image
[Nexus One Android Development] 11ryan11:
do you have the recovery image saved in the fastboot folder on your computer and not the memory card on your nexus?
[Nexus One Android Development] DaveKid:
stick the img in the Tools directory on your PC.

so in here:

AndroidSDK/Tools

then fastboot will be able to "find it"

took me a bit to figure this out also
[Nexus One Android Development] Mutalemwa:
Problem getting into recovery..

Yes its unlocked.
[Nexus One Android Development] stian230:
Thanks buddies .. for the info soon ... just nine days until I get nexus one

And when I get the phone, I must know what I do.

thanks again

:)
[Nexus One Android Development] mikebionca06:
Yes it is in the same folder, also when I try SU it locks up like when I try to run nexus torch, I get the force close saying " activity SU request(in application superuser permissions) not responding
[Nexus One Android Development] mikebionca06:
now i am getting fast boot is not reconized as an internal or external command operable program or batch file
[Nexus One Android Development] scottbob:
YOU'RE AMAZING!!!! This has been driving me crazy and this worked swimmingly! Thanks again.
[Nexus One Android Development] JUSMEJOSE:
i cant get fastboot to detect my phone...
[Nexus One Android Development] codington:
Restart phone to the Bootloader (trackball and power).

With the USB cable plugged in - Do you see FASTBOOT USB?

With the USB cable un-plugged in - Do you see FASTBOOT?

If you see Fastboot USB, then fastboot from the command line should detect the phone.

If you only see Fastboot (with or without the cable plugged in) then the problem might be with your USB port or cable.
[Nexus One Android Development] BoostedSR20:
Wrong thread.... deleted....
[Nexus One Android Development] JUSMEJOSE:
i found the problem ...its wierd it wont let me flash the regular recovery image.. so i could only install the green bear recovery image.. thanks by the way...
[Nexus One Android Development] The Ourea:
Desire Partitioning..

Hey guys, If I partition my Sd card through Amon, cause of course he made it the easiest, Do I need to make a swap, what is a swap, how much should I make the ext.. MB thats is.. I'm on the Desire Rom, so this has a Lucid script already built in.. I just need to set it up to get it going..

A Hand Please.. :p
[Nexus One Android Development] samir5421:
When is the blue care bear coming to the nexus???
[Nexus One Android Development] palosjr:
quick question... today i was trying to do a nandroid restore while i was out since i needed a fully functioning ROM and was using my test rom when i left the house.... i was pretty much screwed since i could really use recovery console. I had used switchrom to save my ROM but couldnt figure out a way to access the one i was needing to restore... am i missing something or is ADB needed to access these options?
[Nexus One Android Development] mohdrais:
error: cannot load 'recovery-RA-nexus-v1.6.2.img'

Why every time i download - the error is fail to mount file. and i still go to terminal and fastboot-mac flash recovery .... and i get this error "error: cannot load 'recovery-RA-nexus-v1.6.2.img"

do anyone know where can i download the recovery file?
[Nexus One Android Development] JUSMEJOSE:
i was getting the same erro.. so i had to upload the green bear.. and it work in my mac...
[Nexus One Android Development] cymru:
@mohdrais

Where do you have the recovery.img file? ON the phone SD card or in the fastboot directory on the mac?
[Nexus One Android Development] Kid Poker:
I'm having the same problem, on the command prompt, it gives me the 'error: cannot load 'recovery-RA-nexus-v1.6.2.img'. The recovery image is in the same place as the fastboot directory on my PC. So far I've unlocked the bootloader but can't flash the recovery image w/o getting the error message. I've tried a few times and even renamed the file to recovery, still didn't work. I also redownloaded the recovery-RA-nexus-v1.6.2.img and it still doesn't work.
[Nexus One Android Development] acidblade:
Mr Amon_Ra

Suggestion :

If possible, for backup and restore section. i have been using it for awhile and testing all these custom roms and the only difficulty i am having right now when you nandbackup i get confused with different version of roms i backed up. because it is only read by date stamps.

next update i suggest ability to mod filename or when you backup it read which build and date and that will be easier for person like me or maybe someone else as well to track ROMS that we tested. instead juggling in the head which and which. sometimes i have 4 different roam in same date stamp and im quite lost.

cheers.
[Nexus One Android Development] leetneko:
The image can be stored anywhere on your computer, as long as you make sure that you pass the correct location to fastboot.

If you type just the filename, fastboot will look for the file in the -current directory- that the terminal is in.

So if you downloaded the recovery image into the fastboot directory you have 2 options:

Option 1 - Change the working directory to the fastboot directory before running.

Windows Example:

cd C:\path\to\fastboot\

Linux/MacOS Example:

cd /home/user/path/to/fastboot

Then run the fastboot command: fastboot boot recovery-RA-nexus-v1.6.2.img

OR

Option 2 - Pass the full path to the image when running fastboot

Windows Example:

fastboot boot C:\path\to\fastboot\recovery-RA-nexus-v1.6.2.img

Linux/MacOS Example:

fastboot boot /home/user/path/to/fastboot/recovery-RA-nexus-v1.6.2.img
[Nexus One Android Development] Kid Poker:
Thank you very much. This worked like a charm!
[Nexus One Android Development] semoca:
Thanks mate.

Really appreciate this

Sem
[Nexus One Android Development] ztrafe:
I get error when restoring nand backup :/ I lost my doodle jump record now :mad: 1 200 000. NVM, my phone is broken now. i was so angry. THX

Run 'nandroid.mobile-sh'... What to do

Dont use nandroid backup, its buggy as hell!!!!!

btw, my phone work. just kidding, but i am still angry because i lost my record.
[Nexus One Android Development] sonicphate:
I have flashed the RA-nexus-v1.6.2 to my n1 a couple of times now. After rebooting i got the android with the exclamation point. i reflashed again and it worked ok and then after rebooting again it came up with the android and exclamation again. It seems to be hit and miss... i have reflashed it about 5 times now..

Is there something i might be doing wrong
[Nexus One Android Development] kelddaug:
I have no problem with Nand/ restore, I have used it several times now (testing roms).

Define Buggy as hell.?
[Nexus One Android Development] r8zer:
did u do it via fastboot to install the recovery,

i renamed the recovery, to recovery.img to make life easier in the cmd

so it is fastboot flash recovery recovery.img

also check the MD5 aswell to make sure it didnt get corrupted.
[Nexus One Android Development] pasael:
"The android and exclamation again in recovery mode" ..... I have the same problem when i reboot the device in the recovery mode ... could some one can help me ?
[Nexus One Android Development] sonicphate:
I used the latest fastboot from the SDK. changed the image name to recovery.img and then retried again and got into the recovery image ok. when i rebooted the phone and went back in I got the android exclamation again....
[Nexus One Android Development] sonicphate:
I installed modaco superboot on my N1 and then reflashed RA-nexus-v1.6.2 and i have had no problems since. Thanks
[Nexus One Android Development] r8zer:
so was you not rooted before you tried to flash the recovery then.
[Nexus One Android Development] sonicphate:
I wasnt rooted.. and then wondered why i was having problems with getting the recovery image replaced to RA-nexus-v1.6.2.. I rooted and then didnt have any problems
[Nexus One Android Development] r8zer:
well at least u all done now, the other fella might want too check he has rooted aswell before trying to flash recovery.
[Nexus One Android Development] Robertleehadley:
Flash_image not found. I've spend about 3 hours looking up how to fix this and I'm completely stumped. I've unlocked the bootloader, and I'm trying to flash this recovery and no matter what I try, it doesn't work. Someone please help me.

FINALY GOT IT INSTALLED. AMAZING WORK MAN

THIS guide was so incredibly helpful.

http://theunlockr.com/2010/01/02/how-to-root-the-nexus-one/
[Nexus One Android Development] coco2001:
I can’t boot it anymore ... I get stuck on ‘X’

Tried installing recovery-RA-nexus-v1.6.2.img and everything went ‘fine’. I’ve installed sdk, and driver, unlocked bootloader, and installed recovery image via fastboot.

Tried booting in Recovery mode but I get stuck with the Exclamation and little droid.

Tried few times and once I was able to bypass exclamation and little droid by pushing up/down/power/trackball and got to ‘Android system recovery <2e>’

I tried ‘wipe data/factory reset’ and then ‘reboot’ and I’d get stuck on ‘X’ while booting.

Someone help please.
[Nexus One Android Development] Amon_RA:
I think you forgot to root after unlocking the bootloader :

root access : Modaco's superboot.

Also check if there's no /system/etc/install-recovery.sh script if you keep booting back in the stock recovery (exclamation mark with a little Android).
[Nexus One Android Development] SiNJiN76:
I'm having the same issue...wipe is not working. It just gets rid of my apps and nothing else. Still have all addons and theme when I wipe and reflash. Even if I flash a ROM from weeks ago...the phone still 'remembers' what addons I had and it shows up.:eek:

Doing a Reset from settings...then going into HBoot to Clear Storage...then going back into Recovery to wipe everything only got rid of the theme I was using, but left the icons and other addons!

How do I Reset and Clear everything off the phone using the PC?
[Nexus One Android Development] coco2001:
Thanks, Modaco's Superboot for ERE36B did the trick.
[Nexus One Android Development] AdziE:
Hi

I've been installed latest ROM 1.6.2 but when I perform nandroid + ext backup it shows error

Error: Run 'nandroid-mobile.sh' via adb!

I've been try repair the SD, my devices is Nexus one with superboot ERE27.

maybe someone can help regarding this issue..
[Nexus One Android Development] r8zer:
Are you using an ext partition, if not then do a normal nandroid without ext partition.
[Nexus One Android Development] AdziE:
yap, I'm using ext4.. let me attach the log file..

You can see the log

Performing backup : .
nandroid-mobile v2.2.1

Using G1 keyboard, enter a prefix substring and then <CR>
or just <CR> to accept default: Accepting default.

Using - prefix to create a backup folder

mounting system and data read-only, sdcard read-write
checking free space on sdcard
..Dumping boot to /sdcard/nandroid/HT9CTP801112/BDES-20100314-1115/boot.img.....done
Dump of the recovery partition suppressed.
Dump of the misc partition suppressed.
Dumping system to /sdcard/nandroid/HT9CTP801112/BDES-20100314-1115/system.img...................................done
Dumping data to /sdcard/nandroid/HT9CTP801112/BDES-20100314-1115/data.img....................done
Dump of the cache partition suppressed.
Storing the ext2(Apps, Dalvik-cache) contents in the backup folder.
Warning: --ext2 specified but unable to mount the ext2 partition.

Error : Run 'nandroid-mobile.sh' via adb!
I:Set boot command ""
I:Set boot command ""
I:Set boot command ""
[Nexus One Android Development] r8zer:
which rom are you using, and you are using app2sd i assume aswell then.
[Nexus One Android Development] r8zer:
from what i see there it is reading ext2 not ext 4,
[Nexus One Android Development] AdziE:
yap, I'm using hero_over ROM, and a2sd has been installed.. from log what I attached above, it seems the ROM looking for ext2, mean while Im using ext4..

let me try using this way

tune2fs -E test_fs /dev/block/mmcblk0p2
[Nexus One Android Development] Crazydrumerkid13:
i think amon recovery image is messed up i gpt the 1.6.2 and when i press partion it takes a second den it says its done and then i reboot and take out the sdcard and i try the same process again with out a sdcard in and its sayin i have a partitioned card
[Nexus One Android Development] Amon_RA:
Please write in understandable English so we can understand what the f*ck you're talking about.

Thanks
[Nexus One Android Development] JonInAtl:
Thank you!

Your Recovery works flawlessly- just like your old G1 Recovery did for me back when it came out.

I don't understand why people can't take the time and read the directions. It's so simple a Rhesus Monkey with a steel plate in it's head could do it.
[Nexus One Android Development] jz9833:
first off you have to ask yourself the question, why try to partition a card which is not there?

I know his recovery works because I used it to partition my card.

The easiest way to know if your card is partitioned or not is to see if the available space has gone done. Mine did.
[Nexus One Android Development] sinister4g63:
Do you type this stuff into terminal emulator on the phone? Unlocked boot loader, used pauls superboot img. I type in command to flash the recovery and get flash_image not found. Running ERE27 still, haven't flashed a rom.
[Nexus One Android Development] napoleontheruler:
i cant get the rcovery image to flash. i do have root access and have tried both terminal emulator and superboot. i get a cant find file or an error when i use superboot.

can some one please help me with this issue.
[Nexus One Android Development] martincm:
What does the function move to sd do?

Couldn't find the answer as quick as I would in the search through this thread,

but what is the option for in the menu 'Others' named 'Move apps and dalv to sd' if it's not for the apps2sd function?? Does it function as an backup or is it for other purposes ???
[Nexus One Android Development] napoleontheruler:
help please

i am trying to install amon ra 1.6.2 on my brand new nexus one. i have rooted acces but when i go into in terminal emulator and try to flash recovery i get error

"#flash_image: not found"

i cant get it to install from superboot either please help me amon ra
[Nexus One Android Development] JonInAtl:
See first post

"fastboot flash recovery recovery-RA-nexus-v1.6.2.img"

"#flash_image: not found" - Looks like you're trying to flash a file called "flash_image" instead
[Nexus One Android Development] sinister4g63:
Getting this when I try to partition sd or wipe ext:

Error: to "wipe ext" use adb

Whats up with that?
[Nexus One Android Development] SubyWill:
i set nandroid to do a backup, and it's been backing up for over 30 minutes. wtf is going on and what can i do?
[Nexus One Android Development] SubyWill:
nevermind....
[Nexus One Android Development] napoleontheruler:
im sorry

flash: not found
[Nexus One Android Development] Amon_RA:
Flash_image not found means that the binary flash_image isn't found in your current rom... use fastboot instead.

We can't help you if you don't post the recovery log.

Did you check the log yourself?
[Nexus One Android Development] Murphy2712:
Nandroid restore didn't worked for me on my Nexus One.

I'm using 1.6.3 and backuped up yesterday.

When launching nandroid restore, it displays the dots.......... and never stops!

I waited more that 1 hour and decided to "adb shell".

"top" was still displaying nandroid-mobile running.

"df -h" showed no movement in diskusage (but began to write 5mb on data).

I killed nandroid-mobile, "adb pull" to get my data & system files, rebooted in fastboot and flashed them with no problem.

So what's the deal with nandroid restore?
[Nexus One Android Development] Amon_RA:
Please supply the recovery log (as indicated in the first post).

We can't help you if you don't supply a log...

Are you using CM 5.0.5 ?
[Nexus One Android Development] Murphy2712:
Sorry, I didn't know where to look for this file, then I find it in the "Other" menu.

It seems like I need to do it again because now it only contains the last boot (moving recovery.log).

...

It fills data, then system...

Now it works! (in 2mn)

My backup was CM 5.041, then I tried 5.05test2 yesterday which was ok, then installed today test3 but SMS app force closed.

And when trying to restore from test3 to 5.04 it didn't worked using nandroid restore.

I'll try to reinstall 5.05test3 and then restore.

EDIT: still no problem. I'll try to get the recovery.log next time.
[Nexus One Android Development] Amon_RA:
This recovery is not (yet) compatible with CM 5.0.5!

CM 5.0.5 introduces a new apps2sd method which is not yet supported by this recovery.
[Nexus One Android Development] napoleontheruler:
--------------------------------------------------------------------------------

Quote:

Originally Posted by napoleontheruler

i am trying to install amon ra 1.6.2 on my brand new nexus one. i have rooted acces but when i go into in terminal emulator and try to flash recovery i get error

"#flash_image: not found"

i cant get it to install from superboot either please help me amon ra

Flash_image not found means that the binary flash_image isn't found in your current rom... use fastboot instead.

ok i hold down trackball hit power go into bootloader, type in cmd on search bar, then enter the following commands

"cd\

cd c:\superboot

fastboot-windows devices"

it reads my device then i enter the following commands

"fastboot flash recovery recovery-RA-nexus-v1.6.2.img"

and then i get the following message

'fastboot' is not recognized as an internal or external command, operable program or batch file

i am really stuck please help
[Nexus One Android Development] wind0zer:
It is not fastboot flash recovery recovery-RA-nexus-v1.6.2.img but fastboot-windows flash recovery recovery-RA-nexus-v1.6.2.img which u correctly typed the first time.
[Nexus One Android Development] napoleontheruler:
thakx alot that did the trick. now i seem to have trouble flashing the radio. i downloaded the radioa that came with the google apps addon and when i try to flash i get error cand find radio. can someone please give me the correct cmd lines to flash radio through superboot.i have the file Radio_20100203_2_Signed_PASSION.img. Please and thank you. also is there going to be a new recovery image for cm5.05.
[Nexus One Android Development] net.cat:
Excuse me ... in these minutes I'm doing my first "modding" operation on my nexus. I should now install this recovery ... but as it isn't compatible with CM 5.0.5 ... what are the consequences if I decide to install CM? What do you suggest to do to me? :_(

plz help!
[Nexus One Android Development] r8zer:
what do you mean this is not supported by CM, i have just flashed CM 5.0.5 with this recovery and worked perfectly.
[Nexus One Android Development] net.cat:
I saw written in the 1° post...
[Nexus One Android Development] r8zer:
well i have flashed CM5.0.5 and im running apps2sd and had no problems, im thinking it might be to do with the ext4 partion, as it will not back up the ext4 partion, just get error, but still backs up a nandroid, so i dont consider this a big problem.
[Nexus One Android Development] hisoka210:
i'm trying to flash the recovery image onto the nexus through fastboot....i put the recovery in the tools folder load to the bootloader screen then i flash the recovery once it's done i try to reboot into recovery and it just shows the google color x symbol and the unlock symbol at the bottom and nothing happens can anyone please help me lol
[Nexus One Android Development] r8zer:
you could try

adb reboot recovery

while your in command prompt,

c:/androidsdk/tools/adb devices - this will start the adb server.

or

from Hboot, scroll to where it says recovery from your phone, this should have 3 androids on skateboards.
[Nexus One Android Development] net.cat:
ooooooooook tnx man ... so I'm gonna install app2sd too very soon :D
[Nexus One Android Development] r8zer:
just remember net.cat that doing sdcard for apps2sd requires format, and you can make sure to backup your sd on pc b4 partioning your card,

and also do nandroid, and backup those nandroids to your pc.

also, from amon_RA recovery partion your sd before installing CM 5.0.5, make life easier,