[Tool] One Click Root for ZVA

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
UPDATE New tool for ZVA and ZVB located here
Now with less reboots and more reliable!!!


I have figured it out. Just needed to play with the old One Click Root from ZV8 I have updated it and am posting it below. Enjoy!
Note: This is the script version not the GUI version.
This is for the sprint LG G3 (ls990) only and might brick other devices you have been warned. However it can be easily adapted to any other model of LG G3.

First install the LG drivers if you haven't already. They can be found here
Enable USB debugging under developer options.
Then just extract the folder in the zip file to anywhere on your computer (probably your desktop) and run LG Root Script.bat
Follow the on screen instructions. There will be several reboots. More are needed for this method.
After a minute or two you will have root!

Original author's post is here here

Update: Forgot some commands and found some typos in the first couple of trys but it *should* work 100% now.
This is for the sprint LG G3 (ls990) only and might brick other devices you have been warned.

UPDATE for those having issues with DLL files download and install this

UPDATE New tool for ZVA and ZVB located here
 
Last edited:

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
COMMANDS if you want to do this without the script. Try the script first as these commands could brick things if you make a typo.

With phone on and adb usb debugging enabled do:
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/ && adb.exe push laf.bin /data/local/tmp/ && adb.exe push install_laf.sh /data/local/tmp/
Reboot to download mode and run:
Code:
Send_Command.exe \\.\COM41
When you see the # do:
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of=/data/local/tmp/lafBak.bin
dd if=/data/local/tmp/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
chmod 755 /data/local/tmp/lafBak.bin
sh /data/local/tmp/install_laf.sh
LEAVE
It should say something about rebooting. Reboot your phone when you see this. When back in android do:
Code:
adb.exe pull /data/local/tmp/lafBak.bin
Reboot back into download mode then do:
Code:
Send_Command.exe \\.\COM41
When you see the # do:
Code:
sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox
LEAVE
You should now have root.

If the script works correctly this is what you should see something similar to the following on your PC.

Code:
---------------------------------
LG Root - One click script
Written by avicohh
Updated by l33tlinuxh4x0r
For Sprint ZVA update Only
---------------------------------

Please make sure that USB debugging is enabled, and LG drivers are installed.

Starting adb server..

Waiting for device..

Device detected!

Pushing files..
2613 KB/s (1048328 bytes in 0.391s)
1228 KB/s (9393 bytes in 0.007s)
3810 KB/s (4017098 bytes in 1.029s)
3474 KB/s (17825792 bytes in 5.010s)
0 KB/s (253 bytes in 1.000s)

Rebooting..

Looking for LG serial port..

Phone found at COM41!

Rebooting into Download mode..

Waiting for device..

Phone found at COM41!

Installing LAF this might take a minute or two
Follow instructions carefully!

Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

#Please press Ctrl+C, and then type N and ENTER to reboot.?
#^CTerminate batch job (Y/N)? n

Rebooting..

Looking for LG serial port..

Phone found at COM41!

Rebooting into Download mode..

Waiting for device..

Phone found at COM41!

Rooting phone..

If you don't see the SuperSu installer script runs within about a minute,
then the root failed.

Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

#ui_print *****************
ui_print SuperSU installer
ui_print *****************
ui_print - Mounting /system, /data and rootfs
ui_print - Extracting files
Archive:  /data/local/tmp/UPDATE-SuperSU-v2.46.zip
  inflating: META-INF/MANIFEST.MF
  inflating: META-INF/CERT.SF
  inflating: META-INF/CERT.RSA
  inflating: META-INF/com/google/android/update-binary
  inflating: META-INF/com/google/android/updater-script
  inflating: arm/chattr
  inflating: arm/chattr.pie
  inflating: arm/libsupol.so
  inflating: arm/su
  inflating: arm/supolicy
  inflating: arm64/libsupol.so
  inflating: arm64/su
  inflating: arm64/supolicy
  inflating: armv7/chattr.pie
  inflating: armv7/libsupol.so
  inflating: armv7/su
  inflating: armv7/supolicy
  inflating: common/99SuperSUDaemon
  inflating: common/Superuser.apk
  inflating: common/install-recovery.sh
  inflating: mips/chattr.pie
  inflating: mips/libsupol.so
  inflating: mips/su
  inflating: mips/supolicy
  inflating: mips64/libsupol.so
  inflating: mips64/su
  inflating: mips64/supolicy
  inflating: x64/libsupol.so
  inflating: x64/su
  inflating: x64/supolicy
  inflating: x86/chattr
  inflating: x86/chattr.pie
  inflating: x86/libsupol.so
  inflating: x86/su
  inflating: x86/supolicy
ui_print - Disabling OTA survival
ui_print - Removing old files
ui_print - Placing files
ui_print - Post-installation script
ui_print - Unmounting /system and /data
ui_print - Done !

Please press Ctrl+C, and then type N and ENTER to reboot.

#^CTerminate batch job (Y/N)? n

Rebooting..

Done!
Press any key to exit..
 
Last edited:

S3V3N

Senior Member
Apr 14, 2009
2,124
7,286
203
Żagań
---------------------------------
LG Root - One click script
Written by avicohh
Updated by l33tlinuxh4x0r
Now with support for ZVA
---------------------------------

Please make sure that USB debugging is enabled, and LG drivers are installed.

Starting adb server..

Waiting for device..

Device detected!

Pushing files..
5096 KB/s (1048328 bytes in 0.200s)
1789 KB/s (9393 bytes in 0.005s)
5230 KB/s (4017098 bytes in 0.749s)

Rebooting..

Looking for LG serial port..

Phone found at COM4!

Rebooting into Download mode..

Waiting for device..

Phone found at COM4!

Rooting phone..

If you don't see the SuperSu installer script runs within about a minute,
then the root failed.

Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

######
Rebooting..

Done!
Press any key to exit..
And from 10 minutes standing in downloadmode
 

Stompy86

Member
May 24, 2013
11
2
3
New York
Should the phone be put into download mode first then connected to the computer through USB? I'm sorry i'm new to LG. I think what you have don so far is great and I just need a little help with the step by step. Absolutely positively will donate when after I figure out this process.
 

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
Should the phone be put into download mode first then connected to the computer through USB? I'm sorry i'm new to LG. I think what you have don so far is great and I just need a little help with the step by step. Absolutely positively will donate when after I figure out this process.
No, you need to have the phone on with USB debugging enabled(adb) first. That is how it sends the files to your phone. Once the files are on your phone it will ask you to reboot to download mode and it will install them.

Settings > About Phone > Software Info > Tap Build number about 10-15 times. That will enable developer options. Go to settings > Developer options, press ok and check the box USB Debugging. Then plug your phone into your computer. Change MTP mode to charge only. You will get a message about a computer RSA key. Check always allow this computer and press ok. Now run the script in the zip file and it should walk you through the rest.
 
Last edited:

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
Should the phone be put into download mode first then connected to the computer through USB? I'm sorry i'm new to LG. I think what you have don so far is great and I just need a little help with the step by step. Absolutely positively will donate when after I figure out this process.
Did you get it working?
 

Stompy86

Member
May 24, 2013
11
2
3
New York
No, you need to have the phone on with USB debugging enabled(adb) first. That is how it sends the files to your phone. Once the files are on your phone it will ask you to reboot to download mode and it will install them.

Settings > About Phone > Software Info > Tap Build number about 10-15 times. That will enable developer options. Go to settings > Developer options, press ok and check the box USB Debugging. Then plug your phone into your computer. Change MTP mode to charge only. You will get a message about a computer RSA key. Check always allow this computer and press ok. Now run the script in the zip file and it should walk you through the rest.
I turned on the USB debugging I clicked always allow this computer and i switched it to charge only. I go to run the script and its stuck on waiting for device... I tried different USB ports, I restarted both the phone and the computer and it is still stuck on waiting for device.
 

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
I turned on the USB debugging I clicked always allow this computer and i switched it to charge only. I go to run the script and its stuck on waiting for device... I tried different USB ports, I restarted both the phone and the computer and it is still stuck on waiting for device.
Did you install the LG USB drivers? Also once you do that you will need to check your phone and allow your computer to connect to it by checking always allow and pressing ok.
First install the LG drivers if you haven't already. They can be found here
Weird. So what exactly did you do? I take it that you installed the drivers extracted the zip and double clicked on the LG Root Script.bat. What has it said so far? It waits for the device several times. You might need to unplug the USB cable turn off the phone and hold volume up and plug in the USB cable while continuing to hold volume up. That will make the phone enter download mode. It should then continue.
 
Last edited:

golpeen420

Senior Member
Jun 6, 2014
410
125
0
Warrenton
@l33tlinuxh4x0r maybe you can shed some light

Ive been at this for about an hour and a half now, trying it different ways with both versions of the script, and the result is always the same; I get to this point in the command prompt:

"ui_print - Extracting files"


but it skips this part entirely :


"Archive: /data/local/tmp/UPDATE-SuperSU-v2.46.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/chattr
inflating: arm/chattr.pie
inflating: arm/libsupol.so
inflating: arm/su
inflating: arm/supolicy
inflating: arm64/libsupol.so
inflating: arm64/su
inflating: arm64/supolicy
inflating: armv7/chattr.pie
inflating: armv7/libsupol.so
inflating: armv7/su
inflating: armv7/supolicy
inflating: common/99SuperSUDaemon
inflating: common/Superuser.apk
inflating: common/install-recovery.sh
inflating: mips/chattr.pie
inflating: mips/libsupol.so
inflating: mips/su
inflating: mips/supolicy
inflating: mips64/libsupol.so
inflating: mips64/su
inflating: mips64/supolicy
inflating: x64/libsupol.so
inflating: x64/su
inflating: x64/supolicy
inflating: x86/chattr
inflating: x86/chattr.pie
inflating: x86/libsupol.so
inflating: x86/su
inflating: x86/supolicy"


and goes straight to this:

"ui_print - Disabling OTA survival
ui_print - Removing old files
ui_print - Placing files
ui_print - Post-installation script
ui_print - Unmounting /system and /data
ui_print - Done !

Please press Ctrl+C, and then type N and ENTER to reboot.

#^CTerminate batch job (Y/N)? n

Rebooting..

Done!
Press any key to exit.."


and when it reboots nothing is changed. I have no clue what I'm doing wrong but any help would be greatly appreciated
 
Last edited:

optiplex2012

Senior Member
May 23, 2012
224
19
0
i tried the script, it works as said, rebooting detecting com, running the script and when it sais to press CTRL+C its doingit, and rebooting, all works as stated
but the phone is not rooted, and supersu is not installed

its same as the guy before me, it skips the proccess of installing the SUPERSU archive
 
Last edited:

golpeen420

Senior Member
Jun 6, 2014
410
125
0
Warrenton
i tried the script, it works as said, rebooting detecting com, running the script and when it sais to press CTRL+C its doingit, and rebooting, all works as stated
but the phone is not rooted, and supersu is not installed

its same as the guy before me, it skips the proccess of installing the SUPERSU archive
When it says "looking for lg serial port" in the script, does it say "serial port not found" and make you manually boot in to download mode?
 

swapcall

Senior Member
Feb 23, 2015
304
38
48
same here..
tried 7 times with v1.2 v1. gd with GUI one but only below steps

"ui_print - Disabling OTA survival
ui_print - Removing old files
ui_print - Placing files
ui_print - Post-installation script
ui_print - Unmounting /system and /data
ui_print - Done !

than nothing tried on ZV4 and works perfectly
 

optiplex2012

Senior Member
May 23, 2012
224
19
0
When it says "looking for lg serial port" in the script, does it say "serial port not found" and make you manually boot in to download mode?
nope, it finds the com port 4 and cotinues, booting the g4 into download mode
but than in the script it just skips the part where it suppose to run the su.zip archive
 

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
This only works on the LG G3 and other phones that were supported by the older method. I was hoping that it would work on the LG G4 but no dice.
tldr, This does NOT work on the LG G4
 

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
Yeah went back to ZV8 and tried this and it worked, still no luck with ZVA
You are on a LG G3 ls990 and this didn't work with ZVA? That is weird. It worked on my phone. Is else with a G3 having issues? Maybe it is the version of windows that it is being run on. I remember that I used to have issues with the old script and had to run the following command manually. Note you might have to change the com port number.
Code:
Send_Command.exe \\.\COM4 < installRoot
 

golpeen420

Senior Member
Jun 6, 2014
410
125
0
Warrenton
You are on a LG G3 ls990 and this didn't work with ZVA? That is weird. It worked on my phone. Is else with a G3 having issues? Maybe it is the version of windows that it is being run on. I remember that I used to have issues with the old script and had to run the following command manually. Note you might have to change the com port number.
Code:
Send_Command.exe \\.\COM4 < installRoot
I am on LS990 stock ZVA. I've changed the com port like 5 times, 5 different numbers, at what point should I enter that command?
 

l33tlinuxh4x0r

Senior Member
Nov 1, 2007
1,137
448
0
I am on LS990 stock ZVA. I've changed the com port like 5 times, 5 different numbers, at what point should I enter that command?
You enter the command when the phone is in download mode. You can find the com port number in Device Manager in windows. It is usually the higher of the ports. It is never COM1 and LPT1
 
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