yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] seanj2247:
cant get command prompt to work properly, says "nvflash.exe" is not recognized as an internal or external command. WTF is wrong
[T-Mobile LG G2x] pettigrew95:
Put your nvflash folder in C: then in command prompt type

cd C:\nvflash

then run the command again, also make sure the recovery files are in the nvflash folder as well. Hope this helps!
[T-Mobile LG G2x] seanj2247:
nope did that too finally got the nvflash after the C: but still says unrecognized command
[T-Mobile LG G2x] allofusjw:
try dropping the quotation marks and the .exe. thats what i did and it worked fine after that.

nvflash --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-star-test2.img
[T-Mobile LG G2x] seanj2247:
Got it finally...redownloaded nvflash and it worked!!! Thanks to all that helped!!!! Ready for ROMd now baby!!!
[T-Mobile LG G2x] seanj2247:
One more thing...CWM doesnt recognize phone model to fully install anyone else have this problem? Have my rom backed up but still not recognizing phone model to fully install
[T-Mobile LG G2x] zmaroman:
damn good work! i did it in 3 mins and worked perfect.i have windows 7 but i partitioned with ubunto linux..def liking the linux better for moddin the phones, windows is a pain in the ass! thanks again for ur great and fast work. not a single problem
[T-Mobile LG G2x] JeffR714:
Keep getting "the system cannot execute the program" The Apx shows up in devices as does the boot driver the nvflash thing I got is a firmware updater dont know if thats right. When pull battery and hold power buttons I get the windows usb noise but theres nothing on the screen Its just new can someone kingd of just give me a hand?
[T-Mobile LG G2x] xl DIGITAL lx:
Any way to go back to stock recovery? I'm going to exchange this phone for another g2x.
[T-Mobile LG G2x] crazythunder:
i'm wondering the same thing. for the same reason. not sure if unrooting with super one click will remove recovery. guess there's only one way to find out.
[T-Mobile LG G2x] xl DIGITAL lx:
I doubt it. Unrooting the phone would only reverse the process of rooting.
[T-Mobile LG G2x] crazythunder:
just unrooted. still have cwm.

i have slight backlight bleeding. hoping i can restore it within 10 days so i can exchange it.
[T-Mobile LG G2x] crazythunder:
just did a nandroid restore. worked perfect. restored root.
[T-Mobile LG G2x] xl DIGITAL lx:
I have some dead pixels and light LCD bleeding issues as well.. they sent me a new g2x already and its on its way. I hope the phone they are sending to me isn't worse than the phone I have right now.
[T-Mobile LG G2x] nate420:
Kinda glad I couldn't get it to work when I tried it im also getting a new g2x Prolly Friday
[T-Mobile LG G2x] xl DIGITAL lx:
What problems are you having?
[T-Mobile LG G2x] carlsbad0331:
I feel like a dingle berry... Ive rooted and modded every phone Ive ever owned and this all sounds like FRENCH TO ME.

I am running Windows 7 in parallels on a MBP. I have the folders with the extracted files on the Parallels desktop.

I power down the phone, remove the battery, hold down volume up/down and plug it in... and nothing. NOTHING shows up in Device Manager, no request to update drivers, nothing at all.

I have "rinsed and repeated" a dozen times.

My question now is this, with the difficulty Im having... and the absence of any Roms to flash anyway, would it be wise to wait for an easier way to do this? OR is this the ONLY way that CWM is going to be flashed?

Sorry for sounding like a noob, Im actually not... but this has me all nuts.
[T-Mobile LG G2x] nate420:
Bleeding is pretty bad...

Never got a reboot. And I've had the phone for 4 days.....

And for some reason my headphone Jack doesn't work with anything..... so new phone here I come :)
[T-Mobile LG G2x] xl DIGITAL lx:
Wow, headphone jack doesn't work.. that sucks. If the info to return back to the stock recovery doesn't show up anywhere, I'm just going to send it in like that.
[T-Mobile LG G2x] xl DIGITAL lx:
Try it on an actual windows PC. Maybe a friends?
[T-Mobile LG G2x] JeffR714:
I feel the same way I too have modded every phone I've had as well including Tegra 2 tablets. I got the drivers in and they show up but I'm stuck. What I really need is a video on this they come in handy in situations like this. Maybe I'll just wait till things settle.
[T-Mobile LG G2x] pauldavid77:
Where are you all getting the test.img file? I have NVflash installed and working but I am stuck at that point, it seems to me that I am missing a file. I have unpacked the tgz file.

Very lost.
[T-Mobile LG G2x] joackie27:
The img file should be there after unpacking the tgz file.
[T-Mobile LG G2x] pauldavid77:
When I unpack the file I have one file and it is called nvflash-recovery.tar
[T-Mobile LG G2x] joackie27:
What did you used to unpack it? Get 7zip if you don't have it.
[T-Mobile LG G2x] undomiel:
You need to unpack the tar as well.
[T-Mobile LG G2x] gaww:
Why unroot it to do stock nandroid restore? Would it not restore rooted?

I would think you would need to be rooted to reflash stock recovery. Last thing to do before returning it would be unroot.

I want to fully understand the process here, as I may be going down that path - it is not a keeper yet.
[T-Mobile LG G2x] mapin0518:
That's b/c your having trouble getting the phone into nvflash mode. It's tricky. I haven't gotten the button combination down quite yet and I feel like I luck out each time. Last time I did it successfuly, I powered down and pulled out battery, plugged in USB, held both volume buttons and then held power button while looking at my computer. In 2 seconds it popped up in Windows and i let go of pressing the 3 buttons. Your mileage may vary, I haven't done it often enough to know exactly what the button combination and timing is.

Also if you are using Parallels, make sure it is set so that all USB devices go automatically to windows and not mac. That could be an issue too. I did it fine in Fusion, but don't have Parallels. In general I've found USB support in Parallels to be inferior to Fusion when it comes to this stuff.
[T-Mobile LG G2x] crazythunder:
I unrooted to see if it would get rid of clockwork mod. I cant return my phone with a custom recovery.
[T-Mobile LG G2x] pauldavid77:
Thats what I was missing. Thank you!
[T-Mobile LG G2x] player911:
Are you putting the battery BACK IN?

Repost of all required files:

http://mirror.dal.tdrevolution.net/ctso/g2x/nvflash-recovery.tgz (Recovery images)

http://djmcnz.batteryboss.org/stuff/NVFlash.zip (Windows NVFlash app)

http://djmcnz.batteryboss.org/stuff/nvmobileboot.rar (APX Driver)

Extract the APX driver to a folder and everything else into another folder (2 Folders)

C:\G2x\APX
C:\G2x\NVFlash

Here's how I do it.

Remove the battery

Hold Vol Up/Down (and keep them held)

Plug in the battery

Insert the cable

Install APX driver from the your APX folder

Unplug everything remove battery

Hold Vol Up/Down (and keep them held)

Plug in Battery

Insert cable

open command prompt

navigate to your NVFlash folder

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

You should see it send a bunch of files to the device and the phone screen should say "Updating". Once the files are sent and the program is finished running in the command window, you "can" just pull the battery or be safe and just wait a few extra minutes. I don't think it will reset automatically.

To get into Recovery:

From Power off:

Hold Vol Down + Power until you see CWM (takes a second).
[T-Mobile LG G2x] Vanteks1:
I just got home with my new G2X and rooting it was the first thing i did, this was the second. Thanks a lot, great write up. I can't wait to ROM it now.
[T-Mobile LG G2x] highdefdinardo:
so i just did this. i guess i assumed this was the full version of cwm... how do i boot into recovery mode on the g2x?
[T-Mobile LG G2x] highdefdinardo:
actually. just figured it out. sorry, this is my first android phone since the g1. so im just getting back into the swing of things.
[T-Mobile LG G2x] RueTheDay:
I rooted and then installed ClockWorkMod recovery. No problems. I rebooted into recovery. I see the CWM screen. I can scroll up and down with the volume buttons. However, I cannot select anything with the soft home button. If I touch the Home button, the soft buttons all light up but it doesn't select the menu choice I'm on (e.g., backup and restore). WTF???
[T-Mobile LG G2x] RueTheDay:
Ok, apparently it's the Power button that selects, not the soft home. Figured that out.

