• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Custom recovery Optimus One P500/Thunderg

Status
Not open for further replies.
Please help, while I tried to do custom recovery, I got the following error message::thinking:

# flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
link_image[1997]: failed to link flash_image
CANNOT LINK EXECUTABLE

permission of flash_image:

# ls -l flash_image
ls -l flash_image
-rwxr-xr-x root root 9622 2011-01-07 21:56 flash_image
#

Please help, thanks!!
 
Upvote 0
If I want to change back to stock recovery mode, can i just
mv /system/etc/install-recovery.sh.bak /system/etc/install-recovery.sh

since u mentioned that this evil script overwrites ur whatever recovery mode to the stock one

No, you will need to flash_image back the stock_recovery.img


Hi, I have a litttle problem with gui mounts.
I cannot mount sd-ext. Give me "/dev/block/mmcblk0p2 no such device" error. Partion is created fom recovery "partion sdcard" menu
ext partition is ok I checked via adb and parted, also mount works in adb.

Thank you for your great work.

On android 2.2 the vold has changed and breaks that addition on many 2.2 devices. It can still be busybox mounted or mounted in recovery via shell.
 
Upvote 0
Hello

I have one problem with the custom recovery and I need your knowledge because I don't saw any post about that...
I have partitioned my SDcard with one ext4 partition. So I use app2sd. The Dalvik-cache and applications are on my SDcard.
So far nothing unusual, so good !... Except that I can't wipe the SD/ext-partition through the custom recovery.....
I tried several times to wipe Dalvik-cache and SD:ext separately and the cache to be sure, but in each time when I put after my SD-card on my PC, I can see that the partition is not empty ! All the repertories still be there including Dalvik-cache which isn't empty !
So I tried to mount the ext-partition through the custom recovery and I have this code error who appears :

Code:
E:Can't mount /dev/block/mmcblk0p2
(No such device)

Is anybody knows what the problem ?
I followed the tutos correctly to root my phone and for install the custom recovery. I also tried to completely repartition the SDcard and keep the format in ext2, but nothing works !
It drives me crazy ! I don't understand where I forgot something !

Regards,
 
Upvote 0
Hi folks,
Its ma first post here. :)
I have an optimus 0ne p500.. I have rooted the phone.. When I try running the commands as given in this post everything seems to be working ok. No errors. However, once i enter "reboot recovery" in adb shell.. it reboots the phone but into the stock OS factory reset.. I have checked the commands & they look ok.. Tried this thrice, Same issue.. Any help & suggestions would be great.. :thinking:
 
Upvote 0
When i try to flash the Custom Recovery by Thunderg, i get a whole lot of errors. i posted this somewhere else, but it was too undetailed i guess. Repost

# flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
When I type the above command, (with all the nessessary stuff done before)
I get like so many errors, at least 50 lines. Read some of them

(P.S. There was no extra line breaks on the emulator, i just made them to look good)

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

mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00020000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
mtd: read error at 0x00060000 (Out of memory)

*repeats this pattern untill it reaches 0x004e0000 in hex*

mtd: write error at 0x0000000 (Out of memory)
mtd: re-read error at 0x00000000 (Out of memory)
mtd: write error at 0x0000000 (Out of memory)
mtd: re-read error at 0x00000000 (Out of memory)
mtd: skipping write block at 0x00000000

*repeats above 4 lines untill 0x004e0000 is reached*

error writing recovery: No space left on device
I guess it means i have to delete some apps? but i have more than 100MB free...

P.S. I used a branded rom.. i have a UNbranded 2.2.1 (guess i cant use that..) and a BRANDED (sobs) 2.2 rom. Does it matter?
 
Upvote 0
When i try to flash the Custom Recovery by Thunderg, i get a whole lot of errors. i posted this somewhere else, but it was too undetailed i guess. Repost

# flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
When I type the above command, (with all the nessessary stuff done before)
I get like so many errors, at least 50 lines. Read some of them

(P.S. There was no extra line breaks on the emulator, i just made them to look good)

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

mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00020000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
mtd: read error at 0x00060000 (Out of memory)

*repeats this pattern untill it reaches 0x004e0000 in hex*

mtd: write error at 0x0000000 (Out of memory)
mtd: re-read error at 0x00000000 (Out of memory)
mtd: write error at 0x0000000 (Out of memory)
mtd: re-read error at 0x00000000 (Out of memory)
mtd: skipping write block at 0x00000000

*repeats above 4 lines untill 0x004e0000 is reached*

error writing recovery: No space left on device
I guess it means i have to delete some apps? but i have more than 100MB free...

P.S. I used a branded rom.. i have a UNbranded 2.2.1 (guess i cant use that..) and a BRANDED (sobs) 2.2 rom. Does it matter?

I have this exact same problem, fewer errors but same end result. I just bought this phone. Help!
 
Upvote 0
I have this exact same problem, fewer errors but same end result. I just bought this phone. Help!

Well, it isn't the exact same, it says:

mtd: not writing bad block at 0x001a0000
mtd: not writing bad block at 0x00320000
mtd: not writing bad block at 0x00340000
error writing recovery: No space left on device

Any and all help is greatly appreciated!
 
Upvote 0
Well, it isn't the exact same, it says:

