[Miscellaneous Android Development] saiz136:
Errr I think you should follow walhalla's post on rooting P940, check it out on my signature "Prada Optimus Color Theme V2", the link is attached there.

Anyway, flashing will delete your data, so for an easy convenience, use Titanium Backup. Now download walhalla's file and extract it. When you extract it, there are multiple folders and arranged as steps to follow. Be sure also to download the kdz file for P940.

FLASHING

-extract "p940_ics_root.rar".

-install LG USB drivers from the "1. Driver" directory.

-replace your windows hosts file with the one of the "2. Edited Windows Hosts File" folder. You find it in Windows Vista / 7 at -> "C:\Windows\System32\drivers\etc".

-copy the folder "shttps" from the "3. Flash Tools" folder to "C:\" and start the "http.exe".

-install "msxml.msi" from the "3. Flash Tools" folder.

-install "B2CAppSetup.exe" (LGMobile Support Tool) from the "3. Flash Tools" folder and close both apps that start right after the installation.

-enable "USB-Debugging" on the device at "Settings | Developer".

-put the USB cable in the device and let the system install the drivers.

shutdown the device.

-right after the device has completely shutdown hold both the "Volume+" and "Power" key until you can see the following message on the screen -> "S/W Upgrade - Please wait while upgrading...".

(Tip: remove the usb cable then reconnect after a few seconds, this will redetect the Windows if the USB driver is fully installed, wait for Windows to prompt that the driver is fully installed!)

-start the "UpTestEX_mod2_marwin.exe" from the "3. Flash Tools" folder.

Select on the left side "Select Type" -> "3GQCT". Select on the right side "PhoneMode" -> "EMERGENCY" and at "Select kdz file" enter the Official LG ICS European Firmware Update.

-Now click on "Normal web upgrade test" and on "Upgrade Start".

(Tip: if a small window appear on the bottom right corner, just select Cancel)

-In the opening window select "Country" -> "Different Country" and "Language" -> "YOUR LANGUAGE". Now click at "OK".

-Now the flashing will start, do not disconnect the usb or remove the battery of your phone. Wait until the LG Software upgrade to 100% completed, an Exit button will be provided after the flashing is complete.

-Now naturally, I think on 90% on the flashing process, your phone will automatically reboot, it will not boot since you use a custom ROM, after the the flashing is done, click Exit on LG Upgrade tool to remove the window, and shutdown your phone or remove the battery if necessary.

INSTALLING BOOTLOADER

Of course you cannot flash anything since you are back to stock and you have a locked bootloader. Now turn off your device and remove the battery. Our goal here is not to root but to unlock the bootloader so you could flash CM10.1 ROM.

Refer to this thread http://xdaforums.com/showthread.php?p=40694480

-Download and extract omap4boot-for_prada.tar.gz

-(Windows only) Pull the battery and attach an usb cable to your device. --In device manager an OMAP4430 device will show up briefly. Hurry up and right-click > update driver software and install the drivers from -the usb_drv_windows folder directory included in the archive.

-Execute start_fastboot.bat (Windows) or start_fastboot.sh (Linux)

-Follow the instructions shown.

(Tip: On command prompt showing waiting for device, reconnect the usb cable, if unknown device appeared on device manager, install again on usb_drv_windows folder and reconnect usb, ready your battery to plugin this will be fast, when command prompt says to put the battery, put the battery quickly, and a menu will appear on your device, now install a CWM recovery onto the command prompt)

-Boot into recovery by holding CAMERA + VOLUME DOWN + POWER and do stuff flash CM10.1 and Gapps and don't forget to wipe data before rebooting.

Sent from LG Prada 3.0 P940 CM10.1

My Colorscreen

[url="http://xdaforums.com/showthread.php?p=42755601]Prada Optimus Theme V2[/url]