yashsingh1/xdaforums huggingface dataset:
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Thanks a lot AngryWolf80. Your logic is correct. Loading script on every boot is not practical, but it is working at the moment and people are coming out of hibernation of v10g.

Please make detailed new thread with step by step workaround for this. I think, it will not be good idea to confuse newbies (like me) by starting new discussion on your new mod. You said its working for you, so please make it large. Thanks a lot.
[LG Optimus L9 P760, P765, P768, P769] csrow:
Once you have a root through this method, can you not just install CWM and flash the clean rooted 769G system back up? That way, the root will not be based on the script running on each boot.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Please let him open new thread for this discussion. He actually not yet mentioned how his root patch will work and not released it yet.

@AngryWolf80, are you there? Even I want to discuss lot about this.
[LG Optimus L9 P760, P765, P768, P769] artit:
Now I understand why Lelus recommend to clear out rooting.sh and change it's permission after root. We should put proper hdcp.sh back. If you not do it this security hole can be problem if some one replace rooting.sh to other script.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
then whats your suggestion?
[LG Optimus L9 P760, P765, P768, P769] AngryWolf80:
I made some modifications to Lelus scripts, updated su and busybox binaries and changed Superuser.apk to SuperSu.

Now after first start script will do rooting phone, cleans all remnants and restores hdcp.sh file to it original state.

Just checked it on two phones - works flawlessly.

PS: respect to Lelus, very neat root trick :good:
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Thanks a lot. Downloaded file and checked. Looks neatly done. Will try myself and if works perfect will post your batch file and related files. :fingers-crossed:

EDIT: Oh wow thanks AngryWolf80, it worked for me. Was on P765 V10G India and Removed previous root in SuperUser app. Then rebooted twice and confirmed there is no root by trying root checker. Then Run Batch File and Flashed KDZ with Hex-Modified BIN file. Perfectly on Root and seems its parmanent. Root is fine, tested ok with few apps.

I have uploaded your modified batch-file with full credit to you for new batchfile and improvements done in it.

MODIFIED SCRIPT BY ANGRYWOLF80 ADDED.

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.

My appreciation may be with short of words but hope you get feelings :) Thanks again. I hope it will work for everyone else too :D
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
Removed by poster.
[LG Optimus L9 P760, P765, P768, P769] eSZee:
Just got an L9 yesterday. Tmo USA prepaid firmware 10g.

Is this now rootable? I was reading the past few days that it was not but I'm seeing 10g files mentioned here.

Haven't had a Android phone in over a year and previous one was a bit different to root. Just trying to get myself back in the game.
[LG Optimus L9 P760, P765, P768, P769] rbraswell8:
10g for the p769 is rootable
[LG Optimus L9 P760, P765, P768, P769] Dragusdrake:
most of kdz aren't downlodable :confused:
[LG Optimus L9 P760, P765, P768, P769] eSZee:
Thanks. Will try it out tomorrow.
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
Everything seemed to go ok. How can I check if I am rooted?

---------- Post added at 05:37 PM ---------- Previous post was at 04:56 PM ----------

Nevermind. I am rooted!!!! :good: :laugh: :highfive:
[LG Optimus L9 P760, P765, P768, P769] chreiton:
Scheduled Server Maint

First off want to say thanks to all that contribute to the L9

Ive been following along with the forums since I bought my phone a couple of weeks ago. It is the P769 t-mobile USA 10g version. Ive been trying to root using the new methods but I am having no luck. Every time I click on upgrade software I recieve a popup which states LG is having server maint. This is 3rd day in a row i've tried. Still same. I can get small server running,i've edited hosts file, made sure all phone software is up-to-date...deleted it all and tried again. Several times but still the same. I've tried wiping cache, and ipconfig/flushdns too...Still nothing. Is anyone else experiencing this?
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
Check your hosts file. I was using the method for editing the hosts file here but it kept saving as a text and not to the actual hosts file. I am not a noob to editing the hosts file so I decided to try the way I normally do as the other way in the post just wouldn't work for me. Go to START, Computer, C drive (or wherever you have Windows installed) Windows, System 32, drivers, etc (yes that is the name of the folder I am not just using that for etcetera) and click on hosts. A dialog box should come up asking you to choose a program to open it and choose Notepad and add the needed lines at the end. Hope that helps. For me that was the problem I had.
[LG Optimus L9 P760, P765, P768, P769] chreiton:
Retried all steps including editing hosts file...still no luck. All I get is server maint popup, but ty for the help
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
Very strange. If you edit the hosts file you shouldn't even connect to LG's servers basically. Can you post a screen shot?
[LG Optimus L9 P760, P765, P768, P769] artit:
Before you flash please open http://csmg.lgmobile.com:9002 in your browser, it should return a Error 404 with LG Electronics Certification in title. If not, make sure you start shttp web server and proper edit host file. Your host file should look like this

# Copyright (c) 1993-2009 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

# 102.54.94.97 rhino.acme.com # source server

# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.

#	127.0.0.1 localhost

#	::1 localhost

127.0.0.1 csmg.lgmobile.com
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Root again with new modified batch file

EVERYONE ROOT AGAIN WITH NEW MODIFIED BATCH FILE

Those who rooted on 5th March 2013 or before should try ROOTING AGAIN with modified batch file by AngryWolf80 (thanks to him), which removes the process of rooting on every boot. Now its one time rooting only. It also replaces the original hdcp.sh file and removes some vulnerabilities in previous method. Working fine and confirmed by successful tests.:good: And this also enabled you to update SuperSU, Binaries and BusyBox, which was not possible with old method.

I was on P765 V10India KDZ ROM. I rooted again with same KDZ+BIN and all data, settings and apps remained as it is. But I suggest all to still take backup as usual, to avoid any unexpected issues.:cool:
[LG Optimus L9 P760, P765, P768, P769] dreamnewbie:
For me this point didn't work. I had to connect phone with booted android, and after LG firmware app extracted firmware, my phone rebooted to software upgrade mode. Maybe this will help someone :)
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Possible. But explain what do you mean by "this point didn't work"? Was there any error? More details of your error will also help many to avoid it.

Its actually very easy to get phone in SW Upgrade mode manually. Many people also forget to put phone in Debugging Mode in developer section.
[LG Optimus L9 P760, P765, P768, P769] jes0411:
Thanks to all for this method and tutorials.

I successfully rooted v10i spain last night with new bat file and patched bin, it works like a charm.

Thanks.
[LG Optimus L9 P760, P765, P768, P769] Dragusdrake:
i forgot to modify host file, now work, sorry :laugh:
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
great. :D

silly. :D
[LG Optimus L9 P760, P765, P768, P769] dreamnewbie:
When I connected phone in SW mode, LG-Firmware application on PC could not connect to phone. It printed info "reconnect usb cable, wait a while and click retry" (or similar :P). After I connected phone turned ON, it successfully recognized IMEI, model and other stuff, and after a while my phone rebooted itself to SW mode.
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
I rooted yesterday about 5PM or 6PM and when I reboot the phone still shows as rooted with Root Checker. Should I still root again? When was the new batch file added? Today or yesterday?
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Thats fine, thats LG update tools general behaviour. If anyone cannot connect properly, can try that.

just check your "RootLelus" folder. If you find "hdcp.sh", that means you rooted with new modified batch file. If you dont have that file, its Lelus's original command file which have some vulnerabilities. Everytime phone restarts, it roots phone. Better root with new method for one time root and you will be able to UPDATE SUPERSU, binaries and busybox from google playstore.
[LG Optimus L9 P760, P765, P768, P769] donk165:
Hi there, Im trying to root my P768, but im stuck at step one. I cant find the KDZ file for my phone.

I think my phone is from Taiwan but im not sure, and its running V10C but the link for this KDZ is not working on this thread. I also tried the Rom linker - Option B and it suggested V10B?

Software Version is: P76810c-466-92

What should I do? (Ive tried this rooting method and I got the error after reboot)

Thanks, donk165
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
The latest KDZ for taiwan P768 is V10E ....

Its link is working fine. I even downloaded 4 percent and then stopped. This is factory unrooted kdz. You can root with new lelus method by making your own bin file (easy tutorial for making bin file)
[LG Optimus L9 P760, P765, P768, P769] Xtrifer:
Thank you sooo much, you´re very committed, you deserve many thanks, way to go bro

---------- Post added at 03:39 PM ---------- Previous post was at 03:28 PM ----------

Friend I already read your tutorial for hex editing and is really simple, i didn´t see your tutorial before, I will do the editing and provide the edited hex file for V10A Brazil, for everyone to use, best regards and thanks for your efforts
[LG Optimus L9 P760, P765, P768, P769] donk165:
Thanks for replying.

See, im not 100% sure its from taiwan. Im guessing by the language written on the box and because there is only 1 P768 rom which is V10C and thats Taiwan. So is that enough to say its from Taiwan?

I guess the next step is flashing the V10E software then following the tutorial?

Sorry, im trying to make sure im doing it right, I had a Huawei Honor and changing firmwares completely bricked it, its made me super hesitant! :P
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
I dont know about whats written on your box. This link I provided is taken from LG server and as per information this link provides is, it is released for China and Taiwan region on 22-Feb-2013. The link itself contains the name of country it is released for. (LGP768/ATWNBK) It is for P768 for sure and it is for Taiwan for sure. Company will not put "TWN" in link, if it is not for Taiwan.

Now the only way you can find out is, download, flash and see for yourself. With your choice and with your risk. Good Luck. :)
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
lolz, wait...., Now as promised I downloaded whole 485MB file, extracted, hex-edited bin and uploaded for you. Find it in OP. Tell me if it works. Hope this helps. :D
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
So if we are re-rooting do we still need to follow all the steps?
[LG Optimus L9 P760, P765, P768, P769] Dragusdrake:
i see that before flash i have into C:\ProgramData\LGMOBILEAX\Phone LGP760_AP[1].bin LGP760_AP[2].bin etc etc of v10A... but i flash v10A with kdz method (first method)...so, this method that works with offline flash, not work for me (windows 7) can i try to put LGP760_AP[6].bin modified to C:\ProgramData\LGMOBILEAX\Phone and use kdz method?
[LG Optimus L9 P760, P765, P768, P769] Tablechair:
I think if youre already on p760 10a its easier to use old bin4ry method. Flash 10A and follow this guide if the new method is too much. http://xdaforums.com/showthread.php?t=1990705
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Re: [NEW ROOT ALL L9] [Tutorial to Root L9 with Lelus method & Offline Flash [6-Mar]

Yes. All steps. But I am sure you will find it easy and faster this time, as you will be experienced. :D

B4lista said Brazil V10A is not rootable with old method. Worth a try with new method.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Re: [NEW ROOT ALL L9] [Tutorial to Root L9 with Lelus method & Offline Flash [6-Mar]

Read whole thread and RELATED THREADS mentioned on top carefully.
[LG Optimus L9 P760, P765, P768, P769] Dragusdrake:
R: [NEW ROOT ALL L9] [Tutorial to Root L9 with Lelus method & Offline Flash [6-Mar]

i test one other thing, follow this method, i not turn off my phone, and i choose DIAG (not EMERGENCY) into tool, and the process is fine, otherwise the tool not recognise my phone
[LG Optimus L9 P760, P765, P768, P769] love4u_nav:
Problem flashing

when i select normal webupgrade test and start flash it says b2c client not installed...

i tried with 245kb setup of b2c but nothing happened same error again and again...
[LG Optimus L9 P760, P765, P768, P769] Dragusdrake:
b2c.exe is contained into RootFlash folder
[LG Optimus L9 P760, P765, P768, P769] love4u_nav:
Already tried but of no use..

Still stuck up....

b2c not installed.......
[LG Optimus L9 P760, P765, P768, P769] JustinRawr:
Reading through and trying to flash my L9, is INSTALLING SMALL SERVER a must?
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Recd this in PM today. Feel great to see a guy who simply registered to say thanks. Also happy to see he recovered and rooted in just second go. Cool.

And yes that makes XDA rich by one more person. :)

What else to say. Simply glad to read heart of azureusflames. GOD bless. :)
[LG Optimus L9 P760, P765, P768, P769] Gh0sT.RPG:
Check this thread http://xdaforums.com/showthread.php?t=2176795 :good:
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
Yes.
[LG Optimus L9 P760, P765, P768, P769] abhay1031:
Please help.

Hey guys i rooted my phone successfully but now my video player isn't working... i'm still stock so don't know the proble. any solutions

and i did a restore of the backup i made with CWM, didn't help

one more problem i'm facing is my phone isn't streaming audio through blue tooth to my BT headphone. what should i do??

new to all this..

Thanx in advance :)

