Post Reply

[HOWTO] Flashing recovery image via shell / via LGMDP.exe on unrooted phone

OP doktornotor

9th August 2011, 02:59 PM   |  #41  
dr.notor's Avatar
Senior Member
Thanks Meter: 354
 
677 posts
Join Date:Joined: Jul 2011
More
Eh? All you need is whatever **** based on the stock ROM!

Sent from my LG-P500 using XDA App
24th October 2011, 10:34 AM   |  #42  
zenithvictor's Avatar
Junior Member
Flag Kerala
Thanks Meter: 5
 
18 posts
Join Date:Joined: Jul 2011
More
$ su
permission denied
24th October 2011, 08:25 PM   |  #43  
22VIN's Avatar
Senior Member
Flag Pitesti/Bucharest
Thanks Meter: 63
 
310 posts
Join Date:Joined: Feb 2010
More
Quote:
Originally Posted by zenithvictor

$ su
permission denied

You're not rooting it, you're installing CR on an unrooted phone. So i can't understand why you need su permission.

Sent from my HTC Sensation Z710e using Tapatalk
31st May 2012, 01:24 PM   |  #44  
Senior Member
Flag Xian, China (陕西,西安)
Thanks Meter: 28
 
300 posts
Join Date:Joined: Apr 2011
More
Thanks for this awesome thread.

Also, you should add that when it reboots, it may show a battery charging icon, and even then don't disconnect. The reason I say this is because people are morons. On other phones I've worked with, when you do things like this, you have to remove the battery before plugging it into the computer, so it it doesn't go into "battery charging" mode upon rebooting. Also, people may see the battery charging screen and think their phone didn't reboot properly. When I saw the battery charging screen, the first thing I thought was "Crap, I forgot to remove the battery first." The second thought was "He said don't unplug the phone until you see 'download complete'."
12th February 2013, 10:37 PM   |  #45  
Senior Member
austin
Thanks Meter: 18
 
