Please help, while I tried to do custom recovery, I got the following error message:
Quote:
# 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:
Quote:
# ls -l flash_image
ls -l flash_image
-rwxr-xr-x root root 9622 2011-01-07 21:56 flash_image
#
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.
Last edited by anotherloony; January 10th, 2011 at 08:42 AM.
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
Quote:
Originally Posted by anotherloony
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.
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 !
Not sure if i missed a post about this, but when i boot into recovery i get this message "E:Bad boot message" under all the custom recovery options, what does this mean and how do i fix it
also thanks for putting this custom recovery together for all of us!!!!
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..
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)
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?
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)
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!
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
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.
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.. Help.. Help.. Help..
please help me when ever i try to put in "su" i just tells me permistion denied ever time someone please help.
Quote:
Originally Posted by getitnowmarketing
Lets start the custom roms!!
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)
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.
please help me when ever i try to put in "su" i just tells me permission denied ever time someone please help.
have you rooted your phone phone first? If so, make sure usb debugging is turned on and and you click yes in the allow window that will come up on you phone when you type su.
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
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.
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?
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?
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.
Hello, im using the P500h cellphone with Entel PCS as my service phone provider.
Im tried to install this Custom Recovery, im follow all the step and type in the terminal using the "WiFi Keyboard apk" from Market, so the code its ok to my terminal (im avoid the #, i understand that i need to put "su" to get root permissions).
After copy/paste all the code (w/o the #), my device is self restarted and go to the Recovery mode, butttttt....my phone enter directly to "factory reset" (dont showme any menu) and showme the splash of the "box+droid+arrow"..after a couple of seconds, my phone is factory reseted
I have this issue from the beginnin, i press and hold the volumedown+home and then power on..after the LG logo appear, i release the keys and go inmediatly to the factory reset.
What happend with my LG P500h v10a?, what do not enter to the full recovery menu?.
Thanks a lot for any help. I want to make a nand backup for installing a custom rom (prime v2).
The problem was that i dont unziped both files. After unziped, run the commands in the Terminal with "WiFi Keyboard" apk from market (for avoiding any mistake) and my Custom Recovery was installed fine.
After that, im create a NAND backup and then installed the Prime V2 ROM for my P500.
The recovery boot worked only on the immediate boot after typing the code. Its not opening now. And the flash image and the thunder-1.1.0 zip did not work when I tried to install it. It said " verification failed" and "installing aborted ". Nand and recovery worked though.
The flash_image zip and the thunderg zip failed to install as they didn't find an update script. Can anyone tell me what this means? And I installed Megatron and a kernel nevertheless and all my data, cache and apps are gone and gprs isn't working anymore. My phone is much faster though. Can someone please help?
it says no such file or directory.?? what is the problem here? i rooted my phone already. copied the 2 files to the root foolder of my memory card but i still get this one..
I restore my original rom and I have only to remove the custom recovery menu to return my phone in original state. I want to return in original state because I need of waranty service. So can someone help to remove custom recovery menu? I think that my USB port on phone is brick and I have problem with display.
when entering "cat /sdcard/flash_image > /system/bin/flash_image" i get invalid length! What might i be doing wrong? And do i want to have usb debugging on or off i have tried both?
After typing in the command
# cat /sdcard/bin/flash_image > /system/bin/flash_image
I get
cannot create /system/bin/flash_image : read-only file system
I am unsure how to proceed after this.
Before this line, the line before
(# mount -o remount,rw -t yaffs2 / dev/block/mtdblock1 /system)
resulted in a reply
Usage: mount [-r] [-w] [-o options] [-t type] device directory
I assumed it to be correct and proceeded
Any help would be appreciated, thanks
Edit: Stupid mistake ==, copied flash and recovery images into sdcard, not sdcard/root
Last edited by fuz2zy; March 13th, 2011 at 01:30 AM.
Reason: Adding info
Guys, how to paste the two image files to the SD card extracted from downloaded zip files? It always says cannot copy, write-protected, and access denied.
I have tried the "- Nand backup + exter backup + .android_secure" but it says run nandroid-mobile.sh recovery" from adb... . And so I tried the "Nand backup" only and it succesfully went through. Now I am bit confused why the first one(- Nand backup + exter backup + .android_secure) had an error...
Do not type the # . You have to do the su command 1st to call a root ie # shell. The $ shell is a user shell.
thanks ; im not hitting the # i type su and it does everything right ; except for the invalid length . im lost and confused and have gone back over it several times and its still the same thing .
Hello guys,
I was just wondering whether there is a way to mount the sd card to your pc when in recovery mode. Also when I try to use adb to push a file I get an error saying that the device was not found, although it exists at the device manager. Any ideas?
Thanks in advance.
Hello guys,
I was just wondering whether there is a way to mount the sd card to your pc when in recovery mode. Also when I try to use adb to push a file I get an error saying that the device was not found, although it exists at the device manager. Any ideas?
Thanks in advance.
Adb shell mount /sdcard or use gui mount menu (same effect as prior command) or ums to mount sdcard as mass storage.
Thanks for your reply and congratulations for your work!
The problem is that the adb cannot find the device and I get an error. I also tried the other two options but none of them worked. I can see the phone to the device manager and I have USB drivers installed but I cannot access the sd card.
Do you have any suggestions?