[GUIDE] New Root Method for LG Devices

Search This thread

Ainz_Ooal_Gown

Senior Member
Feb 3, 2013
3,846
1,720
26
Los Osos
I followed the steps to the T and i had an issue once i got into the send commands prompt. I got my com port and all, but once i tried to launch the send command file my virus scanner stopped it. I went back and told it to always ignore the issue, and even turned off my virus protection. Yet, now every time i try to open the send command prompt it opens and instantly closes. So im at a stopping point where the files simply wont run properly anymore. Most likely my virus (Avira) has permanently blocked it, even though i have told it not too. :crying:

you're supposed to open Send_Command in the command window with the command "Send_Command Com port 4" <----or something similar look at the OP you're not supposed to just open it like a regular .exe file
 

Mystikalrush

Senior Member
May 1, 2011
392
39
you're supposed to open Send_Command in the command window with the command "Send_Command Com port 4" <----or something similar look at the OP you're not supposed to just open it like a regular .exe file

Wow, total brain fart there lol! Thanks for the info, im rooted now. One thing.. i kinda forgot to do step 10 on this site, because the other website with directions says to type LEAVE and phone reboots, so do i need to go back and run the root script?
 

DRG77

Member
Jan 8, 2015
37
1
23
Cincinnati
Your actual device in download mode would show up in the usb devices section if anything....the other two are just eye candy when it comes to working with send_command...make sure all other usb devices are disconected so the only one showing up is your phone but it will also be a generic usb so it's up to you to manually change it to one from LG...if this doesn't make sense just ask and I'll send pictures in a bit
If you wouldn't mind, screenshots would help a ton. I'm lost now.

Sent from my VS980 4G using Tapatalk
 

DRG77

Member
Jan 8, 2015
37
1
23
Cincinnati
Finally Got DIAG

Well I got the correct drivers I think. But the "sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox" after send_command freezes. I'll keep trying.

EDIT: Got it rooted!! So happy! Thanks for pointing out that my drivers were bad! :D
 

Attachments

  • finally.png
    finally.png
    9.6 KB · Views: 706
  • 533d7b7282a59ca643fb39685befcbe9.png
    533d7b7282a59ca643fb39685befcbe9.png
    81.3 KB · Views: 690
Last edited:
  • Like
Reactions: Ainz_Ooal_Gown

Ainz_Ooal_Gown

Senior Member
Feb 3, 2013
3,846
1,720
26
Los Osos
Well I got the correct drivers I think. But the "sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox" after send_command freezes. I'll keep trying.

EDIT: Got it rooted!! So happy! Thanks for pointing out that my drivers were bad! :D

hip hip hooray lol well good job on getting rooted now i just need a method for my Boost LG G Stylo lol
 

storm91

Senior Member
Sep 26, 2010
60
7
I got something like this after executing the commands, but it isn't the same as the OP post step#10.

Any idea? After I type LEAVE, it boots back to the system, nothing much has changed.

druDzvM.png
 
C

cimbrum

Guest
Great tutorial! Confirm that it's working on D855 16GB European version, Android version 5.0, Software version V20h-226-03
 

schneidz

Senior Member
Dec 19, 2011
98
6
I've prepared a Linux port of the Send_Command tool. Now we can root without windows.
Thank you to Only, pangolin.rollin, and Unjustified Dev who made this possible.
http://jacobstoner.com/qcdlcomm.py
Run the python script in a terminal for instructions. Feedback is appreciated.

i am having problems on my lg-mach. i added in some debug lines:
Code:
...
def rawcmd(input):
	ser.write(input)
	out = ''
	response = False
	while ser.inWaiting() > 0 or response is False:
		response = True
		[COLOR="Purple"]print "schneidz: call ser.read"[/COLOR]
		out += ser.read(1)
	[COLOR="Purple"]	print "schneidz: return from ser.read"[/COLOR]
	return out
...
i had to load usbserial like this:
http://www.linuxquestions.org/quest...-usbserial-is-builtin-4175551166/#post5408010
Code:
[[email protected] ~]$ uname -a -m -p
Linux hyper 4.0.6-300.fc22.x86_64 #1 SMP Tue Jun 23 13:58:53 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$ sudo rmmod  cdc_acm
[[email protected] ~]$  lsmod | egrep -i "usb|acm"
[[email protected] ~]$ ls /dev | egrep  "USB|ACM"
ttyUSB0
ttyUSB1
[[email protected] lg]$ sudo ./qcdlcomm.py /dev/ttyUSB1
Special commands: ENTER, LEAVE, exit
# id
[COLOR="Purple"]schneidz: call ser.read[/COLOR]
and then it hangs forever.
 
Last edited:

Pablo1994

Senior Member
Apr 20, 2013
76
17
Heredia
Nothing happens when running the sh

I did every step correctly, but when I try to execute the last part and run the sh, nothing happens, it just jumps to another line in the command prompt and none of the prints from the sh file occur, and obviously the phone is not rooted, I tried with both ports it printed when I ran the ports.bat file, but it didn't make a difference. I'm on the LG Leon - H340Y
 

Unjustified Dev

Recognized Developer
Oct 21, 2012
7,180
13,072
23
Memphis , TN
I did every step correctly, but when I try to execute the last part and run the sh, nothing happens, it just jumps to another line in the command prompt and none of the prints from the sh file occur, and obviously the phone is not rooted, I tried with both ports it printed when I ran the ports.bat file, but it didn't make a difference. I'm on the LG Leon - H340Y
Use the new guide http://forum.xda-developers.com/showthread.php?t=3184649

Sent from my LGMS395 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 640
    Code:
    I am not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. Please
    do some research if you have any concerns about features included in this ROM
    before flashing it! YOU are choosing to make these modifications, and if
    you point the finger at me for messing up your device, I will laugh at you. 
    A lot.

    Original Guide

    Prerequisites
    1.) Download LG Root
    2.) Download LG Drivers
    3.) A micro USB cable connected to your PC
    4.) Your device must be unencrypted
    5.) Before you ask a question, make sure you looked at the pictures in the guide.


    1.) Download and unzip the LG_Root.zip in your preferred location


    I chose the Desktop for my location
    xkBEnEt.png




    2.) Enable ADB debugging on your device

    Go to Settings > About Phone > Software Information and tap build number until you are presented with "You are now a developer"
    Exit back to Settings main screen
    In Developer Options enable USB Debugging (Some devices require enabling PTP for debugging to work)



    3.) In the root of LG_Root folder start a command prompt

    Instructions may vary based on Window's version
    Inside of LG_Root folder hold shift and right click a blank space you should see "Open command window here"


    JNudOyR.png

    JMNTakw.png



    4.) Now that we have a command prompt running in the root of the folder let's get started. (Commands are copy+paste unless specified)

    Let's make sure our device is connected
    Code:
    adb.exe devices

    8ahcq3C.png


    5.) Great! My device is connected let's continue, we need to get the files onto the device used for this root method.

    In the same command prompt let's execute another command

    Code:
    adb.exe push busybox /data/local/tmp/ && adb.exe push lg_root.sh /data/local/tmp && adb.exe push UPDATE-SuperSU-v2.46.zip /data/local/tmp

    Ju0nDcJ.png


    6.) Well that was easy , let's continue (Now that we have the files on our device we want to put our device is download mode)

    (Note this method may vary from device to device)
    Power off your device
    When the device is powered off, hold volume up and insert a USB cable connected to the PC
    Wait for the drivers to install


    7.) We're almost done (you've managed to get in download mode)

    HR3cXz4.png


    8.) Let's find which COM port our device is connected to

    Double click ports.bat (This will give us the COM port in which our device is connected we are looking for the Diag port)

    You may exit this command prompt when you have your COM port number, keep the other command prompt open

    SoUGF5o.png




    9.) Let's Begin! (Keep the device in Download mode)

    Let's run Send_Command.exe (It couldn't connect? Make sure you COM port number is correct it varies)
    Code:
    Send_Command.exe \\.\COM4

    fre9Z9l.png



    10.) Final Step!!!!!! (We must run the root script)

    Code:
    sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox

    VVoIri8.png




    11.) We're done

    You may pull the battery to get the device out of Download mode


    Credit
    All credit goes to @jgkim find a post and thank this guy for posting the method.
    Thank @high247 for ports.bat
    82
    One Click Root

    You can follow the one click root guide here thanks to @avicohh
    55
    Devices confirmed working with root method (If your device isn't listed it's most likely still supported)

    • LG F60 (all variants)
    • LG Tribute (all variants)
    • LG G2 (all variants)
    • LG MS395/D393
    • LG G3 (all variants)
    • LG L90 (all variants)
    • LG Transpyre
    • LG Volt (LS740)
    • LG G Flex 2

    NOTE: Do not attempt this on devices with 5.1.1 , at the time this method was posted it worked on many firmware 5.0.2 and below. With the current releases from LG, this method has and will brick many users. This can be said for the one click method as well. Failure to read the complete thread may render your device non repairable as the KDZ firmware isn't released for all LG devices.
    29
    Linux version of Send_Command

    I've prepared a Linux port of the Send_Command tool. Now we can root without windows.
    Thank you to Only, pangolin.rollin, and Unjustified Dev who made this possible.
    http://jacobstoner.com/qcdlcomm.py
    Run the python script in a terminal for instructions. Feedback is appreciated.
    6
    Got it my driver issue fixed with the help of this post http://forum.xda-developers.com/showpost.php?p=59310899&postcount=471 the driver in the file he attached is just what I needed to get it to work correctly.

    It might also be very useful for anyone else who might run into the same problem I did. Cheers! :cool:

    ---------- Post added at 02:15 AM ---------- Previous post was at 02:10 AM ----------

    Rooted, Bootloader UNLOCKED, and installed AdFree.apk... Today was a good day!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone