yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Daneshm90:
Did u flash the recovery image ?

fastboot flash recovery <drag recovery image here>
[G1 Android Development] kwrose14:
I tried flashing it several different ways thru terminal and recovery, recieved many error messages. That is when it no longer rebooted into recovery. I am thinking the phone is kinda bricked at this point and trying to revive it.

Unable to use fastboot method, cant seem to get it to work properly
[G1 Android Development] Daneshm90:
K lol come on Here. Ill help u there instead of creating a massive thread :)
[G1 Android Development] kwrose14:
Ok, I fixed it and back to normal with the 1.7 recovery.

Here is what I believed happened.

- Fastbooted using dreaming.nhb

- went to gain root using telnet. Is it possible to rename the amon-ra recovery.img because when I finished root and rebooted into recovery it was using that version.

- performed a wipe

- updated the radio and danger

- flashed my nandroid

rebooted phone and back up and running with no issues.

Now to make a bart and keep everything stable.

Thanks for your assist.

I love being able to tinker with this, you learn so much and there if you cover yourself with backup of your sdcard data and nandroids, there is never really a reason to panic because you can always restore everything back to normal.
[G1 Android Development] Trial&error:
oh wait i just saw it says not to use with CM5.X......... :o thats what i'm running.... my recovery image is still the cyagoneMOD v1.4 + JF
[G1 Android Development] The_Chrome_Coyote:
This is awesome! with a spare SD card for my ROMs, I can reformat, reinstall, and get back up in running in minutes no matter where I go.

Thank you so much!!
[G1 Android Development] APEX.7:
noob here, hello. lol what does this mean in simpleton terms? how do i flash this? do i run console? argh. lol any help greatly apreciated
[G1 Android Development] The_Chrome_Coyote:
have you installed the Android SDK on your comp?

it means open CMD, start adb, then type:

adb shell

# mount -a

# flash_image recovery /sdcard/recovery-RA-dream-v1.2.2.img
[G1 Android Development] APEX.7:
thanks, iv done it now. did ut through terminal.

thanks anyway bro :)
[G1 Android Development] sacredsoul:
mount -a can be removed... I didnt do it. just run the 2nd line.
[G1 Android Development] maxisma:
This does work on 32B Magics too.
[G1 Android Development] francoghini:
if the switchrom is built in into the console how do you use it?(help is much appreciated)

EDIT: i read back a few pages and found my answer
[G1 Android Development] gdre:
this is awsome man!!!

thx thx thx!!

all necessary commands in this img.

sometimes when it's late and i decide to flash and try another image

i wish hardware keyboard has light on for using terminal in the dark...

now i don't have 2 use the terminal

freaky
[G1 Android Development] veneirt:
can i use it on 32b magic?

the flashing process is the same as dream?
[G1 Android Development] Qverse:
Freaking awsome

Thank you

Amon_RA

A all in-one Recovery ...

What Now all I need is something that could backup all apps in some kind of expansion.zip for after formating sdcard.. that could be injected back in ...

WoW .
[G1 Android Development] naimsiddiq:
Noob to G1

tryin to flash image

# flash_image recovery / sdcard/ recovery-RA-dream-v1.2.2.img

flash_image recovery / sdcard/ recovery-RA-dream-v1.2.2.img

usage: flash_image [-d] partition file.img

options:

-d delete the image file after successful flash

#_

What does this mean and what to do next.

Thanx in advance
[G1 Android Development] gtrplr71:
will this recovery flash unsigned roms?
[G1 Android Development] barracudax:
can i use the 1.2.2 img on 23A Magic ?

i just need to get flashrec.apk to automaticaly flash it right ?

just makin sure 1st

thnx 4 the help b4
[G1 Android Development] BReK316:
could you add the option to flash any nadroid backup..
[G1 Android Development] ahijada:
can someone email the file to: akh1685@gmail.com

thank you!
[G1 Android Development] mascool:
Error reading

I booted into recovery console, then typed

flash_image recovery /sdcard/recovery-RA-dream-v1.2.2.img

and it came back saying "error reading /sdcard/...."

Yes, I checked the spelling, it's correct

Now I can't boot into my recovery at all, I only get a message saying "Fastboot USB" in red at the top of the screen.

Any suggestions?

Thanks
[G1 Android Development] mascool:
Fixed it

Nevermind, the img file was corrupted, reflashed from fastboot

George
[G1 Android Development] dam26:
Dont have to switch services now!

Been trying to get Hero to work on my Mytouch but didnt know how to partition my SD card. This did all that and MORE. Now i dont have to go to Sprint just to get the Hero Thanks for all your hard work.:D:eek:
[G1 Android Development] futango:
This recovery is awsome. It has everything you need.
[G1 Android Development] santana00:
Can some1 please help me I been tring to flash this recovery-ra-dream v1.2.2.img for the last hour and it keep saying no such file. Here is the command I am typing

Flash_image recovery /sdcard/recovery-RA-dream-v1.2.2.img

And yes the recovery image is on the root of sd card what am I doing wrong?
[G1 Android Development] robuser007:
what's the difference btween recovery-RA-dream-v1.7.0-cyan.img and recovery-RA-dream-v1.7.0.img ?

only the wallpaper and textcolor changed:

screenshot's anywhere?
[G1 Android Development] Firerat:
you are why I think I should not post to xda

honestly, wtf did you waste time posting that?

Q:why did you waste time posting this?

A: <snip , too offensive>
[G1 Android Development] nk111:
Wipe ext did not work?

Hi, I recently flashed E-Xtreme v1.3 and decided to do a full wipe because I did not do that for... hm.. an eternity :)

I was using RA-dream-1.7.0 and so I thought "Wipe SD:ext partition" would clean up all installed apps as well...

But after I booted the new ROM, enabled APPS2SD and rebooted, all my previously installed apps where back again?!

Is this normal? If not, what could have been the reason for this? Mightbe I flashed another ROM before and did NOT enable APPS2Sd there so sd-ext was not mounted when I did the wipe? I'm confused...
[G1 Android Development] jibbz:
can anyone help me., i was tryna put this recovery image in my g1 and tryed this through cmd from my computer and when i typed in wat i needed to, this is wat i get.....

usage recovery image.1.7.0......

tht is the last thing tht happen after i enter the commands

and after tht my recovery didnt work., can someone help plz
[G1 Android Development] daveymark:
SO I updated to CM 5.07 and on their recommendation used CLockworks recovery Mod. BIG Mistake! No access to console! So, I would like to switch to AMonRa's recovery in order to have access to the console. DO I just follow the fastboot insturctions as stated? Or is there anything special I have to do when replacing a previous recovery? Will AMonRa's recovery simply replace the Cloxkworks Recovery? Thanks in advance.
[G1 Android Development] Daneshm90:
Yup just simply fastboot flash the new recovery.

You can also first wipe ur recovery partition and then flash amonra's recovery

Wipe : fastboot erase recovery

Flash : fastboot flash recovery <place recovery.img here>
[G1 Android Development] jibbz:
how do i use fastboot?
[G1 Android Development] jibbz:
did u fix the problem or u still need help?
[G1 Android Development] robuser007:
see wiki

You install the android sdk (place the files in root of c: on your desktop) , then install, you'll find fastboot in /androisdk/tools/fastboot.exe

=> open with cmd.(start cmd first).

Put your phone in fastboot mode (see wiki)
[G1 Android Development] mark manning:
to back up firerat your a F*****g idiot
[G1 Android Development] TeeJay3800:
I'm having some backup/restore issues in version 1.7.0.

- I can successfully create Nandroid backups, but when trying to restore a backup, I get the message "Error : run 'nandroid-mobile.sh restore' via console!"

- When trying to create a BART backup, I get this message "Error : Run bart via console!"

Can anyone help me diagnose these problems?
[G1 Android Development] lokipimpin:
hello G1 people, I'm having a problem getting to recovery on my friends G1 that is rooted. I flashed this recovery through adb...But now I cannot get to recovery! i have re-flashed it twice an no luck... so I can really use the help...
[G1 Android Development] TeeJay3800:
As per the instructions on the first page, I recreated the Nandroid error, and then went to move the recovery log to the SD, but got this error: "Run 'log2sd' via console!". I then entered lod2sd in console, but got this error: "No sdcard found!"

When I enter cat /tmp/recovery.log (after recreating the Nandroid restore error), the end of the log says something something about not being able to mount the SD card. That is strange, because I have no problem flashing ZIPs from the SD.
[G1 Android Development] patrol373:
I have the same problem, I cannot get to the Recovery :/ I'm trying to flash the new one by fastboot with wipe of recovery partition, but every time i try adb, Error appears: mtd: read error at 0x00000000 (Out of memory). When I'm trying to flash it by fastboot flash recovery recovery-RA-dream-v1.6.2.img I see "cannot load 'recovery-RA-dream-v1.6.2.img' :/
[G1 Android Development] lokipimpin:
Better get our thinkin caps on cause im lost...the G1 isn't my area of expertise (well none of theses are my expertise)..if you find the holy grail let me know..an if i do i got you..right right:cool:
[G1 Android Development] treperio:
i have a super d rom (donut) with amor ra 1.6.2 recovery, if i flash the new 1.7, in the amor ra recovery 1.7 works nanddroid and bart backup/restore? or work only for the eclairs roms, because they have a different APP2SD method for the ext.
[G1 Android Development] Amon_RA:
First of all : why are you trying to flash an old version v1.6.2 and not v1.7.0?

- "out of memory" means that you are using CM 5.0.7 which has a bug while using flash_image => Check to the CM forums for this.

- "cannot load recovery..." probably means that fastboot can't find the recovery-RA-dream-v1.6.2.img file, make sure it's in the same directory on your pc as where you launch the fastboot command.
[G1 Android Development] Amon_RA:
It should work on any rom, cupcake, donut, eclair, ... with any non official apps2sd method.
[G1 Android Development] treperio:
i flash it, nanddroid backup/restore work, but bart restore/backup don't work (it told me an error and to use bart restore via console) why?
[G1 Android Development] lokipimpin:
Amon Ra, hook me up with a lil knowledge... I've never used a G1 an need help.. I think the recovery on it is an older one of yours, don't quote me on that!

My problem is i cant seem to get the phone to go to the recovery???? It shows the dreaded hazard symbol! I got into it once but there was no option to flash zip's???? any help would be cool man...by the way thanks for all the work you do:D
[G1 Android Development] CLEV3R:
Bart Error?

so i flashed 1.7.0 awhile ago and everything worked. Only recently i tried to do a bart backup and got the cache/not enough room on memory card error. so i read through the forum and found what could be wrong and ended up moving somethings off my memory card, and trying to get the dalvik cache and apps on my ext partition. but still when i tried to bart backup i got the same error. so i downgraded back to 1.6.2 and the bart backup worked flawlessly. any ideas here?
[G1 Android Development] TeeJay3800:
Now I'm thoroughly confused. I just formatted my SD and then created a 256MB Ext2 partition, and now BART backup is working. However, I put the SD in my computer to copy back some important files to it, but Windows tells me the disk is not formatted, so I can't copy the files. If I try to format it in Windows, the only size it lets me select is the entire size of the SD, so it would erase the Ext2 partition and therefore stop BART from working. Can someone help me out here?
[G1 Android Development] jakijal:
um... thats strange. try 2 re-format ur card again using amon's recovery. if that doesnt work, your card might b bad completely. notice... MIGHT b bad. dunno for sure...
[G1 Android Development] Becksman:
Hi,

I somehow cannot load Canogens recovery console anymore, so I decided to install Amon RA's latest. But: How am I going to install this? ALL of the installation guides in the first post (ADB, Console etc.) require to boot the device into recovery - which doesn't work for me anymore (thats why I want to install THIS). And the fastboot method doesn't seem to work, as I don't have the engineering SPL.

Or could it be that fastboot doesn't see the Image? I placed it in the root of my sdcard. What exactly is meant with the instruction "Copy recovery-RA-dream-v1.7.0.img to a location where fastboot can find it."?

Any ideas how to get it working?
[G1 Android Development] TeeJay3800:
No they don't. You must have missed the guide to install the recovery image via the Terminal app. It's very easy. It's not recommended if you're running CM5.0.7/5.0.8 though.
[G1 Android Development] Becksman:
Thanks, you're right. Forgot to mention that I'm running CM 5.0.7...

So still looking for a possibility.

EDIT: The first method (fastboot flash) works as well with the 'Danger SPL'.

My mistake was that I placed the recovery.img on the phones SD card.

Maybe you could edit the first post a little for clarification, Amon_RA? This might help other idiots like me to do it correctly.

The solution is to place the recovery.img on your PC's hard drive and tell fastboot where it is. I placed the .img file in the root of my harddrive (c:\). The correct command then was "fastboot flash recovery c:\recovery.img" (I renamed the .img file to 'recovery.img' for convenience, just insert the path to the file and your correct file name there).

Regards,

Becksman
[G1 Android Development] lokipimpin:
This might be my problem...I will look at this more closely
[G1 Android Development] Beackman:
My god i have a brother.....

Is for that reason that i received a PM from a user with a question today.....

the user think i'm you..lol
[G1 Android Development] Becksman:
Cheers!

:D
[G1 Android Development] Maazer:
Thank you OP! You've seriously improved my life and everything is... well, faster. THANK!!! :D
[G1 Android Development] dashuser:
How do i get the recovery back after accidentally installing rogers image instead of the regular recovery image for G1... i tried flashing the v1.7.0.img but it's stuck to the g1 boot screen
[G1 Android Development] narynan:
Install

""You don't need to enter "mount -a" if your partitions are already mounted.""

Im kinda new to this.... what does this mean?

Also I have Hard SPL on my phone... i think. Can I do that from this?
[G1 Android Development] narynan:
That doesnt seem right. The only reason I found my way into this threat is because the CM 5.0.8 thread said.... hey go do this.
[G1 Android Development] Firerat:
I doubt it, the problems with flashing recovery failing have been a known issue since the CM5.0.7 tests

the correct way to flash recovery is quite clearly detailed in the OP.

If you failed, you only have yourself to blame.
[G1 Android Development] narynan:
Oh thats right, Im sorry. New people are not welcome here. I blame myself.

Also, because of the OVERWHELMING amount of info here, I have yet to flash anything except for the root. I think. So, why are you being accusatory?
[G1 Android Development] Firerat:
your right , I should forgive you for not reading, and just repeating the same old tired "I am new, I havn't learnt to digest information yet" thing

forgive me

but all you need is in the OP, if you don't understand something search, honestly many many new people manage to get by without having to post the same old questions.

I was once new, but never needed to post questions like yours, I just read stuff I suggest you do the same

some useful reading

adb

http://www.google.com/cse?query=&cx=partner-pub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1&q=adb&sa=

fastboot

http://www.google.com/cse?query=&cx...9704:fs7umqefhnf&ie=ISO-8859-1&q=fastboot&sa=

android commander

http://www.google.com/cse?query=&cx...mqefhnf&ie=ISO-8859-1&q=android+commander&sa=

and please take extra care to read all you can about flashing "Danger" you can 'brick' if you do it wrong

actually , everything you need is in the sticky The Rom Bible

http://xdaforums.com/showthread.php?t=668090
[G1 Android Development] ZilverZurfarn:
It means: Well, exactly what it says. Then again, it says "don't need to" - not "must not". If in doubt, just do the mount -a stuff. It wont hurt.
[G1 Android Development] fallinprince:
Im having a similar issue

Brand new 1.2 Mt3g freshly rooted im restoring from another that was damaged(stop reading simcard)

tried running it in ADB it says something about """using g1 keyboard name substring and then <cr> or just cr to accept default"""

problem is i have no keyboard
[G1 Android Development] TeeJay3800:
I doubt you have the same issue as I did. I forgot that the Nandroid that I was trying to restore was created before I had switched from the stock SPL to Danger. :o That's why I was having backup/restore issues.
[G1 Android Development] fallinprince:
Hmm i dont think that is it i mean i did update to a newer version of CM and I am loading a backup from one phone to another phone

but aside from that everything should be the same
[G1 Android Development] Amon_RA:
Why did you flash the Dream (=G1) recovery on your MT3G ??
[G1 Android Development] hedjemunkee:
So I have a strange prob...I did a nandroid backup tonight...and now my phone wont boot past the G1 screen...it won't even register as hooked to my pc. Any thoughts?

It will fastboot...but I dont know if that helps me at all.
[G1 Android Development] Firerat:
fastboot flash recovery recovery-RA-dream-v1.7.0.img

assuming recovery-RA-dream-v1.7.0.img is in the same directory as you are in, if not prefix with path, e.g C:\downloads\recovery-RA-dream-v1.7.0.img
[G1 Android Development] Pastymage:
I'm having a similar problem to lokipimpin - have an ADP1, 1.6 installed. I can flash the recovery image with fastboot or by copying it to the SD and using flash_image over the terminal, neither way gives an error. But when I reboot and hold home, it still always goes to the hazard symbol.

What am I missing here?

-Dave
[G1 Android Development] Dyonas:
I tried to do a normal "switchrom -s" backup via adb not long ago and it failed, asking me if I was sure there was free memory (AHHHH! STORAGE, NOT MEMORY!) when there is plenty of space free. I have a feeling this is linked to FroYo. I'm running CM6 RC1 as posted here, the same problem came up when trying to do a BART backup.

The reason I'm posting it here is I'm using the 1.7.0 cyan recovery and it probably needs an update to the scripts for FroYo. If it's something else can you please tell me? :) I used the menu option for nandroid + external apps but that doesn't allow custom naming of the files like switchrom. Thanks.
[G1 Android Development] robuser007:
I really miss the option erase system like clockwork... has (I always use fastboot).
[G1 Android Development] jakijal:
im not 2 sure whats the problem with the switchrom storing since i know the froyo roms are storing onto ur sdcard directly instead of sd-ext.

but when you do a nandroid + ext backup, you can always go back using a file manager (ie astro, root explorer, or whatever) and rename the folder.

i usually just add the rom name in front of whatever the folder had been named originally. it will still work when you try to restore it...
[G1 Android Development] dmsims:
I have a weird problem with 1.7

After 2 -4 operations (say part way through a wipe process) the whole phone freezes

Only solution is battery out

Phone is fine running Speedteam Eclair v2.3

have previously had Cyanogen 5.07/5.08 and Cannon

Any ideas ?
[G1 Android Development] Firerat:
can you not just rename the dir after ?
[G1 Android Development] Dyonas:
I can and I have. I brought the issue up because I was curious to know if it was purely because I was using FroYo. The nandroid + external feels a little light for a backup at around 150MB compared to previous backups using switchrom and I was worried it may not have done everything.
[G1 Android Development] lbcoder:
How about the fact that a stock system image will automatically reinstall a stock recovery image when you boot it?

In other words, you need to fix your system image so that it doesn't do that!
[G1 Android Development] erebusting:
hey, I was wondering what is the difference between the version that says CYAN and the version that does not say CYAN???

Just playing, lol...sorry, I had to after I saw all those people asking the same question over and over....but maybe to make it more clear you should also post what is the difference above the links to the recovery files?...idk..but THANKS for your hard work Amon_RA!​
[G1 Android Development] Firerat:
just thought I would make my own

here it is
[G1 Android Development] pimpybra:
Cannot boot into Recovery

I just tried to install on my G1 with CM 4.2.16 via the terminal emulator. (with recovery-RA-dream-v1.7.0-cyan.img)

I can reboot my phone without a problem, and it still all works, however, I cannot get into the recovery console, it just goes straight to the rainbow fastboot. :(

I've tried getting into the recovery console via Home+Power as well as from terminal emulator "reboot recovery"

I tried installing it a few times as the first time I installed it, it did this, THEN I checked the md5sum on the image which was wrong :eek: so I downloaded again, verified the md5sum and followed the same steps.

The flash_image comes back instantly with no output, is that normal?
[G1 Android Development] Firerat:
yeah, kind of

enough of the recovery.img is there to convince flash_image that it doesn't need to update it ( as its the same file )

try

erase_image recovery

then flash again

if you don't have erase_image, then

flash 1.6, then flash 1.7 ;)
[G1 Android Development] pimpybra:
I didn't have erase_image, but flashing to 1.5.2 then to 1.7 worked great for me.

Thanks for the help! :D
[G1 Android Development] Sleeepy2:
I created a separate thread with no response so I thought I would try here.

When I try to run switchrom -s I get

Storing app data...
tar: empty archive

Error occurred during storing of app data...
tar operation failed.

Do you have enough space on the /sdcard?

1. Yes I have enough space (over 2 gigs free)

2. I am running CM6 RC2

3. Also using Firerat's MTD patch

4. It was running fine

I was using Amon Ra 1.7 but thought I would try clockwork because of RomManger.

Downloaded and flashed clock with RomManager (forgot to reflash the first part of MTD) and boot up fine and all was good. Used clock to do a nandroid all good and tried another nightly (NFG) so I thought good old nadroid restore. Didn't work because I forgot the first part of the MTD patch...

So fastboot erase system and cache, flash Amon RA 1.7, MTD patch, wipe just for good measure (I know not really needed), Flash working nightly and Gapps, falsh MTD patch part 2 reboot. Evey thing is running fine.

Nandroid works but not switchrom.

Any help?
[G1 Android Development] Amon_RA:
Why do you use switchrom when you don't have and ext partition with apps?

More info on switchrom : http://xdaforums.com/showthread.php?t=541183
[G1 Android Development] Firerat:
well,, apps2sdext script is easy

but even so I often wonder why people use switchrom at all
[G1 Android Development] Sleeepy2:
The only reason I want to use switchrom as it can label them automagically for me so I don't have remember which back up is which rom and I don't have to manually do it after a nandroid.
[G1 Android Development] billquinn1:
I always preferred Bart from the console for the same reason.