297 posts
Join Date:Joined: Feb 2011
More
if anyone still watches this thread.
this is a great thread, very simple and straightforward.
I unfortunately get errors using the terminal mode [can't deal with the move of the flash_image]

so I'm trying the LGMDP method. I have the phone booted normally, usb debugging enabled [is that correct?] and connected.
LGMDP no problem connecting via com6. got the right identity.
when I browse to the [AmonRa] folder, it doesn't just give 3 errors, the entire list on the screen is an error except the first row [folder string] so when done ignoring all those, nothing left but the top row. is that correct?
followed the rest of the script: all went as you said, took awhile, showed download complete. I tried the recovery 3 button thing [home, vol.down, power, hold til LG logo disappears and 'droid shows, let go] and per usual, it rebooted to a full refresh - in other words, phone wiped, restored to factory.

did it "succeed"? I realize lots of us have trouble getting it into fastboot or any other mode other than "factory restart" via the 3-key thing...

Quote:
Originally Posted by doktornotor

Alternative method: Flashing custom recovery via LGMDP.exe

Tried to root it via z4root, GingerBreak, SuperOneClick but everything failed? No problem! Flash the recovery via LGMDP.

Step 1:

Download P500-CWM-3.1.0.0.zip (CWM 3.1.0.0 included, if you want something else, replace recovery.img with whatever you want) and unzip it.

Step 2:

- Browse to the folder where you unpacked the ZIP and run LGMDP-v1.5.exe
- Click Download in menu
- Select Port
- Choose your phone, click Connect
- Click Image Folder button, browse to the directory where you unpacked this
- Click OK about 3 times on the warnings
- Close the window
- Click Download button
- Let it do the job. It will backup your IMEI and MACs to .NV2 file, reboot your phone, flash recovery and restore the NV2 backup. Do NOT interrupt it or disconnect your phone until it says "Download complete"! Do NOT delete the NV2 backup!

Step 3:

Done! Now when you press Home + Volume Down + Power, you should find yourself in your shiny new custom recovery. Now you can flash a rooted ROM via flash zip menu.

Q: I am a moron and have interrupted the process. Now I get a black screen with some weird fastboot text, what to do? HELP!!!!
A: Yes, you are a moron. See [HOWTO] Revive a bricked P500 on fastboot mode (the SHORT way) thread.

Q: Can I just quickly root my stock ROM after flashing recovery? I do not want a custom ROM.
A: Yes. Download su-2.3.6.3-efgh-signed.zip and flash it from recovery. Reboot, download Busybox Installer from the market, run and install busybox on your phone.

6th August 2014, 08:54 AM   |  #46  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Jul 2014
my LG P500 hangs after reboot
I rooted my LG P500 / Android 2.3.3 /kernel 2.6.35.10-pref/ softw LG-P500-V20G using Superoneclick via my PC in order to install oxygen_ics.
I then installed Astro file manager and a Terminal emulator.
I checked that I had root access and saved a recovery rom CWM 5.0.2.7 (as advised for this phone) to the root dir of the SD card.

I typed these instructions (by doktornotor xda-developers thread 1146566) in the terminal emulater

# mount -o remount rw /system
# cat /sdcard/flash_image > /system/xbin/flash_image
# chmod 755 /system/xbin/flash_image
# flash_image recovery /sdcard/recovery.img
# mount -o remount ro /system
# reboot recovery saved

All commands were executed but I ended up with a smiling LG logo where it gets stuck.
It doesnt switch off and looks as if it is unable to boot.
Tried factory reset but only the logo appears and hangs.

Can you please advise why the recovery boot failed and how to fix it?
Thanks
6th August 2014, 10:14 AM   |  #47  
ibub's Avatar
Senior Member
Flag Louisville,Ky
Thanks Meter: 1,355
 
1,515 posts
Join Date:Joined: Oct 2012
More
Quote:
Originally Posted by SUPhw

I rooted my LG P500 / Android 2.3.3 /kernel 2.6.35.10-pref/ softw LG-P500-V20G using Superoneclick via my PC in order to install oxygen_ics.
I then installed Astro file manager and a Terminal emulator.
I checked that I had root access and saved a recovery rom CWM 5.0.2.7 (as advised for this phone) to the root dir of the SD card.

I typed these instructions (by doktornotor xda-developers thread 1146566) in the terminal emulater

# mount -o remount rw /system
# cat /sdcard/flash_image > /system/xbin/flash_image
# chmod 755 /system/xbin/flash_image
# flash_image recovery /sdcard/recovery.img
# mount -o remount ro /system
# reboot recovery saved

All commands were executed but I ended up with a smiling LG logo where it gets stuck.
It doesnt switch off and looks as if it is unable to boot.
Tried factory reset but only the logo appears and hangs.

Can you please advise why the recovery boot failed and how to fix it?
Thanks

Probably have a corrupted recovery.img. This can happen in several ways, but usually poor transmission over network. First unplug it, and pull out the battery. Reinsert battery, press and hold HOME and POWER buttons. If you see a black screen with very small print in the upper left corner, this is fastboot mode SPL (secondary program loader ). You can use the tool from this thread:
http://forum.xda-developers.com/show....php?t=1827723
Extract the zip.
It includes Windows drivers for the p500 (if you don't already have them installed). Download a fresh copy of recovery.img, and if a md5 sum is available, use it to verify the integrity of your download. Now run Android Flash Recovery program as administrator. Browse button is towards the upper right in the program (has dots). Browse to recovery.img, and select it. Now install (or flash). Should reboot into new recovery.

sent from my towelrooted LG L34C using tapatalk
The Following User Says Thank You to ibub For This Useful Post: [ View ]
6th August 2014, 04:00 PM   |  #48  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Jul 2014
verified
Quote:
Originally Posted by ibub

Probably have a corrupted recovery.img. This can happen in several ways, but usually poor transmission over network. First unplug it, and pull out the battery. Reinsert battery, press and hold HOME and POWER buttons. If you see a black screen with very small print in the upper left corner, this is fastboot mode SPL (secondary program loader ). You can use the tool from this thread:
http://forum.xda-developers.com/show....php?t=1827723
Extract the zip.
It includes Windows drivers for the p500 (if you don't already have them installed). Download a fresh copy of recovery.img, and if a md5 sum is available, use it to verify the integrity of your download. Now run Android Flash Recovery program as administrator. Browse button is towards the upper right in the program (has dots). Browse to recovery.img, and select it. Now install (or flash). Should reboot into new recovery.

sent from my towelrooted LG L34C using tapatalk

After I my thank you reply, I realised superuser was gone. No problem with superoneclick. I followed your advise and checked SD5sum of both images with MD5 &SHA Checksum. The downloads were valid suggesting that something else caused my problem. Any advise please?

---------- Post added at 05:00 PM ---------- Previous post was at 04:53 PM ----------

Quote:
Originally Posted by ibub

Probably have a corrupted recovery.img. This can happen in several ways, but usually poor transmission over network. First unplug it, and pull out the battery. Reinsert battery, press and hold HOME and POWER buttons. If you see a black screen with very small print in the upper left corner, this is fastboot mode SPL (secondary program loader ). You can use the tool from this thread:
http://forum.xda-developers.com/show....php?t=1827723
Extract the zip.
It includes Windows drivers for the p500 (if you don't already have them installed). Download a fresh copy of recovery.img, and if a md5 sum is available, use it to verify the integrity of your download. Now run Android Flash Recovery program as administrator. Browse button is towards the upper right in the program (has dots). Browse to recovery.img, and select it. Now install (or flash). Should reboot into new recovery.

sent from my towelrooted LG L34C using tapatalk

Thank you for replying so promptly. I just managed to get into the emergency mode and connect to my pc and used KDZ (LG) . When restarting I got an android and white triangle with orange exclamation. Used the vol buttons and got a message that the update.zip failed to install. After rebooting (taking out battery) it did start up with all settings and apps still there as before the flashing. Not sure whether the recovery is working or not and hesitant to start in recovery mode. If that mode is corrupted must it be de-installed and if so how?
6th August 2014, 07:36 PM   |  #49  
ibub's Avatar
Senior Member
Flag Louisville,Ky
Thanks Meter: 1,355
 
1,515 posts
Join Date:Joined: Oct 2012
More
Quote:
Originally Posted by SUPhw

After I my thank you reply, I realised superuser was gone. No problem with superoneclick. I followed your advise and checked SD5sum of both images with MD5 &SHA Checksum. The downloads were valid suggesting that something else caused my problem. Any advise please?

---------- Post added at 05:00 PM ---------- Previous post was at 04:53 PM ----------



Thank you for replying so promptly. I just managed to get into the emergency mode and connect to my pc and used KDZ (LG) . When restarting I got an android and white triangle with orange exclamation. Used the vol buttons and got a message that the update.zip failed to install. After rebooting (taking out battery) it did start up with all settings and apps still there as before the flashing. Not sure whether the recovery is working or not and hesitant to start in recovery mode. If that mode is corrupted must it be de-installed and if so how?

Here is a link to a short script that I use in terminal emulator:
http://www.mediafire.com/?7baf5u85iah4fa0
Included in the zip are several recoveries (in corresponding folders). Exract the zip, and open the readme.txt for instructions. [emoji4]
This is only for LG p500.

sent from my towelrooted LG L34C using tapatalk
Last edited by ibub; 6th August 2014 at 07:46 PM. Reason: Clarify
The Following 2 Users Say Thank You to ibub For This Useful Post: [ View ]
8th August 2014, 11:22 AM   |  #50  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Jul 2014
Quote:
Originally Posted by SUPhw

After I my thank you reply, I realised superuser was gone. No problem with superoneclick. I followed your advise and checked SD5sum of both images with MD5 &SHA Checksum. The downloads were valid suggesting that something else caused my problem. Any advise please?

---------- Post added at 05:00 PM ---------- Previous post was at 04:53 PM ----------



Thank you for replying so promptly. I just managed to get into the emergency mode and connect to my pc and used KDZ (LG) . When restarting I got an android and white triangle with orange exclamation. Used the vol buttons and got a message that the update.zip failed to install. After rebooting (taking out battery) it did start up with all settings and apps still there as before the flashing. Not sure whether the recovery is working or not and hesitant to start in recovery mode. If that mode is corrupted must it be de-installed and if so how?


I tried that script but something went wrong.
I extracted the folder and placed flash_image, rec.sh, recovery_image (amonRa3.06) in root sdcard.
Typed in terminal #sh /sdcard/rec.sh
It shortly showed white triangle and orange exclamation and then rebooted......turns out it factory reset itself to the original LG mode. Busy reinstalling filemanager en terminal emulator. Question why did it fail and where from where?

Post Reply Subscribe to Thread

Tags
flash_image, howto, recovery
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Optimus One, P500, V General by ThreadRank