[LG Optimus L9 P760, P765, P768, P769] cmahendra:
[GUIDE] Root L9 ICS/JB with New Lelus method & Offline Flashing [LOCKED BL] [31-Mar]

Please do not follow this OLD ROOTING GUIDE as I have written NEW ROOTING GUIDE for...

New GUIDE for Easiest Rooting + Unlocking of LG L9 [Bye Bye Fastboot] by CMahendra

Rooting is possible directly from phone. Tested and 100% working!

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

==============================================================

OLD GUIDE, VISIT ABOVE LINK

[GUIDE] Root L9 ICS/Jelly Bean with New Lelus method and Offline Flash (1st and 2nd post)

(NOTE: This thread is only for NOOBS like me and for Junior Members.)

ATTENTION: THIS WORKS ON ICS/JELLYBEAN with both locked/unlocked bootloader.

But Go here for FASTER Root L9 JB/ICS on Unlocked Bootloader.

To understand and perform Flashing L9, you should read all following threads carefully before starting.

GUIDE TO NEW ROOT L9 WITH LELUS METHOD AND FLASH L9 (this post)

LELUS THREAD to Root L9 Thanks to Lelus (GUIDEPOST BY ARTIT Thanks to Artit for his preliminary guide)

JELLY BEAN ROOTING FILES BY ANGRYWOLF80's

TUTORIAL ON OFFLINE FIX FLASH METHOD by me << VERY IMPORTANT HERE

COLLECTION OF READY-MADE HEX-EDITED BIN FILES (in second post) by me. BIN files ready to download and flash. Now includes Jelly Bean files too.

MAKE YOUR OWN HEX-EDITED BIN FILE EASILY again by me :D

If anyone want to learn and still want to make their own HEX EDITED BIN files from their own KDZ, its really very easy. You dont have to download huge files again, and will be able to make your own edited BIN from the KDZ you already downloaded before. To support Rooting L9 with Lelus Method, I am uploading and collecting the readily HEX-EDITED BIN files. Now you dont have to worry for Bricking with wrongly EDITED BIN file. This will AVOID the process of editing HEX file, which may be bit confusing for some noobs like me :D

============================

SPECIAL THANKS TO LELUS AND ANGRYWOLF80 FOR THEIR TEAM WORK.

LELUS: This Rooting Method is not my original work AND ALL CREDIT GOES TO LELUS WHO GAVE THIS NEW CONCEPT OF HEX-EDITING OF BIN AND A SH SCRIPT TO RUN BEFORE FLASH. Without Lelus this thread might not exist.

ANGRYWOLF80: I am really thankful to him for providing a solution with changes in Lelus's script so the SU is not copied on every boot and also made changes to avoid mounting system in RW mode, keeping original hdcp.sh file without changes. The current improved modified BatchFile is by him. This removes some vulnerabilities.

Also thanks to him for JELLYBEAN ROOTING FILES. Pals, he really worked hard for this. Press THANKS button on his thread.

Adixtra and Unknown_world : Makers of Offline Fix Flashing Method. Without them Flashing Guide was not possible.

GUIDEBOOK STEPS

=============

0)

Precautions

:

___A) Select "Debugging Mode" as ON (Ticked) in Phone Settings (Developer Section)

___B) Select "Install from Unknown Sources" as ON (Ticked) in Phone Settings (Security Section)

___C) Indian version of L9 does not come with "Lookout Security Antivirus" already installed. But KDZ from other countries may have it already installed, FORCE CLOSE AND UNINSTALL it from app manager. If you cannot uninstall, at least DISABLE it. This program is known to be preventing connection and rooting of device.

___D)OFFLINE KDZ FLASHING DOES NOT LOOSE PHONE DATA, BUT YOU MUST BACKUP YOUR PHONE IN ANY CASE.

1) Download Hex-Edited BIN file and related KDZ file (on same line) in exact combination shown in SECOD POST BELOW. If you already have downloaded exact KDZ from this post, then you dont need to download KDZ again, just download matching BIN file.

2)

FOR ICS Download >>> Root_and_Flash_Guide_byCMahendra(date).zip

FOR JellyBean Download >>> RootJB_and_Flash_Guide_byCMahendra_AngryWolf80(31-Mar).zip

Either choose ICS version or JB and extract in your C-Drive.

Now you will get three folders named "C:\RootLelus" and "C:\RootFlash" and "C:\shttps"

3) Install Drivers: "LG USB Driver (Download 3.8.1 here)"

4) Optional if installed before: Install MSXML 4.0 SP3 Parser by running "msxml.msi" file in "RootFlash" folder.

5) Connect Phone to PC with USB in "MTP" mode, let all drivers install for detected hardware items, then in "Charge Only" Mode, let all drivers install, then in "PTP" mode and let all drivers install, LASTLY connect in "LG SOFTWARE" Mode and let all drivers install. Don't neglect anything, it will save OUR :D time.

IMPORTANT: Weirdly windows will try to install its own WDM drivers searching online in internet. Do not let it install like that. It will be stuck with longer time or it will just fail to install drivers.

Solution: Always Click the link/button "Skip Obtaining Driver....." shown in this screenshot, so pc will install only original LG drivers for all devices in all usb modes.

6) Keep phone in "LG SOFTWARE" Mode and wait until it is connected. Now at this moment Device Manager should show 3 entries like this. If not, flashing will not work. (This is Important Checklist Step)

7)

ADB MODE

: Now start Windows Command Prompt with "Run As Administrator" option. Try to ping any website, if you SEE THIS DOS ERROR (SCREENSHOT) you are not in Admin mode and you need to try again. (THIS IS IMPORTANT CHECKLIST)

Now pass following commands in lower case as adb command is "case sensitive"

***For Jellybean the folder will be "RootLelusJB" instead of "RootLelus"

Now your device should be shown as "List of Attached Devices" like this result in screenshot. (Important Checklist Step)

This means your device is ready to take ADB Commands. PLZ DONT IGNORE THIS CHECKLIST. If fails, check cables, reinstall drivers, restart pc, connect cable directly on motherboard USB port and try again from first step.

8) This is important root preparation for Rooting before Flashing. Now Run a batch file "RootL9" on command prompt with following commands.

This simple automated command batch-file (RootL9.bat) will copy necessary files to special locations and will set some necessary permissions.

When done, REMOVE USB CABLE AND POWER OFF THE PHONE.

9) NOW ACTUAL KDZ FLASHING STARTS AND THEN A QUICK MAGIC TRICK IS TO BE PERFORMED.

___9A) Add lines in "hosts" file as mentioned in step 1 of this post.

___9B) Start "SmallServer" as mentioned in step 2 of same post

10) Now follow all steps from all 3 to 10 from this original flashing post. In 11th of original flashing post your have to do following magic.

11)

ACTUAL MAGIC

:

After LG UPDATE TOOL starts, wait for following message in RED SENTENCE.

When you see this message and update meter reaches to 8%, then

quickly open this folder "C:\ProgramData\LGMOBILEAX\Phone"

and look for extracted bin files, if you see the same name as BIN file you downloded (LGP765_AP[6].bin or LGP765_AP[11].bin), replace it with the one you downloaded earlier (which is already HEX-EDITED).

Press "Continue" if windows asks you for permission to copy and replace.

Folder not found? Workaround: Copy this "C:\ProgramData\LGMOBILEAX\Phone" and paste in windows explorer at top, the folder should open directly, then replace file. In one of the rarest case, in WIN XP machine the folder was found here "C:\Documents and Settings\All Users\Application Data\LGMOBILEAX\Phone" in this post.

Still problems? Check this post too.

Let flashing complete, and you are done. YOU HAVE JUST ROOTED L9!!! Phone should now reboot with working SuperUser. If SuperUser ForceCloses, just restart phone once again.

12)

CWM Recovery Installation on ICS

: This rooting does not install ClockWorkMod. First run SuperSU and install SUBinary if it asks to install and then visit this thread to install L9 Recovery Installer by Artas182x. First install this app and then run app and install Recovery.

CWM Recovery Installation on Jelly Bean

: Please follow AngryWolf80's thread for installing CWM. If you dont find the information, post your question in his thread.

13)

BUSYBOX Re-Installation

: According AngryWolf80, he found some new vulnerabilities and recommended to uninstall BUSYBOX and REINSTALL it as per this thread and these instructions. Though this is applicable to the Root File released on 6th March, but these instructions by AngryWolf80, can be tried by anyone just to install and update busybox.

========================================

Troubleshooting

1) After step 2: If extracted folders need any permissions, then you should provide in folder security section by adding user "everyone" or "<yourname>" and give full access. (example video) This is Optional and should be done if you have permission errors while flashing. Do it for all three folders.

2) About 11th Step: The most common problem is you may not be able to replace the file in LG folder in quick time. You have to be very quick, so the FOLDER should be open in advance. You can even open the folder in the beginning and minimize until it is required to replace. If you are late, the LG TOOL will flash original file and root will fail. Or you can open the folder immediately when it starts at 4% and keep looking for file to replace. As soon as you see 7th BIN file PASTE it with 6th BIN, you already COPY'ed before.

========================================

THIS GUIDEBOOK IS MADE AFTER SUCCESSFUL ROOTING OF MY P765 ON UNROOTED V10G INDIA

WITH LELUS METHOD AND SOME MODIFICATIONS AND CHANGES IN FILE BY ME. IF YOU CANT DO IT, DONT BLAME ME. READ REPEATEDLY.

WARNING: USE INFORMATION AND FILES AT YOUR OWN RISK. DON'T EVEN MENTION ME IF YOUR PHONE IS BRICKED. :laugh: YOU WERE WARNED IN BOLD RED LETTERS ALREADY.

========================================

DOWNLOAD NOTE: This download package includes everything you need to FLASH and ROOT L9. It has all ADB resources, SmallServer, Rooting by Lelus, etc. You dont need to download anything else except this package.

Good Luck. :)