[LG Optimus 2x] ocr66:
Ok Guys, I started this thread because last weekend I had an interesting issue with my O2X. From one day to another, whenever I connected my phone to the computer it only charged, I had no USB connection. I’m not yet quite sure why it happened, the last thing I did to my phone was install CM10 nightly of 31 October 2012, and then I changed the default baseband I had (725) to the one GetRil was telling me to install (LGP990AT-00-V20l-EUR-XX-OCT-20-2011 0_CP) (this baseband didn’t fixed the strange noises of in call) two days after that I got the no USB bug, at first I thought it was software related, then after lots of reading and trying different cables and computers I thought it was hardware related, but then I saw an interesting chance of fixing it, and it did in my case

Credit goes to Kohos, I manage to have USB fixed temporary thanks to his post on modaco.com

I’M NOT TELLING THAT CM10 CAUSE THIS BUG, IT JUST HAPPENED TO ME WHILE USING THIS ROM

Specs

Phone: Optimus 2x (p990H made in south Korea)

Rom: CM10 Oct 31 2012 (when got the bug) now CM7 nightly 15 July 2012

Kernel: Symbiosis 2.6.32.59 v1.2

Carrier: Telcel

Country: México

Ril: 0725 (V10d, Europe)

BB: 1035.21_20110725

CWM: 5.0.2.0 (no touch version)

To solve this issue you need to have a stock ROM that can be flashed by CWM. Can be the rom, or a backup of the stock rom (If you don’t have one send me a PM), I didn’t tried stock-based ROM so those may or may not work; I’m not sure but rather use an original stock ROM. You also need to be able to enter CWM recovery, and have LGE drivers up to date.

For this method I used a stock nandroid backup.

I’ll describe step by step all I did to solve this issue so you can give it a shot:

1.	If you have a flashable stock rom you may skip this step and go to step 3, if what you have is a nand backup you need to make your partitions back from EXT4 to EXT3 (this is the format that stock rom uses) so need to download the tool R2 found on the first post here:

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

put it on your external SD card along with the backup of the stock rom

2.	Reboot to enter CWM recovery and install the tool R2 (NOTE: this will erase all information of the internal memory)

3.	Install or flash your stock rom or backup (In case you're using my backup, keep in mind, my file IS NOT a flashable rom, it is a backup, so

trying to use the option "flash zip from external sd card" WON'T work

, what you need to do is

unzip the file

and put it on sdcard/clockworkmod/bakcup, then on the recovery, you have to use the option "restore from external sd card", that way it should work, keep in mind that if you change the name of the file it will give md5 error for the name won't match the backup's md5)

4.	Reboot and start the phone, once it is all loaded, on the phone app dial: 1809#*990# this will take you to the service (hidden) menu (If it doesn’t take you automatically to the service menu (without clicking dial) you’ll need another ROM or backup)

5.	In this menu you’ll need to scroll to the option: Module Test > USB Mode Selection, in there make sure the option LG Android USB is selected

6.	Then go back to the root of the hidden menu, and go to Port settings, there you’ll see several options, the ones we’re interested in are: AP USB, CP USB, AP UART, CP UART, the default should be AP USB, you can start playing with those options. (While doing this, you might want to play with your computer device manager scanning for hardware changes, that might help detecting the USB)

The recommendation is to select CP UART, wait, if your problem is not hardware related, it should popup a message of new unknown device, or LGE Platfrom Android USB device. If your USB show some life signal, then you’re almost done, if not, keep playing with the four options until you see some life signal.

What I did was select CP UART, click Ok, wait, AP UART, click OK, wait, CP USB, click OK, wait, AP USB, click OK, I waited here about 1 min, and then on the computer device manager I scanned for hardware changes, and suddenly my computer started installing all drivers again, this last option is the one that must keep selected even with reboot of the phone.

7.	Once you get all done, reboot the phone and connect it to USB to see if it is recognized again, if not, repeat steps 4 to 6

8.	Ok, If everything went fine, you should now have USB connection, now I would recommend you flash your Stock Rom, so everything that might cause this bug gets fixed (if you don’t do this, you might get the bug back eventually). To do so you might need to turn off your phone and plug it to your computer while clicking PWR and VOl- at the same time, if your computer doesn’t recognize your phone, use the device manager and scan for hardware changes, this should reinstall the driver needed to make this happen.

9. Finally I restored my last nandroid backup through cwm

I did this on Monday, and two days later I had no USB connection again, I repeated this steps and I had USB detection once more, today it happended again, and repeated the steps so I’m pretty sure this fix should work every time.

NOTE: This is a temporary fix, I've been trying to identify why the bug keeps comming back

Hope this help you all get over this serious bug :laugh: