yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] KiNG OMaR:
Look for an update.zip file on you SD card and delete that.

I'm able to boot into recovery just fine using the power menu. Running the latest nightly as well.
[T-Mobile LG G2x] mentosone:
command prompt problem

when it comes time to enter commands i enter g2x\nvflash hit enter i get

'g2x\nvflash' is not recognized as an internal or external command,operable program or file. i loved the one click method.i wish this one was that easy. all i need is a little help,im running windows vista 64.and im sure all the files are where their supposed to be,also i hold both volume buttons before i open up command prompt.also my computer recognizes that my device is plugged in.
[T-Mobile LG G2x] mentosone:
nevermind figured it out. wasnt entering commands right.
[T-Mobile LG G2x] question.com:
Ok. So I can boot into recovery fine, can't reboot the phone from the power menu or from recovery. Have to manually power on. I had this issue a while back. Think it corrected it self after the previous recovery flash.

Sent from my G2x running Cyanogen mod.
[T-Mobile LG G2x] KiNG OMaR:
Are you running the latest nightly?
[T-Mobile LG G2x] question.com:
Yup.

Sent from my G2x running Cyanogen mod.
[T-Mobile LG G2x] sbch97:
taking update.zip didn't fix the problem with rebooting into recovery from rom manager.

Still trying to figure out what would be causing this issue of when I reboot to recovery from rom manager it goes to 3.0.2.7 instead of 4.0.0.1 anyone that has run across this issue?
[T-Mobile LG G2x] S1mSyo:
YAY it works for me again!!!! easy peesy

Thank you again for all you hard work!
[T-Mobile LG G2x] 92drls:
I have 2 g2x's, what steps can I skip if I've already setup nvflash and rooted my first one?
[T-Mobile LG G2x] KiNG OMaR:
Skip ahead to the commands you have to enter. Remove the battery. Just hold down power + volume down and plug in the USB cable. Enter the commands and you should be good to go :)
[T-Mobile LG G2x] wakeboarder8156:
Does this just flash the external sd, cause i used NVFlash and flashed the internal instead.
[T-Mobile LG G2x] KiNG OMaR:
The recovery in the OP allows you to flash from the external SD card.
[T-Mobile LG G2x] brightseasonwes:
Thank youuu

its 12:45pm here in Los Angeles, been up since 1am working on this. THIS is the first guide that actually worked, thanksssss. When i tried to flash stock recovery, i got the same boot loop tat kept me up. Flashed to CWM, and restored a backup i made just before flashing Gingerbread leak. Replying to texts as we speak.

Im gonna bake cookies and send em to the op <3
[T-Mobile LG G2x] iyermanoj:
I get /!\ green logo booting into recovery

Some thing for messed up for me, I flashed the recovery image as per instructions, the install went ok. When I go to ROM manager and boot into recovery it shows me the new splash screen and then flashes what looks like the install screen, and then goes into /!\ green logo, I have to pull the battery and reboot, then it reboots into stock 2.2 just fine (I dont have CM7 yet I am in the process of doing that). So now I am stuck, cannot boot into recovery, is there any way I can fix this ?

./flash-recovery.sh

[sudo] password for manjo:

Nvflash started

rcm version 0X20001

System Information:

chip name: unknown

chip id: 0x20 major: 1 minor: 3

chip sku: 0xf

chip uid: --- removed ---

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: emmc

operating mode: 3

device config strap: 0

device config fuse: 17

sdram config strap: 0

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending file: fastboot.bin

/ 1024992/1024992 bytes sent

fastboot.bin sent successfully

waiting for bootloader to initialize

bootloader downloaded successfully

sending file: p999-4.0.0.2-external-recovery.img

| 3565568/3565568 bytes sent

p999-4.0.0.2-external-recovery.img sent successfully
[T-Mobile LG G2x] iyermanoj:
[SOLVED] !!!

Ok I had to use rom manger to install CWR, then copied CM7 & Google apps to SD and rebooted to recovery .... worked...
[T-Mobile LG G2x] DaArtist401:
So, how long should i wait? Its been at S/W Upgrade for about 5mins. I've followed all the steps and waited about 5mins so far.
[T-Mobile LG G2x] KiNG OMaR:
You can unplug it right away ;)
[T-Mobile LG G2x] KiNG OMaR:
That's not the recommended way to go about it. You have to NVFlash the recovery in order to access recovery in case you boot loop and something goes wrong. No way to get into recovery without using NVFlash unless the phone can boot up.
[T-Mobile LG G2x] tombaker1:
I don't care about any programs or contacts.

Can I?

1. root

2. NVflash a new OS....have the phone working

3. Then completely restore back to original, by NVflashing the stock image, which removes the rooting in the process.

Can I just use these steps, since I don't care about programs or anything else

Thanks
[T-Mobile LG G2x] joabrey:
awesome!

Duuuuuude! You're f awesome, my g2x was stuck in an endless boot loop, i was trying to flash cm7 and gapps right after, it didnt work, :-( i couldnt even access my recovery, for sure i thought my phone was bricked, i owe you man! Thx again
[T-Mobile LG G2x] joabrey:
i forgot

Btw, do you have paypal, i feel i owe you at least a six pack! :-)
[T-Mobile LG G2x] Leobenzoid:
G2X cam on 2.3.3.

brilliant! Thank you...thank you.

Just finished getting 2.2 cam on 2.3.3. GB.

Who do I donate too? worth $20.00 to me.
[T-Mobile LG G2x] KiNG OMaR:
Really isn't necessary guys, but its the thought that matters ;)
[T-Mobile LG G2x] mskelbel:
Still trying.

nevermind I figured it out.... again. :)
[T-Mobile LG G2x] Valentas:
still not working

I have done everything in the guide, i tried code with "-" and with "_" but still I get
[T-Mobile LG G2x] KiNG OMaR:
I've never seen that error before :confused: Try using a different USB port on the computer and make sure you keep both volume buttons held during the whole process.
[T-Mobile LG G2x] Gwanatu:
edit: nevermind, apparently there's no sd card in this phone!
[T-Mobile LG G2x] KiNG OMaR:
I updated the OP with simplified and refreshed instructions and updated files.

Please let me know if you run into any troubles with the updated instructions, all seems good to me, but one can never properly proof read their own work :o
[T-Mobile LG G2x] Valentas:
Lol called LG Support they said there is nothing you can do yourself. Just send it back. I tried all my USB ports but error happened agai and again. Thanks for advice.
[T-Mobile LG G2x] jmcneil919:
Can I use this if my G2x is not rooted. I'm on the official 2.3.3 and I want to downgrade so I can root.
[T-Mobile LG G2x] KiNG OMaR:
Yes sir :)
[T-Mobile LG G2x] jmcneil919:
Thank you sir. I'm now rooted with CWM recovery:)
[T-Mobile LG G2x] Z_German:
you downt have to downgrade to be rooted. follow the procedure as seen in this thread and install a rooted stock image of the official GB 2.3.3 on your device
[T-Mobile LG G2x] KiNG OMaR:
Instructions for the latest recovery:

This is if you already have all the files and drivers set up:

How to flash ClockworkMod Recovery 4.0.1.5 (UPDATED 8/23/11):

download the optional 4.0.1.5 ext4 compatible recovery image

place p999-ext4-08222011-external-recovery.img in C:\G2x\NVFlash

Unplug everything

remove the battery

Hold Vol Up/Down (and keep them held)

Insert USB cable

open command prompt

execute the following commands:

cd \
cd g2x\nvflash
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 p999-ext4-08222011-external-recovery.img
[T-Mobile LG G2x] mrjacob212:
thanks for the guide very easy to follow! :)
[T-Mobile LG G2x] DJ "suMo*:
For XP, it's the same?

Sent from a Nexus X by LG
[T-Mobile LG G2x] blitz911:
Pretty much.

g2x
[T-Mobile LG G2x] 96traxx:
Is there any major changes with this update?
[T-Mobile LG G2x] dj tray:
how do i flash the firmware (ap & cp .bin files) using nvflash?
[T-Mobile LG G2x] mentosone:
nice guide

latest recovery update worked very well thanks for the guide.
[T-Mobile LG G2x] KiNG OMaR:
Glad it worked for ya :)
[T-Mobile LG G2x] te_quiero_forever_girl:
I just move from my Nexus One and successfully rooted my LG g2x. Now I wanna flash this newer recovery, but the instruction seems a bit confusing. It says hold Vol up/down buttons and keep them held. Does it mean I have to keep them held while typing the command lines ? Thanks in advance guys
[T-Mobile LG G2x] KiNG OMaR:
Yes, hold them through the whole flashing process. You can copy and paste the commands. Just right click in the command prompt.
[T-Mobile LG G2x] Mikey:
Per Koush:

"There will be a update to ROM Manager and CWR shortly that will fix/implement the internal/external SD Card problems."

http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.1.0-p999.img
[T-Mobile LG G2x] xsteven77x:
Successfully nvflashed :)
[T-Mobile LG G2x] KiNG OMaR:
I won't have a chance to test it myself until later, so I won't put it in tne OP until then.

For those feeling brave enough to test the new recovery here you go:

And let me know how the instructions work out because it's kind of hard to text edit on a tab :o

This is if you already have all the files and drivers set up:

How to flash ClockworkMod Recovery 5.0.1.0:

download the 5.0.1.0 clockworkmod recovery image

place recovery-clockwork-5.0.1.0-p999.img in C:\G2x\NVFlash

Unplug everything

remove the battery

Hold Vol Up/Down (and keep them held)

Insert USB cable

open command prompt

execute the following commands:

cd \
cd g2x\nvflash
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-clockwork-5.0.1.0-p999.img
[T-Mobile LG G2x] matyou98:
Update to 5.0.1.0 works

Update to 5.0.1.0 worked for me. I have the one click recovery flasher utility for version 3.0.2.7. I just renamed the new .img file to "recovery-clockwork-3.0.2.7-p999.img", copied it to the nvflash dir and then ran the utility. Update was successful.

The new clockwork does not have a splash screen so its hard to tell how long to hold power and volume down. I held it down until it got into recovery and when I let go, the phone powers off. I just let my phone boot up and since i'm running cyanogen I chose to reboot to recovery which works fine. I'm sure I could try a couple times and get the timing right to get into recovery manually.

The version shows correctly and the text is turquoise in color. Haven't flashed anything through it but it shows the contents of my external sd (micro sd card) when I choose install zip from sd card.
[T-Mobile LG G2x] xsteven77x:
So what is actually different about it besides the color?
[T-Mobile LG G2x] FatalityBoyZahy:
Worked for me! :D Orange was getting boring
[T-Mobile LG G2x] mentosone:
worked perfectly,lovin' the blue text. :D
[T-Mobile LG G2x] aobasha:
I have the same question.
[T-Mobile LG G2x] richua:
Ability to use int/ext SD card in recovery.

Just a heads up, there's a new version 5.0.1.4 that Koush just put out.
[T-Mobile LG G2x] xsteven77x:
Yet another new recovery!

http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.1.4-p999.zip
[T-Mobile LG G2x] KiNG OMaR:
Been way too busy lately so I won't have a chance to test it myself until later, so I won't put it in the OP until then.

For those feeling brave enough to test the new recovery here you go:

And one again, please let me know how the instructions work out because it's kind of hard to text edit on a tab :o

This is if you already have all the files and drivers set up:

How to flash ClockworkMod Recovery 5.0.1.4:

download the 5.0.1.4 clockworkmod recovery image

place recovery-clockwork-5.0.1.4-p999.img in C:\G2x\NVFlash

Unplug everything

remove the battery

Hold Vol Up/Down (and keep them held)

Insert USB cable

open command prompt

execute the following commands:

cd \
cd g2x\nvflash
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-clockwork-5.0.1.4-p999.img
[T-Mobile LG G2x] k4p741nkrunch:
Just flashed the new image, easy as pie and worked like a charm.

I love the new option for flashing from the internal memory!

When you choose "install zip from sd card" there's an option "choose zip from internal SD card" that works just like it should. I think it's worth the flash.

Thanks for the update.
[T-Mobile LG G2x] KiNG OMaR:
Jeez. @Koush has been real busy lately ;)

This is if you already have all the files and drivers set up:

How to flash ClockworkMod Recovery 5.0.1.6:

download the 5.0.1.6 clockworkmod recovery image

place recovery-clockwork-5.0.1.6-p999.img in C:\G2x\NVFlash

Unplug everything

remove the battery

Hold Vol Up/Down (and keep them held)

Insert USB cable

open command prompt

execute the following commands:

cd \
cd g2x\nvflash
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-clockwork-5.0.1.6-p999.img
[T-Mobile LG G2x] te_quiero_forever_girl:
what's the difference in this new .6 recovery ?
[T-Mobile LG G2x] KiNG OMaR:
Replying to a quote with a quote :o
[T-Mobile LG G2x] te_quiero_forever_girl:
thanks man
[T-Mobile LG G2x] KiNG OMaR:
Mad props to @Koush, the guy has been working non-stop for us ;) Even on labor day :)

This is if you already have all the files and drivers set up:

How to flash ClockworkMod Recovery 5.0.2.0:

download the 5.0.2.0 clockworkmod recovery image

place recovery-clockwork-5.0.2.0-p999.img in C:\G2x\NVFlash

Unplug everything

remove the battery

Hold Vol Up/Down (and keep them held)

Insert USB cable

open command prompt

execute the following commands:

cd \
cd g2x\nvflash
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-clockwork-5.0.2.0-p999.img
[T-Mobile LG G2x] ZeroT| Demented:
I can confirm that flashing this will "charge" ur battery to 100 then it will drain to where it was at very fast so no biggie
[T-Mobile LG G2x] k4p741nkrunch:
I'm going to have to be that guy to ask..

What are the changes in the latest version?

:D
[T-Mobile LG G2x] richua:
5.0.2.0 fixes a bug where root is sometimes lost during a ROM restore.
[T-Mobile LG G2x] KiNG OMaR:
That's what (@Koush) said ;)
[T-Mobile LG G2x] DJ "suMo*:
Is that something OTA Root keeper can fix? Just wondering.. :D

Sent from a Nexus X by LG
[T-Mobile LG G2x] kvnd:
Can anyone show me how to install 5.0.2.0 step by step. I have read the instruction but I don't know how to do it. OneClickRecoveryFlasher was much easier to install.

Yes I am a noob. So please help. Thanks
[T-Mobile LG G2x] KiNG OMaR:
You can rename the recovery image and flash it with the one click flasher.
[T-Mobile LG G2x] Mikey:
HMMMMmmmmm

I'm getting an error: Any help on this one?

Nvflash started
rcm version 0X20001
System Information:
chip name: unknown
chip id: 0x20 major: 1 minor: 3
chip sku: 0xf
chip uid: 0x033c20824320e217
macrovision: disabled
hdcp: enabled
sbk burned: false
dk burned: false
boot device: emmc
operating mode: 3
device config strap: 0
device config fuse: 17
sdram config strap: 0

downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: fastboot.bin
/ 1024992/1024992 bytes sent
fastboot.bin sent successfully
waiting for bootloader to initialize
bootloader failed NvError 0x0
command failure: bootloader download failed

Darn Winblows....had to reinstall drivers for APX AGAIN :)

All good now ;)
[T-Mobile LG G2x] suhailtheboss:
try to just select the APX folder when it promts for the drivers

it should automatically pick the ones you need from the folder
[T-Mobile LG G2x] skyhigh2004:
Yeah I tried that, it just says no files pertain to your device in selection.

Sent from my G2x
[T-Mobile LG G2x] skyhigh2004:
I think it has something to do with my computer recognizing the phone as unknown device rather than apx device.

