yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] stewroids:
I have the stock recovery file right now and I need to upgrade to to this in order to successfully flash ROMS.

After I have put the image file onto my SDcard (main directory, is that a problem?), I load up bootloader by holding the track ball + power button, and THEN plug the USB in?

From there, do I open a windows prompt, or do I have to open fastboot-windows.exe? Once it's successfully flashed, how would I re-boot the phone to see if it worked?
[Nexus One Android Development] My_Name_Is_Neo:
Hey Amon_RA, i have a feature request.

Can you add

directory in the backup/restore script as an option, this the directory where android keeps Froyo's inbuilt A2SD. so people who are not using the traditional A2SD option will be able to do full backup & restore.
[Nexus One Android Development] clustered:
again! thanks very much!
[Nexus One Android Development] alexh3791:
(I'm really sorry if this question has been asked before; I have searched for quite some time to try to find the answer.)

Whenever I back up the Google proprietary system files, I can't seem to find them when I use my file manager to get to /cache/google/.

I can access /cache/, but the /google/ folder does not appear to exist.

What am I doing wrong?

(My phone is definitely rooted, before you ask.) ;)

-Thanks!
[Nexus One Android Development] J.L.C.:
Is there a way to disable signature verification of zips?
[Nexus One Android Development] Daneshm90:
Download his source, edit it, compile it, repackage it, flash it. BAM !!! :D
[Nexus One Android Development] J.L.C.:
So, basically - no there isn't a way :D
[Nexus One Android Development] Daneshm90:
No but u bring up an interesting point, i have been wanting to merge Koush's and amon ra's recovery and pick/choose things i like from both and combine into one. Might just do that and merge into my custom recovery binary (Link)
[Nexus One Android Development] buttsbuttsbutts:
How do I go back to the stock recovery?
[Nexus One Android Development] leonnib4:
read the sticky?!
[Nexus One Android Development] J.L.C.:
Does anyone know if stock recovery gives a log?
[Nexus One Android Development] namtrac:
I have one interesting problem; I am on stock FRF91, bootloader is unlocked. I installed MoDaCo's superboot via fastboot and superuser app works fine. I flashed recovery via fastboot but I am still booting the stock recovery.

I did a factory reset but that didn't help. Any ideas appreciated.

Regards,

ismail
[Nexus One Android Development] karimaelo:
I have unlocked my phone i can go to bootloader successfully. I have FRF91. I i have flashed my device with this image. But still im rebooting into the stock recovery the one with the exclamation mark.

I also downloaded the superboot from the given link for FRF91.

Anyone help please
[Nexus One Android Development] juansuandi:
still get run nandroid mobile.sh if backup from nandroid and wipe ext. any fix for this? thanks
[Nexus One Android Development] tom2164:
Help with updating htc evo (supersonic)

I am a total noob, can someone plaese point me to a how update my evo with cm6. I have previously tried the unrevoked method and the simpleroot. Neither has worked for me. Please let me know or provide a like. I am verrrrrry much a noob.

Thanks

Tom
[Nexus One Android Development] IamJAX:
Hi,

I am getting the following the I give 'flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img' command.

What does this mean? I am on frf91. HBOOT is 0.33

I tried rebooting and it was new recovery. I tried making a nandroid backup.

Is there any issue with that error?
[Nexus One Android Development] HTCDevil:
Thank you so much Amon-RA, you're "the recovery" for all htc.
[Nexus One Android Development] LeDiable:
You're the Best..Amon RA.
[Nexus One Android Development] Amon_RA:
It means you have a bad block in your recovery partition.

You can compare it with a bad sector on your PC's hdd...
[Nexus One Android Development] HTCDevil:
You have to delete /system/etc/install-recovery.sh and then flash recovery via fastboot as well. I had the same problem yesterday :D
[Nexus One Android Development] jaimepar:
Awesome recovery! I like it better than ClockworkMod but I wished it worked for the RomManager. Oh well.
[Nexus One Android Development] IamJAX:
Thanks for the reply.

What is the best solution for this? Recovery loads fine. Did it flash ignoring the bad block or is a corrupt recovery loaded?Can I trust it in flashing rom?

Edit : I dumped recovery partioion as mentioned at http://xdaforums.com/showpost.php?p=7429860&postcount=104

The MD5 of the dumped recovery matched. So, I believe everything is fine and the file system must have taken care of the bad block. Am I correct?
[Nexus One Android Development] bulier:
Not sure if anybody reported before, I got a problem when the SD card have many folders under the root directory (which need more than one screen), seems I can not move the selected item to the zip images which is out of the screen.