Two more issues - if I try and do a Nandroid backup, I get "cannot mount sdcard". I don't have an sdcard, but why can't it just backup to the internal storage? Is there a setting for this?

Second, choosing "reboot" turns the phone off, it doesn't reboot.
[T-Mobile LG G2x] themetatron:
surprisingly simple:cool:
[T-Mobile LG G2x] crazythunder:
it's not a full blown complete cwm yet. it's been modified to make backups to external sd, which is what the majority of users want. and it's best. what if you accidentally format your phone? or the os becomes corrupted? bye bye backups. it's just easier to place them on external sd.
[T-Mobile LG G2x] gaww:
Test2 goes to the external SD, I think test1 used the internal SD. Maybe PM and see if you can get a test1 module.
[T-Mobile LG G2x] RueTheDay:
What about the reboot?

I have a microSD card coming in the mail Monday so not too worried about that.
[T-Mobile LG G2x] crazythunder:
it's not a full blown complete cwm yet. it say's test in the title thread
[T-Mobile LG G2x] eowyn:
Soory guys, I am not really a techie person, but I can follow step by step instructions, please make one for windows in plain language, I just can not follow, I have already rooted my phone, but I need a to z instruction on this one because I am not familiar with LG I came from Dell Streak, and I want to be clear which files to download to get it working, I do not to mix it up with linux/ubuntu as I said I know nothing of these. Just need some plain English instruction for windows. Thanks!
[T-Mobile LG G2x] RueTheDay:
The instructions in Post 90 worked well for me.

Only thing I had to do differently is after installing the APX driver, disconnecting, pulling battery, holding volume buttons, and reconnecting I did NOT put the battery back. Putting the battery back was preventing my PC from recognizing the device. Not putting the battery back worked just fine and allowed me to flash CWM.
[T-Mobile LG G2x] Chronos2187:
I had an issue with a bootloader (bad data) error at first, but i re-downloaded and it works great now. Thanks for all the help in this thread and the posting of it!
[T-Mobile LG G2x] Waldano:
Worked for me too. The only thing is when im trying to reboot into recovery S/W Upgrade screen appears and nothing happen. I can access to CWM using Reeboot into Recovery apk by maxisma

http://xdaforums.com/attachment.php?attachmentid=575213&stc=1&d=1303472096

Pls help, thx :/
[T-Mobile LG G2x] Waldano:
i dont know what i've done but it works now :P
[T-Mobile LG G2x] Manb:
Sorry, but what's the official command to restore the original SW update? I'd like to return my phone since the Cell Standby is eating up my battery at 45%...
[T-Mobile LG G2x] DROD1482:
help please

i try to load nvflash fro cmd it say cant find fastboot.bin checked and it is extracted to same folder does anyone else have this prob thanks
[T-Mobile LG G2x] Marcus Ryan:
Flashed and working. Thanks!
[T-Mobile LG G2x] chillwillo9:
Help

I was messing with some files and I got my phone stuck. I do have CWM flashed but some how my nandroid backup got corrupted.

Can someone upload a stock nandroid backup.

PLease
[T-Mobile LG G2x] djmcnz:
Lol no, you can't restore someone else's nandroid. Just reinstall the stock Rom.
[T-Mobile LG G2x] carlsbad0331:
Thanks for all the help... It seems my error was trying to make the process work on a MBP using parallels. As soon as I borrowed a windows machine and used the provided instructions I was golden!

Bring on the ROM's!
[T-Mobile LG G2x] chillwillo9:
Sorry I'm in little panic mode I must be overlooking it can you point me to the direction where I can download stock G2X rom
[T-Mobile LG G2x] djmcnz:
I'd look at this

http://xdaforums.com/showthread.php?t=1037120

There may be other options as well though.
[T-Mobile LG G2x] chillwillo9:
Ive been there when I try to flash zip but I get a error

Finding update package...

Opening update package...

Installing update...

Installation aborted.
[T-Mobile LG G2x] katiepea:
You sure your nandroid is corrupt and your battery isn't just low?

Is the phone plugged in when trying to restore?
[T-Mobile LG G2x] chillwillo9:
100 percent sure

I need to get back to stock bad, phone is currently a paper weight
[T-Mobile LG G2x] katiepea:
Ah, well ok, just usually when people have multiple failures its usually something like battery or something a simple disk check on the sd would fix
[T-Mobile LG G2x] chillwillo9:
So is it possible to flash someone else's G2X nandroid backup
[T-Mobile LG G2x] eagle1967:
i would think so

when roms first came out for the droid they were all nandroids. I didnt start romming until that part was over so i never actually did that. but I know they use to do that so i am not seeing why it still cant be done.

If your phone is a brick currently what do you have to lose.
[T-Mobile LG G2x] chillwillo9:
So can you post a nandroid and I'll be the test dummy
[T-Mobile LG G2x] eagle1967:
someone ??

sorry i havent even rooted yet. making sure i am keeping it first (dont see any reason not to as of yet).. running it through its paces. and waiting for a full blown recovery. the problem you are going to have getting somone else nandroid is apparently the phone does strange things if you dont sign in. if you sign in than thats part of the nandroid. So might be hard to find someone that has a clean nandroid without their presonal info in it. might have to find a friend that trusts youll delete all their data. good luck
[T-Mobile LG G2x] crazythunder:
nowhere do i see put battery back in. i've flashed several things with no battery in the phone. if it does work with the battery in, amen to that. but i've never done it. not necessary.
[T-Mobile LG G2x] chillwillo9:
Can someone do a factory reset then before logging in perform a nandoid backup and upload. I will pay if needed
[T-Mobile LG G2x] katiepea:
i don't think you can use someone elses nandroid, pretty sure they're device specific
[T-Mobile LG G2x] chillwillo9:
I know I'm kinda asking for alot but could u post a nandroid just for ****s and giggles
[T-Mobile LG G2x] dantheman_:
So, I downloaded Rom Manager to my G2X and just decided to hit the flash clockworkmod recovery button. Guess what's third on the list of available options... yep T-Mobile G2X. Selected, downloaded and flashed. Rebooted into it and bam. CMR 3.0.2.7 without having to mess with nvflash. Crazy..
[T-Mobile LG G2x] eagle1967:
yes you can use another nandroid.

they are device specific but were talking same device here. only thing is if you have put your info and data and make a nandroid that other person will get your data and be loged in as you.

but someone is uploading a clean nandroid as we speak.

i sent you a pm also someone is posting up what you need now.

http://xdaforums.com/showthread.php?p=13154879#post13154879
[T-Mobile LG G2x] tgerbracht:
How did that happen? Neat!
[T-Mobile LG G2x] brian6685:
It shows up on rom manager for me too :) is it fully working? Figure I would ask because they didn't announce it being on there...

G2X
[T-Mobile LG G2x] dantheman_:
I tried to make a backup, but I don't have an sdcard.
[T-Mobile LG G2x] tgerbracht:
Heh, I'm nervous to do it as well. We now have a complete backup posted, may as well try.
[T-Mobile LG G2x] brian6685:
Let me know :) I might just wait, don't have anything to flash anyways ya know

G2X
[T-Mobile LG G2x] tgerbracht:
Boom! Flashed clockwork from rom manager, made my first nandroid in under five minutes. Awesome!
[T-Mobile LG G2x] jlevy73:
That was a nice little discovery. Just flashed CWR booted into recovery and running a backup. Let's see if it's successful

Update: Nandroid successful
[T-Mobile LG G2x] dantheman_:
Snagged the sdcard from my CM7 nookcolor. Backup worked like a champ :)
[T-Mobile LG G2x] crazythunder:
i did it earlier and i'm at 3.0.2.4 ?? maybe it's been updated again? or i did something wrong? scratches head
[T-Mobile LG G2x] jlevy73:
Mine says version 3.0.2.7, Rom Manager 4.1.0.0. Check the market and see if there has been an update.
[T-Mobile LG G2x] artismyrevolt:
Confirmed clockwork recovery flash from rom manager successful. Nandroid backup completed successfully,but in rom manager it doesn't see the backups because it's looking for them on internal storage. That will probably be fixed soon, just a minor glitch. As long as the backup is SOMEWHERE. That's all I really care about.

Still scared to try any of the other recovery functions yet... I'll let someone else bork their phone first :)
[T-Mobile LG G2x] crazythunder:
i've restored several times already with the test recovery. you should be fine.
[T-Mobile LG G2x] crazythunder:
never mind. i got it. still get a little mixed up when searching for stuff between the 2 sdcards. flashed the wrong file.
[T-Mobile LG G2x] jlevy73:
Yeah the way this device handles memory is pretty funky. Not exactly the most intuitive way of doing things.
[T-Mobile LG G2x] Jeffro64:
Wonder why clockworkmod/koush is waiting to announce this??:confused:
[T-Mobile LG G2x] charlatan01:
Thanks for the tutorial in post 90, and thanks for the app! Backing up the phone now.
[T-Mobile LG G2x] tweezit:
Because it is not ready yet as it still don't mount the internal sd card and only uses external sd. :)
[T-Mobile LG G2x] Jeffro64:
Could be.... I hope when it's finished it gives a choice of which to be backed up too.
[T-Mobile LG G2x] dismaljester:
I flashed CWM with RM and when I reboot holding vol down+power I get the android unpacking screen and a factory reset. Any ideas?
[T-Mobile LG G2x] artismyrevolt:
Sounds like it didn't flash completely. Reinstall rom manager and flash cwm again, see if it works. Worked first time for me, so I'm just guessing.

Edit: just reread your post. Can you get to clockwork from rom manager? E.g. "reboot into recovery" option?
[T-Mobile LG G2x] dismaljester:
That seems to work, thanks.
[T-Mobile LG G2x] Chronos2187:
now the G2X is supported in rom manager to flash so this isn't necessary.

Edit:Rom Manager isn't a full flash and nvflash is. you can only use the Rom Manager one if you can access Rom Manager, Vol down and power is still stock without NVflash.
[T-Mobile LG G2x] jumaaneface:
has anyone flashed anything through recovery yet? newbish question
[T-Mobile LG G2x] xenoletum:
Volume Down + Power is Factory Reset on the phone by standard, Vol Up + Vol Down + Power is Recovery I believe.
[T-Mobile LG G2x] :
i hold volume down + power, and im able to get into CWM. i hold it for about 10 seconds
[T-Mobile LG G2x] rashad1:
How do I do this on a mac?
[T-Mobile LG G2x] carlsbad0331:
You email a friend that has a PC and ask them to borrow it.

I could not get it to work via Parallels at all. I knew I was doing everything correctly. I borrowed a buddies PC and was done in 5 minutes.

Some say it has worked, I sure couldn't get it to.
[T-Mobile LG G2x] artismyrevolt:
Currently being discussed in the other clockwork thread (can we merge these?) is the fact that, unless you flashed cwm with nvflash first, volume down and power is still factory reset. I tried volume up + volume down + power and it did nothing. Maybe I didn't hold it long enough, but I was staring at a powerless phone and had to do a battery pull to reboot.