Sent from my G2x
[T-Mobile LG G2x] suhailtheboss:
unfortunately i cant make a video for you right now, but in order to install the drivers you just click the "windows found new device" popup, then select "manually select drivers"

and then select the APX folder which you unzipped everything to. windows should then automatically install everything for you.
[T-Mobile LG G2x] suhailtheboss:
hmm yeah mine automatically popped up as "APX" device

if you have a different PC to try it out on see if it does the same thing
[T-Mobile LG G2x] skyhigh2004:
How does it come up as windows has found a new device when the battery is out and volume buttons held down?

Sent from my G2x
[T-Mobile LG G2x] Suprah:
for win 7?
[T-Mobile LG G2x] suhailtheboss:
the phone is still powering up and connecting to the PC via the usb power.

i'm using a macbook with fusion, and fusion is running a stripped down performance tweaked version of XP

i am not sure how different versions of windows would promt the installation.
[T-Mobile LG G2x] KiNG OMaR:
I'll be uploading a crapshoot of a video in a while so hang tight. I'm satisfied with it... and it should guide you through the whole process of flashing a recovery from start to finish. so hang in there!! :p

You'll be disappointed in finding out it's not an actual video but rather a slideshow of sorts... lol

But it works! :p
[T-Mobile LG G2x] Suprah:
nvm i got it to work, took me about 3 mins to use nvflash with no problem. now if i get bricked i dont have to worry about rebooting into recovery
[T-Mobile LG G2x] staticshadow:
Error

Ive been trying this for a while now and i cant get it to work. It keeps giving me a file not found error... can anyone help?
[T-Mobile LG G2x] Suprah:
to the OP for guide editing between steps 4 and 5: for vista/win 7 users when the new device pops up and it says " apx: no driver found"

go to computer tab on the start menu and right click computer and go to manager

when it pops up go to "device manager" and look for APX and you should see a triangle with a explamation point (!)

right click it and click update drivers then when it prompts to browse system for drivers, just look for the folder and check "include subfolders" then press install
[T-Mobile LG G2x] sryan1983:
I believe the OP is still incorrect as far as the code goes.

The OP says

nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-star-test2.img

When it should say

nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR_0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-star-test2.img

Notice the MLR-0DM is changed to MLR_0DM. When I tried with the - I get the

When I tried with the _ it worked with no problems and writes successfully.

Sorry people, I actually did try to record this for a video but it turns out in order to NVFlash this successfully AND record the video, I would need at least 3 hands.
[T-Mobile LG G2x] suhailtheboss:
Seems like you didn't extract the recovery images to the nvflash folder

Can you verify where you extracted the files?
[T-Mobile LG G2x] sryan1983:
You need to extract all of the contents of the nvflash-recovery.tgz file to the NVFlash folder.

Edit: Oops, look like suhailtheboss beat me to it.
[T-Mobile LG G2x] staticshadow:
thaaannnnkkkk youuu
[T-Mobile LG G2x] Suprah:
nope the op correct because the .bct file he provided has MLR-0DM and it loaded for me no problem
[T-Mobile LG G2x] sryan1983:
I downloaded everything in his post, and the only way it would flash is with the _ not the -
[T-Mobile LG G2x] shadow666:
either way it fails for me...but when I paste for the second time and hit enter it just says nvflash started, but nothing happens!? do I have to keep both vol up/down keys until the whole process is done?
[T-Mobile LG G2x] KiNG OMaR:
I flashed the same way multiple times and it seems to work for me... :confused:

Anyways, here's the crap video I promised:

Feel free to upload your own - one made with an actual camera ;)

[YOUTUBE]nmzk92rV6k4[/YOUTUBE]
[T-Mobile LG G2x] pbcal:
I agree, if you connect your phone to a different usb port you have to reinstall the driver.
[T-Mobile LG G2x] KiNG OMaR:
Whenever I get that error I just retry! Unplug the phone and enter APX mode again and run the command. Always works for me on the 3rd attempt ;)
[T-Mobile LG G2x] Adj.:
Yeah I have no idea why the hell I posted that...really makes no sense... I really don't even have a good excuse
[T-Mobile LG G2x] xantonin:
Just wanted to pop in to say... w00t! Love this. Works great.
[T-Mobile LG G2x] gaww:
Originally Posted by k4p741nkrunch View Post

I'm going to have to be that guy to ask..

What are the changes in the latest version?

Will there be compatibility issues between backups and restores between series 4.xxx and 5.xxx Recoveries, ie - will earlier nandroids be restorable on 5.xxx, and will new ones made with 5.xxx be restorable with 4.xxx recovery.
[T-Mobile LG G2x] KiNG OMaR:
Shouldn't be any problems, I've already successfully restored old backups :)
[T-Mobile LG G2x] gaww:
Then it should be safe to migrate my NVflashed recovery to 5.xxx

I already have it with ROM Manager, so with 5.xxx set-up both ways, I can restore old 4.xxx backups and of course new ones will all be 5.xxxx.

If for some reason and old nandroid will not restore, can always revert back to a 4.xxx - very easy and safe with oneclick.

UPDATE - just made a nandroid then restored an older nandroid and advanced restored my data from the new one to the restored nandroid (both miui's) and all from withing ROM Manager. It all worked well

Before that I did the above, I NVflash the 5.0,3.0 recovery and booted into it to be sure it was there.
[T-Mobile LG G2x] dre2phresh:
I installed CWM 5.0.2.0 and everything works. But I lost the Apple graphic that was at the beginning 4.0.1.5 update
[T-Mobile LG G2x] gaww:
Yeah - we are back to LG with the blue bar - but it works!
[T-Mobile LG G2x] xantonin:
It was cute, but I'd rather not give Apple the privilege of acknowledging they even exist every time I boot my phone into recovery.

I like the blue bar, it's purday:o
[T-Mobile LG G2x] _guzzler_:
Hi Guys,

I am having horrible resetting issues with both g2x's that i have... every 20-30 mins it resets and also frezes and i have to take out battery and restart it...i have tried all suggestions,.....nothing worked so far...

on tmo community someone suggested to root with cwm to fix all issues.......the question i have is...will i have to install custom after rooting or just cwm will resolve resetting and freezing issues....??
[T-Mobile LG G2x] KiNG OMaR:
You'll have to flash another rom to fix most of the issues. CM7 and WeaponG2x are your best options if you want that gingerbread look :)

EDIT: Sorry, I believe only CM7 will suffice for your needs because I forgot WeaponG2x is based off the 2.3.3 OTA.
[T-Mobile LG G2x] _guzzler_:
okay. i will try cyan 7...

is it safe to assume then that there is no hardware problem with my phones....??
[T-Mobile LG G2x] KiNG OMaR:
Yeah, the stock roms are plagued with bugs due to LG's crappy software :p

Also, If you wanted to use WeaponG2x, you could just add the APN for your carrier manually :) If you wanted something other than CM7 that is :)
[T-Mobile LG G2x] dre2phresh:
I get "Can't mount /sdcard" when trying to backup and restore.
[T-Mobile LG G2x] dre2phresh:
Nevermind I found the issue I was having
[T-Mobile LG G2x] dre2phresh:
Thought I had it resolved but no I don't. Can anyone help? Trying to flash stock rom back on my G2x put I can't mount ?sdcard and CWM is acting weird.
[T-Mobile LG G2x] McRabbi:
Are you trying to access the sdcard in recovery or windows?

Sent from my LG-P999 using THE FORCE
[T-Mobile LG G2x] dre2phresh:
Recovery. It's the internal sdcard also
[T-Mobile LG G2x] McRabbi:
Are you using the internal version of CWM or the latest version that has support for internal?

Sent from my LG-P999 using THE FORCE
[T-Mobile LG G2x] KiNG OMaR:
The one in the main directions in the OP is the external version, sorry :( You'll have to flash the 5.0.2.0 recovery to access the internal SD, sorry for the confusion :o