yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] mixmaven:
wipe/erase revisited

I have a little of the same issue as AppCritic, but some of it may be my lack of understanding. However I do not remember this being an issue on the hero.

I pushed three files (not including SU from the root thread) to my n1 for the corporate calendar and then wiped using both with the RA bootloader and using Factory Data Reset in the rom itself, the apks were still there when I rebooted.

I then tried fastboot erase userdata and it failed:

erasing 'userdata' .... FAILED (remote: not allowed)

fastboot erase cache completed successfully.

I then went in and rm'd the files manually but was curious why?

Also, a little off topic but I see it mentioned in this thread, how do I keep google from reloading all of the apps I downloaded?

Thanks!

-mix
[Nexus One Android Development] everythingisround:
Try as root

I couldn't copy the new recovery image or delete the userdata/cache until I ran the fastboot-linux as (sudo) root. Hope that helps others.
[Nexus One Android Development] clandest:
is there another mirror? Rapidshare is being retarded and won't let me download.

edit: nvm i had to click mirror. I thought it was all 1 link haha

also does anyone know the commands of getting amon_ra on OSX?

kind of like seraph1024 instructions for rooting. I am not sure of the commands needed to get the .img installed. I am in fastboot.

http://xdaforums.com/showpost.php?p=5294141&postcount=2
[Nexus One Android Development] harsaphes:
Ok so i have unlocked and rooted my phone. No problems. But I am confused as to the recovery file..where are you downloading it to?..the sd card? or the desktop?

Thanks
[Nexus One Android Development] harsaphes:
figured it out. thanks
[Nexus One Android Development] clandest:
mind sharing?
[Nexus One Android Development] clandest:
I am getting this
[Nexus One Android Development] pr0cl1v1ty:
yes please explain i cant figure out how to flash the recovery
[Nexus One Android Development] clandest:
what do you need help with?
[Nexus One Android Development] pr0cl1v1ty:
installing the recovery, ive unlocked bootloader and im in fastboot as we speak, were does the recovery need to be? i have it on my desktop and in the root of my sd card

EDIT : I dont understand these steps

fastboot devices (to make sure that fastboot "sees" your phone)

fastboot flash recovery recovery-RA-nexus-v1.5.3.img
[Nexus One Android Development] clandest:
move the recovery.img into the android sdk folder and you should be good

then just type fastboot flash recovery recovery.img

to be more clear, make sure you are in the fastboot usb on the phone just like on the root

type in fastboot devices and make sre you see a serial

JSHFS125321 fastboot something like that

then type

fastboot flash recovery recovery-RA-nexus-v1.5.3.img
[Nexus One Android Development] pr0cl1v1ty:
i was suppose to have the sdk?

ok.... now i need to figure the sdk out lol .... wow im such a noob
[Nexus One Android Development] clandest:
look for a tutorial on youtube or something on how to install android adb that will tell you how to get where you need to be

then you just have to run those line of codes.
[Nexus One Android Development] confrontation:
In terminal I type flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img and it just says no image found (100% sure on it being on my SD card)

If I type /sdcard/recovery-RA-nexus-v1.7.0.1.img it says access denied and if I type recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img it just reboots into recovery mode.

What can I do?

I dunno how to use ADB and I cant get the fastboot method to work.
[Nexus One Android Development] makrovi:
Help, stuck on exclamation point. log included

Hello,

I have made it all the way to this point. I can boot into the recovery image. But, after following the flash instructions and getting OK, I get the image of the droid with exclamation.
[Nexus One Android Development] techlogik:
Did a nand restore from RA, works great. Backup worked well too..great app.
[Nexus One Android Development] hjaltih:
Same problem here for me....

Been trying to get answers on the Q&A side :)

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

Is it the 1.7.0.1 version that is the problem maybe?

(Nope, Tried the Cyanogen version and 1.6.2.img aswell.... always the little droid with exclamation mark when I try to enter recovery :( )
[Nexus One Android Development] hjaltih:
ok, I didnt see this when I was reading the first time.

I know this is a n00b question but how do I delete that file?
[Nexus One Android Development] futango:
you guys prob need this.

http://android.modaco.com/content/g...-erd79-frf50-superboot-rooting-the-nexus-one/
[Nexus One Android Development] hjaltih:
Nope, did that allready and I have the Market enabler working out just fine but I can't seem to delete that file.

I see it in Astro file viewer but I can't delete it....
[Nexus One Android Development] M3TR1C:
Hit me if you want. I've been trying to install 2.2 for like a week now. I've done everything that I was suppose to do to root my phone and now that i just discovered the MD5 is incorrect. I'm guessing this is why i can't flash your recovery img. What do i need to do to get these numbers to match cause i constantly get that the recovery image isn't found and if i do a 'su' command it said that access is denied. If you can please help me that would be great. Just trying to get the recovery image on there. Searched and really didn't find anything thx...:o
[Nexus One Android Development] phaelenp:
Yeah, I'm also having the issue with returning to the droid exclamation screen! This is a swapped/new N1 and I've done it before successfully on my previous N1. I can see the .sh file in Astro but cannot rename or delete or move it. Terminal also doesn't seem to allow me to do it. PLEASE HELP so I can just get past this step and reflash my ROMs etc :)
[Nexus One Android Development] Tolstoid:
For those about to flash (N1+Cyanogen-5.0.7)

For those about to flash this in conjunction with CyanogenMod-5.0.7-N1, I would recommend doing so with the fastboot method, as the flash_image script on the console did not work for me.
[Nexus One Android Development] Hyper4mance2k:
HELP ME! I cannot get this recovery image to flash for the life of me. here's the story. I have what was a ere27 build N1. 2 weeks ago I did the manual update to Google's prerelease of Froyo. Now my phone is a FRF50 build. As everyone else found out it's buggy as hell and GPS does not work. I searched for weeks to try and find a fix and I couldn't find anything other than to unlock the bootloader root the device and flash a different rom onto the phone. So I unlocked the BL from instructions here. Then in downloaded Pauls 1.0 FRF50 superboot. I tested the root with torch and it works, so the unlock and root must have worked. This is the first time I have ever used the cmd window and I have tried everything under the sun to get this thing to work so I can flash Pauls froyo and have working GPS again.

I followed the instructions found here, but I keep getting this error.

Microsoft Windows XP [Version 5.1.2600]

© Copyright 1985-2001 Microsoft Corp.

cd C:\fastboot

C:\fastboot>fastboot-windows devices

HT9C*******8 fastboot

C:\fastboot>fastboot-windows flash recovery C:\fastboot\recovery-RA-nexus-v1.6.2

sending 'recovery' (3954 KB)... FAILED (remote: not allowed)
[Nexus One Android Development] irishrally:
Why are you trying to flash the old version of recovery? I think you may have been successful, usually it says fail about something but it often still actually flashes properly. Did you try booting into recovery (power button plus volume down button)?
[Nexus One Android Development] Cpt.Curry:
Is it necessary to do the update for the recovery. I'm right now on 1.7. Is there a way to update without using a comp.
[Nexus One Android Development] codington:
Have you tried to just boot the recovery - and not flash?

Copy recovery-RA-nexus-v1.7.0.1.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 boot recovery recovery-RA-nexus-v1.7.0.1.img

If you are having trouble flashing to make the recovery stick, try just booting it and running it that way. At least then you can make a nandroid backup and even flash Paul's ROM.
[Nexus One Android Development] irishrally:
1.7 will work fine for you unless you need some of the features in 1.7.1 (see OP). If you are asking this question you probably don't care about or will use the changes in 1.7.1.
[Nexus One Android Development] Hyper4mance2k:
I got it fixed thanks.
[Nexus One Android Development] scrappyabs2:
IMG files

Is it possible to add an option in Recovery to apply IMG files, such as radio upgrades, recovery upgrades, and whatnot?
[Nexus One Android Development] tom_style:
Does anyone know how I can convert a ext4 partition into a ext3 partition? Sorry if this is a newbie question...
[Nexus One Android Development] flitzjoy:
Help please

Sorry if i´m too noob but I have a nexus for almost one month and cant install amon ra recovery and so.

I already have unlocked the bootloader, updated to froyo test release (FRF50) and rooted it with paul´s superboot.

I have sucess to install amon ra recovery via fastboot or terminal BUT I always come to stock recovery.

Amon Ra said in big red letters:

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

Ok, I have this file but please someone help me how to delete it!!! No sucess in terminal ( su -> rm /system/etc/install-recovery.sh -> file read-only).

I´m looking to some help about how to remove this damn file. thx!
[Nexus One Android Development] ilmusso:
Before the "rm" command you have to "remount" your device to have read/write permission:

adb remount

rm /system/etc/install-recovery.sh
[Nexus One Android Development] hjaltih:
Re: [Recovery] [30-May-2010] RA-nexus-v1.7.0.1

Sir you are a king amongst men. Thank you for this info.
[Nexus One Android Development] flitzjoy:
First thanks for the fast reply.

To start i tried the command in debug mode and i got operation not permitted at remount. Its ok, system is booted, lets try in recovery mode.

For some strange reason adb dont respond in recovery mode. No devices attached it says. I will try in another computer later.
[Nexus One Android Development] giovannizero:
Recovery mode doesn't have USB debugging enabled for some reason. Boot regular and then do this:

adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

You should now be able to delete the update.sh following the previous instructions. No "adb remount" needed.
[Nexus One Android Development] flitzjoy:
giovannizero you are my hero! :D
[Nexus One Android Development] j.bruha:
Bump for great glory! Why isn't this thread a STICKY?!
[Nexus One Android Development] hjaltih:
Just wanted to thank you very much for the help in this thread.

Removing the file made everything work.
[Nexus One Android Development] roberto188:
Ext 4 Backup

Can you please provide support for nandroid + ext4 backup. When i do a nandroid + ext backup the ext archive is empty. Thanks!
[Nexus One Android Development] enriqueluis:
please help me newbie!!!!

I have tried all the instructions here for 2 months now! but i was never successful and i don't know the problem i have finished unlocking and rooting my phone but isntalling this AMON recovery is paining me! help me please. it is not installing i keep coming back to an android logo with exclamation point what does it mean?? please!...and i don't know if my computer sees my phone i am using a mac. help me i am crying now!
[Nexus One Android Development] enriqueluis:
please help me newbie!!!!

Hi asero are you filipino?? could you please help me out i keep on booting back to android logo with exclamation point whoever i try to hit the recovery thing. what is the problem?? i tried putting this recovery image to my superboot and fastboot folder but not successful. i have tried so many times i don't know what to do please help??
[Nexus One Android Development] hk5354:
any port for desire?
[Nexus One Android Development] hjaltih:
Check this thread out.

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

You need to remove /system/etc/install-recovery.sh script if you keep booting back in the stock recovery (exclamation mark with a little Android).

This is done with the final instructions in the thread above.
[Nexus One Android Development] enriqueluis:
for MAC users!!!!

downloading 'boot.img'... OKAY

booting... OKAY

new-host:superboot iLuis$ ls

AdbWinApi.dll	fastboot-mac

AdbWinUsbApi.dll	fastboot-windows.exe

adb-linux	install-superboot-linux.sh

adb-mac	install-superboot-mac.sh

adb-windows.exe	install-superboot-windows.bat

boot.FRF50.superboot.img	recovery-RA-nexus-v1.7.0.1.img

fastboot-linux

new-host:superboot iLuis$ fastboot flash recovery recovery-RA-nexus-v1.7.0.1.img-bash: fastboot: command not found

new-host:superboot iLuis$ cd

new-host:~ iLuis$ cd desktop/fastboot

new-host:fastboot iLuis$ fastboot flash recovery recovery-RA-nexus-v1.7.0.1.img

-bash: fastboot: command not found

new-host:fastboot iLuis$ fastboot devices

-bash: fastboot: command not found

new-host:fastboot iLuis$ chmod +x fastboot-mac

new-host:fastboot iLuis$ ./fastboot-mac flash recovery recovery-RA-nexus-v1.7.0.1.img

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

writing 'recovery'... OKAY

new-host:fastboot iLuis$

this is how i was able to install the recovery image with the following commands written!!!!!
[Nexus One Android Development] bcji:
hi there! i know this is going to sound rediculous given your above post but could you possibly dumb everything down for me and give me a run through of how to do this. i've got a rooted and unlocked device but i just cant get RA-nexus v1.7.0.1 onto my nexus using my mac. please please help i've been trying to hours and getting really frustrated. i previously used the method of copying the file to my sd card root and typing 'su' in terminal but it keeps asking me for a password which i can not get right, its not my mac system password?? help please

edit: i persisted, read the whole effing thread, and finally was able to flash v1.7.0.1 to my nexus via fastboot. though i still get asked for a password when i type in su, in terminal, any suggestions, help?
[Nexus One Android Development] Lox_Dev:
Each time I want to restore, it fails on restoring data.img and then erase its content! Anyone faced that problem already ?
[Nexus One Android Development] OutlawPro:
Thank you sir! I was trying to figure out how to delete the file using the terminal app and couldn't figure out why permission was denied as SU. It never occurred to me that I needed to remount the partition with rw access.
[Nexus One Android Development] FormelLMS:
Has your battery enough power?

Nandroid restore checks the battery strength.

If it is too low you become the first error message, you've posted.
[Nexus One Android Development] Bierfreund:
Battery is about 70%. For me it seems like a problem with mounting the sdcard / the sdcard device in the recovery image.

I could recover my backup with the above manual steps, i just wanted to report it here in case it's a general problem
[Nexus One Android Development] roberto188:
Does the Nandroid + ext support ext4

Does the Nandroid + ext support ext4? I try the option and when i go to my SD card the ext archive is empty. Is it supported or am I doing something wrong?
[Nexus One Android Development] leonnib4:
Question: Could it be possible to resize a partition without formating it entierly? Like you can do on computers with any partition manager.
[Nexus One Android Development] Amon_RA:
Could you please post the recovery log right after you got the nandroid restore error?

Copy paste from the 1st post :

Always check recovery.log before posting your issues!

You can do this by doing :

"cat /tmp/recovery.log" OR "cat /cache/recovery/log" right after you had the issue.

OR

Use the "move log to sd" option in the "others" menu right after you had the issue. This will move the log to /sdcard/recovery.log so you can easily open it with a text editor.
[Nexus One Android Development] Amon_RA:
It should support ext4... do you have apps on your ext4 (it will only backup the apps)?
[Nexus One Android Development] Bierfreund:
"move log to sd" also did not work:

Error : Run 'log2sd' via adb!

"cat /tmp/recovery.log" via adb worked.

I attached the log. Description what i did in Post #1018 (i'm not allowed to post a link)
[Nexus One Android Development] Amon_RA:
You could copy paste it here, use the # wrap code...
[Nexus One Android Development] samburney:
My trackball has stopped responding to up and down, is there any way I can use your recovery without that functionality?
[Nexus One Android Development] otto888:
The CLIQ recovery bug seems to follow me around. >.> When I restore while charging,I get infinite dots,and it won't finish. Couldn't get logs.
[Nexus One Android Development] Andrewtst:
Hi, how come everytime I do Nandroid Backup + Ext (I using Ext 3) and during Nandroid restore, it will hanging at boot loader "X" screen forever.

I want to Nandroid back to Kang-o-rama 0.9-SP2 after finish testing the CM 6.0.0-Alpha1.
[Nexus One Android Development] Amon_RA:
The nandroid script checks if the phone is charging or not, and if the battery is below 30% or not. I notice that sometimes the script hangs while checking -> infinitive dots....

I'll remove the whole battery check in the next version, it's causing more issues than good.

In the mean time : make sure your battery is above 30%, remove the charger, boot into recovery, and do the restore.
[Nexus One Android Development] Amon_RA:
Strange... Could you please check logcat (or run ddms) while booting to see what's wrong?

Did you try to clear the cache in recovery mode?
[Nexus One Android Development] J.L.C.:
So i just did a nand restore, and am now trying to restore google proprietary system files.

I'm now on the 12th line of dots (showing progress?). This usually takes no time at all.

Is there a safe way to cancel it and try again??

edit: battery pull worked.
[Nexus One Android Development] mkrmec:
pulling the battery while flashing is really a good a idea yep... :eek:

One question for Amon Ra that's probably been asked before... kinda not want to search trough 100+ pages sry..

How come your recovery doesn't support the stock update files? Why do they need to be repackaged?
[Nexus One Android Development] GldRush98:
The stock update files are just that, patch files that update the system. To update the system the ORIGINAL files must be on the system for the update to process. With out the original files, the update process will fail. It can't update files that have been altered.
[Nexus One Android Development] mkrmec:
But if you have the stock android from google installed it should work?

I mean does stock recovery install the system differently than AmonRa's recovery. Stock from stock ROM, and AmonRa's from repackaged Stock ROM?

Maybe I understood you wrong :D Anyway I'm confused.
[Nexus One Android Development] satvic:
1.7.0.1 did not work

howdy,

running N1 on rooted Froyo FRF93, loaded RA recovery 1.7.0.1 and n1 gets locked in rebooting process, hands on X logo, after 10 min buzzes and reboots, hangs again. I reloaded 1.5.3 again through fastboot, it works, although takes aabout 10 min to load into recovery, to reboot .... Is that the case now? or my N1 is messed up? how do need to clear it out and start clean? I tried running adb catlog but the command hangs on " - waiting for device -" when n1 is clearly connected. Any advice at this point is appreciated.

update: can anyone please send me recovery 1.5.3? all URLs online point to this thread, which only has 1.7.0.1 available for download :)
[Nexus One Android Development] aha27:
i just tried an update on a unlocked N1 with amon_ra 1.7.0 from ERP30 to FRF91 following this manual:

http://bloginblack.de/2010/07/how-t...e-google-nexus-one-from-epf30-to-froyo-today/

i omitted the "fastboot flash recovery ..." in step2 to stay with amon_ra but verification in step 3 failed so i had to flash the ERD79 recovery to be able to install the ERE27 update.zip.

-> amon_ra wasn't able to update although the original files were all there (fastboot flash system ..., ... userdata ..., ... boot ...)
[Nexus One Android Development] leonnib4:
Those zip are for stock recovery
[Nexus One Android Development] grahamwell:
Endless dots when backing up

Hi there, wonder if anyone can help me out.

I'm running the latest LeoFroyo 1.2.0 Beta (yes, I understand) and it's very nice in lots of ways. One problem is that I can't do a nandroid backup. When I try I just get endless dots.

I'm doing it now and this is what the recovery log is saying:

mounting system and data read-only, sdcard read-write

checking free space on sdcard

..Dumping boot to /sdcard/nandroid/HT9CSP803454/BCDES-20100706-2007/boot.img....

.done

Dump of the recovery partition suppressed.

Dump of the misc partition suppressed.

Dumping system to /sdcard/nandroid/HT9CSP803454/BCDES-20100706-2007/system.img..

.................................done

Dumping data to /sdcard/nandroid/HT9CSP803454/BCDES-20100706-2007/data.img......

.....................done

Dumping cache to /sdcard/nandroid/HT9CSP803454/BCDES-20100706-2007/cache.img....

................................................................................

................................................................................

................................................................................

................................................................................

................................................................................

................................................................................

...................../ #

As you can see, the cache is the problem. This will just go on forever.

Any ideas? I'm a bit stuck without a backup.

Thanks
[Nexus One Android Development] aha27:
yeah - but the question was "why do zips need to be repackaged" and the answer was "The stock update files are just that, patch files that update the system. To update the system the ORIGINAL files must be on the system for the update to process. With out the original files, the update process will fail. It can't update files that have been altered. ".

and in my setting i had all the needed files for the update and amon_ra still couldn't update. so why do the zips need to be repackaged if i want to update stock with a stock zip? :confused:
[Nexus One Android Development] roberto188:
Yes

Yes, I've got about 1 gb of apps on my ext4 partition. I have them also backedup via titanium backup on the fat32 partition, but when I do a nandroid + ext backup the ext.zip is empty. I created the ext 4 partition using your recovery image. First a ext 2 then converted to ext 3 then converted to ext 4. Any suggestions?
[Nexus One Android Development] Rafase282:
Hello, could you or anyone else point me out on where can I read to learn how to compile and make my own custom recovery img? I love this recovery, but I would like to add some functionalities from another one. Like make it able to flash a zip from any folder on the sdcard, mount and umount point, also wipe them. Then later in the future make it able to boot anything from a sd partition but i need to start with the basics, all that has been done but not into one recovery yet.
[Nexus One Android Development] Jizzle74:
I cannot get this thing flashed to save my life!!!!! If i try the terminal method everything plays out as supposed to but when i type "reboot recovery" It always takes me to the stock recovery anyway. And i dont have the sh bin file. If i try fastboot i get a signature verification failed. Somebody please help.
[Nexus One Android Development] Kartikp84:
when i fastboot it says that command not valid, my phone is already in fastboot mode, and connected, then why doesnt this let me flash recovery image?