yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] kairi_zeroblade:
The image was provided by Mr Rusty over on the P990 thread and i asked him if we can have an update..well he gladly helped out so don't forget to thank Mr Rusty over on his Thread.. :D

I repacked and added a script that you will just run in order to flash this CWM version..(Thanks to Russ for the script)

From his Thread:

BIG Credits goes to Koush as well for his great work for innovating the CWM..

Get it Here: CWM 5.0.2.8 For P999 or from Here

Instructions on HOW to use/WHAT to do:(For Windows)

- Once you have downloaded the Package from the link Above..extract it to a Folder..

- Inside the folder all you have to do is look for the flash-recovery_xp.bat file..

- now turn your G2x OFF..

- remove the BATTERY and make sure your G2x is not connected to the PC via USB

- Press the VOLUME DOWN button together with the VOLUME UP..

- now CONNECT the USB Cable..

- If by all means Windows prompts for a new DEVICE you have to install the APX drivers from here(extract the package and manually install from this source)..

- Else if windows does not prompt OR you are already done installing the APX drivers you can now proceed on Running the flash-recovery_xp.bat by double clicking it..

- Choose 1 and Then press Enter..Wait for a few seconds till it prompts you that the FLASH was successful..IMHO you ought to wait another 5 more seconds after the prompt for not to have issues..

- After that Reboot into CWM by Pressing Power Button together with VOLUME DOWN til you see the LG Logo with waves..upon seeing that now release the buttons and wait for the CWM menu..

For Linux/Ubuntu Users:

- Download the Package

- Extract the folder somewhere

- Now turn your Phone OFF and DO NOT plug the USB cable yet..

- Now while Phone is OFF press VOLUME UP and DOWN together and now PLUG the USB cable in..keep them held together throughout the process..

- Run the Terminal and locate the Directory on where the Files are located..

- Type the ff:

chmod +x flash-recovery.sh
./flash-recovery.sh

- Once DONE you can now reboot..

FAQ:

Q: I am getting NVflash errors?

A: You might be on a BAD Cable or either way upon installing the drivers do a reboot..also DO THIS ON WINDOWS XP..on Windows 7 there are circumstances that the device is not recognized properly..also make SURE your unit is a P999 or P999DW(my unit is P999DW and touch WORKS!!) and not P990 or SU660..

Q: My device is not Recognized?

A: You have to download the APX drivers from one of the instructions above

Changelog: Github Source

Thanks and also vote for the page.. :)
[T-Mobile LG G2x] kairi_zeroblade:
Seems the Chinese are on to this files too..lolz..
[T-Mobile LG G2x] thegreenfamily04:
Thank you!! :) It flashed perfectly, no issues here.

Troy.
[T-Mobile LG G2x] kairi_zeroblade:
Glad it worked?? :D
[T-Mobile LG G2x] vn00914361:
So internal and external mounting are all fine with this one?
[T-Mobile LG G2x] Волк:
Wow thanks man. I may have to ask a out posting the CWM touch to the G2x.
[T-Mobile LG G2x] torvick12:
Just flashed it with no problems :), when are we getting the touch CWM? Now that will look sexy :)
[T-Mobile LG G2x] chrisus246g:
thy for your work. coming from ClockworkMod 5.0.2.0 what are the differences / improvements? could someone explain please?

thanks in advance
[T-Mobile LG G2x] thegreenfamily04:
Just an update: I flashed a MIUI rom (Look in my sig) used the "Nullifier 2.0" (Double wipe) and flashed the current Trinity Kernel all with no issues :)

Phone is running GREAT now! Thank you once again :)

Troy.
[T-Mobile LG G2x] MWBehr:
I was thinking the exact same thing. Seems strange to me that Koush made it for the O2x and not for us.
[T-Mobile LG G2x] hitman818:
Im getting a nvflash error when trying to install the new clockwork.

It says check apx driver and usb cable. The drivers are already installed so Im thinking its the usb cable, but not sure.
[T-Mobile LG G2x] Klathmon:
the recovery's on a different partition, might make it a pain in the ass to access the touch drivers...

or he might just like the o2x more (everyone likes those Europeans more than us anymore) :)
[T-Mobile LG G2x] mustangtim49:
Touch Recovery

I'm just gonna throw this out there, just because I wanted to try, I flashed the O2x Touch Recovery to my G2x. Everything as far as the application goes worked, touch to select, ect. The only problem is when you ask it to do something, the mounts are wrong, naturally. What I'm getting at is that both devices use cwm 5020, obviously, mounts changed. How hard would it be to decompile both versions of 5020 and apply the differences to the new touch recovery app?:confused:

p.s. for those who wonder how I flashed touch to my G2x, I just swapped out the recovery images in the one-click nvflasher, pretty simple. when you're done, put back correct file, nvflash again.
[T-Mobile LG G2x] tahahawa:
It's all in the ram disk. Just swap out the vold.fstab in the ram disk. Recovery images are simply boot.imgs.
[T-Mobile LG G2x] Волк:
Interesting, because the differences are only 1 partition. And using the O2x CWM to wipe /system (iirc) would just wipe our internal SD. Ours is partition 7 theirs is partition 8, our partition 8 is the internal SD. Since the phones are 99% the same, it should be that simple. and I need to get up early... I do have one untested tool for decompiling a boot.img....

@Kairi: Can you mirror this on Dropbox? Or somewhere not blocked by my work? Wifi at home is down and I am just chewing away at my data with having to tether.
[T-Mobile LG G2x] missaellpzchvz:
http://db.tt/rEpbpRfA here you go. Really interested on what you can do with it :)
[T-Mobile LG G2x] Klathmon:
that might work. Id try it out myself if i didn't f up my Linux install...

Nvidia graphics got the best of me there too :)
[T-Mobile LG G2x] secano:
Works as advertised! Thanks!
[T-Mobile LG G2x] DsturbD:
works great! thanks!
[T-Mobile LG G2x] mustangtim49:
So, my idea worked? I'm not at home and since I'm a collision tech by trade, my boss don't like me playing with my phone. Volk, if you read this pm me and fill me in if you can. Thanks brother.

artifintel@ACSyndicate.net
[T-Mobile LG G2x] buru898:
I figured only the partition table needed to change, but couldn't decompile the .img.

Seems easy enough to fix anyway.
[T-Mobile LG G2x] android_29:
thanks so much worked like a charm
[T-Mobile LG G2x] tahahawa:
I'll fix it tomorrow, or when I get a chance to.
[T-Mobile LG G2x] kairi_zeroblade:
sorry for the late reply..this is TOUCH operated BTW
[T-Mobile LG G2x] Волк:
If you don't get to it by Saturday I will.

edit: WAIT!!!!!!!!!!! Darn people clarifying stuff while I'm posting! Do you mean to say this is *the* touch recovery?
[T-Mobile LG G2x] kairi_zeroblade:
sure thing.. :D sorry for the late reply.. :D

hell loads of bugs yesterday.. :(
[T-Mobile LG G2x] kairi_zeroblade:
YES its touch operated for my G2X.. :D
[T-Mobile LG G2x] FatalityBoyZahy:
Anyone know where I can find a changelog for this? Thanks :)
[T-Mobile LG G2x] kairi_zeroblade:
i will attach Changelog or you can Visit Rusty's page over on the O2X forum.. ;)

OP Updated: Changelog and some common FAQ's
[T-Mobile LG G2x] Волк:
Well, fine take away all my fun. I'll just go back to porting my script to the Kindle Fire.
[T-Mobile LG G2x] kairi_zeroblade:
:(

awww..
[T-Mobile LG G2x] irockstar661:
Are you downloading the file to the phone and running it after mounting to PC? Or downloading to PC and running g from there?
[T-Mobile LG G2x] Thibor69:
So does this basically eliminate the need to nVFlash (if rooted) since it puts CWM on internal and external for us ?

Peace
[T-Mobile LG G2x] kairi_zeroblade:
You Download to PC and run the batch file from there accordingly with the instructions stated to OP..

NVFlash is still needed..as posted on OP i just made it easier to USE..
[T-Mobile LG G2x] jwuerz:
Thanks for this! Any negatives because of the porting process?

This also the internal/external version correct?

Thanls!
[T-Mobile LG G2x] Thibor69:
Sorry bro ... my bad. I read to fast.

Do this on WindowsXP !!?? YUKKK are people still using Windows ?? or even Windows XP for that matter :O)

Peace
[T-Mobile LG G2x] kairi_zeroblade:
so far none..i have tested this with accordance to Mr Rusty's advice BEFORE i posted it here and YES it can access both the Internal/External SD..and as far as G2X is concerned its a TOUCH operated CWM on my unit..

Again credits to Mr Rusty..
[T-Mobile LG G2x] kairi_zeroblade:
no biggie.. :D
[T-Mobile LG G2x] buru898:
Can't wait for touch recovery :o.
[T-Mobile LG G2x] kairi_zeroblade:
its touch CWM for my G2x..can't seem to understand why yours is not TOUCH??my unit is P999DW..so its a G2X..
[T-Mobile LG G2x] Волк:
I don't think he caught up on everything that's been said.
[T-Mobile LG G2x] psychoace:
Are you saying your original post is a touch recovery? It doesn't say it is and with others talking about doing some mods to get touch working I think some of us assumed it wasn't.
[T-Mobile LG G2x] kairi_zeroblade:
ohh i see..nonetheless its TOUCH..editing OP now..thanks for the headsup..

OP Title edited..

FOR ALL who would be asking this is a TOUCH operated CWM based on Rusty's CWM 5.0.2.8..
[T-Mobile LG G2x] irockstar661:
I flash successful according to the PC but phone hangs on upgrading. After rebooting into recovery I do not have the touch feature.

Says its 5.0.2.8
[T-Mobile LG G2x] kairi_zeroblade:
Weird..i am using it as touch CWM for my P999DW..and i got no errors or anything while flashing this..

my device history was..

- Original V21e firmware..

- Flashed TGA-Gunman's recovery..Touch worked for me there..

- Asked Mr Rusty if he can try porting it out to P999..he sent me an image which i tested and Flashed and touch works

- Released it here since it was stable enough for me to use on my P999DW

Where is the love??
[T-Mobile LG G2x] irockstar661:
Maybe it is just me. Others seem to have it working correct?
[T-Mobile LG G2x] buru898:
Yes sir you read my, and other people's, mind exactly.
[T-Mobile LG G2x] kairi_zeroblade:
yep..also i bricked my phone 2 times using Volks null script and end up flashing this thing BACK up and TOUCH is working.. :confused:

unless you have tried other ways IF you have bricked your phone before..the one posted here using NVFlash did not work on me..what i did was just NVFlash a boot image on my phone to pop it off from being Bricked..
[T-Mobile LG G2x] newnoobkid:
Same problem any fix?
[T-Mobile LG G2x] FatalityBoyZahy:
Touch doesn't seem to be working for me? It's just like 5.0.2.7?
[T-Mobile LG G2x] kairi_zeroblade:
reboot..

how come both 5.0.2.0 from TGA Gunman and the 5.0.2.7 from euro skank and this one is TOUCH working on me..aside the fact that i used the Nullifier script and end up borking my phone a dozen times??

mines a P999DW unit..

did you guys..flashed yours to a P990 stuff or the likes??this is for G2X..mines a G2X as specs declare it to be a G2X(P999DW) and how come TOUCH stuff works perfectly on my unit and not on yours? :buttache:
[T-Mobile LG G2x] tahahawa:
I think you mean the soft keys work, as usual, not the cwm touch interface.
[T-Mobile LG G2x] kairi_zeroblade:
i see..so i go edit the OP again..

by what i understand on what you are describing as touch function is the screen itself getting used to access the menu or what??i'm new to this stuff.. :confused:

if what you mean the SOFT KEYS is the ones below the phone the 4 menu buttons..they work..or the SOFT KEYS you pertain to is the power button, vol up/down?? :confused:.

DANG>>
[T-Mobile LG G2x] FatalityBoyZahy:
I've been using the soft keys to control CWM for a while now, haha. I thought we could actually use the screen. Lol
[T-Mobile LG G2x] kairi_zeroblade:
i see..dang me.. :D

was to drugged to even notice that.. :D

NVM i found the version 5.8.x.x that seem to be yet buggy too..complains are more Cache related..the CWM does not rebuild the cache correctly..
[T-Mobile LG G2x] MWBehr:
Lol....damn thought the thread got updated with the CWM Touch Recovery. Oh well.

To the OP: The CWM Touch interface is a new Recovery that has been released for several phones, including the Optimus 2x, but not the G2x yet. That's why people are anxious to try it out here ;)

It is a touchscreen interface to be clear, not softkeys.

Edit: Current O2x version is 5.8.1.3 http://www.clockworkmod.com/rommanager
[T-Mobile LG G2x] kairi_zeroblade:
NOTED: Saw 1 on the O2X but it was reported to be buggy..

CLARIFICATION THIS IS NOT THE TOUCH VERSION YOU ARE ALL WAITING(5.8.1.x) BUT THIS IS JUST THE SAME PLAIN OLD CWM JUST AN UPDATED VERSION..
[T-Mobile LG G2x] mustangtim49:
Okay Volk, you're back on. We need Touch, and we know you can do it!

artifintel@ACSyndicate.net
[T-Mobile LG G2x] Rusty!:
OK, so I've put the P999 recovery.fstab into the P990 touch recovery. I fully expect this not to work, quite probably not even boot, but what the hell. If any one really wants to try it, here you go:

http://www.mediafire.com/file/8hlbzgwvuzb6l8l/p999-5.8.1.3-touch.img
[T-Mobile LG G2x] MWBehr:
Lol....I actually just did the same thing and came back here to report. Copying our fstab made it barely functional (only sdcard would mount).

Modifying the O2x fstab to our mounts, but keeping the fstypes the same as o2x allowed everything but emmc to mount, but the recovery itself was buggy. Basically, no matter what the phone booted into recovery. I could even pull the battery and it booted back into recovery. However, everything else seemed to work fine.
[T-Mobile LG G2x] Rusty!:
I modified the O2X file with the G2X mount points, retaining the FS types.

I guess the O2X having a separate accessible recovery partition has something to do with the booting problem.
[T-Mobile LG G2x] ayysir:
This whole thread is confusing

Is 5.0.2.8 touchscreen recovery or soft key recovery?

Should I flash 5.8.1.x that rusty just posted or just try 5.0.2.8?
[T-Mobile LG G2x] Rusty!:
5.0.2.8 = 'normal' recovery controlled by soft-keys.

5.8.1.3 = 'touch' recovery that apparently doesn't work right (hardly surprising, since it's a hack job).
[T-Mobile LG G2x] ayysir:
thanks, so essentially the capacitive buttons controlled scrolling or there are soft key buttons similar to ics soft keys?
[T-Mobile LG G2x] codecaine21:
Bricked my phone.

This file bricked my phone.

I recieved an error that the file cwm-su699 was missing. The flash-recovery.sh file for linux isnt missing a file. Its not named properly. The bash script looks for cwm-su660.img but it is named recovery-p999-5.0.2.8.img So the flasher cant find it and shows an error. This will cause problems and brick your phone like it did mine! Or like Rusty! said, cause a minor inconvenience lol

I renamed the file and it flashed properly but i still had the same version of CWM i started with. No update.

Here is a working CWM v5.0.2.7 i made for Linux only. I took my old CWM and found a working up-to-date CWM image and tweaked the file http://www.4shared.com/zip/9h4mmcSp/nvflash-CWM_Recovery-5027.html
[T-Mobile LG G2x] FatalityBoyZahy:
It'd be nice if we could disable the reboot vibration.
[T-Mobile LG G2x] Rusty!:
It really didn't.

It caused a minor inconvenience :D
[T-Mobile LG G2x] e4e5nf3nc6:
Everything worked fine for me.
[T-Mobile LG G2x] codecaine21:
@Rusty, minor inconvenience?? LOL i spent my morning working on this.

@e4e5nf3nc6, maybe because you used the Windows version i assume. I used the nvflash for Linux.
[T-Mobile LG G2x] Rusty!:
OK, so I thought I'd try something else... this is the O2X touch recovery, with the G2X recovery.fstab and kernel.

Might help, might not. Probably not, but what the hell, it is worth a try :D

http://www.mediafire.com/file/6cj4obmhkwj9ffn/p999-touch-5.8.1.3.img
[T-Mobile LG G2x] codecaine21:
@Rusty!, I actually took my old CWMR and found an up-to-date working image and replaced the old one. Read my 3rd post back from this one. Thanks tho

UPDATE: FIXED FILE NOW WORKS.
[T-Mobile LG G2x] ayysir:
Where can I get nvflash for Linux, don't feel like setting it up on windows via VM workstation
[T-Mobile LG G2x] MWBehr:
Nope, I'm afraid this didn't change anything. Still doesn't mount emmc and always reboots back into recovery. Thanks for trying though ;)
[T-Mobile LG G2x] codecaine21:
@Ayysir, I uploaded the file to my 4shared http://www.4shared.com/zip/9h4mmcSp/nvflash-CWM_Recovery-5027.html NON TOUCH VERSION5.0.32.7
[T-Mobile LG G2x] kairi_zeroblade:
apologies or linux users..i have not touched the sh script for linux.. my bad.. :eek:

edited the SH script so for linux users its just a fly..now reuploading will parse links for OP..

Media Fire or here

OP post updated..
[T-Mobile LG G2x] ayysir:
So how should I set it up to flash recovery via libux . Still remove battery and hold volume up and down?
[T-Mobile LG G2x] kairi_zeroblade:
yes same procedure poweroff then do not attach the USB cable..press the volume up and down together and start running the script thru terminal..

crap will update OP again..lolz

EDIT: OP post updated once more..a more complete guide on HOW to's..if you have something in mind or if you have suggestions just let me know..
[T-Mobile LG G2x] ayysir:
The touch recovery works with no problem for me. Functions great
[T-Mobile LG G2x] Rusty!:
Well that's a minor miracle :eek:
[T-Mobile LG G2x] ayysir:
Backed up and restored my rom with ease. It recognized external and internal sd. Haven't tried mounting via cwm yet. Also dalvik and cache cleaning is all good
[T-Mobile LG G2x] Rusty!:
Sounds promising, wonder why it worked for you and not the other guy though.
[T-Mobile LG G2x] ayysir:
Not sure, I nvflash'd using Linux. Might need a few ppl to test to ensure I'm not just the fluke
[T-Mobile LG G2x] JaiaV:
This is working for me so far.

Edit: Nevermind, after the first flash it started putting things on the wrong partitions.
[T-Mobile LG G2x] torvick12:
Guys whenever on CWM says" Back button disabled" How do yo enabled it again? Everytime i get that always have 2 pull battery off n start all over lol.
[T-Mobile LG G2x] ayysir:
What do you mean by wrong partitions
[T-Mobile LG G2x] Rusty!:
So it worked once, but not subsequent times? That's just bizzare!
[T-Mobile LG G2x] ayysir:
I'll have to do more testing then wonder if everyone else using windows and not Linux
[T-Mobile LG G2x] Rafase282:
It worked fine for me using linux.
[T-Mobile LG G2x] ayysir:
Interesting, though shell script used for flashing is same process as windows.

No touch cwm hiccups or problems for you?

Note to OP: nvflash file also have to be made executable so

Sudo chmod +x nvflash

Sudo chmod +x flash-recovery.sh
[T-Mobile LG G2x] Rafase282:
Yeah I had to give run as a pogram permission for the nvflash, prior to that I got an error about ./nvflash I forgot to mention that and I did not try touch screen. I downloaded the one from the OP.
[T-Mobile LG G2x] codecaine21:
The CWM I uploaded was not touch and was a version behind v5.0.2.7 the reason the file didn't work for me was because it said one of the files couldn't be found but all I had to do was rename it and it flashed with no errors. But I booted into cwm and I still had the same cwm. Maybe I'm the fluke??
[T-Mobile LG G2x] ayysir:
Oh, if your willing, could you download the touch screen version and edit the sh file and remove 5.0.2.8 img file name to touch screen cwm file name, save and flash. Check if you can backup rom and see if it recognizes both internal and external sd and any other function
[T-Mobile LG G2x] aloxotls:
I think you have to cycle through the menu items three times. You can either go up or down the menu.
[T-Mobile LG G2x] kesara:
+1 was wondering about the same!
[T-Mobile LG G2x] tahahawa:
I realized that that the model is still p990 so when a ROM uses get prop p999... KABOOM. It fails to flash. I might have a chance to fix that later today unless someone else does first.
[T-Mobile LG G2x] Rusty!:
Of course *facepalm*

Take 3: http://www.mediafire.com/file/964emrjhss1ljk5/p999-5.8.1.3.img
[T-Mobile LG G2x] buru898:
So... how close are we to a fully working touch recovery?
[T-Mobile LG G2x] Rusty!:
No idea, I don't have a G2X :D
[T-Mobile LG G2x] donjuanito909:
Fully functional and working for me.

Sent from my LG-G2X

CM9-sk3 w/ Harsh P999-4
[T-Mobile LG G2x] Klathmon:
just tried flashing take 3, still having same problems, cant mount /sdcard but all others mount, not really sure if they are correct though.

cannot make or restore backups, however fix permissions did work.

didnt try flashing a rom.
[T-Mobile LG G2x] Rusty!:
On the O2X, some people had trouble mounting SD cards in recovery, might be the same thing.

Are you booting in to it straight from power on, or other methods? Think powering straight to recovery was the least problematic.
[T-Mobile LG G2x] Klathmon:
it was a boot right after flashing the recovery. i held power and vol-down to get in.

making a backup failed, did not want to go too much further because i need the phone as a phone for a few hours. but ill be able to do some more tests later.
[T-Mobile LG G2x] codecaine21:
Yeah the touch recovery boots but is super buggy. Restarts depending on the circumstance. It has no back button once in the advanced menu. Flashed back to 5.0.2.7 soft key
[T-Mobile LG G2x] aloxotls:
I had no problems as long as I rebooted from Rom. I backed up and restored from internal and sdcard. I also flashed a kernel. If I booted from a complete power off I had problems
[T-Mobile LG G2x] Rafase282:
I'm testing it right now, so far I have been able to navigate around, mount usb and acces the sdcard from my pc, It was able to detect internal and external sd when trying to flash a zip file and i'm currently making a backup to internal sd, everything seems fine for now.

Edit: I booted into recovery from an off state, I guess you would like me to know if I can do all this starting from the app right?

Edit2: I went to the ROM manager app, it said I had the latest version which is a lower build number but I told it to make a backup and it is doing it, so far everything works fine. Better UI would be welcome, also is it possible to have teh recovery mount the internal sd and the external instead of just the external? I keep my roms to flash on internal and use external for music the data the apps create. The backup was good.
[T-Mobile LG G2x] buru898:
Hmm... so maybe just going into terminal and doing su, reboot recovery... everything will work? I'll have to test when I get home.
[T-Mobile LG G2x] kairi_zeroblade:
works..but from a complete power OFF you get as many problems as you can..
[T-Mobile LG G2x] Rafase282:
I have no issues at all. I'm running Owain's CM9 with Harsh kernel by the way. Touch recovery works fine from an off state or from an on state with Rom manager.
[T-Mobile LG G2x] tatuk:
I followed the manual, flashed CWM, got message "CWN successfully installed. Please remove USB cable"

However when I boot to recovery, I am getting message:

S/W Upgrade

Please wait while upgrading...

I re-flashed CWM, still the same.

Any advice, please?
[T-Mobile LG G2x] dragonrider8844:
Take 3 works for me. I booted into recovery from ROM. I can backup, restore, fix permissions, and also mount sdcard. Thanks
[T-Mobile LG G2x] Rusty!:
You're doing it wrong ;)

Hold both vol and power till the second LG screen.
[T-Mobile LG G2x] kairi_zeroblade:
hahahaha... :d
[T-Mobile LG G2x] kairi_zeroblade:
its POWER BUTTON+VOLUME DOWN to boot to CWM..
[T-Mobile LG G2x] jerrypcon:
Is there any way to flash this on a Mac, would "fastboot flash recovery" command do the trick or does the G2x not support fastboot?
[T-Mobile LG G2x] Rusty!:
It would work (well, I've used it on the O2X at least), but it's a lot more fiddly than other phones.

You can only get to fastboot by erasing the boot partition, so you'd have to take a back up, erase it, reboot, use fastboot, boot into recovery and then restore the boot image.
[T-Mobile LG G2x] jerrypcon:
Cool, sounds cumbersome. Wonder why LG made fast boot so inaccessible unlike HTC phones. Will try it out (most likely from a friends windows box with nVflasher) and get back to you with any problems.:D