yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] lt1pnyklr:
Does this recovery image allow one to set custom partitions (various sizes) from recovery, if so, how?

I know you can format to fat32..ext2..swap, but can you manually adjust them from here or do you need adb?
[G1 Android Development] stellarman:
Thanks for this. It installed without problems and works great for me. Keep up the good work.
[G1 Android Development] problem1:
before this it was too much hassle wiping the ext partition and repairin it...... now i switch from hero rom to hero om quite easily thank u
[G1 Android Development] satbir7:
very good recovery

flashed this is on mt3g and it is working great. has a lot of useful options... Like USb mass storage on or off....

Keep up the good work.... Amon_RA

Thanks.
[G1 Android Development] Amon_RA:
Upgraded to v1.2.3

Change-log :

v1.2.3

added squashfs to fstab (should fix issues accessing system and xbin for people using Cyanogen's ROM)

Replaced the GREEN-key by the HOME-key for confirmation

Removed the menu title to create more space

Added Wipe SD:ext partition

Added Rotate fix

Removed "Move apps to SD" because it's automatically implemented by most ROMs already.

Added confirmation before performing a nandroid backup

Set swap back to 32MB instead of 96MB when doing an auto partition SD-card from the menu

Upgraded fix_permissions to v1.32-R3

Added BART v0.9.2

Fixed many bugs (mostly in scripts)
[G1 Android Development] sacredsoul:
Any mediafire link please?? Rapidshare and Megaupload doesnt work here :(
[G1 Android Development] Thats BS:
Wow. Awesome job! Thanks again.
[G1 Android Development] xidominicanoix:
i have such horrible experiences with rapidshare

here it is on sharebee

nice work amon ra :D

also is the md5 correct in the OP? it looks the same as the one for 1.2.2
[G1 Android Development] sacredsoul:
You are the MAN!

Thanks!!!
[G1 Android Development] nickL0V3:
any way to make those scripts accessible to those who cant use terminal? (aka, magic users)
[G1 Android Development] Amon_RA:
Fixed it , thanks :p

Use adb to make use of the scripts.
[G1 Android Development] :
hey,

check ur instructions for the adb one.. it looks like u meant 1.2.3.img... you know some folks are going to follow those to the letter... lol

Question

1- whats that autorotate fix??
[G1 Android Development] cephaus:
hmmm. im getting problems with the "mount -a" command
[G1 Android Development] DroidRC1:
so this will work on a mt3g then??
[G1 Android Development] mobile_mogul:
Update works great! Thanks again!
[G1 Android Development] gtrplr71:
thank you AGAIN!:)
[G1 Android Development] Vlad83:
Thank you so much for making everyone's life easier! Love this new recovery!
[G1 Android Development] uansari1:
The autorotate fix is for Dream/G1 users. Occasionally, and I mean VERY rarely, the screen gets stuck in landscape mode, and the autorotate script written by miketaylor00 deletes the necessary files from Recovery to fix it.
[G1 Android Development] dta1974:
Thanks for this great update,the easy and painless process. :):)
[G1 Android Development] widezu69:
so will this work with 32b magic users?

thanks peace and feckin' awesome recovery!!
[G1 Android Development] funnycool:
Thank YOU so much!!! THAT's GREAT!!!

I can do easily with my phone.
[G1 Android Development] Amon_RA:
Lol, fixed :p

Those are not problems, mount can just not load both cramfs and sqf at the same time! I try to load them both to be able to support ROM which use cramfs or sqf.

Yes it will work, but just wait a bit... I'll release a 32b magic version soon.
[G1 Android Development] satbir7:
its working for me.....

i flahsed v.1.2.2 and it is working great on mt3g ....

we cant use the keyboard options, coz no hard keyboard on mt3g.....

other than tht .. i think it should be ok....

like Amon_ra said above.... that he is going to release the 32B verson soon..so u can wait...,,
[G1 Android Development] HooliganAMA:
Would love to see the 32 MB swap become 64 MB.
[G1 Android Development] Rawdi:
what is the best swapness because you have changed it back to 32mb.
[G1 Android Development] coredalae:
swappiness is something completely different as the size of swap, and it really depends on your own device. go read into this.
[G1 Android Development] futangclan:
Thanks for the update...and the extremely clear instructions about how to install it. Took me less than 30 seconds to upgrade from your previous recovery image.
[G1 Android Development] Bill Idol:
amon ra recovery

Great recovery, works like a charm, Love it.:D
[G1 Android Development] Rawdi:
what do you mean?
[G1 Android Development] sagementor:
Any mirror link other than rapidshare ?
[G1 Android Development] Amon_RA:
See first post... there's a MIRROR-link behind each link...
[G1 Android Development] speedy2721:
Nice job on the recovery image, I like all the extra features you added especially the wipe ext partion. The only thing that needs to be fixed is that after you are in the console and you go back to the recovery menu, the console won't work anymore.
[G1 Android Development] prettyboy85712:
From first post "DO NOT USE the recovery command to return back from console to recovery! Use the reboot command instead! Some scripts (like nandroid) will not work properly if you do so!"
[G1 Android Development] speedy2721:
I already knew that, I was just saying that it would be nice if that could be fixed so you wouldn't have to reboot the whole recovery just to use the console again.
[G1 Android Development] big nu:
holy cow balllssss

:D This recovery is FLIPPIN genius!!!! Dont hesitate to

flash it is definitely and HUGE step forward for the ANDROID

community BIG UPS TO Amon_RA for this gem!!

Cheers to you my friend:D:D
[G1 Android Development] bkmo:
Just type "reboot recovery" at console prompt to get back to recovery. It only adds a few seconds to the process, but will save a bunch of problems. I have added this command to my "utility" menu and have pm'd Amon_RA with the changes. Hopefully he can add it to the next release.
[G1 Android Development] here.david:
1st WOW! and THANK YOU!!! might I suggest a small item:

Were it states "...enter "utility" to start..." whereas previously it was "U", make a note of this change (BART).

I know if one would read everything carefully it would point this out, however, when something works so GREAT, lazy human nature is to trust the update will also and the mind plays tricks on what is 'seen' read...:D

I 1st thought I did something wrong and when I went back to "READ" saw the small change I had missed...new folks might not and more posting would follow...is all I am hoping to minimized...:cool:
[G1 Android Development] sillyshyme:
i can't get this thing to work? file not found????
[G1 Android Development] :
Cant get it installed? Have it installed and it won't load when you reboot into recovery?
[G1 Android Development] sasa3791:
yea, that's a great job Amon_RA

thx
[G1 Android Development] sillyshyme:
No won't install at all I have 12.2 got that running
[G1 Android Development] zimphishmonger:
Excellent update to an already great recovery mod. Thanks again! :cool:

One request, Can you change the swap partition default to 64mb in the next version. Most mods using BFS will preform significantly better w/ 64mb of swap available, and people not wanting to use all 64mb can limit the amount used in their user.conf script.
[G1 Android Development] sillyshyme:
Can this be done in terminal cause i can't get it working using consol?
[G1 Android Development] zimphishmonger:
In Terminal (look at the 1st page for the same instructions)

su
flash_image recovery /sdcard/[filename].img
[G1 Android Development] EWitsJan:
Thanks I was waiting for Wipe data + cache! :D
[G1 Android Development] cx92001:
Amon_RA you are awesome. Thank you so much for your contribution to the community.
[G1 Android Development] TailsNeon556:
awesome recovery image... maybe coincidental... but my phone has been rebooting by itself randomly ever since i flashed this.. never had that issue with the previous versions... build hasnt changed..
[G1 Android Development] ei8htohms:
does v1.2.3 include the BKMOd_3 additions already?

I've been using your mod (3) of the RA 1.2.2 recovery and digging it. Did Amon_RA already include those additions in 1.2.3?

Thanks to both of you for the great work!

[edit:] Never mind, I can see now from the screenshot that it does. Thanks again!

[edit 2:] For anyone else trying to get to BKMO's additional utility from console, it's no longer just "u" to get there, now it's "utility".
[G1 Android Development] njgheewala:
Great recovery, I love this one, thank so much. Just one question, when you do partition automatically, would it be possible to add option to do partition manually like asking question how much you want to partition for each partition. This would help people using different HERO ROM that require different swap size :p. Just wondering, thanks again for a great recovery!
[G1 Android Development] bkmo:
On the "utility" menu available from the console prompt of 1.2.3 there is a partitioning tool that "asks" what size you want to make "ext" and "swap", and then it partitions the "fat32" partition with the remaining space.
[G1 Android Development] njgheewala:
Ahhh sweet, I will get 1.2.3 asap! thanks!
[G1 Android Development] marty22877:
i'm upgraded to your new recovery and i'm trying to do a nandroid backup, and it's telling me to run it from the console??? this was never like it before
[G1 Android Development] Breakthecycle2:
I keep getting an out of memory error. How can I delete the current recovery through terminal?
[G1 Android Development] jaedolla:
your recovery image rocks! love all the options! thanks for this one! perfect!
[G1 Android Development] bkmo:
I just did a nandroid backup to test it out, and it completed ok. You have a problem that is causing nandroid to error out, and the recovery image is setup to ask you to run it from the console to see why. Try running "nandroid-mobile.sh -b" from the console prompt to see what it says is wrong. It is usually lack of disk space that it complains about.
[G1 Android Development] marty22877:
the backup worked, so i ran a -r guessing that's the recovery, it barked at me about my battery being too low. it's almost time for me to go to bed anyway, so i'll try it in the morning when the battery is fresh. thanks.
[G1 Android Development] overground:
Ok..so typing utility brings up a menu like BKMOd. Is there a way to throw switches in there for bart? Say we only wanted to store/restore a nandroid or only EXT data, or can these only be run from the script?
[G1 Android Development] Ohsaka:
I would suggest adding "BART Full Backup" and "BART Full Restore" to the menu. And have it use a fixed filename like "recovery-menu-backup" automatically. That way BART could be used without going to the console or having to use the keyboard.

One other suggestion would be to add "fix_permissions" to the menu. That is the only other thing I have to goto console for. And HOPEFULLY the noobs would use it more often after installing updates, lol.
[G1 Android Development] bkmo:
That sounds good to me too. That is the reason I created the utility menu in the first place. Just FYI the item on the main recovery menu "fix uid mismatches" is just running the fix_permissions script from what I can tell.
[G1 Android Development] bkmo:
You can run bart standalone from the console prompt by just typing "bart"

and the proper command switch.
[G1 Android Development] sumasage:
Suggestion/Question: Can you script it so that we can specify the amount of space allocation for the Part SD option?

Can anyone tell me what is a good amount for swap space? I like it when it was 96mb, 32mb sound to little lol. I dont know much about linux so some explaination would be nice.

Thanks for making the recovery possible :)
[G1 Android Development] Breakthecycle2:
Any ideas??
[G1 Android Development] tekthebeast:
you should have a wipe APP_S :D thatll be perfect but thanks this is awesome!!!
[G1 Android Development] zimphishmonger:
Try erasing your recovery first

fastboot erase recovery
fastboot flash recovery [filename].img
[G1 Android Development] pascanu:
Can you post your latest mod meanwhile? (I like "u" better than "utility", call me lazy if you like). :rolleyes:
[G1 Android Development] rg8rc18:
first of all thank you for this. makes everything soo much easier!:)

but im having trouble flashing 1.2.3. i flash it using console, reboot recovery and it says its 1.2.3.

then when i use switchrom and apply my old roms successfully

my recovery goes back to 1.2.2

is there something im doing wrong or is it something with switchrom?
[G1 Android Development] ei8htohms:
switchrom and bart store/restore your recovery partition also

I'm not sure why they do this, but whenever you switch back to a ROM you stored from an earlier recovery image you will have to also flash the latest recovery image and store again if you want to keep the latest recovery associated with that ROM also. Hopefully that aspect of bart and switchrom can be disabled by default at some point, but for now that's the way it is.
[G1 Android Development] kirkcody:
Can someone?anyone? Tell me how to use adb in this recovery image ? Or access it from console or whatever i must do???????
[G1 Android Development] bkmo:
Link to my "personal mod" will always be found in my signature. (it has both "u" and "utility")
[G1 Android Development] bkmo:
Hmmm never really noticed that the recovery image was restored by switchrom, or bart. They both call nandroid-mobile.sh to do the backup and restore. I am going to look at modifying that file so it does NOT backup and restore the recovery image.
[G1 Android Development] overground:
32 is too small for anything. For a while 32 was the consensus for the max. I just switched to 64 from 32...what a difference! I left another 32 unallocated just in case Hero gets bluetooth fixed sometime soon. 96mb is recommended for Hero builds. HERE is a good post for partitioning info.

This has happened to me as well. When I first started using this recovery, bart would keep bringing me back to cm1.4. After I flashed RA1.2.3 yesterday, I did a bart restore, and got 1.2.2BKMOd_3 back. Had to reflash 1.2.3. Are you on this, bkmo, or should I get ahold of dumfuq?
[G1 Android Development] bkmo:
I looked at the nandroid-mobile.sh and there are switches for it to ignore backing up or restoring certain images. You can pass --norecovery to nandroid-mobile and it will not backup or restore the recovery partition. I think that this could easily be accomplished (and should be) by dumfuq. In the meantime I am going to see if I can quickly mod a recovery image with a change to the bart script included in it. You can present this to dumfuq if you want. He can add a -norecovery switch to bart.

edit: I am going to set norecovery=1 in nandroid-mobile.sh so that bart, nandroid, and switchrom will function without changes, and the recovery will not be touched. Will test and post a link later.
[G1 Android Development] overground:
Ok I'll let him know. Off should definitely be the default.
[G1 Android Development] bkmo:
I have modded nandroid-mobile.sh to have norecovery as the default. Will test and upload later.

Edit: Changing NORECOVERY=0 to NORECOVERY=1 for the default options in nandroid-mobile.sh will now make that the default for nandroid, bart, and switchrom backups. I for one don't want a restore replacing my recovery with one from an old backup. I will upload the modded recovery image and post the link here.

edit: I have posted the link to my current mod. The link in my signature will always be the most current.
[G1 Android Development] overground:
Sweet...can you also post the BART script modification in that thread...thanks much!
[G1 Android Development] bkmo:
I didn't have to modify BART. I modified nandroid-mobile.sh. That is the file that bart, and switchrom use to to the "nandroid" portion of the backup and restore. Bart would only have to be modified if the nandroid-mobile.sh was left alone.
[G1 Android Development] Breakthecycle2:
Yeah I did try that, but I keep getting remote not allowed. I have adb up and running perfectly.
[G1 Android Development] overground:
Are you doing this from the boot loader (camera+power)? Put a copy of fastboot.exe in \Windows\system32. Restart your phone holding camera+power. Plug in USB. Press the back button. Now type the commands.
[G1 Android Development] Breakthecycle2:
Yeah I did that. I have flashed all previous recovery's with no issue.
[G1 Android Development] Amon_RA:
remote not allowed means you have a perfected SPL that doesn't allow you to boot or flash an image...

Boot into your current recovery and use the console or adb method described in the first post.
[G1 Android Development] xile6:
Wasn't the next version suppose to have grouping so that if didn't show all the options at once
[G1 Android Development] Uriell:
i have a g1 and im trying to get root butt i can't Need Help!!

I have a android G1

i download the:

flashrec-1.1.2-20090909 and

recovery-RA-dream-v1.2.3.img

i copy this to my 4gb sdcard

i instal the Recovery Flasher = flashrec...

then i click it "backup recovery image" and i don't get the backup.

when i click in backup recovery image tell's me backup Failed: could not run command.

Then i click the other buttton that say's download recovery image and doesn't work!!!!!

Please help me someone here!!!!!

what i have to do ?
[G1 Android Development] ei8htohms:
awesome

Every day another reason to love Android. Thanks! :)
[G1 Android Development] zimphishmonger:
@bkmo Can you detail the features\changes in your mod. I know about the "u/utility" but now that it has been integrated into the 'stock' Ra-dream, what else have you added? Would like to know what I should look for:D Thanks!
[G1 Android Development] bkmo:
All I have done is add the shell scripts that are needed by the utility menu. Today I made a change to the backup/restore procedures of nandroid/bart/switchrom so that they don't backup and restore the recovery partition. Other than that I just cleaned up the return to recovery on the utility menu to be reboot recovery. All these are "under the hood" changes that you will not really notice. It is very hard to improve on Amon_RA's fine job, I am just tweaking to my likings and sharing it.
[G1 Android Development] zimphishmonger:
Much thank! That "tweaking and sharing" philosophy is what makes this community go round :D
[G1 Android Development] jubeh:
Wow, finally somebody added this. This should have been a no-brainer from the start, specially for us using trackballs, I can't remember how many times I've backed-up without wanting to because the trackball slid, the problem is that restore still only restores the latest backup, so if you make a backup by accident, you have to go into console and remove it. This is great, Thanks a lot.
[G1 Android Development] Ohsaka:
I thought they were different because when you run fix_permissions it creates a log file in /sdcard/

If you use the menu option to fix uid mismatched, no log file gets created...

Sure they are the same?
[G1 Android Development] bkmo:
From what I can see when hex editing the recovery executable that /sbin/fix_permissions is being called from that menu option. Besides, there are no other scripts that do anything of the sort. I don't know why it does not create a log from the menu unless /sdcard is not mounted?

if $TEST $( $MOUNT | $GREP -c /sdcard ) -eq "0"; then
LOG_FILE="/data/fix_permissions.log"
else
LOG_FILE="/sdcard/fix_permissions.log"
[G1 Android Development] Ohsaka:
Cool, then I'll stop running fix_permissions twice from now on... :)
[G1 Android Development] elreason4:
how can I 'go to console' using 1.2.3?

1.2.2 had a go to console option.....how can I 'go to console' using 1.2.3? shortcut or something?
[G1 Android Development] Amon_RA:
... select option 6 in the menu "Go to console" or press ALT-X...

(I wonder why I actually answered this question).
[G1 Android Development] ei8htohms:
could be an older fix_permissions script?

I wouldn't care to guess at the whys or hows, but the fix uid mismatches definitely behaves differently than the more recent fix_permissions scripts. Is it using an older version?
[G1 Android Development] siriusuper:
why 32MB swap?
[G1 Android Development] Alucardis666:
Anyone else having issues in the new recovery with commands aborting once you confirm them?

I can only apply zip updates and turn usb storage on and off as well as reboot, every other command whether clicked with tack ball or keyd in with shortcut commands aborts once confirmed.
[G1 Android Development] bkmo:
I am not the creator of this recovery, and my knowledge of it was through reverse-engineering it. But from what I can see by poking around, the fix uid mismatches is running the fix-permissions script included in /sbin/fix-permissions. This when opened in a text editor says it is version 1.32 or specifically VERSION="1.31r3". Maybe because it is being run from the recovery its output is suppressed and it looks differently. Maybe Amon_RA can jump in here if I am wrong.
[G1 Android Development] samethsom:
Does anyonehave. Thiss in. A zip. File?
[G1 Android Development] buzzdroidx:
Just a thankyou

WOW this is awesome aman ra thanyou for sharing this work with us
[G1 Android Development] bkmo:
You can zip it if you want, but then what will you do with it?

(sorry had to answer this one :) )
[G1 Android Development] Amon_RA:
Correct, it's running fix permissions v1.31r3 which is the latest version of the scripts. And the output is suppressed, you have the dots for waiting as long as the script runs.
[G1 Android Development] ei8htohms:
gotcha, thanks!

It seems to work great. :)
[G1 Android Development] samethsom:
I want it in a zifile becausei want to download it onto my hone. When i download the image it says not suport, and it aborts.
[G1 Android Development] dumfuq:
Install download crutch from market.
[G1 Android Development] embracelb:
Using Recovery v1.2.3 for partitioning

any STEP by STEP guides on how to apply the steps on the Ramon's RA recovery to start fresh on wiping a SD card &then partitioning it? i got a 8GB memory card but i'm not sure if i partitioned it right the first time, it does show a primary storage &secondary storage but i'm still iffy on my procedure, it was my first time. I want to wipe my SD, reformat, 8GB memory card so 512MB to EXT2? then eventually 3?4? &the rest FAT32 i think thats right. All i know is that 512MB for EXT2?3?4? should be more than enough i could have up to 500APPS &probably still not fill up the space. Help? I realized that all the zip's &folders data etc is on the SD CARD so if i power down &then HOME+END to go to recovery &the Amon Ra's recovery loads up &i choose the WIPE SD what then happens to my data i lose everything, can't i sort of be fckd if i don't do the steps correctly? What about like the nandroid folders &the zip's &what not? What happens to them in the process? I dont do a Wipe ext partition on SD-card or Wipe Dalvik-cache on SD-card (NOT on /data !) first to wipe it clean &start from scratch then do a Partition SD-card : 500MB Ext2, 32MB Swap, remaining Fat32 ? Sort of scared. Help? I want to be able to wipe my SD, &repartition it correctly using your recovery v1.2.3, 8gb memory card, i want to be able to do this 500MB Ext2, 32MB Swap, remaining Fat32 then eventually get Ext2 to Ext 3 or 4. Please help in any way?? Thanks in advance, send a msg or a reply post.
[G1 Android Development] beanboi:
sorry but it totally drained my battery. browsing on the web for 2 minutes drained like 5 percent. went back to 1.2.2 and works a lot better. anyone else having this problem? or a way to fix it?
[G1 Android Development] amirnew:
i really don't think that the rcovery has any part in your problem.

amir
[G1 Android Development] amirnew:
how do i open the window with the EXT3 to EXT4 is available and the apps backup and restor tool from the recovery?

amir
[G1 Android Development] gtrplr71:
don't type mount -a
[G1 Android Development] Drizzy Drake Rogers:
finally a console option yay!!!
[G1 Android Development] thisoneguy:
Any chance of getting an updated recovery for the Magic to include swichrom???