yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] snOwrOse:
a little help!

Thanks for the replies (: i'll try RA recovery hahas! (:

Btw i have another G1 which is on Build Number DRD20, Latest Radio, donut 1.6. It's an SG phone.

I tried the goldcard method and alot of SD cards aren't compatible, i tried directly loading the .NBH file but it says not allowed error something. I've never tried to root a DRD20 Really need some help.

I tried downgrading to cupcake 1.5 as update zip and alt-s to update but it says signature not found then installation aborted something like that.

I was thinking to try to just flash the hardSPL without flashing recovery ROM (RA-recovery) Can i actually do that? D' one click method doesn't work as well. Tried all there is

Do help me out with it guys! Appreciate it!

(:
[G1 Android Development] xtruman:
Help on installing Amon Ra recovery image..

Hey Amon Ra, i only got one question...what is "source-recovery-RA-dream-v1.5.2.tar.gz " for ?? I have a JFcupcake build installed on my G1, i wanna install your recovery image, and since it is based on Cyanogen recovery source, does that mean I HAVE TO INSTALL "source-recovery-RA-dream-v1.5.2.tar.gz " along with the amonra recovery.img ?? and do i rename the source "update" or how ?? thanks, since i installed the JFcupcake build, it seems like i cant update to any Cyanogen ROMS or even install Amon Ra recovery image..
[G1 Android Development] vincom2:
Uh, don't you think "source" kind of screams that it's... the source?

No, you don't install that. What do you mean by you can't install the recovery :o
[G1 Android Development] gitanojr:
U only have to flash the recovery image, u dont have to rename the img to update, u can do it in terminal, instructions on how to flash it r on the first post :)
[G1 Android Development] gitanojr:
question for everybody???

It is just me or the recovery allow me to see only 23 zip??? I have 53 ,but only can see 23, how am i going to flash a rom that i can't see?? Mmmm tricky???
[G1 Android Development] Amon_RA:
That's normal, I actually don't see the reason to have more than 23 backups... why on earth would you have so many? Do you want to kill the nand memory of your phone by flashing one every day? ;)

I'll try to have it show more in a future release.
[G1 Android Development] Amon_RA:
"CBDEMRS12" : Cache, Boot, Data, Ext, Misc, Recovery, System, Splash1, Splash2
[G1 Android Development] gitanojr:
<<======flashaholic hic..

yep i flash a rom almost every day and its your fault, i start doing this since i flash ur recovery he he, so its true i thougt it was only me and thanks again amon_ra for this awesome recovery :)
[G1 Android Development] michel-xda:
Nice to know, but why don't you backup splash images anymore?

BTW, "E" is missing in "CBDMRS12" and "BCDMRS", are you planning it in a new version to come?
[G1 Android Development] shonanthebarbarianTP2:
help

Amon,i can't get to the link to download the latest recover
[G1 Android Development] trumanhw:
Effin Dalvik cache...

its ALWAYS messing up my phone. That shee better be useful for something. Anyway, once I deleted it via console I was able to install your IMG. Thanks.

:)
[G1 Android Development] Ace42:
I am awaiting the next installation of your recovery, a birdie said these would be nice if possible:

-Change brightness

-Shut down/Power Off?

-Delete a specified partition

-Resize partition?

-Start ADB?

-Reboot recovery option
[G1 Android Development] SpiggidyBob:
I just installed this recovery image, as well as doing a full wipe on my phone and card. I partitioned the card with the script and it completed successfully. Tried to upgrade to ext3 and it fails saying to run the script from the console. Go to the console and run the script and it says it can't find an ext partition. When i put the card back in my laptop and run fdisk -l, it only shows the fat32 partition with 500MB free space. I even tried using cfdisk to create the fat32 and swap, everything shows up on my laptop but as soon as I put the card back in my phone they disappear. Any ideas, or is my card just trashed?
[G1 Android Development] :
Open terminal/console.

Type - su (hit enter)

Type - parted /dev/block/mmcblk0 (hit enter)

Type - print (hit enter)

Please post here what it says and I'll help you out from there, using console commands. Please note that physical instructions are in brackets and not meant to be typed.
[G1 Android Development] SpiggidyBob:
Model: SD SD (sd/mmc)

Disk /dev/block/mmcblk0: 8099MB

Sector size (logical/physical): 512B/512B

Partition table: msdos

Number Start End Size Type File system Flags

1 512B 7587MB 7587MB primary fat32 lba

