yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] eighty1:
Yes Im using windows and when trying the above it still did not work. If you could give me a ex. of how the 2 lines should be written for windows it would help a lot more. Im still new to android and what you have given me is not familiar. I have used adb remount to do things with and it works with writing adb remount not with adb-windows.exe, so the first line adb remount works without the extra but the second line im not sure how to display. Would like to get root back if you can help. Thanks
[Nexus One Android Development] overground:
Does it make me gay if I like the Carebear verision? If so, I'm gay then. Thanks, AR!
[Nexus One Android Development] defusalman:
Sorry if this is a newb question

but i just started to mess with android when i got the nexus one and i want to update my old recovery ra_nexus_v1.5.3 to the new care bear recovery (cause it looks so cool and just a nice laugh when i go into recovery)how do i do it

do i haf to reinstall it like with fastboot and do this

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

fastboot flash recovery recovery-RA-nexus-v1.6.0.img

or do i do something else and thx amon ra this is so cool recovery :P
[Nexus One Android Development] irajames1176:
I lost root restoring a nandroid on 1.60, but I followed these instructions and I have root back, Thanks.
[Nexus One Android Development] jtn7040:
anyone getting a problem with trying to create a nandroid backup... i get this error and then it tells me to run nadroid-something via adb any sugs?
[Nexus One Android Development] ggrant3876:
Just did a nandroid restore and lost root also. Used the adb commands posted and got root back. Thanks too.
[Nexus One Android Development] vine2u:
[HELP] Unable to flash Recovery file on my Nexus 1

Hi Folx

I have searched and searched this forum abt flashing recovery image. Tried everything and I still end up with the Adroid Guy in a triangle, tough I can boot to the recovery image

fastboot boot recovery-RA-nexus-v1.6.0.img

and I do get the recovery console, but if I try to flash the same, I end up with the Adroid Guy in a triangle

Cheers!!
[Nexus One Android Development] pjcforpres:
1. Wrong section

2. The comand is:

fastboot flash recovery recovery-RA-nexus-v1.6.0.img
[Nexus One Android Development] mortzz:
remember it's

[command] [what you want to do] [where you want to do it] [location of image]
[Nexus One Android Development] xiutian:
And remember to boot up your phone into fastboot mode, otherwise it won't commence the flash
[Nexus One Android Development] shonanthebarbarianTP2:
OK

I will post this question once again in hpes that someone can help. I flashed the recovery fine BUT when i reboot into recovery it stays at the "X" screen forever and does absolutely nothing. REflashed 1.5.3 and everything was fine. Someone please help ?:confused:
[Nexus One Android Development] PsychoKilla666:
i had that problem on my first try with 1.5, reflashed, was succes, upgraded to 1.6 smoothly, not very helpful but try again i guess
[Nexus One Android Development] shonanthebarbarianTP2:
LOL. I have done it like, 4 times. Someone's gotta know what's up :D
[Nexus One Android Development] PsychoKilla666:
damn, that sucks, only thing left i can think of are stupid suggestions, is it in fastboot mode?, is it FAT32? is the image corrupt? i dunno, gl
[Nexus One Android Development] shonanthebarbarianTP2:
yeah my SN pops up when i search devices , reformatting from FAT32 to FAT32 again and I don't know if the img is corrupt . Hmmmmm what to do ? Will see what's up after I reformat I guess.
[Nexus One Android Development] Amon_RA:
You'll need to provide details if you want help.

- How did you flash the recovery? (exact command lines)

- Which fastboot version did you use? (if you used fastboot)

- Did you check the MD5SUM of the download?

What has formatting your SDcard have to do with the recovery?? :confused:
[Nexus One Android Development] shonanthebarbarianTP2:
I don't know what reformatting would do but I tried LOL. I typed exactly what you posted man. Yes I used fastboot. I used the version I got when I first rooted last month. How would I check the MD5SUM?
[Nexus One Android Development] PsychoKilla666:
G1 habits die hard LOL
[Nexus One Android Development] 24bronco:
I had this same problem today. What I had to do was load Superboot first and then Flash the recovery.
[Nexus One Android Development] Amon_RA:
Please don't clutter this thread with questions like this... http://tinyurl.com/ye5mcr4
[Nexus One Android Development] PiCkLeS:
After 1.6.0 when we got the nand backup + ext option I got "back" the problem I had with my HTC Magic. After I ran the first nand backup + ext it didnt go thru, it stopped with something like "try adb nandroid backup instead", cant remember now.

Anyway, now whenever I try to nand restore any of my previous backups, it fails with the same error as above.

Any ideas?

Sorry for bad english.

//P
[Nexus One Android Development] Alclub:
Please help!!

I followed the instructions on this thread exactly:

I fastboot oem unlocked, got warning, accepted.

I flashed the 1.60 recovery image (checked md5), and the terminal on my pc said 'write ok'.

I rebooted into bootloader. (now says unlocked)

I chose the recovery option, but i still get the exclamation mark droid page (android system recovery 2e).

I've hard reset many times, but the recovery image wont overwrite the stock 2e recovery image!

Thanks in advanced! I wan't cyan soo bad!! :(
[Nexus One Android Development] JJackson9995:
Try to Boot to Fastboot... And then use:

fastboot boot recovery.img (Or whatever your recovery file is named).. I'm going on the assumption that you know/understand Fastboot. (Do be sure to have the recovery image in the folder where you hold fastboot/adb tools.)

I had an issue like this with 1.5.3... 1.6.0 is working properly, but it's likely the same issue I'd guess.
[Nexus One Android Development] Alclub:
<edit>

didnt work, fastboot wont flash the recovery image
[Nexus One Android Development] kathompson2nd:
amazing! tested on nexus desire alpha 8 and 9 rom...with both regular and carebear...worked flawlessly, much props!
[Nexus One Android Development] Amon_RA:
Fastboot works perfectly, there must be something wrong with your setup.

Which version of fastboot do you use? Try the latest version which is included in the SDK.
[Nexus One Android Development] prettyboy85712:
Have you rooted your phone?
[Nexus One Android Development] landstander:
Is fastboot supposed to be included in all versions of the SDK? I have the linux SDK at home, and even after installing all available packages the beastie simply isn't present.

Just curious if I have a broken installation, or if it's only bundled into the Windows/Mac SDK. Since I don't have a non-Linux system at home, it's a bit awkward to check.
[Nexus One Android Development] Swervo:
I don't believe fastboot is part of the SDK as it's not an Android specific thing, it's an HTC specific thing. I got mine straight from HTC here: http://developer.htc.com/adp.html#s2

It says it's for ADP, but it works just fine with my Nexus, I've had no problems flashing the recovery, kernels, or unlocking the phone.
[Nexus One Android Development] landstander:
I had the same issue... I think the stock ROM (maybe just since the OTA update?) tries to "fix" the recovery image at startup, which results in you losing the just-flashed image. In any event, here's how I worked around it using recovery-RA-nexus v1.5.3:

Copy each of the following to the root directory of your sdcard: update-cm-XXXXX-N1-signed.zip, and gapps-passion-ERE36B-2-signed.zip.

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

Wipe the device (Wipe data/factory reset)

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

Flash the googly bits (gapps-passion-ERE36B-2-signed.zip) file.

Reboot the device, and go through the normal Android account setup.

At this point you should be able flash the recovery successfully (and have it stick) via fastboot, using the normal procedure. If this still doesn't work, you also have the option of flashing it within CyanogenMod directly.

Copy recovery-RA-nexus-vXXXXX.img to the root directory of your sdcard, and rename it to "recovery.img".

Open the Terminal Emulater app, and type "su<ENTER>". Tap "Allow" when prompted for root access.

Flash the image via "flash_image recovery /sdcard/recovery.img<ENTER>"

As usual with this rooting stuff, don't blame me if your N1 morphs into a rutabaga... I'm only reporting what I did, and don't promise that it's a risk-free proposition. Feel free to PM me if you have any questions, however. :)
[Nexus One Android Development] BrooklynAvi:
Amon_RA, I love your recoveries and use them on all my devices. However, losing root every time I run a nandroid really defeats the purpose of using it since I cannot easily do everything I need to do away from a computer. Is there a fix for this on the way?

Thanks again.
[Nexus One Android Development] simms22:
maybe you should post(in post #1) the method through the terminal on the phone? it might save some people some heartache, you some time, and make the thread less repetitive.

lol, this is the third or forth time ive posted this :) directions through the terminal emulator app on your phone. download the recovery and put it on the main part of your sd card(not in any file. make sure it ends in a .img).

su(press enter)

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

reboot recovery(press enter)

or

su(press enter)

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

reboot recovery(press enter)
[Nexus One Android Development] Amon_RA:
Updated to v1.6.1

Change-log :

v1.6.1

New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue after a Nandroid restore.

New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue. (This will not fix old corrupted Nandroid backups! Please make new backups!!)

New mkyaffs2image binary

New flash_image binary

Reverted to the old green text color

Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)
[Nexus One Android Development] theslam08:
Not sure if this was ever mentioned or if its in here already somewhere, but I think a log of all the flash's would be very nice. Keep track of how many your doing or which you did on what date.

Excellent work anyway, very valuable :D.

THANKS.
[Nexus One Android Development] H0CKEY:
i hope both are not carebear`d!!! :mad:

i am into dark n skulls and abstract ....not fringin carebears or thomas the train or diaper pics LOL

thanx for your hard work on the recovery img though RA !!:D
[Nexus One Android Development] prettyboy85712:
Thank you for v1.6.1
[Nexus One Android Development] blunden:
Thank you for updating the recovery image but changing the background image for the non-carebear one was a really bad move in my opinion. :( I'm sure I'm not alone in prefering the very clean and stylish looking nexus logo image you used in previous versions.
[Nexus One Android Development] Brajin:
I am glad to see there are updates for the recovery image, but can we please get a version with a regular logo instead of the dam bear?
[Nexus One Android Development] 3Shirts:
All the cool kids love carebear, get with the times :D
[Nexus One Android Development] Amon_RA:
Normal version added, next to green and pink carebear version.
[Nexus One Android Development] blunden:
Noticed the new link before your post. Had to fastboot boot it to be sure though. ;) Thanks a bunch for caring. :) I was about to try compiling it from source myself (could be fun) but had to give that up since I didn't find it.
[Nexus One Android Development] m00moo:
installed 1.6.1, created a backup, restored instantly and lost root....
[Nexus One Android Development] simms22:
great job as usual! @Amon_Ra, thank you :)
[Nexus One Android Development] nelson8403:
I created a backup and restored and I kept root..

did this 3 times in a row just to make sure
[Nexus One Android Development] m00moo:
it depends. i did it just once and i lost root. If your referring to restoring the SAME backup three times and keeping root then thats normal.
[Nexus One Android Development] stian230:
thanks again.

everything seems fine so far
[Nexus One Android Development] deprecate:
haha you too?

I had ZERO problems with all other recovery images leading up to the latest update. I knew I shouldn't have trusted that pink bear!:D
[Nexus One Android Development] Gr8gorilla:
So far I think I am good, I love the Green Care Bear!
[Nexus One Android Development] deprecate:
Root is back...I ran another backup and restored it...root was retained this time.

I can't really decide between the green or pink. Personally, I'm glad that someone has a sense of humor and veers towards being creative...I appreciate it.
[Nexus One Android Development] Amon_RA:
Updated to v1.6.2

Change-log :

v1.6.2

New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore.
[Nexus One Android Development] ggrant3876:
Thanks for your hard work.
[Nexus One Android Development] kep0ne:
How long should moving apps+davlik to sdcard take? I think mine has been showing the progress dots for about 15 minutes now.
[Nexus One Android Development] gtrplr71:
should be a few seconds reboot phone back to recovery after powering phone off and try again. my g1 used to do that
[Nexus One Android Development] kep0ne:
That did the trick, thanks!
[Nexus One Android Development] pearce616:
has anyone else used this method? i cant seem to get it to work. keeps telling me "image not found"

any help would be great
[Nexus One Android Development] krumb:
I did this, got a "bad block at ....." message.

Rebooted into recovery, and BAM! A green carebear!

**

did a backup, did a restore...and root is still there!

well done, amon!
[Nexus One Android Development] jaykay111:
Hi, i have downloaded this recovery image, but when i try to unzip it, it keeps coming up with an error saying it cannot process iso.

Anyone know what this can be?
[Nexus One Android Development] Mikey:
Double check which image you downloaded and make sure the name matches
[Nexus One Android Development] packetlss:
The "bad block" message is nothing to worry about, it's outputed by the drivers just for log purposes.
[Nexus One Android Development] pearce616:
yep same name. i remember having name problems with the g1.

is there a typo in the code?
[Nexus One Android Development] krumb:
gracias packet-man...figured as much.
[Nexus One Android Development] gIMpSTa:
image not found means you are probably making a typo. try renaming it to recovery.img (make sure it's on root of sdcard)

and do same command but with /sdcard/recovery.img instead.
[Nexus One Android Development] simms22:
su(press enter)

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

reboot recovery(press enter)

the letters in red have to correspond with the file you downloaded(exact name and spelling). letters in blue correspond to where the file is. also this is case sensitive. one more thing, notice that there is a space between the green and blue :)
[Nexus One Android Development] charkosh:
I tend to just rename for the file "recovery.img" it works fine.
[Nexus One Android Development] gtrplr71:
make sure in type it in correct if you type in a wrong letter or number and backspace the image won't flash
[Nexus One Android Development] simms22:
see, this is how it is... we both are lazy. im too lazy to go and rename the file. i even

flash_image recovery /sdcard/download/recovery-RA-nexus-v1.6.2.img because im too lazy to move the file. and you are too lazy to type out the whole thing(no offence intended) :p
[Nexus One Android Development] simms22:
99.99999% of the time the problem is spelling, punctuation, and leaving the proper spaces.
[Nexus One Android Development] pearce616:
still workin on it. i tried renaming it to recovery.img and still didnt find it. im going to move it into another folder and try that.
[Nexus One Android Development] simms22:
its supposed to be on the main part of your sd. be sure there is a space between recovery and /sdcard.
[Nexus One Android Development] pearce616:
i decided to grab a picture to show you guys and never moved the file. sorry its kinda big i wanted it readable
[Nexus One Android Development] simms22:
redownload it and try it again. you renamed it to recovery right, the file? its on the root of your sd, right? if you used windows you might have renamed it to recovery.img.img
[Nexus One Android Development] darkstar38:
The green Carebear is PIMP! Thanks Amon!
[Nexus One Android Development] pearce616:
downloaded the green instead or normal. still didnt work. its not .img.img and renaming the green one didnt work either. made sure i didnt have to delete anything either, i only used correct letters.

gah ive been at this for so long.

id use the sdk but i cant get that to work
[Nexus One Android Development] bluehaze:
Any reason to install the update over sticking with the old 1.5? Other than carebear options? Not really interested in having a pink bear on my phone and 1.5.3 I think it is? seems to be working fine for everything I have tried so far...
[Nexus One Android Development] landstander:
That error indicates that the "flash_image" utility is what isn't found, rather than the actual recovery image. What ROM are you using?
[Nexus One Android Development] pearce616:
im trying to get the recovery ra on it so i can put cyan on. i got the bootlocker undone and root installed. other than that im on the latest from t-mob
[Nexus One Android Development] GodDriven:
Ladies And Gentleman, Amon Himself, Gee Goilly I believe you've got it.. The Cyanogen Nandroid i Had that always lost root, 1.5.3, 1.6.1, now 1.6.2 is GodSent.. Thanks Amon.. Helps a lot with Cyanogens Roms... Most Don't cause this..

if your on a mac.. type, ./fastboot-mac or /fastboot-mac devices and a list of devices should come up.. I.e. yours.. then follow his simple directions on the main post according to the file you download, I use the pink, I just think it throws people off when a pink Carebear comes up.. They **** themselves.. Plus Pink letters and bars, they freaking really **** themselves..

So make sure the device is in fastboot, press trackball and then press power button, that screen dont do anything but plug it and start where I started above..
[Nexus One Android Development] GodDriven:
Go Check out Modaco's Sense Ui Rom.. It's in my link in the signature..
[Nexus One Android Development] landstander:
Ah. In that case, my suggestion can be found earlier in the thread here. :)
[Nexus One Android Development] kingskidd268:
Back to 1.5.3 the new one are not working for me... bart dont save and nand with ext dont save ext or restore..
[Nexus One Android Development] pearce616:
sent you a pm

does an one know if i even need the ra recovery?
[Nexus One Android Development] simms22:
no. you dont "need" the recovery. but, my friend, when you hack your phone and mess up, youll be thanking amon ra for saving your @ss. plus, look at these features.... your stock recovery can flash stuff in update.zip form, wipe, reboot.

Features

full ADB access in recovery mode

Awesome Care-Bear version! (Blame packetlss for talking me into it )

Busybox v1.15.3

Kernel with ext3 + ext4 support

HW-Key navigation (Trackball + Volume-key) option

Extended menu :

Reboot system now :: reboot your phone

USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)

Backup/Restore

Nand backup :: Make a Nand backup, the following partitions are NOT included :

Recovery (to avoid restoring old version)

Cache (no need to backup imo)

Misc (no need to backup imo + restore issues on some phones)

Splash1+2 (no need to backup imo + restore issues on some phones)

Nand + ext backup :: Make a Nand + ext backup

Nand restore :: Restore a Nand backup

BART backup :: Make a BART backup (Nand + ext)

BART restore :: Restore latest BART backup

Flash zip from sdcard :: Flash a zip update file from your sdcard

Wipe

Wipe data/factory reset :: Wipe /data and /cache

Wipe Dalvik-cache :: Wipe Dalvik-cache both on /data and ext

Wipe SD:ext partition : Wipe the ext partition on your sdcard

Wipe battery stats : Wipe the battery stats in /data

Wipe rotate settings : Wipe the sensor settings in /data

Partition sdcard

Partition SD :: Interactive SD partitioning

Repair SD:ext :: Repair the ext partition

SD:ext2 to ext3 :: Convert ext2 to ext3

SD:ext3 to ext4 :: Convert ext3 to ext4

Other

Fix apk uid mismatches :: Does extacly that

Move apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard (This will NOT enable apps2sd!)

Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
[Nexus One Android Development] pearce616:
simms could i pm you for help? this is killing me and id love to get cyan asap
[Nexus One Android Development] thalib_atc:
flashed and looks good.. Thanks Amon
[Nexus One Android Development] simms22:
please :D
[Nexus One Android Development] djn541:
I LOVE THE GREEN OPTION!!!! Thanks!!!
[Nexus One Android Development] khmerkid:
i have a little problem trying to get this recovery image. i unlocked it, its rooted, i have followed the instruction on how to get the image thru terminal it says flash_image not found. can somebody help me out?
[Nexus One Android Development] confirm045:
Hi. I trired to flash the new recovery via terminal and got the following msg: "flash_image: not found". Im using MCR 1.6. Help
[Nexus One Android Development] Flandro:
Having the same problem. Img is on root of sdcard. Spelled it all right. Am rooted. Adb wont work either.
[Nexus One Android Development] GodDriven:
Thanks for the re-post.. Lol.. :p
[Nexus One Android Development] craigacgomez:
flashed recovery 1.6.2 and debug mode stopped working... sd card could not be mounted on the PC... flash latest CM and everything started working great again... think it has something to do with the kernel (but I cud be wrong... does this play with the kernel... had similar problem with the larger kernel in CM 5.0.3)...

all in all, great work amon_ra...
[Nexus One Android Development] inffy:
The green carebear is lovely <3
[Nexus One Android Development] crazyknallchopf:
sry my bad english...

if evryone can`t flash_image "your-recovery".img from termial, do this:

-download: http://www.android-hilfe.de/attachments/root-hacking-modding-fuer-t-mobile-g1/1259d1256475996-g1-1-6-ohne-root-mit-original-recovery-flash_image.zip

-extract flash_image.zip

-copy flash_image to sdcard (or send it over "fileshare")

-go to terminal and type:

su

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

cd sdcard

cp flash_image /system/bin

-now you can flash your recovery

can anyone confirm this?
[Nexus One Android Development] landstander:
You might also need to change permissions on flash_image, to make the beastie executable (chmod 755 /system/bin/flash_image).
[Nexus One Android Development] eXelero:
thanx, flashed it successfully via fastboot.

the procedure via terminal didn't work, but i'll try the steps mentioned above.
[Nexus One Android Development] crazyknallchopf:
hmmm... why it works on my system without chmod... ?
[Nexus One Android Development] deadpoux:
could we have a cyan one with cyanogen logo on the carebear ? :D
[Nexus One Android Development] landstander:
That's why I used the qualifier "might". :p
[Nexus One Android Development] 3Shirts:
Come on, this isn't cyanogen's! He is already responsible for 90% of the firmware on your phone, let Amon_Ra get the credit for this!

Would you put someone else's name and logo all over your work? :D
[Nexus One Android Development] deadpoux:
i know that , just ask for a cyan one without logo then !