There is still a question as to whether the nvflash method is required to flash unsigned packages. If anyone has a simple update zip that does something boring like install an app to /system/app/ I will test it, as I have only flashed clockwork through rom manager.
[T-Mobile LG G2x] allofusjw:
I've tried flashing framework-res from uot kitchen and made a couple roms using dsixda kitchen and they won't flash. I think the dsixda kitchen is only meant for htc devices but unsure why I can't get the uot kitchen mods to work. also, while using dsixda kitchen when I create a working folder it tells me in rom info that the boot.img is secured which I figure is the problem. the solution is far beyond my knowledge.
[T-Mobile LG G2x] RueTheDay:
Cross-posting from other thread:

Ok, yesterday, I flashed CWM Test 2 via NVFlash.

Today, I downloaded ROM Manager and flashed CWM from there.

If I Reboot into Recovery from ROM Manager I get to CWM v3.0.2.7.

If I power off and the go into Recovery by doing Volume Down + Power, it shows as CWM 3.0.2.4.

How do I make the one I flashed from ROM Manager be permanent?
[T-Mobile LG G2x] dannyHD2:
THANK YOU!!!!

like a dummy i tried to flash a stupid battery percentage file for optimus 2x on my brand new g2x....dont try that fyi!!! luckily i flashed rom manager and cwm before hand and made a back up, which im currently restoring now after having boot loop and needing nvflash etc.... worked like a charm cause its time to reboot!
[T-Mobile LG G2x] ctso:
http://mirrorbrain.cyanogenmod.com/cm/recoveries/recovery-clockwork-3.0.2.7-p999.img

flash that with nvflash, however, there really isn't a point to doing so.
[T-Mobile LG G2x] brian6685:
Isn't a point because we can do it through rom manager, or no point because it's not finalized? Just curious because I was waiting to flash recovery til I had some sort of rom to flash :)

G2X
[T-Mobile LG G2x] brian6685:
oh just saw you updated the op... we don't need to replace stock recovery to be able to flash/backup/restore roms correct? I guess my question would be do you recommend doing it through rom manager or nvflash for better permanent results?

G2X
[T-Mobile LG G2x] RueTheDay:
When I do that it starts working, then I get:

fastboot.bin sent successfully

waiting for bootloader to initialize

bootloader failed NvError 0x0

command failure bootloader download failed

So then I tried it again with your Test2 imag and that flashes fine.

Ideas?
[T-Mobile LG G2x] mapin0518:
So for those of us that used nvflash for test2, can we get an update image that we can nvflash so that we are up to CWM v3.0.2.7 and at same point release as those that used Rom Manager ?

Alternatively, if the experts think we should flash stock recovery back into place, and just use Rom Manager, can you post instructions and files on how to do that?

many thanks!
[T-Mobile LG G2x] RueTheDay:
See Post 159. Give it a shot. I got an error when I tried it though (but I was then able to reflash Test2).
[T-Mobile LG G2x] trasnam:
I did it just fine from Linux as per the OP, and then verified from a cold boot that I had the latest CWR. Did you replace the test2 .img file with the newer one ctso linked to in the recent post, and also modify your nvflash command? Alternatively, you could rename the new file to the test2 filename, and use the same nvflash command as before.

In other words, in Linux, what I did was drop the new file into the directory I was flashing from, and then edit flash-recovery.sh from

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

to

sudo ./nvflash --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-clockwork-3.0.2.7-p999.img
[T-Mobile LG G2x] RueTheDay:
Yep. I just did the same thing again, and it worked this time.

Maybe I wasn't holding the volume keys in long enough last time.

Booting into recovery, I see CWM 3.0.2.7.

Oddly though, the reboot command in CWM is still not working for me, it powers off rather than reboots. But when I boot into recovery from ROM Manager, the CWM reboot command works fine. Weird.
[T-Mobile LG G2x] trasnam:
Very cool!

Same happens for me, so you're not alone. I personally am not too concerned, as it only adds a few seconds to the overall process by starting from a cold boot.