Appreciate the help.
[G1 Android Development] Ace42:
Do

rm 1

quit

reboot recovery

Now repartition your sd from the recovery not your PC!
[G1 Android Development] SpiggidyBob:
Just tried using the automated version in the recovery image, parted is still only showing the fat32. I'm going to try again manually, see if i can get any errors.

Tried creating the partitions manually, fat32 takes but when creating the ext2 I get this:

Error: Input/output error during write on /dev/block/mmcblk0

Retry/Ignore/Cancel

Any option but Cancel returns the same error.
[G1 Android Development] Ace42:
Maybe you formatted it as Fat16 not 32?

Windows cant see EXT b/c thats a linux format.
[G1 Android Development] SpiggidyBob:
Parted shows it as fat32. I'm not using Windows at all. My G1 is not seeing the ext partition.
[G1 Android Development] :
Right from what you have there you have no ext partition. To create one is easy enough as there is enough space for it.

Type - parted /dev/block/mmcblk0 (enter)

Type - mkpartfs primary ext2 7587 8099 (enter)

Let it do it's thing and when finished Type - print (enter)

You should see that you now have two partitions showing. Now to upgrade to ext3.

Type - quit (enter)

Type - upgrade_fs (enter)

Once its finished to triple check just to be sure...

Type - parted /dev/block/mmcblk0 (enter)

Type - print

You should see partition 2 is now an ext3 partition.

Any problems get back to me.
[G1 Android Development] SpiggidyBob:
Tried creating the partitions manually, fat32 takes but when creating the ext2 I get this:

Error: Input/output error during write on /dev/block/mmcblk0

Retry/Ignore/Cancel
[G1 Android Development] :
Strange, sounds like your sd card might be buggered then.

Just thinking can you format the card on windows? Reason I ask is that the 512mb that are not showing are either free space or one buggered up ext. Format card on windows, pop back into the phone and goto recovery and go through the parted route and tell me the size the fat32 is showing please.
[G1 Android Development] SpiggidyBob:
It'll be awhile before I get back to a windows machine, but ill give that a shot and let you know
[G1 Android Development] SpiggidyBob:
Ok, finally got a chance to partition my card, parted shows the fat32 partition as 8094 MB. So it looks like it's seeing the whole card.

Just tried to remove the fat32 and repartition in parted, same error when making the ext2
[G1 Android Development] Amon_RA:
Could you please post your parted adventures in the general forum? :)

They are not related to my recovery so they don't belong in this thread.
[G1 Android Development] jubeh:
Amon_RA, is there anything preventing using 'parted resize' instead of 'parted mkpartfs' in the recovery?

I haven't looked at the source for your recovery tools (is it available?), but, assuming a partition setup of fat32/ext/linux-swap, you could resize 1, resize 2, or resize 3 depending on what the user wants and that way we don't lose any of the data in fat32.

It could be a separate option under "Partition" like "Format fat32/ext/linux-swap" and "Resize fat32/ext/linux-swap".

Also, having both BART and Nandroid+ext backup is kind of redundant, since both do the same thing. Nandroid restore has the advantage of being able to restore any of several backups, so, if we had the ability to name the Nandroid+ext backup, wouldn't that cover everything BART does and make it redundant?
[G1 Android Development] Amon_RA:
I'll have a look if I can implement something in a future release.

Link to source is in the first post...

I completely agree, I left it in on request of the users so they can still restore their old BART backups...
[G1 Android Development] snOwrOse:
queries

hmm. need some help here guys.

erm. If i do a nandroid backup on aosp 1.6 donut root base ROM + hard SPL, will i be able to do a nandroid restore on my hero rom with engeering SPL?

RASAP (: thanks!

Much appreciation
[G1 Android Development] daveid:
I have a feature request.

The ability to backup/restore ONLY the ext partition.
[G1 Android Development] santet:
check sdcard partitions

is there a way by which i ncan check the partiotions on my sdcard. parted does not work for me.get an error: no device and asked to retry. free does work and shows me my mem and swap. i believe im supposed to have 3 partitions so i dont know how thats happening.any help appreciated
[G1 Android Development] santet:
re

my ext partition is an ext 4 though. is that ther reason why i dont see it ..??
[G1 Android Development] Amon_RA:
Boot in recovery and use the following commands in console :

parted /dev/block/mmcblk0 print
parted /dev/block/mmcblk0 check 1
parted /dev/block/mmcblk0 check 2
parted /dev/block/mmcblk0 check 3
[G1 Android Development] vroomr4:
update zips in download folder

Is there a way to have recovery search for update.zips in the sdcard/downloads folder? I have been downloading these zips via my phone and cutting and pasting them back to /sdcard/ so that I can see them in recovery. Thanks for such a great tool.
[G1 Android Development] geokuttan:
i am new to the amon ra recovery...so far its great with bart backup and stuff....but i dont know how to do the switchrom...i currently have cynogenmod latest and i wanna put another rom with adobe flash...i think its hero(dont know the custom rom name)...can someone help me...:(

sorry if my SOS is dumb...
[G1 Android Development] :
Open console in recovery.

Type - switchrom -s NameOfYourRom

(E.g switchrom -s EnomDRC92-v242)

To restore a rom

Type - switchrom -r

A list of saved roms will pop up and you will be asked to select which rom you want to restore. Just hit the number of the rom and away ya go.
[G1 Android Development] geokuttan:
so first i save the rom to sd card and switchrom -s (save the rom) right...

is there any rom that supports adobe flash???
[G1 Android Development] :
Yes you save your rom first otherwise your buggered if you want to come back to it.

Only rom with flash is hero's as far as I'm aware and it only runs flash 9.
[G1 Android Development] geokuttan:
so i just flash the hero rom...and then save the rom from console...right...

which one is the latest stable hero rom??
[G1 Android Development] El Cipitio:
i need help on installing this recovery via fastboot..i just dont understand
[G1 Android Development] staunty:
Switchrom

I see in the OP that you need CY 1.4 to run switchrom...however, later on in the thread it people mention that they are using switchrom with Amon 1.5.2...not to mention Amon mentioning switchrom in the OP. So is switchrom available for 1.5.2? I have tried running the commands but it comes back with "are you sure you have CY 1.4?"
[G1 Android Development] Amon_RA:
Switchrom is implemented and the instructions how to use it are clearly mentioned in the first post...

switchrom.sh V1.1 : enter "switchrom" or "u" to start in console
[G1 Android Development] staunty:
Damn, sorry, forgot I was in Dream forum. I am using a mt3g.
[G1 Android Development] Amon_RA:
It's also implemented in the MT3G version...

Just use adb instead of the console in that case.
[G1 Android Development] staunty:
I think I got it figured out somewhat. However, how do we find the exact name of the ROM that we are trying to backup or restore? If for instance, I delete the original ROM zip from my SD card, what do I need to do to see the spelling of the current rom I am using? The names change so frequently.
[G1 Android Development] :
G

See page 112 post 1114 for instructions on saving and restoring.

The beauty of switchrom is you get to name the roms for yourself.
[G1 Android Development] staunty:
nevermind, figured it out.
[G1 Android Development] mrnv45:
what do yall duggest is the best for my g1..

cyan 4.2.12.2

2 gig sd card (for now until next week)

what should i use for the partition
[G1 Android Development] JamieD81:
i just flashed through consol in cyan's recovery, flashed, booted into phone, went back to recovery and it was stuck on g1 screen.

does it normally take a bit the first time?
[G1 Android Development] tomtom89:
I have same problem......

Anyone know an answer?
[G1 Android Development] daveid:
Did you verify the MD5sum of the file you flashed?

How did you flash?
[G1 Android Development] no6969el:
went to go flash a nandroid backup on RA-dream-v1.5.2 that I made with cyanogens recovery(I went to the RA one today), and it says error please run nandroid-mobile.sh via console.

When I do that it doesnt work, just asks to try /sbin/nandroid-mobile.sh which also doesnt work.

I was testing roms and planned to come back via nandroid, so im sorta without a phone since the two roms I went to flash wont boot. I want my back up back.. what should I do?
[G1 Android Development] tomtom89:
edit. delete post
[G1 Android Development] kathi17:
Thanks RA, I've been trying to download this for weeks, but kept getting busy servers. I googled, and found another link at Android Community, and finally got the file. It's wonderful!
[G1 Android Development] --e:
Thanks for the great work, Amon.

Is this compatible with the dev G1?
[G1 Android Development] toekneebullard:
I followed the "simple reboot" instructions, but when I start my Phone via Home and Power, and hold down Home to bring up the recovery, it goes to the boot loader. Scared the **** out of me at first, then realized a normal boot got it to boot normally.

I checked the md5 sum of the image and it's fine. I followed the process exactly, but now there seems to be no recovery image. Help?
[G1 Android Development] toekneebullard:
OK, So I tried the "via Terminal" method, adding '/data/' to the file structure since I had placed the file there for the "simple reboot" method. That worked. The recovery image is working fine now.

Thanks for all your hard work!
[G1 Android Development] prettyboy85712:
Yes........
[G1 Android Development] Pikkuhannu:
Yeah, works fine.

Thanks.:)
[G1 Android Development] Throttle:
Thanks for your help and sharing this :)
[G1 Android Development] geokuttan:
Hi does anyone know how to change the swap size without reformatting the sd card?? i currently have 96 mb..i want to change it to like 126 or something cuz my hero rom seems to be a little slow...thankx :)
[G1 Android Development] JAguirre1231:
The higher you go doesn't necessarily mean faster. Your on the HardSpl, not many are going to be fast for you. Probably doesn't help that your running hero. If you want speed, I suggest you leave hero forever. But to answer your question, no there is not. You can go smaller but not bigger without a repartition
[G1 Android Development] geokuttan:
yea... i am running Micro hero.....not that slow...but its 1.5 kinda old......so is there any other Rom for HARD SPL other than cyanogenmod?? like Eclair?? couldnt find any...:(
[G1 Android Development] JAguirre1231:
Most any donut rom, microhero, eugene'e espresso v2, and I don't think there are any eclair
[G1 Android Development] IronWolve:
What keys do I have to press to get into the recovery mode? Just upgraded to latest used it a couple time. Wanting to reflash my rom, but cant seem get back into it.

Maybe I'm pressing the wrong keys. The first page doesnt have the keys to activate the recovery menu.
[G1 Android Development] :
Press and hold Home + Power.
[G1 Android Development] IronWolve:
For some reason, after I put eclair 2.x rom on my g1, i cant get to the recovery image. Was going to flash it back down to CyanogenMod, but cant get to the menu.
[G1 Android Development] kinkade:
usb mass storage

ok, i dont know if i am being really dumb but i cant get mass storage to work, cyanogen 4.2.13 just installed the new recovery, vista pc and i have tried using a shortcut on homescreen with anycut and enabling it in the recovery but cant get my g1 to show up in my computer.

any ideas

thanks
[G1 Android Development] TeeJay3800:
Very basic question. I'm new to all of this so please forgive me. When the installation instructions say to "copy recovery.img to /data", I'm assuming that's referring to the SD card, not the phone's internal ROM storage. Is that correct?
[G1 Android Development] prettyboy85712:
..............
[G1 Android Development] songoku119:
TBH i'm not sure myself. There wouldn't be any harm in trying by just putting it on the sdcard in a /data directory though, now would there? I'm pretty sure it's not the internal phone memory that you drop that to as the data directory is just that. It holds the data for your apps and widgets and stuff. I can't say that I am too sure about those instructions either as I have always personally flashed my recovery's through ADB or fastboot.
[G1 Android Development] Lamar720:
Did you find out how to do this? I put it on my sd card and I still get cy's 1.4 recovery
[G1 Android Development] aceo07:
I just did a backup using BART (for now eclair testing), and then tried a restore after a failed update. The restore progress froze at the 2nd line of dots. I rebooted and tried restore again. It restored smoothly after the reboot. Maybe the lesson learned from this to do a reboot after a failed flash?
[G1 Android Development] TeeJay3800:
Those are the instructions from the first post of this thread, and apply if you're running CyanogenMod. They look pretty different from other instructions I've seen for installing a different recovery image (although simpler and easier). Can someone confirm that they actually do work without issue?
[G1 Android Development] Amon_RA:
I wouldn't add them to the instructions if they wouldn't work without issue. :confused:
[G1 Android Development] Amon_RA:
/data is on the phone

/sdcard is the sdcard

... so you have to push the image to /data on the phone!
[G1 Android Development] khaosxiii:
Thanks !!!11
[G1 Android Development] Lamar720:
Thanks for the reply.
[G1 Android Development] TeeJay3800:
To do this I copied recovery.img to my SD card using the USB cable the phone came with. Now I'm attempting to copy/paste recovery.img from the SD card to /data, but whenever I hit paste, AndExplorer gives me a message saying "cannot paste recovery.img from clipboard." What can I do to successfully move the IMG file to /data?

EDIT: never mind, I see that you need to use ADB from the SDK, apparently.
[G1 Android Development] Pvanwelt:
It took me some time, but I have finally flashed the recovery rom succesfully to my device.

After first trying to copy the recovery.img to /system, I found an article about flashing it via fastboot.

That method works perfect (but you have to set up ADB / Fastboot first).

The recovery image is a lot better then the previous one I had.

Thanks !
[G1 Android Development] legend221:
Amon_RA many thanks for this significant update. I have to admit I was using an older version of your release. V.1.2.3. To be exact and can see I was due for an upgrade.

Am happy to report that all the new options will definitely improve the lives of all who use it.
[G1 Android Development] daveid:
I hate to say it, but I think you are lost. This thread is about the Recovery image, and it does not contain a ROM. Also, ION screen on your G1? What ROM are you trying to flash?
[G1 Android Development] TeeJay3800:
I have CyanogenMod, but have not been able to copy the .img file to /data, so now I'm attempting to use the method above. However, whenever I type "mount -a", I get 7 lines of errors, so that makes me hesitant in continuing to the next step. What response should I be getting after entering mount -a?
[G1 Android Development] BJNK:
Sorry, found a better place for my post :D
[G1 Android Development] monway:
RA-dream recovery updater?

Hi,

I am new to this forum and to android developing. I wanted to learn more about it since all these kick ass hackers/developers made it so possible to have a perfect recovery tool for fooling around with your phone without worrying of bricking.

I love the cyanogen mod updater perhaps can it be possible to merge it to that updater or create a new recovery image updater ?

Please let me know. so far this is near perfect to allow semi noob people to try what elite binary skinny dippers do. keep up the great work all of you guys. every one of those guys who were brave enough to make it easier for the rest of us. cheers.
[G1 Android Development] kathi17:
Just skip "mount -a" and go to the next line. It worked for me.
[G1 Android Development] legend221:
Same here as well I just entered the following and I was able to update to the latest and greatest RA-dream-v1.5.2

#flash_image recovery /sdcard/recovery-RA-dream-v1.5.2.img
[G1 Android Development] TeeJay3800:
Sounds easy enough. Thanks for confirming that!
[G1 Android Development] legend221:
No problem TeeJay, hopeful you were able to update to the latest version.
[G1 Android Development] TeeJay3800:
Just one more quick question actually. :o After entering "#flash_image recovery /sdcard/recovery-RA-dream-v1.5.2.img" and pressing enter, then what? Hold down call-menu-end to reboot, or something else?
[G1 Android Development] prettyboy85712:
You're done. Just reboot.
[G1 Android Development] Gusjdt:
Hello,

I am having several problems with the recovery menu that I've never had before (until I flashed SuperD1.6 ROM a day ago and tried to go back to CM4.2.11.1).

My hardware is a mytouch3g (32B, stock radio/spl)

I cannot do nandroid backups, it starts to backup with the "...."s but eventually I get this error: Error : Run 'nandroid-mobile.sh' via adb!

This same error happened when trying to enable/disable usb, bart backups, restoring nandroid files, wiping dalvik. When trying to restore nandroid from adb, it says something along the lines of "md5sum doesnt match, restore aborted", although I may be off on the exact words.

I've tried reflashing the recovery, wiping everything (except dalvik which wont let me) and reinstalling CM4.2.11.1. Still have these issues. I dont know what the hell I've done wrong since I am a person that follows instructions to the letter but I've been having constant screw ups with this phone, one thing after another - it SUCKS

Any help is appreciated...
[G1 Android Development] :
I would suggest using parted in console to remove and re-partition your sd card, if you don't know how just send me a PM and I'll walk you through it.
[G1 Android Development] TeeJay3800:
Gotcha. I was actually looking for some kind of on-screen confirmation. After doing it, I remembered from flashing the Cyanogen recovery that "# #" will appear on the screen if it's been flashed successfully. That might be useful to any newbies like me who haven't done this process before.
[G1 Android Development] billygoat555:
Problems with switchrom

I posted this in the switchrom thread but no one answered. Maybe I'll have better luck here (fingers crossed):

I've tried using switchrom and it hasn't worked for me. I don't know what I'm doing wrong. I have four ROMs saved to my sd card. When I type "switchrom -l", they all show up.

When I try to restore one of them, one of two things happen. Either it gives me a nandroid error (which I have seen posted before) or it says it is all restored and when I reboot, it gets stuck in the G1 screen and doesn't move forward. Eventually I end up not being able to restore anything and have to wipe and install everything from scratch.

I read the whoooooole thread but couldn't find anyone with the same problem. Hope someone can help.