Maybe we can consider add the scroll feature? Thanks a lot for your great works.:)
[Nexus One Android Development] aluxzen:
Hello I got the same issue...but how can I delete this file ?

i try this but ... :

# rm /system/etc/install-recovery.sh

rm /system/etc/install-recovery.sh

rm failed for /system/etc/install-recovery.sh, Read-only file system

#

can someone please help me ?

Thanks

Alex
[Nexus One Android Development] brunen9:
aluxzen

Try RootExplorer (or something else) to mount "/system" as r/w and than delete this file.
[Nexus One Android Development] aluxzen:
Thanks that works ! :)

Alex
[Nexus One Android Development] icnocop:
Thank you very much Amon_RA!

I am just wondering if there are any plans to update the dream edition to 1.7.0.1?

I am mainly after:

"Fixed wipe script, dalvik-cache is wiped in /cache /data and /sd-ext if present"

I had to do those steps manually after encountering a reboot loop.

Thanks again. :)
[Nexus One Android Development] Joshua Talley:
is there a way to change the permission via command line? My system folder permissions are rwxr-xr-x and I can't delete this file either.
[Nexus One Android Development] leonnib4:
Adb remount

Read doc about adb and chmod

Sent from my Nexus One
[Nexus One Android Development] WaPeR32:
I have a "problem", I made the two parts of this tutorial (root + recovery).

Yesterday I were going to flash a ROM and I had no recovery!!!!!! I have the stock recovery!!

I'm confused.

Is this normal? I know that I can repeat the tutorial buy I want to know what happen

Thanks!

PD: I couldn't delete 2 files (this commands: rm /system/etc/install-recovery.sh -- rm /system/recovery-from-boot.p)

EDIT: If I try the Teminall app and the command "flash_image...." I get an error like "flash_image not found"
[Nexus One Android Development] Talderon:
1) Download recovery-RA-nexus-v1.7.0.1.img to the root directory of your SD-Card

- Note: UnMount your SD-Card after copying these files, but keep your phone plugged in

- or don't mount SD-Card at all and push the file via adb to /sdcard

2) Save file "flash_image" to sdk tools directory:

3) In your terminal run

adb push flash_image /data/local/tmp/flash_image

4) run

adb shell

su

- At this point, it will hang until you choose "Allow" on your phone with the SuperUser app pop-up

- $ should now be replaced with #

6) run the following commands:

cd /data/local/tmp

chmod 755 flash_image

./flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img

That's it.
[Nexus One Android Development] Beebe:
I have used the One click root app t root my nexus one. Can i use the instructions above to flash Amon? Id rather do this than use CLockwork which I know i can install via the ROM Manager
[Nexus One Android Development] Talderon:
The above is what I used to put Amon_RA recovery on my N1 using a root method that did not unlock my boot loader.
[Nexus One Android Development] Beebe:
Excellent - I followed the instructions and it worked a treat :)
[Nexus One Android Development] Talderon:
Glad to have helped. :D
[Nexus One Android Development] WaPeR32:
@Talderon and Beebe, I did that twice. But I have this problem, in the first reboot after make these commands I have the Amon_RA's recovery but after a second rebbot i lost it and have the stock recovery.

I talked with the autor of the tutorial and he modified it:

So, please try to reboot your devices and tell me what happen!

Thanks!
[Nexus One Android Development] Amon_RA:
Please follow the instructions in the first post :

Pre-Requirements :

- unlocked bootloader : How to unlock the bootloader.

- root access : Modaco's superboot.

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).

If you don't install modaco's superboot the /system/etc/install-recovery.sh script will be started by your init.rc script at boot time and the stock recovery will be flashed.

You can manually remove the /system/etc/install-recovery.sh file or you can update your init.rc script so it doesn't call /system/etc/install-recovery.sh at boot.
[Nexus One Android Development] WaPeR32:
Thanks!

But I want to keep my bootloader locked so maybe the only thing I need to do is remove manually the /system/etc/install-recovery.sh because I couldn't remove with the commands of the tutorial I followed
[Nexus One Android Development] Beebe:
I just came back online to ask about this. This is the exact behaviour I am seeing! Confusing haha.

Thanks for the advice.

What would be the ADB or shell command to copy this to the pc then remove it off the device?
[Nexus One Android Development] DarkDvr:
Went from Cyan 6 to stock FRF91, flashed this recovery from fastboot. First time recovery worked, second time I tried to get into it - exclamation mark in a triangle - doesn't boot.

Same thing with Clockwork recovery.

The only recovery that worked is Clockwork 2.0.1.3 and old RA recovery.

Now this recovery doesn't work, clockwork doesn't work, and I can't install old Clockwork through ROM Manager, because stock FRF91 doesn't have Superuser permissions (which, to install, I need a custom recovery).

EDIT: managed to find a zip with busybox and superuser, somehow RA recovery booted for me, 1 time after reflash.. just enough flash the busybox/superuser.. now it works =)
[Nexus One Android Development] Beebe:
Surely you can just use: http://xdaforums.com/showthread.php?t=747598 to root the phone via one click. Then start again? You will have root with superuser and you're away :)

Also see top post on this page to see why the recovery image keeps resetting and the work around.
[Nexus One Android Development] brandon.d:
i just unlocked & rooted my phone, now i'm trying to download this recovery but it keeps saying "mounting failed". any help? thanks
[Nexus One Android Development] Beebe:
How are you installing this recovery?
[Nexus One Android Development] brandon.d:
i plan on just installing via my phone. but when i download to my Mac it says "mounting failed"
[Nexus One Android Development] Beebe:
At what point does it say that on your Mac? When you try and open it?
[Nexus One Android Development] brandon.d:
no on my download list. it saves to my desktop but under the download list it says mounting failed. i still tryed to push the file through using terminal on my phone but it says flash_image not found
[Nexus One Android Development] bighulk666:
I have tried renaming and copying the file, and both attempts failed.

adb shell

su

cp /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak

Read-only file system

Same goes with the 'rm' (remove) command, read-only.

EDIT

Problem solved. I over looked a step i thought i had already tried.
[Nexus One Android Development] bweezy21:
i have ran superboot and the install-recovery is still there. how to i manually delete it?

-edit

nevermind forgot to do remount. im all good.
[Nexus One Android Development] brian6685:
for some reason all of a sudden when i try to nandroid-restore from recovery, it says I need to use adb nandroid-restore.sh to do this? Anyone know why or a way around this?
[Nexus One Android Development] Kiserai:
Just run the adb command it says from CMD or terminal. I freaked out the first time it happened to me but its fixable.
[Nexus One Android Development] brian6685:
Yeah i ended up just flashing another rom and used it for a little while, then tried again to restore and it worked, weird. Thanks
[Nexus One Android Development] WaPeR32:
Hi!

Finally I got this recovery working perfectly in my Nexus One. I just needed to delete the /system/etc/install-recovery.sh script as Amon_RA said.

Dolomiti7 (who make the root method i used) edit his tutorial and now is working perfect

Thanks!

What you did?
[Nexus One Android Development] dvp0008:
Hi Amon RA. i have stock froyo on my N1, and rooted, unlocked bootloader.

Trying to Flash recovery-RA-nexus-v1.7.0.1.img to install CM6.

but lots of problems,

I dont have USB cable, i tried to do,

flash_image recovery /sdcard/(.img file)

but it comes

flash_image : not found

i even did it going to sdcard folder, but no results.

so I tried the second mathod and tried putting the recovery image in /system/recovery.img but couldn't ,,i entered from root of the sdcard,..>

#cp recovery.img ../system/

it comes out as.......

#cp: not fount

i dont know if the command is 100% right. but what is the solution to this, I want CM6 badly,

Please help.
[Nexus One Android Development] Snakiej:
I'm unable to boot into recovery, I flashed amen_ra's image,and forgot to do superboot. No problem, I downloaded Paul's superboot and tried to flash that to remove the install-recovery.sh . But I am unable to, since I can't boot into recovery. And I tried go back to stock recovery but that doesn't work either.

Any ideas?
[Nexus One Android Development] fldash:
edit: wrong forum
[Nexus One Android Development] bobbbyjuice:
i performed the 1 click root and upgraded to cm 6 rc2 and am sending my phone back. i flashed back to frf91 but now im trying to get the stock recovery. i have the recovery.img file on the root of my sd card and am using adb to use the following command however this is what im getting

adb shell

su

flash_image recovery /sdcard/recovery.img

and then it says not found. any idea on what the problem is? sd card is mounted.
[Nexus One Android Development] WaPeR32:
Maybe this works

o use a PASSIMG to have a "completely" stock Nexus One
[Nexus One Android Development] kpirlo:
Hi to all.

I want to ask is it normal each time to flash RA Recovery.

Because the first time I'm able to enter to the Recovery mod ,but the second time I can not enter it's shows triangle instead.

Sorry for my bat English

Edit: I found what I need to do
[Nexus One Android Development] darkstar38:
Thanks for posting this. I recently got another warranty nexus and rooted the phone with the one click app. I couldnt get the phone to work in terminal it kept saying adb permission denied. So I went into adb on my computer and ran your commands and it worked. I now have amon ra and cyan on an unlocked bootloader!!!:)
[Nexus One Android Development] Poseidon20:
Flash Recovery Issue

I just rooted my Nexus 1 Froyo per instructions on theUnlockr.com. I installed ADB first, Then proceded to root. I then flashed a recovery rom: recovery-RA-nexus-v1.7.0.1-cyan.img. This was successful. I then booted phone into recovery mode. Selected recovery and the first couple times I received a black screen with an exclamation point in the middle of a triangle next to green android. I flashed recovery rom once again and this time it allowed me to enter. I made my backup image and even booted into recovery mode again…wiped phone clean and restored image. I thought I was golden! Later I tried to boot into recovery mode again and I received same problem as mentioned above. I tried again no luck. I even flashed recovery rom again and It still dose not work. Why could this be happening? I even went through the steps to root phone again (that went well). But still no recovery mode. I even tried another recovery rom: recovery-RA-nexus-v1.7.0.1.img. It did the same thing. Worked one time and then nothing. I tried your steps: (Copy recovery-RA-nexus-v1.7.0.1.img to the root of your sdcard

start the terminal app

su(press enter)

flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img(press enter)

reboot recovery(press enter)

I received MESSAGE permissions denined after flashing image from recovery card. Please help if you can. I can not install custom ROMS if I can not access my recovery menu. Thank you in advance!
[Nexus One Android Development] dryphi:
Recovery - which is best?

I've been using the recovery-RA-nexus-v1.7.0.1.img for a few days now and I really like it. Haven't had any problems.

I'm hoping I can get someone to chime in as to the best recovery to use? I'm considering a switch to the ClockworkMod recovery because then I can use the ROM manager app. Does anyone have any experience with both? Pros/Cons? Is there anything I'm not considering?

I'm relatively new at this btw... Currently using backups to switch between the MoDaCo mod and the Cyanogen mod, among other things.

Thanks!
[Nexus One Android Development] shotta35:
Who says you can't use romanger now with this recovery?
[Nexus One Android Development] dryphi:
If you even want to get the CWM app it says "must have ClockworkMod Recovery installed"

If you happen to have the app already (it came with the Cyanogen mod I'm using) it says the same thing when you try to use it.

Am I missing something? Can you use CWM with Amon Ra recovery now?
[Nexus One Android Development] J.L.C.:
Anyone having issues with the reporting of bad blocks in recovery.log?

I just sent my phone in to have bad blocks repaired (or flash replaced). It came back with a new IMEI number, but when I restored my nand backup and then read recovery.log - it shows the same bad blocks in exactly the same positions!

Did they just not repair my device? Does every N1 have a bad block in the /boot partition? Or is the bad block reporting in this recovery a little "off"?
[Nexus One Android Development] Amon_RA:
You are missing the flash_image binary...
[Nexus One Android Development] Talderon:
Amon_RA,

Rumor has it that you will no longer be supporting this or doing any further development. true?
[Nexus One Android Development] existonz09:
hi .. i need a quick reply.. my N1 right now is stuck at the X logo (the 4 color logo) and cant boot up.. Even recovery isnt working..

I tried to change my fonts with Type Fresh and now my phone won't even start.

It gets stuck at the first Nexus logo(4 color X). My recovery via bootloader-> power+trackball button

also not working. It gets back to the first menu after showing the Nexus X Logo for a split second

(under the option: "Fastboot . Recovery . Clear Storage . Simlock menu", i choose Recovery and press

power button but it goes back to "Bootloader. Reboot . Reboot Bootloader . Power Down" menu after

showing the Nexus X logo for a split second)

someone told me i should flash recovery via Fastboot.. Before this problem i flashed Cyanogen Mod Rc2 with Rom Manager

with no problems.. I am not sure if i did a backup via Amonra or Clockwork Recovery(i did one of it though) Can i flash a clockwork recovery via Ra-Nexus recovery and vice versa ? Is the recovery files universal ?

SO... since i used the 1-Click root method (http://xdaforums.com/showthread.php?t=747598), my bootloader is

pretty much still locked.. But with that 1-Click root, i was able to use AmonRa and Clockwork Recovery

without unlocking bootloader at all.

Do i still have to unlock it to install this Ra Nexus(amonRa) recovery ?

i am on FRF91

Hboot -0.33.0012

Radio -4.06.00.12_7
[Nexus One Android Development] ssosso:
I have a problem. My Nexus is rooted without problem. Then i install de recovery-RA-nexus-v1.7.0.1.img file using fastboot mode without any error message. But when I try to enter into the recovery mode, the nexus reboot, display the "nexus X" and the screen turn black with no response. The only way to reboot is removing the battery.

I read that the file install-recovery.sh must be deleted, but I search in the /system/etc directory and I can't find it (and the rest of the directories).

So what can I do?

Thanks
[Nexus One Android Development] dunn0w:
Got the exact same problem :S..
[Nexus One Android Development] xx_ED_xx:
I have the same issue. No recovery mode, I honestly think the phone goes into it I just cant see the screen, is there a way to do it thru the adb?
[Nexus One Android Development] khaytsus:
If you guys did NOT remove the /system/etc/install-recovery.sh and /system/recovery-from-boot.p files as instructed you will need to reflash the recovery, then it should work.
[Nexus One Android Development] xx_ED_xx:
How do i do that or is there a thread with instructions

Thanks

PFC Coss
[Nexus One Android Development] ProfessorAsian:
I can't figure out how to delete recovery-from-boot.p either. I used adb shell, I gained root access by using su then tried to rm -r -f the file, but it complained of it being only read only :(
[Nexus One Android Development] ssosso:
But that files don't exist.
[Nexus One Android Development] dunn0w:
I still cant get in the Recovery mode.

I tried the Rom manager and i tried to do it manuel.

Everything goes smooth, but when im in bootloader and select Recovery, my phone boots with an X after that it will go black.. and have to pull out my battery to get it to start again.. What i am doing wrong?:confused:

Ps. sorry about my bad Englisch:p
[Nexus One Android Development] telee:
I did re-partition my 16GB SDHC card and convert the ext2 partition to ext3 then ext4. However, still `mount` and `a2sd check` says it is still ext2. Do I miss any important steps to make it recognized as ext4 ? I use eViL's NXSense 1.07s which supports ext4..
[Nexus One Android Development] ssosso:
I had the same problem. At the begining I thought that I can't enter into recovery mode, but when I plug the usb cable, I saw that I can send adb command (for example adb reboot, and the phone reboots). So I think the problem is in the new SLCD screen of the Nexus, that not work in recovery mode.

Then I tried with "ROM Manager" and I could see that my recovery was the recovery-RA-nexus-v1.7.0.1.img; after that I installed the clockworkmod recovery and try to do a backup of my actual ROM (the vodafone original ROM). The phone reboot, the screen turned black (I think it was in recovery mode), and after six or seven minutes the phone reboot in normal mode, and the backup of the ROM was perfectly done.

So the Nexus with SLCD can enter in recovery mode but with the screen off.

I want to ask if is possible to make a screen capture in recovery mode to see was is happening in the nexus?
[Nexus One Android Development] nicandris:
khm khm where is 1.8.0 recovery? :P
[Nexus One Android Development] crachel:
http://dl.dropbox.com/u/4548341/awrecovery.img

haven't tried it yet though.. (from http://ow.ly/18MEtx)
[Nexus One Android Development] notxel21:
So far so good! :cool:

Thanks Amon!

Here is a screenshot!
[Nexus One Android Development] dunn0w:
That would be a realy good idea.

1.0.8 is also not working for me :( still black screen
[Nexus One Android Development] jdmoore81:
Would be nice to see that pretty x version
[Nexus One Android Development] khaytsus:
You'd have to remount /system read-write. You'll need to look at the output of df, note which exact device /system is, then:

mount -o rw,remount /dev/exactnameyounoted /system

Then rm the two files, reflash Amon.
[Nexus One Android Development] flattermann:
I've just flashed RA 1.8.0.1 to my (Vodafone) Nexus One LCD.

That's finally a working Recovery image for my device!

(No other Recovery images did work, all of them just went "black" when trying to enter the recovery mode.)

I took the 1.8.0.1 from:

ht tp://xdaforums.com/showthread.php?t=771507

ht tp://alternate-coding.com/recovery-RA-nexus-v1.8.0.1-aw.img

(Sorry for the broken links, this is my first posting and I'm not allowed to post valid links. :-) )

Good luck,

Christian
[Nexus One Android Development] SubyWill:
i flashed 1.8.0.1 from here: http://xdaforums.com/showthread.php?t=771507

everything is working great :D