yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] overground:
Sorry if this sounds insulting, but I've seen it before. Sometimes the card gets ejected as you close the cover. Just something to check. Also, take your card out and clean the contacts with a clean pencil eraser.

In any case, I'd backup everything you can to your PC just in case your card is really on it's deathbed.

Last resort. Back it up. Stick it in an external card reader. Format the whole card to FAT32 using Windows. Put it in the phone and place some files on it. If it seems stable for awhile, repartition and pray for longevity.

If none of that works, try another card. If that doesn't work, the worst of the worst...the card slot in your phone is bad. :(
[G1 Android Development] Swervo:
The good news is, 1.5.0 seems to have fixed my issues with backups freezing up partway through, thank you! On the downside, it looks like the nandroid + ext backup from the menu doesn't actually back up the ext, at least for me. If I wipe ext, then restore from a nandroid backup, all of my apps are gone, with placeholder icons for any of them that were on the home screen. This happens with both cyanogen's 4.2.7.1 and eugene's hero21 v2.8. The nandroid backups do have an ext2.tar file in them, and it appears to be a perfectly valid .tar file with the expected contents. If I boot into recovery, drop to the console, mount /system/sd and then untar there, that should restore the apps, right?

Bart restores via the utility app just fine, so I'll continue with that for now.

Otherwise, this is fantastic, thank you for it!
[G1 Android Development] Amon_RA:
Thanks for reporting this issue!!

Indeed you are correct, nandroid restore doesn't restore the ext partition, very weird that you are the only one who noticed until now! :-)

Fixing....
[G1 Android Development] Amon_RA:
Updated to v1.5.1

Change-log :

v1.5.1

- Fixed Nandroid-ext restore issue where nandroid didn't restore the backup-ed ext partition.
[G1 Android Development] epitaph60:
thanks!! Amon_RA
[G1 Android Development] Swervo:
Ha, I assumed that I was the only one having the problem since no-one else mentioned it, and figured it'd be another one of those things that would have to be tracked down! I'm glad I could help!
[G1 Android Development] ecnano78:
hmmm

For some reason I can't download this from either rapidshare or androinspin from my g1... I've never had a problem with downloading from there before. I don't have access to a compuer these days. Anyone got the .apk file to email me??
[G1 Android Development] ecnano78:
Oops... I meant the .img file! Lol
[G1 Android Development] sir*mez:
Dude i love your work. great job in adding all the new features.
[G1 Android Development] dmolition:
I barely rooted my phone using one click method by the unlocker and i remember installing recovery-RA-dream-v1.2.3.img for my mytouch 3g with flashrec.

And i was wondering if i could flash this update with flashrec again. Thanks.
[G1 Android Development] Chinpokomon:
Any chance you could make 1.4 available somewhere or add MTD6 support back into the current kernel. It took me a long time to figure out why I couldn't make a backup of the splash screens. ;-)

Good work though, I've been using this line of recovery images for awhile now and the new menu systems keeps everything neat and pretty.

Edit: I just realized, I can still probably get the 1.4 image from Android Spin. What was the reason for removing that support after 1.4?
[G1 Android Development] BookCase:
Good to know. I was wondering the difference, myself. Thanx

:killer:
[G1 Android Development] djluis48:
Thxs for the update, i love your work...:D
[G1 Android Development] truthkilla:
I flashed 1.5.1 and put me back on 1.4.0. Did this happen to anyone esle? HELP!!!!!
[G1 Android Development] Proxin:
I just tried the nandroid ext backup on 1.5.1... it backed up ext2, but not ext3.

Is there any way to back up ext3 with this?
[G1 Android Development] Swervo:
You might want to wait for a more definitive source on this, but here's my understanding of how it works.

I've got an ext3 partition on my phone, and the nandroid backup backs that up to a file called ext2.tar. The tar file is still perfectly valid - it's not a disk image, just an archive. You could tar it from any filesystem and untar it to any filesystem (sorta, don't try to do this on an old DOS 6.22 FAT system) and it'll work. I think they just named the file ext2.tar to ideally make it less confusing (I'll leave it as an exercise to the reader on whether that goal was achieved).

You can open that .tar file with most compression programs (like winRAR, etc), if it looks valid, you should be in good shape, but tar itself, just like most other file IO utilities, is filesystem-type agnostic.
[G1 Android Development] smeat:
I am running the latest 1.5.1 recovery and I still am not able to do a nandroid backup. If I run

nandroid-mobile.sh -b

from the console it stops at

Dumping data to /sdcard/nandroid/HT94BGZ02436/BCDMRS-20091208-1737/data.img...

and stays there until my sdcard is completely filled up.

Any ideas??
[G1 Android Development] Proxin:
(Double-post, please delete)
[G1 Android Development] Proxin:
I too see an ext2.tar file. But mine is 3mb, while my ext3 partition is ~500mb. I browsed the file with Winrar and also didn't see any of my files that I would normally see in my ext3 partition. This leads me to believe that it is my almost-empty ext2 partition (I don't use ext2 for my apps2sd partition because my debian image uses ext2).
[G1 Android Development] Amon_RA:
The ext backup only backups apps + apps-private + dalvik-cache, not the entire ext!!
[G1 Android Development] Proxin:
I thought it would, I didn't say it didn't...

My ext2.tar only contains some lost+found folders. No apps/apps-private/dalvik-cache folders.

That is why it seems to me that it would only back up ext2...
[G1 Android Development] Swervo:
I think what Amon_RA was saying there is that the partition size vs. tarfile size isn't a good judge for this one, tar just gets the files, it doesn't create an image, so it'd only be the cumulative size of all the files you have in the partition, not the size of the partition itself (unless the partition was completely full). However, a basically empty tar file sounds wrong (though the lost + found folders shouldn't take up 3MB?). It sounds like you've got two ext partitions, one for a Debian install and one for apps2sd, how are they laid out on the card?
[G1 Android Development] Proxin:
I'm not sure what you're asking by how they are laid out on the card... but my debian is in an ext2-formatted ISO file, if I have apps in the ext2 partition then debian fails to load. Debian uses 'modprobe ext2' else it fails to load for me. A while ago I converted my ext2 partition to ext3 to have both apps2sd and debian working.

I see what you mean with the size. I shouldn't expect the ext2.tar size to be the same as my ext3 partition unless the partition is full; however, the size of the tar isn't even the size of 3 apps I have, I have 80 or so apps installed, so I would expect it would be much bigger than 3mb...
[G1 Android Development] Swervo:
By laid out on the card, I meant what primary partitions are on there and what order they're in, but that all sounds pretty normal. If it's an ISO file, then I wouldn't think nandroid would pick it up. I was really just fishing to see if the card was laid out something like:

1) Fat32

2) ext2 for Debian

3) ext3 for apps

4) swap

Then assume that the nandroid apps backup was looking at the second primary partition assuming it was the app one, and backing up the wrong partition. Looks like I was wrong on that one, and I don't know much more about how nandroid works (anyone know if there's source for these apps lying around somewhere, I'd love to poke around in them).

You could try going into the recovery console, then tarring up /system/sd yourself (should just be a matter of running 'mount /system/sd', 'mount /sdcard', and finally 'tar -cvf /sdcard/my_ext_backup.tar /system/sd/*'. Otherwise, I'm now going to have to defer to someone who knows more than I do :)
[G1 Android Development] halfsight:
I love the recovery image. I hate rapidshare.
[G1 Android Development] Amon_RA:
... and I hate people who don't see the non rapidshare MIRROR link in the first post :p
[G1 Android Development] unchainedrssr:
Well, I just thought I should post another quick fellow noob piece of information. If you happen to find yourself at the 4 shared mobile site, attempting to download something with you G1, change from android to desktop in your browser settings. For some reason the mobile site will loop when you click the icon. Most senior members probably already know this, but this may be helpful to someone.
[G1 Android Development] unchainedrssr:
And don't forget to install the "Download Crutch Lite" app from the market that is mentioned on the first page of this thread.
[G1 Android Development] acrawl1:
flashing

Hey guys... quick question. I tried flashing 1.5.1 today through the terminal. Tried rebooting to recovery... stuck at g1 screen but the during normal boot... everythings good, goes right to cyan. Luckily I still had 1.5.0 on my sd, flashed 1.5.0 again, perfect. Could I be getting a corrupted download? Tried the main link, and mirror.... any input/solution?

Thanks
[G1 Android Development] acrawl1:
I got... finally. Just downloaded 1.5.1 from android unlimited
[G1 Android Development] acoope2667:
I got the same thing on my phone, are we missing a step?
[G1 Android Development] JAguirre1231:
If it's says no such file or directory for like 2 things, that's normal for some roms
[G1 Android Development] AndDiSa:
The same thing happened to me yesterday using the lucid - script. I flashed it later manually and now it`s working fine.
[G1 Android Development] RAQemUP:
In the OP, it says getting errors when entering in "mount -a" is normal.
[G1 Android Development] BrutalHoe:
Yeah it does it to me to but i do

mount -w

and it works jsut fine

I was also wondering how hard would b to make those scripts the same way as the rest of the recovery?
[G1 Android Development] :
Well Mr Amon I owe you an apology sir.

Your image works beautifully!

The problem I found was the card I was using (4gb class 4) really didn't like my ext partition and was corrupting itself somehow so all the problems backing up, installing files, being told phone is full, force closures and everything else that was going wrong was all down to the Ext3 not being handled too well with that class of card.

Now I have an 8gb class 6 card and holy poopy trails it's blazing! Installed all eighty apps without errors or needing to reboot phone, has done both Bart and Nandroid backups effortlessly. And even makes the contacts apk with pictures flying around run like a charm without lag!

If ANY of the above sounds familiar, think about investing in a new card. Made the world of difference for me and makes me love my G1 even more!

Rom - Enomthers DRC92 + v2.3.3 ext pack

Image File - Amon RA Dream v1.5.1

SDcard - 8gb Class 6! :D:D:D
[G1 Android Development] Alucardis666:
would it be possible to integrate the zipalign scripts with the next iteration of your recovery image say in maybe 1.5.2?
[G1 Android Development] Charrion:
RA-dream-v1.5.1 for Rogers Dream 32B/EBI1

I've managed to port the 1.5.1 recovery to work with the Rogers Dream 32B/EBI1 phones. Download from here.

As with others, console still isn't working but everything else is.

Thanks again to Amon Ra for providing an awesome recovery to work with!

EDIT: As someone astutely pointed out in another thread, I accidentally linked to the ramdisk gz instead of the actual image. The link in this message has been fixed.
[G1 Android Development] theartar:
Ignore the mounting errors, it still works when you flash.
[G1 Android Development] halfsight:
actually did see the link, downloaded it and installed it, doesn't stop me from hating rapidshare.:cool:
[G1 Android Development] sirgreatness:
using switchrom under console

-------------------------------------------------------------------------

Iam having sd mounting issues when in console and trying to use switchrom.

did everything step by step but no luck

please help!
[G1 Android Development] big_d093:
when you use nand + ext backup..can i just use nand restore to restore my extention as well?
[G1 Android Development] Ace42:
No, theres a reason for two options.
[G1 Android Development] jaestoner01:
need help i have a mytouch

none of the proc

work for me

they all say img not found
[G1 Android Development] big_d093:
so what do u use to restore your ext
[G1 Android Development] Charrion:
OK first, you don't need to quote the entire OP.

Alright, now that that's done, what's happening? Any particular errors? What is happening?
[G1 Android Development] Pfeffernuss:
This I would also rather like to know! Without using Bart I am dumbfounded how to use (restore) it! Backup is no problem, restore for now is :cool:
[G1 Android Development] tutech:
Anyone Else out there observe this?

In the latest version 1.5.1 (and previous 1.5.0 too), when I go to the console, then return to recovery, THEN try to return to the console again, the console does come up but the prompt never shows, resulting in having to pull the battery.

I'm pretty sure that this isn't happening for just me. I tried to search to see if anyone else had mentioned this before but did not find anything. I apologize if this is already a known issue.
[G1 Android Development] tjs3783:
If you drop to console from the recovery, you should ALWAYS reboot back into recovery. Either type 'reboot recovery' in the console, 'reboot' and hold home, or 3-finger salute and hold home.
[G1 Android Development] tutech:
Okay.

Then I'm curious why Amon_RA decided to include the "return to recovery" option in the recovery console (under utilities [r], or enter "recovery" at the prompt) if we are

never

supposed to use it and always reboot into recovery mode from console instead ?
[G1 Android Development] uansari1:
Why people still pull the battery to reboot is beyond me. Hit Call+Menu+End and it will reboot.

You don't have to reboot into recovery each time... that simply makes it easier for noobs like you, else you'll have the issue you mentioned.

Sometimes I go to the console to repartition my sd card manually, then go back to recovery and flash a ROM. Since I don't need console again, it's not a problem.
[G1 Android Development] tutech:
The last time I had to use that call+menu+home was in January shortly after my first rooting, and honestly completely forgot all about it. I hate to have to pull the battery, and will remember that from now on to avoid it.

I am not a noob, thank you. Simply because I do not have a high post count does not imply that I am clueless and don't know what I'm doing.

I was merely trying to point out a bug or a possible enhancement to Amon_RA by my post in this thread. I am not attempting to invite unneeded and unwarranted criticism from the community, only perhaps some validation of the issue I mentioned.
[G1 Android Development] Jamdat33:
Hey i recently installed the new recovery and it allowed me to add 96mb of swap. when i boot into cyanogen it doesnt automatically enable it, so how do i go about enabling the swap partition?
[G1 Android Development] jubeh:
after installing 1.5.1 all my nandroid restores are failing

it backs-up fine, and I can use the backed up images to restore via fastboot, but restoring from recovery always ends in the "error use nandroid restore console" instead
[G1 Android Development] sirgreatness:
When in console(alt x)

I try using the switchrom -s option and comes back with "unable to mount sdcard" message.

I have Amon Ra 150 recovery.

Have any idea what this might be??
[G1 Android Development] charkosh:
I too have this problem now. I also have an error where I can't start a JavaVM to flash new ROMs
[G1 Android Development] Amon_RA:
I didn't create the utility menu... so I also didn't add the r.
[G1 Android Development] tutech:
So, Amon_RA, would you recommend always rebooting after dropping into console from recovery and not using either utility [r] or the recovery command methods to return to recovery as best practice?
[G1 Android Development] scrappyabs2:
Where is the manual for this Recovery? I need to know what exactly the "Fix the ext partition" option does and whether I'll ever need to use it.
[G1 Android Development] Charrion:
My kingdom for a /ignore option in XDA.

No one is likely going to help you with your problem if you keep over quoting like that.

Anyway, do you have any problem accessing the fat32 partition when booted normally? Try powering down and removing and reinstalling the card.
[G1 Android Development] jubeh:
Ok, I figured out the problem with the nandroid restore, you might want to look at it. Nandroid restore works fine even after the error message, just reboot and it will already have flashed boot, cache, system and userdata. The problem is that the newest script also tries to flash mmcblk0p2, but, if it doesn't exist (like in my case) it will throw out an error. Kind of a bother that people w/o ext 2 were kinda ovelooked, but it still sort of works
[G1 Android Development] sirgreatness:
ummmmmmmmmmmmm......

sorry if Im offending anyone here but just trying to get some advise!! Seems like a smart/sarcastic comment is stated every post...

Anyway, yeah I powered down, removed/reinstalled card...same thing.
[G1 Android Development] JAguirre1231:
As he said, try booting up normally and accessing the sdcard via usb, if that doesn't work then there's a bigger problem at hand.

And, he's not trying to be rude, but you don't need to quote the longest post in the thread. Just putting up a new post would have been fine. We try not to get angry but after we've answered the same question before a thousand times, you tend to get agitated. However I haven't seen your problem before, if I had I would've said earch
[G1 Android Development] sirgreatness:
I can access the sdcard via usb...

Its just when Im in console, and trying to use the switchrom option to store a ROM, it comes up with the "failed /dev/block/mmcblk0p1 on /sd"

what does that mean??
[G1 Android Development] JAguirre1231:
That means it can't put anything on the sdcard, which is why we had you connect via usb. Try flashing the recovery image again
[G1 Android Development] sirgreatness:
Well, that didn't work either...

You think re-partitioning the card will fix it? or

Is there a file for "dev block mmcblk0p1"??
[G1 Android Development] JAguirre1231:
There is no file for that, try going to console and see if you can do

mount /dev/block/mmcblk0p1

If that doesn't work, delete all partitions and repartition. Then nandroid or something else back. Be sure to back up everything as you will lose everything on your sdcard
[G1 Android Development] sirgreatness:
Ok, so I should first back up my sd, delete partition, re-partition and nandroid restore???....................sorry man just want to get it right! Appreciate your help!
[G1 Android Development] JAguirre1231:
Yes, that is what you should do. Do a nandroid backup first though, obviously
[G1 Android Development] sirgreatness:
nothing dude, I did nandroid back up, delete partition, repartition an now I have nothing

nandroid does not want to restore

cant do anything!

trying to use usb cable tru recovery but doesnt respond
[G1 Android Development] JAguirre1231:
Then your recovery us acting up, what version are you running?
[G1 Android Development] Ace42:
you were suppose to save the backup from nandroid onto your pc...Because erasing you partitions will delete the backups, since they're located on the fat32 partition...
[G1 Android Development] JAguirre1231:
That or someone (jubeh?) said backing up worked fine on Nandroid, restoring however would say it failed, when it actually worked just fine. That and since he can't seem to connect via usb it's hard to put stuff back on. Try going to console and typing ums_enable, if it works on amon_ra's (sorry for my noobness on the recovery, first time using anything other than Cyanogen's 1.4)
[G1 Android Development] ilostchild:
my fault wrong thread..
[G1 Android Development] xallyx:
question?

Is it possible to make it have a nandroid 1 & nandroid 2 if u wanted to switch between roms instead of flashing?
[G1 Android Development] htcclay:
Very nice on the mytouch.

Its too easy now to install, format and backup.

Beautiful job Ra!
[G1 Android Development] yozpalang:
THANK YOU

This is just Awesome A+++++
[G1 Android Development] Argusi:
Wow, I'll have to agree. This is pretty awesome! Thanks, so much! :D
[G1 Android Development] Devnex:
I love you in the manliest way possible. The Formating options alone are pure win
[G1 Android Development] oMszKikiIzWavyo:
Yes I agree with everyone else. This is an AMAZING recovery img. I love how their's more options to chose.
[G1 Android Development] sagementor:
Anyone can upload it to Androidspin to help others for the download??/
[G1 Android Development] nikhilv.13:
^.^

Great work m8... no more adb shell for me :P

but seriously this is awesome... keep up the gr8 work.. :D
[G1 Android Development] skaterA223:
bart img

so for the img with bart what would i type to get it or do i get original then flash with bart
[G1 Android Development] domex2k:
which option in this utility replaces

# mount -o rw /dev/block/mmcblk0p2 /system/sd

# cd /system/sd

# rm -rf /system/sd/*

also do i select ALT+6 right after i flash a rom or do i first boot up then go to recovery and select ALT+6

Thanks in advance
[G1 Android Development] Ryukou:
I just flashed so easily, thanx RA.
[G1 Android Development] ChrisChavez:
Ya, I was wondering the same thing....

Except minus the cd /system/sd part cuz I never enter that line. =p
[G1 Android Development] Dror520:
I believe that to be the wipe sd: ext partition. I hope I'm right cuz i'm going to flash the new MLIGN rom
[G1 Android Development] NISIM2337:
great good working
[G1 Android Development] carnegie0107:
Excellent!

I was beginning to believe I'd never see an update to cm recovery 1.4. Don't get me wrong, it's amazing, but I was hoping for just a couple added features, and was sad to believe that they would never come. But, lo and behold, here it is! and it's amazing. Many, many thanks!
[G1 Android Development] jf4888:
Can I just flash this from terminal emulator

On my g1 with the command

flash_image recovery /sdcard/recovery-RA-dream-v1.2.2.img
[G1 Android Development] Dror520:
yes

10 char
[G1 Android Development] farmatito:
If you could add also the console for people that do some hacking and need to do some extra repairing this would be great. Tnx
[G1 Android Development] andonnguyen:
I second that :)
[G1 Android Development] Chardodrifteer:
This is awesome thanks now i can flash back and forth :) you sir are epic
[G1 Android Development] djdeviance:
Yes that wipes your ext2/3/4 with having to go to console and throwing in the mount -o blah blah blah

rm -r blah blah blah

Easier and faster solution! This recovery is excellent.
[G1 Android Development] Amon_RA:
Updated to v1.5.2

v1.5.2

- Updated Nandroid to v2.2.2 (fix ext restore issues)
- Added a v1.5.2R version for the Roger's EBI1 Dream
[G1 Android Development] BookCase:
Excellent! Thank you.

:cool:
[G1 Android Development] xillius200:
Best recovery rom

Best recovery rom out there love it :D

Keep up the good work RA cant wait for next release :)
[G1 Android Development] amigaroxx:
the Download link of 1.5.2 (@rapidshare) is wrong... links to the HEROC file...
[G1 Android Development] Amon_RA:
Link updated, thanks for reporting it :)
[G1 Android Development] g1doobie:
great work as always!
[G1 Android Development] billyjr2:
verry nice love your recoverys:D
[G1 Android Development] Dysengaged:
very nice layout. was getting bored of cyan1.4.. loving the quicklink to wipe etx and data:)

Great work mate.
[G1 Android Development] davr:
Thanks for all your hard work, but is it possible to get a real webhost instead of rapidshare or similar crappy download sites? It wont let me download at all, it's telling me I need to pay them money if I want to get the file, I tried three times.