yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] hobomeat:
I'm a total newb at flashing roms onto phones.

I've had to use a passimg.zip to revert to epe76 on my N1 after an attempt at rooting gri40 went wrong.

Now I want to get back to gri40, but I can't flash through recovery with update.zip because the signature authentication fails, so I'm trying to install RA recovery to let me turn off authentication.

I have rooted epe76 with superboot.

The OP of this thread gives 3 ways to install RA recovery:

1. Rom Manager: fails when I try to Flash Alternate Recovery, with an error message. (something like: "error, flash failed")

2. PC Fastboot: I don't have fastboot (I unlocked the bootloader so long ago...) and can't find it...?

3. terminal flash_image: first it said "flash_image: not found" (OP didn't mention that! :P ) so I found a copy of it somewhere and put it on /sdcard/, but now I get "flash_image: permission denied"! I have rooted, I am su, and even 'chmod 777'ing both flash_image and the RA zip doesn't help...this is very puzzling.

How can I fix one of these three problems?

Or, even better, is there another way for me to get to stock gri40 (and then to rooted gri40) even though signature authentication fails for signed roms?
[Nexus One Android Development] roriii:
recovery 2.2.1.img help

hello guys i have a question i used to play with galaxy s and we use oddin with pit to root

and now i have a nexus one with unlock boot but with 2.3.3 official not root it ,when i try to install recovery 2.2.1.img my windows7 see it as imag to burn .i try to use it on windows xp it open with note pad can some one give a help what i am suppose to do .

thanks .
[Nexus One Android Development] :
On rom mgr you could try fix permissions first then flash 2.2.1

Or get 2.2.1 img, place on root of sdcard

Open terminal emulator

Type:

su

Type:

flash_image recovery /sdcard/recovery-RA-nexus-v2.1.1.img

Backup first/even an sd card bu
[Nexus One Android Development] zipredictive:
Hi everyone and thank you Amon for this superb recovery.

I have a question. In the past I have had "some" big problems with a2sd+, lot of times after a phone reboot the result was a corrupted sd card...

I've just saw in the amon.ra menu that theres an option to repair corrupted sd.

What does it do? Is this a way to repair that kind of "corruption"? % success chance?

Or that option just do something like a fsck -r ?

Ty
[Nexus One Android Development] efrant:
Do this:

1. Open a shell.

2. Get root access: su

3. Copy flash_image to /data/local/tmp: cp /sdcard/flash_image /data/local/tmp/flash_image

4. Change permission on flash_image: chmod 755 flash_image

5. Flash the recovery: flash_image recovery /sdcard/nameofyourrecovery.img
[Nexus One Android Development] hobomeat:
Thanks rugman.

Today I tried ROM manager again, and it worked...?! I tried multiple times yesterday and got the error every time, but it's fine now.

Cheers efrant.

I don't have busybox installed, so no cp, but I could mv it there....

Anyway, ROM manager is suddenly working now :)
[Nexus One Android Development] efrant:
Cool.

P.S. You could always use cat /sdcard/flash_image > /data/local/tmp/flash_image
[Nexus One Android Development] :
Glad you got--flashing is fun eh :rolleyes:
[Nexus One Android Development] Chosen_on184:
Hey Guys quick question. If i am trying to pull Last_ksmg log from phone after a battery pull. Log is located in the proc folder ..

Can i pull that log while in recovery

(meaning can i access that proc file by using the mount options i see in recovery .. i am at work so i cannot use adb )

Also if do a pattery bull then reboot and use root explorer to access the proc file .. would that last_ksmg log be reflective of whatever error caused my phone to lock up before battery pull

Thanks for answers in advance :)

Edit: Never mind used root explorer
[Nexus One Android Development] Androidity3000:
Hey, I am wondering, is it possible to mount the SDCard to my computer when in recovery? Or any way without booting the device? thanks.
[Nexus One Android Development] denimjunkie82:
Yes, i think it's called "USB toggle" in RA.
[Nexus One Android Development] Androidity3000:
Ah yes, USB-MS Toggle. When I tried it before, nothing happened. That's why I posted. But then I restarted and now it works. Strange, but, thanks.
[Nexus One Android Development] lolittle:
How to do a manual ADB nandroid restore... the recovery says i have to to restore my nandroid backup :(

iv looked into it and found a couple of how to's but they go on about a nandroid-mobile.sh but i get an error saying its not there

Should i do a fastboot flash the .img files instead ???
[Nexus One Android Development] markrodocker:
stuck at boot animation

So I followed the instructions exactly and everything seemed to work great till I turned the device back on. Now it is stuck on the nexus one boot animation. It just plays it over and over. I have waited for up to 5 minutes and just plays over and over. It is really fast though, much faster animation than before :) What am I mising guys?
[Nexus One Android Development] Amon_RA:
This recovery has no influence on booting the device normally, so it's not related to this recovery.

I think you flashed a rom and didn't wipe data...

What does logcat tell you when you boot?
[Nexus One Android Development] custom374:
Can anyone post a mirror for this? Rapid share has reached its limit apparently.
[Nexus One Android Development] Amon_RA:
Re-read every word in the download section of the first post again please... :mad::mad::mad::mad::mad:
[Nexus One Android Development] simms22:
you didnt wipe first. you want to go back into recovery, wipe, reapply the update, then reboot. youll be alright. when going from one rom to another, you generally want to wipe first.
[Nexus One Android Development] simms22:
lol, maybe you should change the font size in the first post of the mirror link to like a 16 or something and make it a bright color. apparently, there are either a lot of people that dont pay attention to what they read or are just blind ;)
[Nexus One Android Development] stian230:
works every time

thanks
[Nexus One Android Development] SiNJiN76:
What do these options do? I know it wipes...but is what is Dalvik-cache, etc.

Wipe Dalvik-cache

Wipe battery stats

Wipe rotate settings

Reason I'm asking is that I used cyan's mod beta 2 and added the google addon. then I wiped data/factory reset because I wanted to...and installed beta 3. Seems that I didn't have to flash the google addons again. so, is the google addons stored somewhere else?
[Nexus One Android Development] Amon_RA:
"Wipe data/factory reset" erases userdata (all your apps and settings), it will NOT erase the system which is basically the ROM (including cyan's mod).

"Wipe dalvik-cache" wipes the dalvik-cache...

"Wipe Battery stats" resets the battery stats that you see when you go to Settings - about phone - Battery use.

"Wipe rotate settings" resets the rotation sensor settings. Use this option only if auto rotate isn't working anymore.
[Nexus One Android Development] enomther:
Any chance we'll ever see those ext tools put back in ?

~enom~
[Nexus One Android Development] jihoonc:
Can't install on vanilla ERE27 nexus one.

I can't install RA-nexus-v1.5.3 on top of vanilla ERE27 nexus one.

It just keeps booting the original recovery image.

Steps to reproduce.

1) Brand new vanilla nexus one.

2) Update to ERE27 via OTA.

3) fastboot oem unlock, fastboot flash recovery RA-xxx, the usual stuff.

4) Booted into bootloader, navigated to recovery, the original recovery comes up instead of RA-nexus-v1.5.3

(btw, double-checked the md5 to be sure. tried using different machine,..)
[Nexus One Android Development] r3pek:
How are you booting into recovery? It's not "Trackball + Power" (fastboot), it's "VolDown + Power" and then VolDown to select Recovery and press Power.
[Nexus One Android Development] jihoonc:
That's exactly what I did.. Still no amon-ra recovery image.
[Nexus One Android Development] codington:
Have you tried to run the recovery from FASTBOOT? Trackball+power to enter Fastboot. If attached to your computer, you should see FASTBOOT USB. Copy recovery_RA_nexus_v1.5.3.img to the same directory where you have fastboot.exe - unless you have updated your path variable to include the SDK tools, then open a command prompt where you have recovery_RA_nexus_v1.5.3.img.

From the command prompt :

fastboot devices (to ensure you can see your phone)
fastboot boot recovery_RA_nexus_v1.5.3.img

This should reboot your phone into the custom recovery image. If this works, then you can flash the same recovery image to the recovery partition.

fastboot boot recovery_RA_nexus_v1.5.3.img

Reboot your phone with VOL-DOWN+POWER. Wait for HBOOT to finish checking, then VOL-DOWN to select RECOVERY, then POWER to select and reboot into RECOVERY.
[Nexus One Android Development] king_dani:
i have tested an arabic patch intended for Cyanogen ROM to enable Arabic on device , and afterwards i tried to recover to a previous point ( right before updating ) from nandroid backup. but i constantly get

Error : run 'nandroid-mobile-sh restore' via adb !

when i try any previous backup. any ideas why is that?

if so , can i recover to previous point by using adb command? if so , how ?

regards
[Nexus One Android Development] worry:
Guys, how to apply latest nexus one update to the rooted phone with RA 1.5.3?

Nexus is rooted and unlocked (so the open lock is being displayed during boot)

I am stuck with verification error, there are some different stuff about this one can google, but no algorithm how to do it.

I've downloaded it, renamed to the update zip.

It is 100% not corrupted, I can open it with ASTRO.

Poweroff

PowerOn - with - trackball

Select recovery

Than something happends and I got to RA's Recovery screen, and if i go to flash zip from card it gives

E:No signature (208 files)

E:Verification failed

I know the answer somewhere on this forum, but I've spent almost an hour in search without any success.

Can anyone help?
[Nexus One Android Development] shivers316:
I did all of this too and still it boots into original recovery. Anyone have any ideas? This is after the update also.
[Nexus One Android Development] leonux:
I also have the same problem. Brand new phone.

1- made OTA update ERE27

2- unlocked bootloader (confirmed by the lock image)

3- flashed recovery recovery_RA_nexus_v1.5.3.img with sucess

4- when booting to recovery with VOL-DOWN + POWER then select recovery with POWER

5- Shows the triangle with exclamation point

Any sugestions?
[Nexus One Android Development] shivers316:
Nevermind I figured it out. Did it through fastboot and once I had CM installed I just reflashed it the old adb way and now it's all good.
[Nexus One Android Development] twolves14:
If i have v2.0.0, can I just go into recovery and flash the v2.2.1 zip, and update fine? Sorry for noob question, just double checking.
[Nexus One Android Development] productofusa:
Good lord, finally flashed RA as opposed to cwm, to make a2sd, nand backups,ect work correctly.

Temeseks wipe, Flashed 51, a2sd, after a day all is smooth as silk.

Thanks Amon Ra
[Nexus One Android Development] harmohn:
Yes you can :)
[Nexus One Android Development] dgart08:
Amon RA 2.3

when will version 2.3 be available for N1?
[Nexus One Android Development] GldRush98:
Some times you have to toggle it twice before it works. Dunno why, but that has been my experience.
[Nexus One Android Development] dryphi:
so I know you don't think this is that important as per our prior discussion.

But I currently have stock GB 2.3.3 installed with Amon_Ra recovery v. 2.2.1, which I love.

Tonight I received a "system update" notification.

So I said "install", and it rebooted, and when it rebooted it said "can't mount /cache/71d2f9ced610.signed-passion-GRJ22-from-GRI40.71d2f9ec.zip"... It would be awesome if we could set "toggle signature verification" to auto-off so that system updates could be installed and still keep the phone rooted with Amon_Ra.

Thanks.

EDIT: I moved the update zip from /cache to the sd card and flashed via Recovery, but it would be nice if this could be made to work in an automated fashion.
[Nexus One Android Development] Gelroos:
if it that much a bother, just leave sig verify off...
[Nexus One Android Development] dryphi:
That's just it. You can't.

It's automatically set to on every time the phone / recovery starts.
[Nexus One Android Development] efrant:
That's why I use version 1.9 ...
[Nexus One Android Development] dryphi:
It is only a minor frustration as the phone is so rarely updated, but even so I'm tempted to revert back to 1.9. Is anything missing that you wished you had?
[Nexus One Android Development] efrant:
Yeah, it's missing the ability to flash zips from sub-directories - it can only flash from the root of the sdcard. Other than that, nothing is missing.
[Nexus One Android Development] chota_shivaji:
Battery charging in recovery

Hi Amon_RA,

Just wondering if it is possible to charge the battery while in recovery mode? As I understand, since main kernel supports battery charging then, it should be possible to have similar functionality in recovery kernel. Am I right here? If yes, could you please explore this option further?

P.S.: Apologies if this question is already answered as I could find that post(s) in this thread :o.
[Nexus One Android Development] dgart08:
when will we get 3.0??? :p
[Nexus One Android Development] AlexM105:
Is this still in development? I hope so.
[Nexus One Android Development] chota_shivaji:
I checked that battery charging happens while in recovery mode. It can be seen in prints via adb shell cat /proc/kmsg. Just that the notification LED on the phone does not glow to indicate charging status and progress. But that is a minor thing for me.
[Nexus One Android Development] golf60:
is there a chance to get to amon_ra 2.2.1 and further modifications for the desire ? i love this recovery so much... please Amon_Ra...
[Nexus One Android Development] jeffreyljb:
+1,We hope Amon RA can compile for DESIRE.
[Nexus One Android Development] :
hello,

i'm in trouble. i flashed blandroid and miui earlier to try them and wanted to restore my cm7rc1 nandroid backup now. but it fails and says 'oops... something went wrong.

moving the log to the sd card doesn't work either.

i enabled usb mass storage in order to copy some applications. after flashing blandroid i had to use rom manager again to flash amon_ra, since blandroid installs CWM.

i am on 2.2.1 now and have been during the backup.

restoring my test backup i just made now, didn't work either.

what can i do to fix this?

do i have to reformat the sd card?

i'd hate to flash cm7 again thus loosing all my cm settings :(
[Nexus One Android Development] temasek:
Power off and power back to recovery. Should work again, at least it did for me last time I had the same error.
[Nexus One Android Development] :
didn't fix it.

i've booted into cm7 and back to recovery a dozen times and tried the exact step you mentioned right now :(
[Nexus One Android Development] temasek:
Copy your nandroid img to your pc.

Fastboot flash system system.img

Fastboot flash boot boot.img

Fastboot flash userdata data.img

Fastboot flash cache cache.img

Alternatively try reflash your recovery via fastboot. Rename it to recovery.img

Fastboot flash recovery recovery.img
[Nexus One Android Development] :
heh, my bootloader is locked, seems i need to unlock it in order to do that. i always get a signature fail upon flashing amon_ra and i confirmed the md5 hash.

still undecided if i should unlock it now, i got quite a bit of warranty time left.

damnit amon_ra, why are you failing me when i need you :(
[Nexus One Android Development] temasek:
Read this and use flash_image to flash recovery on locked bootloader.

http://xdaforums.com/wiki/index.php?title=Nexus_One/Recovery_Images
[Nexus One Android Development] edjtpa:
IMG or ZIP

Can someone please help me!

I downloaded the latest "recovery-RA-passion-v2.2.1.img" IMAGE FILE.

But when I am in System Recovery...isn't it looking for a ZIP File???

I can't seem to find the IMG file...

HELP!
[Nexus One Android Development] LFact:
If you want to flash recovery image file, have you read the first post of this thread? Of course, you need to root your device to flash it unless you unlocked bootloader already....
[Nexus One Android Development] :
If you have everything else done right on your phone and have recent nandroid:

Download img file to root of sd card--it is an img not zip

You can then flash it thru Terminal Emulator--Open Terminal:

Type:

SU

Then type:

flash_image recovery /sdcard/recovery-RA-nexus-v2.1.1.img

make sure the last part after the last / is the exact name of the img you put on root of sd card--ie if it is as you typed it above in quotes, then replace my text with yours

If you have issues note error--sometimes I have to manually mount my card or mount it as R/W

NANDROID FIRST

Also you can do it thru fastboot--different commands--read instructions in Nexus One wiki
[Nexus One Android Development] CAL7:
Nandroid backups

Curious about what I should backup. Typically, I backup Boot, Data, Recovery, System, and SD-EXT.

Cache is checked by default, but it doesn't make sense to me since I usually wipe cache when I flash. Any reason to backup/restore cache?
[Nexus One Android Development] :
I've had this problem before with a low battery...Amon RA would refuse to restore my backup.

Try plugging in your charger, worked for me.
[Nexus One Android Development] mtw4991:
No reason to backup cache, sd-ext or android.secure, they are rebuilt upon boot anyway. If using d2sd, cache is empty iirc.
[Nexus One Android Development] CAL7:
I am confused about backing up the sd-ext. I used a2sd, so all my apps run from sd-ext. Say sd-ext has been wiped or it is corrupt. When the phone boots up, I would expect it to be totally confused if sd-ext does not have the apps that are sym-linked. What actually happens? Since a2sd moves them from true internal to sym-linked sd-ext, how does the boot process rebuild sd-ext?:confused:
[Nexus One Android Development] mtw4991:
If I understand correctly, when you boot up, DT's script automatically moves all apps to the sd-ext partition and creates a symlink to them each time you reboot. So, if the symlink got messed up, it would re-write it upon boot. I could be explaining it wrong tho.
[Nexus One Android Development] :
It moves apps that are ALREADY INSTALLED ON INTERNAL. Apps located in .android_secure on the FAT32 partition then have to be told 'Move to Phone', this will move them to SD-EXT (as DT 'fools' Android into thinking that SD-EXT is internal memory).

If you flash a ROM and it screws up your EXT partition, and you have no EXT backup, then there is no way to get these apps back (other than manually installing from the Market, or wherever).

In short, if you're worried your EXT partition might get screwed up, then back up SD-EXT.
[Nexus One Android Development] temasek:
Spot on. :)
[Nexus One Android Development] BigMrB:
I only need this cos of wipe sd ext only :) life saver
[Nexus One Android Development] dj tray:
when i try fastboot flash recovery i get an error after it tries to check infosignature.. "FAILED <remote: signature verify fail> how do i get passed that? I would like to inform you guys that my power button isnt working
[Nexus One Android Development] efrant:
Is your bootloader unlocked? If not, you can't use fastboot commands. And if it isn't unlocked, given that your power button is not working, you can NOT unlock it.
[Nexus One Android Development] TreadFox:
Okay, this thread has been quite quiet for the last few weeks, but I will try to get some support here anyway. I was recently trying to flash this recovery over my current one, Clockwork Mod. I originally used Amon Ra, but had switched to Clockwork Mod for its more user friendly features. I am currently rooted (obviously) and have an unlocked bootloader. I tried flashing this, but my flash_image on my MIUI.us rom was missing. I pushed it to my phone's sd card via adb and everything went fine, the command prompt showing no errors. I moved amon ra's recovery to the root of my mircosd card and tried to flash it, everything went smoothly. There were no errors, everything looked like a success. However, I rebooted to recovery only to find that clockworkmod was still there. I have rebooted again and again; still there. I made sure the recovery image was correct... I ran the prompt several times checking for errors, there was none. I tried it on my phone's terminal AND adb. No success... Any help here? It might be entirely possible that it could be my flash_image...
[Nexus One Android Development] temasek:
If u have an unlocked bootloader, why don't u use fastboot instead?

fastboot flash recovery recovery.img
[Nexus One Android Development] efrant:
Do you have ROM manager installed? (I don't use it, but is that maybe reflashing cwm?)

In any case, since your bootloader is unlocked, why not just flash it using fastboot? It gives you a confirmation that it flashed correctly (or not).

Edit: temasek beat me to it!
[Nexus One Android Development] :
Does he need to check for the install-recovery.sh script and remove it, or is that just for coming from stock recovery.

Seems like I remember it only applying from stock recovery
[Nexus One Android Development] TreadFox:
Got this in fastboot. Doesn't provide anymore information than that... How am I supposed allow fastboot to "see" the recovery? That makes no sense. It's still at the root of my microsd card...

EDIT: Silly me! I forgot to change the name of the recovery in my tools folder of my sdk. Thanks guys, fastboot worked!
[Nexus One Android Development] efrant:
That is only if using a stock ROM.
[Nexus One Android Development] Sarkie:
Hi guys,

So I've got a backup that is seg faulting and I have a locked boot loader so I can't use fastboot on each img.

http://paste.pocoo.org/show/457191/

I've tried renaming the .tar files so not to restore them, but still happens.

Can I update the .md5 file to only restore one file at a time, to see which file is the issue? Or any thing else I can try?

Cheers.
[Nexus One Android Development] temasek:
Possible.

md5sum *img > nandroid.md5
[Nexus One Android Development] bbiao:
I think there is NO need to ROOT your phone before flash the recovery image
[Nexus One Android Development] meric04:
Correct, but it does need to be unlocked.
[Nexus One Android Development] GrandMstrBud:
Hello, I am having a hell of a time getting a customer recovery to stay installed. I unlocked the bootloader and sent the command via fastboot and it goes through okay but when going into recovery it's still the stock recovery image.

C:\android-sdk-windows\tools>fastboot flash recovery recovery.img

sending 'recovery' (3366 KB)...

OKAY [ 0.510s]

writing 'recovery'...

OKAY [ 1.364s]

finished. total time: 1.878s

I just did another phone over the weekend with no problems.
[Nexus One Android Development] uoY_redruM:
Ive still been wondering how to edit/change the background.

Can anybody point out how to do so?
[Nexus One Android Development] :
Make sure this isn't in system. install-recovery.sh

If so remove thru adb--

adb shell

su

mount -o remount,rw /dev/block/mtdblock3 /system

cd /system/etc

ls

And, if install-recovery.sh is present:

rm install-recovery.sh

Or delete with Root Explorer
[Nexus One Android Development] kuzeto:
Hi I have one noob question. I have stock android 2.3.4. I have created EXT4 but apps still installing on phone. What should I do to apps to install on EXT4?

Thanks
[Nexus One Android Development] Menelkir:
Wait.. did you have installed some type of apps2ext? You know, this is not native..
[Nexus One Android Development] kuzeto:
Yes I know that this is not native. That is my question what should I install? Some other kernel or there is some script so I can enable apps to install on EXT4?