mtd: not writing bad block at 0x001a0000
mtd: not writing bad block at 0x00320000
mtd: not writing bad block at 0x00340000
error writing recovery: No space left on device

Any and all help is greatly appreciated!
\

You are out of virtual memory. Reboot and flash recovery after fresh reboot.
 
Upvote 0
Folks, I have an optimus 0ne p500.. I have rooted the phone.. When I try running the commands as given in this post everything seems to be working ok. No errors. However, once i enter "reboot recovery" in adb shell.. it reboots the phone but into the stock OS factory reset.. I have checked the commands & they look ok.. Tried this thrice, Same issue.. Any help & suggestions would be great.. :thinking: Help.. Help.. Help..
 
Upvote 0
please help me when ever i try to put in "su" i just tells me permistion denied ever time someone please help.



Lets start the custom roms!!

393512721.jpg


To use copy flash_image and recovery-RA-GNM-thunderg-1.1.0.img to the root of your sdcard.

To flash: via adb shell or terminal type this from root su # shell. (Do not type the # as its just for reference to show you need a root # shell not a $ user shell)

Code:
# 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 [B][COLOR=black]recovery[/COLOR][/B] /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
 
# reboot recovery
Key combo to boot custom recovery from powered off is vol_down + home + power and release keys at LG splash.

Recovery Features:

ADB as root user

USB-MS Toggle :mounts sdcard as mass storage

Backup/Restore:
Nand Backup : runs a nandroid backup of data, cache, boot, system
Nand Backup + .android secure : backs up above plus .android_secure on sdcard (froyo native apps on sd)
Nand + ext backup : data, cache, system, boot, plus apps2sd on ext partition (old style apps2sd)
Nand Restore : browse to and select nandroid backup to restore

Flash Zip From Sdcard: Update.zip must be in root of sdcard

Wipe Menu:
Wipe data/factory reset: wipes data & cache
Wipe cache
Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd
Wipe SD:ext : Wipes Apps2sd ext partition
Wipe Battery Stats
Wipe rotate settings
Wipe .android secure : Wipes froyo native .android_secure on sdcard

Partition Sdcard:
Partition SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
Repair Sd:ext
SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3 (requires kernel support for ext3)
SD:ext3 to ext4 : same as above but ext3 to ext4 (requires kernel support for ext4)

Mounts:
Gui mounts to avoid typing in terminal to mount and cd into a dir to mount system, data, cache, sd-ext (if exists), sdcard

Other:
Fix apk uid mismatches
Move recovery log to SD
Toggle Signature Verify : Turn of signature checking on flashing zips
Key Test : Output keycodes for debugging recovery

Note this recovery and the one for the LG Vortex have a service that instantly reboots out of recovery once you load it & I disabled it and thats why you get a E: "Bad Boot Message" on inital startup. Its completely fine.


Recovery Key mapping:
Up & down : vol-up and vol-down
Select : Menu
Backup : Back

Thanks to :
alahkel & fughy for dumps/testing
Amon_Ra for his awesome source and a few pointers. His original Source Link Buy him a redbull
Worstenbrood's desire recovery Link

Donators Thank You List:
None Yet

Donation link to Buy me an Energy Drink is below: I'll post my source soon.


Download recovery-RA-GNM-thunderg-1.1.0.img.zip
Md5= eb4ea2ffb26f387a891bb4d7261a0e5f

BRICK WARNING DO NOT FLASH A RADIO.IMG WITH RECOVERY

My Github Source Link
 
Upvote 0
hi, i'm new here :)
please help me, I've followed all the step by step correctly and I'm sure there's nothing I missed cause I've re-checked it hundred times.... but when I entered this command

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

i got an error message like this:

flash_image: 1:Syntax Error: "&" unexpected

at the first time i thought it was a normal process so i continued to the next command #reboot recovery and i got my device reverted back to the stock ROM but with the superuser still in it, means that is already rooted.

Then I tried repeating all the steps but it still stuck at the same error at the same command.

Can anybody help me with this? :-(
 
Upvote 0
I preformed a nandroid back as soon as I install this customer recovery. I keep the nandroid folder that was created. I then installed Megatron. All went well.

I'd like to flash back my factory firmware that I had that I backed up with nandroid.

What steps can I expect to do and how foolproof will this be? Is it all menu driven from the recovery tool or will i need to use adb for some of it?

Thanks, I'd hate to brick my phone..
 
Upvote 0
When I use the "adb devices" command, it lists my Optimus S as "?". I have tried installing the recovery with no errors, but when I reboot into recovery, it just stays on the LG logo screen forever, so I have to remove the battery and turn on the phone again. When I turn it back it, it boots normally, and runs normally. When I try turning on the phone to recovery (vol down+home+power), it gives me a black screen, and I have to remove the battery again. I haven't been able to find a solution to this anywhere. Anyone have an idea?
 
Upvote 0
I used the mentioned mechanism to install custom ROM. Then I saw a nice theme for clockwork mod. I just copied the recovery_image file and accidentally restarted the mobile. The mobile got bricked. I used the KDZ tool to flash my original firmware. Now I cannot root. Please help, cause ,my phone has become from slow to dead. :(
 
Upvote 0
Status
Not open for further replies.

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones