[LG Optimus L9 P760, P765, P768, P769] artit:
For people who want to root LG L9 ICS Phone, please follow this guide http://xdaforums.com/showthread.php?t=2173465

The method in this thread lack some steps to clean out rooting staff and script

For those who interest, below are the steps I did to root my phone from Lelus post info.

*** Please read it carefully and understand every step before you try. I cannot help you if you brick your phone. And please note that I'm not a android dev and these steps work for Lelus P769 10G and my P768f 10D. It should work in all variants but I'm not guarantee. ***

0. Find your KDZ at http://xdaforums.com/showthread.php?t=2107971

1. Manually extract my kdz with LGExtract 0.2.1 from http://xdaforums.com/showthread.php?t=1566532

2. Copy kdz (my file is V10D_00.kdz) and LGExtract.exe to C:\root\ , In command prompt just run

C:\root>LGExtract.exe -kdz V10D_00.kdz

3. You got V10D_00.cab

4. Extract cab with 7z or other zip program that can handle .cab (Google for it if you don't have it yet.) you got 2 files. LGP768.dll and V10D.wdb

5. Extract wdb with following command

C:\root>LGExtract.exe -wdb V10D.wdb LGP768.dll

*** don't forget my model is P768, you should change it to match the file you got ***

6. You'll found extracted files in BIN directory. After this step use your favorite Hex edit to search for hdcp.sh . I found it in LGP768_AP[5].bin. If you copy text from hex edit it look like following

# hdcp.sh

#

# sungho.jung@lge.com, jh.koo@lge.com , kibum.lee@lge.com

#

# HDCP sh file

#!/system/bin/sh

if ls /persist/mhl/key.bin ; then

echo "alreay exist" > /data/mhl.log

/system/xbin/hdcp-init 1 3 >> /data/mhl.log

echo "step 1 : hdcp on" >> /data/mhl.log

else

if ls /persist/en_hdcp.bin ; then

rm /persist/en_hdcp.bin

fi

echo "not exist" > /data/mhl.log

fi

7. In your hex editor, try to edit that file to following

#!/system/bin/sh

/data/local/tmp/rooting.sh

#.com , kibum.lee@lge.com

#

# HDCP sh file

#!/system/bin/sh

if ls /persist/mhl/key.bin ; then

echo "alreay exist" > /data/mhl.log

/system/xbin/hdcp-init 1 3 >> /data/mhl.log

echo "step 1 : hdcp on" >> /data/mhl.log

else

if ls /persist/en_hdcp.bin ; then

rm /persist/en_hdcp.bin

fi

echo "not exist" > /data/mhl.log

fi

*** for those who not familiar with Hex edit you must edit both left (HEX) and right side (TEXT) of editor because some characters is not on keyboard (ex. ENTER, just type 0a in left side editor to make ENTER key).

8. Trial and error until your copy text look like code above (you can copy your edited text from hex editor to text editor to examine it). Then save your file.

9. Next step is download all required file from Lelus link (or from my root.7z) and place them in C:\root

10. In command prompt run

cd C:\root

adb push su /data/local/tmp/

adb push busybox /data/local/tmp/

adb push Superuser.apk /data/local/tmp/

adb push rooting.sh /data/local/tmp/

adb shell chmod 777 /data/local/tmp/busybox

adb shell chmod 777 /data/local/tmp/rooting.sh

*** You can use adb.exe from http://xdaforums.com/showthread.php?t=2085344 thread if you don't install android delveloper tools

11. All files should upload to your phone. After this step try to flash your normal unextracted kdz. You should open C:\ProgramData\LGMOBILEAX\Phone while flashing your rom. After kdz flash program show about 8% progress you should see that there are extract .bin files in that directory. Just quickly copy your edited .bin file (only the file that contain hdcp.sh script) and replace extracted file with it. *** you should wait for flash program to finish extract your file before replace it. ***

Read about how to flash your phone at http://xdaforums.com/showthread.php?t=2085344

12. Done. You phone reboot with Superuser app install. If you have any problem like me that Superuser app don't popup to ask permission, please download latest version from http://androidsu.com/superuser/. I also upload updated files in root.7z below.

13. From Lelus' suggestion : After rooting I would probably suggest

adb shell rm /data/local/tmp/rooting.sh

adb shell touch /data/local/tmp/rooting.sh

adb shell chmod 755 /data/local/tmp/rooting.sh

Thanks Lelus for sharing this, :good:

Edit : Add updated Su, Superuser, LGExtract.exe, hex editor image and rooting.sh