yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] shhbz:
download both the file provided 1.2.1 and the flash image

connect ur phone in mass storage mode

extract the flash image directly to ur sd card and copy the 1.2.1 recovery after extracting to ur pc and then copy it.

try the command now

-adb shell

-su

-mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system

-cat /sdcard/flash_image > /system/bin/flash_image

-chmod 755 /system/bin/flash_image mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak

-mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system

-flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img

-reboot recovery

change the red marked words to the proper recovery name u have transfered to ur sd card as if u r using 1.2.1 u see the name how it is written and rename it in the highlighted place.

hope it works
[Optimus One, P500 Original Android Development] cmangalos:
im using void,

i have installed the lg drivers as well,

:(
[Optimus One, P500 Original Android Development] shhbz:
which recovery are u using if 1.2.1 then flash clockwork mod by mik and check if it works and if not 1.2.1 then try upgrading to 1.2.1
[Optimus One, P500 Original Android Development] cmangalos:
im using the 1.2.1

let me try again

As far as i can remember, i have installed the recovery image, but got some error,

so what i did is renamed the recovery image to reco.img, then it was accepted by terminal emulator,

i was able to go to recovery ,

got e:badboot msg
[Optimus One, P500 Original Android Development] zeu55:
i am facing one problem.... used nand backup to backup nessy fennice, tried CM7 .. then when i tried nand restore ..instead of restoring recovery started to backup again... is it a problem with recovery???
[Optimus One, P500 Original Android Development] lerkin:
it's a problem of 1.2.1 version, to restore you have to use "backup......blablabla +link2sd"
[Optimus One, P500 Original Android Development] sovikhaque:
I had this custom recovery installed and worked like charm. I had also CM 7 Installed. Today i took my phone to a shop to unlock my phone and the guy flashed the firmware and now i am on froyo. i don't know i still have the custom recovery. everytime i try 3 buttons combo it reset my phone to factory settings.

I rooted my phone but can't installed custom recovery.

I have terminal emulator installed. when i type in

mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system this bring to to next line

cat /sdcard/flash_image > /system/bin/flash_image but this say such directories not found

i have both files on sd card. But they are in .zip format. do i leave them as .zip format or i extract .zip and copy the files on to sd card.

Got it working. I kept both files zipped and extracted hoping for one of them to work. and it did.
[Optimus One, P500 Original Android Development] klchaw:
I need help, can anybody explain to me why i got this "[1]+ Stopped(signal)" ? :confused:
[Optimus One, P500 Original Android Development] shhbz:
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img

it seems that u are copying the line wrong just chk.

orelse chk my thread it has been explained in detail http://xdaforums.com/showthread.php?t=1038338
[Optimus One, P500 Original Android Development] klchaw:
thanks bro, finally i managed to flash it ... i think the previous error was caused by a defeat flash_image file. I downloaded all the necessary files followed your post and finally success.:D
[Optimus One, P500 Original Android Development] SwimmerBoy:
I can't update recovery from 1.2.0 to 1.2.4... what do I have to do?
[Optimus One, P500 Original Android Development] lerkin:
Where did you find 1.2.4?
[Optimus One, P500 Original Android Development] klf33:
help

Hello,

could you help me somebody, i am trying flash custom recovery the whole day but without luck :( i try 3 different version and always get the same error:

$ su

su

# flash_image recovery /sdcard/LGp500-recovery-v12.img

flash_image recovery /sdcard/LGp500-recovery-v12.img

mtd: not writing bad block at 0x00160000

mtd: not writing bad block at 0x004c0000

error writing recovery: No space left on device

or

# flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img

flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img

mtd: not writing bad block at 0x00160000

mtd: not writing bad block at 0x004c0000

error closing recovery: No space left on device

I think i have some bad sectors, maybe somebody can create a light version of recovery image (or give me a advise how) which we can using only for flash the new rom the other functionalities i don't need.

Thanks a lot
[Optimus One, P500 Original Android Development] lerkin:
You need to flash recovery just after phone reboot
[Optimus One, P500 Original Android Development] shhbz:
read the thread for installing recovery every body had success doing it properly http://xdaforums.com/showthread.php?t=1038338

if u want to install clockwork then chk thius http://xdaforums.com/showthread.php?t=1024838 remember that clockwork doesnt support all rom at this point of time.

to install just finish installing thunderg recovery 1.2 and then enter into recvery and flash the clockwork zip. there are other process too but i dont want u to get confused. so proceed with the installation of recvery
[Optimus One, P500 Original Android Development] klf33:
I try also after reboot. i think i need lighter version of customer recovery img. Could somebody help with this?

Thanks.
[Optimus One, P500 Original Android Development] shhbz:
why dont u try home + vol down + power it will reset your phone then just chk how much space is left in ur phone. then proceed with the installation exactly as it is mentioned here http://xdaforums.com/showthread.php?t=1038338

remember using the three button combo u may lose data so backup it will bring you to default state of your phone but before proceeding just try to gothrough the instruction given to install recovery
[Optimus One, P500 Original Android Development] marioemp2k7:
Well, AmonRa is the biggest! You could try Clockworkmod since it's smaller and practically does everything AmonRa does.
[Optimus One, P500 Original Android Development] klf33:
I try also Clockworkmode i have the same error message, i did also factory reset didnt help. That is the reason why i think need lighter version of custom recovery.
[Optimus One, P500 Original Android Development] marioemp2k7:
It seems you have a bad nand. Being a hardware problem, you should have to service it. This is not something you could/should live with. Since a nand replace is not so easy to do I guess a motherboard replace will save the day.
[Optimus One, P500 Original Android Development] klf33:
Finaly the clockwork recovery i can flash ;) yuppi ;) Which roms work with clockwork? I try void but void dont work.
[Optimus One, P500 Original Android Development] marioemp2k7:
You can use Amend2Edify tool to convert any amend .zip to edify. I did it with void and it works fine.

Here is a little tutorial I made a while back.
[Optimus One, P500 Original Android Development] klf33:
Thank much marioemp2k7. I finally have my first custom rom flashed (void). Thank you for all
[Optimus One, P500 Original Android Development] drellisdee:
Updated recovery. Now supports browsing dirs in all of sdcard and many things were updated. Also backs up sd-ext as a whole so link2sd should be no issue now.

Can some one please test for me and feedback?

recovery-RA-thunderg-2.2.1-GNM.img

Its also much smaller now so there should be no more issues with people having to many bad blocks to flash.
[Optimus One, P500 Original Android Development] ViTAMiNCHEG:
Thank you for the updated version. Flashing right now :)
[Optimus One, P500 Original Android Development] lerkin:
new version works very good with link2sd, new features are awesome too

thank you for your excellent work.
[Optimus One, P500 Original Android Development] marioemp2k7:
It is a lot better than the others. Very nice update! I still wanted the ability to format partitions even though it's dangerous. I love the blue!
[Optimus One, P500 Original Android Development] taha198:
@ drellisdee

Please update the title and include version info also with date so that others may also know.

BTW rocking update :D
[Optimus One, P500 Original Android Development] lerkin:
Guys, can someone explain why we need those "mount" menu, and various mount\unmount in there?
[Optimus One, P500 Original Android Development] hell1134:
Do you have a zip file for flashing via recovery ... like the one mik has provided ?
[Optimus One, P500 Original Android Development] SlashSpeed:
Just installed 2.2.1, seems to work fine. My first recovery on this phone, since i just upgraded from a G1. Cheers mate!:)
[Optimus One, P500 Original Android Development] croke:
I just installed it. works perfect for me.
[Optimus One, P500 Original Android Development] ungaze:
My mini-guide to flash Amon_Ra v2.2.1(ported by drellisdee of course)

What you need:

1. terminal emulator(download from market - free)

2. "Amon_RA_2-2-1.zip" recovery installer(download here)

3. winrar/7zip (or whichever archive unpacking/extracting tool you use)

when you have everything, lets start:

1. extract contents of "Amon_RA_2-2-1.zip" to the root(meaning the base) of your SDcard.

2. open terminal emulator, enter these lines(press enter after each line):

su
sh /sdcard/rf.sh

3. Done! This should lead you directly to the recovery menu!!!!!
[Optimus One, P500 Original Android Development] lekhwani:
Flashable zip for updating available in development thread.
[Optimus One, P500 Original Android Development] ChEtTeDeBoEuF:
Link MegaUpload is broken

Cheers
[Optimus One, P500 Original Android Development] lekhwani:
Flashable zip

http://dl.dropbox.com/u/15955846/Android/AmonRa_Recovery_ThunderG.zip
[Optimus One, P500 Original Android Development] drellisdee:
Thanks. I added wipe sd under other menu so it would be hopefully no accidents. I added the code to format /system a while back but commented it out. If partitions need to be formatted/erased in 2.2.1 release. Use adb shell flash_eraseall /dev/mtd/mtd* where * is the number of the mtd you want to erase (that info you can get from "cat /proc/mtd") for example flash_eraseall /dev/mtd/mtd1 will erase system on p500. Doing it this way will lead to less accidents IMO. Still be very careful on typing and what you decide to erase.
[Optimus One, P500 Original Android Development] server3249:
When I tried this, an error flashed on the screen- something to do with some system directory failed. Then it rebooted and it showed me the new recovery.

Few questions-

1. Is the above behavior expected? I earlier had 1.2.1 GNM recovery.

2. What is the difference between the above Amon_RA recovery and the one that drellisdee has posted? (I just chose the Amon_RA because it looked easy to install)

3. I plan on installing franco's devoid, is it ok with this recovery? Thanks
[Optimus One, P500 Original Android Development] lekhwani:
Your new recovery is not able to wipe/format SD ext. Even after wiping, my apps were back in a new rom flash. I have one gb ext4. Had to format via clockworkmod recovery 3.0.2.4 given by mik.
[Optimus One, P500 Original Android Development] blueren:
Same case. ext partition isn't getting wiped properly. Half of the s/w from my previous rom are still visible. (ext4, 512mb)
[Optimus One, P500 Original Android Development] ungaze:
1. Yep it's normal. The line that causes that error which is this:

# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak

tries to backup an existing recovery installer(found on other devices) which is not present on optimus one(someone correct me on this and maybe provide info if it's advisable to skip the line all-in-all).

2. Nothing. It's exactly what drellisdee has posted. It's just an easy way to install it.

3. It's ok as well.
[Optimus One, P500 Original Android Development] XLR8_2K:
Love this new recovery upgrade :)
[Optimus One, P500 Original Android Development] XLR8_2K:
Did you left out intentionally in wipe menu:wipe recovery?
[Optimus One, P500 Original Android Development] bgdxv:
so does this recovery format ext and data or not? is it working properly? :confused:
[Optimus One, P500 Original Android Development] Bytecode:
I am really sorry,but this new 2.2.1 recovery doesn't work properly. Here are my tests results:

Wiping ALL + Flashing an Amend ROM = Stuck on LG Logo.

Wiping ALL + Flashing an Edify ROM = Stuck on LG Logo.

Flashing an Amend ROM without wiping = Stuck on LG Logo.

Flashing an Edify ROM without wiping = Phone boots.
[Optimus One, P500 Original Android Development] haoss07:
hello guys, i have a little problem, can't restore a 1 day old backup... error " : Verifying backup images... md5sum: WARNING: 1 of 1 computed checksums did -match Error: md5sum mismatch . " can i fix this ?
[Optimus One, P500 Original Android Development] smart2smart:
Query

Have taken a nand backup on 1.1.0, just wanted a confirmation that if I upgrade to 1.2 or 2.2.1 whether I will be able to restore the nand backup taken on 1.1.0.

Also out of curiosity would it possible to restore the 1.1.0 nand backup if I move to clockwork ?

I have gone through all the posts on this thread and the CWM thread but it hasn't been addressed clearly.

Thanks in advance ...
[Optimus One, P500 Original Android Development] lekhwani:
You can do everything. An amonra backup can be restored by any amonra recovery. And can anytime and I anytimes switch among recoveries. Till now switched recovery more than 50 times.
[Optimus One, P500 Original Android Development] cupliz:
So is this bugy?

And better use v1.1 for a while?

Sent from my LG-P500
[Optimus One, P500 Original Android Development] socialdistortion:
I have flashed Mik's gingerbread as well as DookMatt's Froyo rom with this. No problems while booting.

Backup and restore also works.
[Optimus One, P500 Original Android Development] ungaze:
V1.2 seems more like it
[Optimus One, P500 Original Android Development] drellisdee:
can you upload the recovery log from after trying these. Use other/move recovery log to sd and upload

I am assuming you downloaded from my link in 1st thread and checked md5sum and it matched also correct?
[Optimus One, P500 Original Android Development] ccdreadcc:
i jst now rooted 2.2.1 v10c rom using gingerbreak and flashed 2.2.1 recovery and flashed der savermans v3 kernel.

seems to be working fine here..
[Optimus One, P500 Original Android Development] lekhwani:
I have just one problem with this 2.2.1 update. It doesn't wipe ext4. Everything else is fine.
[Optimus One, P500 Original Android Development] drellisdee:
let me check kernel I might have forgotten to enable ext4 in config :P Nope Ext4 is there. Can someone upload recovery log after trying to wipe like I asked?
[Optimus One, P500 Original Android Development] cupliz:
so what do you mean? "ThunderG v1.2" or "Amonra v1.2" or two of those are the same?

I've been using v 1.1 and how do I update to v1.2?

Is have the same tuts/guide as the first time I installed v 1.1?

Or should I uninstall v1.1 first?

i want to change my recovery coz my recovery can't use "USB TOGGLE" Anymore, because unknowing reason...

:(
[Optimus One, P500 Original Android Development] ungaze:
Yep they're the same. AmonRA is the original recovery mod in which drellisdee has ported to our device/phone which is FAIK codenamed ThunderG.

To enable USB ms toggling, try to install the LG drivers first(I'm sure you can find one on the original SD included on your phone package. If not, you can download on LG site). If it still won't work check my sig to install v1.2. I'm using 2.2.1 but haven't found any bugs yet(never used ext4 though).
[Optimus One, P500 Original Android Development] cupliz:
Ok bro... installing v1.2 and waiting and see the fix v2.1.

Btw, driver from LG is works...

Problem stars coz there are 2 laptop and 2 pc in my home, so i dont install on all device..

Very interesting to knowing this..

Thx for your respond bro.

Sent from my LG-P500
[Optimus One, P500 Original Android Development] GothicFighter:
So should I use 1.1.0 or 2.2.1? And does the phone have to be plugged in while I'm typing the commands in Terminal Emulator/Flashing?

One more thing, some commands seem to be missing in your post here

on your older versions there were a couple of extra commands like "reboot recovery" or "mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system" before the "flash_image_recovery" thing.

Is it all right?
[Optimus One, P500 Original Android Development] lekhwani:
Config for ext4 might be there. But when we flash a new rom and wipe data cache, it should automatically wipe full ext 4 from previous rom. But in my case, after flashing a new rom and even wiping data cache thereafter, all my previous ext4 apps were back. It's exaxtly like version 1.1.

BTW, do you know of version 1.2 floating around from this thread only but modified upon your 1.1 by someone else. 1.2 neatly wipes ext4. Check it out.

Its quite well known on all O1 xda threads that 1.1 is not fully compatible with ext4. Latest version also seems to be having similar problem.

Clockworkmod recovery very neatly handles ext4. When we wipe user data under the options, it always formats SD ext4. The dotted progress bar also shows this every time.

Kindly look into this.

On some other weird thoughts and ideas, I have sometimes used this lacuna to my advantage. All apps are automatically back but boot up takes a little longer the first time. But sometimes there is a little mismatch in apps installed and the current rom.
[Optimus One, P500 Original Android Development] drellisdee:
Does wipe sd-ext option wipe ext4 mmcblk0p2 correctly in newest? Again I really need a recovery.log also hope someone can provide one as troubleshooting posts are nearly useless to me without it.
[Optimus One, P500 Original Android Development] wilderckw:
Did u rename the file? If so go to it on your SD card and rename it with mo spaces or symbols than it should be fine.
[Optimus One, P500 Original Android Development] mcardielo:
Thanks, I have been installed this recovery on my P500h :P
[Optimus One, P500 Original Android Development] drellisdee:
OK guys try these and see if ext4 sd-ext wiping works. Try A 1st then B 2nd and report back which works. If not I really need a recovery.log after trying wiping uploaded. Again its under the "other" menu

2.2.1a.img

2.2.1b.img

MD5's

21b5c500b68abdbc862bfb9e89bfa50a recovery-RA-thunderg-2.2.1a-GNM.img

e317754c858fc688ed2fe6c56e8563fe recovery-RA-thunderg-2.2.1b-GNM.img
[Optimus One, P500 Original Android Development] wilderckw:
I downloaded Rom manager and w hen I try to install clockwork mod it asks to confirm my phone and its not on the list so I just pick one and it still won't boot into recovery. I'm I doing something wrong. Please help anyone.
[Optimus One, P500 Original Android Development] Momaro:
Why did you post this here?
[Optimus One, P500 Original Android Development] wilderckw:
The first topic here said download Rom manger and u can het recovery but when it asks to confirm my phone its not on the list. Am I wrong for posting it here. Sorry I'm new.
[Optimus One, P500 Original Android Development] wilderckw:
O wait wrong one. I'm sorry. Any help anyway. Lol.
[Optimus One, P500 Original Android Development] ccdreadcc:
Someone test it plox.
[Optimus One, P500 Original Android Development] GothicFighter:
I tested it. It works great. I've only flashed a kernel so I don't know about roms and partitions.
[Optimus One, P500 Original Android Development] ccdreadcc:
I tried restoring a nand backup and got an error. So whr is this recovery log??
[Optimus One, P500 Original Android Development] drellisdee:
Under "other" menu. Nandroid now requires 300mb min free space on sdcard to backup and always has required 30% or greater charge to restore. If you read the log it will detail that.
[Optimus One, P500 Original Android Development] ccdreadcc:
Ok ill try after good charge and report back..

I would test ext4 wipe but am not near my comp at the moment..
[Optimus One, P500 Original Android Development] lekhwani:
@drelisdee

Checked 2.2.1b. It neatly wipes SD ext4. What I did:

I was on cm 7 with 3.1.0.0. Flashed amonra 2.2.1b. And via this recovery I wiped SD ext. It said formatting SD ext. It took 4-5 seconds. I rebooted. No SD apps were there. I installed root explorer. Went to SD ext. Under app folder only now installed root explorer was there. Dalvik was remade only for existing some system apps.

Now I have restored my Nand backup of cm. Btw I restored my cm cwm backup through cwm only.

But I can say this much needed missing feature is successfully implemented now. You can declare it the new official amonra recovery for o1.

Will report further.
[Optimus One, P500 Original Android Development] SwimmerBoy:
Why should I upgrade from 1.2.0 to 2.2.1 ?
[Optimus One, P500 Original Android Development] ungaze:
here's why
[Optimus One, P500 Original Android Development] SwimmerBoy:
With 1.2 i could user directories...

No bonus for my use...
[Optimus One, P500 Original Android Development] drellisdee:
I need feedback on 2.2.1a too so I know exactly which code change fixed it. Does 2.2.1a work also or just 2.2.1b?

Fyi. I would suggest upgrading from all older versions of mine & the unofficial 1.2 (the one I didnt make) as that one has been repacked with the optimus s kernel and recovery binary I complied designed for optimus s. While it seems to work for you guys its certainly not ideal to use another device's kernel. That would explain issues with ums on that one. As soon as I get feedback on 2.2.1a Ill know which commit of mine 1.2 plus broke the sd-ext wiping of ext4.
[Optimus One, P500 Original Android Development] ungaze:
So that's why it's so hard to find(even on your other thread). 1.1 is really good and functional, but ext4 compatibility is really a necessity nowadays and I think that's the main reason that most of us have used the unofficial 1.2, but as soon as we get to an official/stable 2.2.1 build, I think all previous versions of amonra for p500 will be history(official or not). I would gladly test it out if I can but for some reason, I can't(right now). So I hope more people can post their recovery logs and get us a new and official amonra recovery version.
[Optimus One, P500 Original Android Development] lekhwani:
Actually I change recovery through flashable zips only. Ciaox has made flashable zips and provided in his thread. But I couldn't download the 2.2.1a version as the link was not working. Today, I will report on 2.2.1a version also if the flashable zip link works.
[Optimus One, P500 Original Android Development] lekhwani:
Tested 2.2.1a also.

Results are same. Neatly wiped ext4.

But then I got a little curious and flashed 2.2.1. Surprisingly results were the same. It also wiped ext 4.

So in all three recoverys, namely 2.2.1, 2.2.1a and 2.2.1b I was able to wipe ext4.

May be you really got us/me. These new versions are nothing but 2.2.1 only. Don't know where did I go wrong previously while on 2.2.1.??
[Optimus One, P500 Original Android Development] drellisdee:
Nope they are all slightly different. And 2.2.1b I had it wipe ext4 in two different methods. I am hoping others will report 2.2.1a working wiping sd-ext ext4 as that will be the the ideal one.
[Optimus One, P500 Original Android Development] ccdreadcc:
its weird. 2.2.1 tht u posted first also cleany wipes ext4. but some ppl are posting tht it doesnt...maybe it doesnt wipe sometimes....
[Optimus One, P500 Original Android Development] lekhwani:
Today I was on amonra 2.2.1 for a while. After flashing a rom, I wiped user data. It quickly progressed to do so. It reached at wiping sdext also but didn't stop there even for a second. I think it is supposed to stop there for 4-5 seconds.

This might be the problem. May be using the separate wipe SD ext option works and but in wiping user data it doesn't.

Will report further.
[Optimus One, P500 Original Android Development] mihir287:
That's weird. I used the same option 'wipe user data' without separately choosing wipe sd-ext and it cleanly wiped it. I'm on 2.2.1 as well.
[Optimus One, P500 Original Android Development] wibi795:
can i use this on a lg optimus t 2.2