p765 10g
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
@ALL

Is there anyone who can share CWM Backup of P769 V11A Canada for this thread

Please check How to create CWM Backup in post#2 of above mentioned thread.

Thanks in advance.

Install CWM if not yet installed and WIPE CACHE PARTITION and DALVIK CACHE (dont wipe data). The problem should go. If not, download KDZ again and reflash with rooting. Sometimes huge files are corrupted while uploading or downloading.

Or disable stock video player and try using MX Player. I find the stock Video Player nothing but a scrap, in comparison to Free MX Player.
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
Download (ZIPPED) LGP769_AP[5].bin and FACTORY KDZ OF V10G USA TMOBILE

(bin by me, perfect and tested ok)

i downloaded the bin file but the link V10G USA TMOBILE links to the same 75mb bin file. Where's related KDZ?

update: found KDZ 483mb hope its the right one.
[LG Optimus L9 P760, P765, P768, P769] femmefatale:
Cnt get phone to root it keep saying Intall csm b2cappsetup. Ive tried on two differnt operating systems thinking that it was windows 8. If anyone could please help thanks in advance
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
My BAD, I goofed up with link in OP. RECTIFIED. THANKS FOR NOTIFYING.

There is only one version of P769 V10G KDZ with various mirrors. You could found it here, here , here and here with 4 more links. :D All kdz links in OP are from Official KDZ Archive Page
[LG Optimus L9 P760, P765, P768, P769] abhay1031:
i restored my phone using the CWM restore file..!! now everything works...will restore all the apps by tomm. thank you for all your help..!!
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
Thank you very much to cmahendra and others who made this possible.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Isn't this funny?

Your Screenshot (attached below with post) shows, you pressed "Start Upgrade" button which is wrong.:confused:Why?

You have to press "

NORMAL WEB UPGRADE TEST

" at bottom. Very clearly mentioned with DARK RED ROUNDED LINE. in my screenshot. Seems you even overlooked my SCREENSHOT. :silly:

Come on man, don't torture me. :mad:
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
Yes i was tired, overlooked something in your instructions, but also thought the blue battery on screen indicated phone was in s/w upgrade mode because that's what i got when connected phone to pc and restarted by holding vol up + connected usb cable. Just now tried again and it restarted in s/w upgrade mode saying "S/W UPGRADE Please wait while upgrading" so i'm going to try again and follow your instructions. Thanks.
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
phew! finally rooted.

What's the next step? Unlock bootloader? Any JB/CM work in progress?

almost forgot... CWM Touch?
[LG Optimus L9 P760, P765, P768, P769] denzel09:
R: [NEW ROOT ALL L9] [Tutorial to Root L9 with Lelus method & Offline Flash [6-Mar]

Not yet, there is only a cm9 but still not perfect
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
Finally rooted, everything works. Looking forward to CWM and JB roms.
[LG Optimus L9 P760, P765, P768, P769] donk165:
Hi again,

I updated to V10E with cmahendra's offline flash tutorial, then I modded the hex file and followed this guide. It worked like a charm, I'm now rooted and all is good.

Here is a copy of the bin file I hex edited. It is for the P768 Taiwan V10E KDZ.

I hope this modified .BIN file will help out others if they dont understand the hex part.

Thank you all!
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Re: [NEW ROOT ALL L9] [Tutorial to Root L9 with Lelus method & Offline Flash [6-Mar]

CWM touch coming very soon from Artas182x. He is working on it. Keep checking his thread.
[LG Optimus L9 P760, P765, P768, P769] AngryWolf80:
Ooops folks!

Found another bummer in new rooting script. In short: after rooting you must COMPLETLY uninstall busybox and resintall it back (and I recommend you to do it in /system/xbin directory).
[LG Optimus L9 P760, P765, P768, P769] denzel09:
R: [NEW ROOT ALL L9] [Tutorial to Root L9 with Lelus method & Offline Flash [6-Mar]

How unistall completely it in this case?
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
I haven't installed busybox yet. Should i install and uninstall it? How do you install it in that directory?
[LG Optimus L9 P760, P765, P768, P769] AngryWolf80:
I've used this busybox app. It's have install and uninstall buttons. After reinstalling busybox this app can be removed safely.

---------- Post added at 03:46 PM ---------- Previous post was at 03:45 PM ----------

If you not installed it yet, but gained root by new script, busybox already installed in your phone. You should uninstall and install it.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
You have not explained what will happen if busybox is not uninstalled.

But anyways I have a habit of reinstalling busybox and updating it after rooting. Therefore I did not found any issue till date.

Updated in OP.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Congrats.

Congrats Abhay1031! Seems you could do it very quickly coz there is no complain from your side. Great. :D

Congrats and thanks donk165, Thanks for bin file share. Updated in OP. :) GOD bless.
[LG Optimus L9 P760, P765, P768, P769] AngryWolf80:
When busybox installed by root script some it applets symlinks point to wrong location. As example chmod and chown.

Correct me if I wrong, but we must change single string in rooting script:

Instead this string "/data/local/tmp/busybox --install -s /system/xbin" we must use "/systen/xbin/busybox --install -s /system/xbin".

But this stuff must be checked... I'll do this a bit later and report :)
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
you mean the busybox which is already existing in "/system/xbin/busybox" should be installed in "/system/xbin" , right? Sounds right to me. Please do tests and inform.

PS: by the way YOU HAVE SPELLED IT WRONG AS "systen" instead of "system" :D
[LG Optimus L9 P760, P765, P768, P769] Blackman75:
I rooted with the new script but I don't see busybox anywhere. Of course I am a noob. Where can I find it to uninstall it?
[LG Optimus L9 P760, P765, P768, P769] AngryWolf80:
/system/xbin/busybox -- this is binary file. During installation it creates many symlinks to applets, and yes these symlinks resides in "/system/xbin", pointing to /system/xbin/busybox.

Our rooting script does so what these symlinks pointing to wrong place. Thats because we must reinstall busybox...
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
busybox noob here not sure what its for or what it does, some kind of script manager?, not sure if i need it now or in the future. I remember my older rooted phones had it. Still not clear if its necessary to have should i install from the app store or something else needs to be done not sure...
[LG Optimus L9 P760, P765, P768, P769] Tablechair:
Hey I'm a noob too, but the way I understand it is busybox adds some standard unix commands to android. Certain things don't work without it CWM recovery for one.
[LG Optimus L9 P760, P765, P768, P769] AngryWolf80:
You right, that it does :)

I've corrected rooting script, by now it correctly installs busybox (corrected one string and added another, which set right permissions to busybox applets).

And another archive - this is same rooting script, but it also adds init.d functionality (place your script to /etc/init.d directory and it will be executed on boot). I used this to automatically overclock phone in boot time.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
Thanks a lot for your efforts AngryWolf80. Your constant work on it is only making better and better. I am testing the root method without init.d coz we have to first be sure if it is safe for all variants or not. When tested ok we will include it in OP files. :good:
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
does it mean i have to root again?
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
No. According to his last post, you just need to Re-Install/Update Busybox. This is for new rooters who dont need to reinstall busybox, if I got AngryWolf80 correctly. :confused:
[LG Optimus L9 P760, P765, P768, P769] guest_2011:
So i can install from play store, uninstall, install again, and it will be good? Still confused.
[LG Optimus L9 P760, P765, P768, P769] AngryWolf80:
1. Install busybox app from play store.

2. Launch busybox app, press uninstall key, wait until it say what busybox removed.

3. Set busybox install location to /system/xbin (in dropdown menu)

4. Press Install key, choose smart method, wait until it say what busybox installed.

5. Uninstall busybox app (optional)

6. Be happy ;)
[LG Optimus L9 P760, P765, P768, P769] pandarus:
I have a P769 V10G Tmobile.

Got stucked at 16% during update. I did replace the bin file using the posted method.

It shows "problem with communication between cell phone and PC" after the update reaches 16%

Any idea? Thanks.

Update: resolved by change a computer.