yashsingh1/xdaforums huggingface dataset:
[Sprint LG G3] joshp.23:
LS990ZVA on Linux (Ubuntu)

This worked great, so thank you very much, however I had to make a few modifications, as I am on linux, and I wanted to point them out. Being on linux, the BAT file is useless, so I had to do it command by command. Here we go...

First of all there is no need for drivers (pointing this out for absolute noobs), so just delete that if you downloaded it.

Second, there is a need to install the android development tools via apt. So do that. We can wait here while you Google that and work it out. This puts adb in our system path natively, so... we have to change every command in the walk through that has "adb.exe" to just plain old "adb".

Third, the Send_Command needs a linux variant as well, so there is this python script, so make sure you have python installed as well. It is worth noting that every time you have to use the Send_Command tool, just make sure you go through the motions with that tool, all of them. Here is a post that has a bit of info on that, and how to handle reboots using that tool, it has a nice screen shot as well, pictures are nice, aren't they? Essentially you place that tool in the directory you downloaded here, enter in the directory with the "cd" command and run it AS ROOT. It will give you the rest of the instructions, but make sure that you do an lsusb to get the correct vendor and product numbers. I also like to run an "adb devices" every time I plug in the device, just to make sure everything is running right, and my system is recognizing it.

That's about it.

TL;DR: Just install the android dev tools and python via apt, ignore all the windows files in the folder you just downloaded (including the one click solution), get that python script in that folder, get rid of the ".exe" extension in the walk through, and replace Send_Command with the python script. Easy.

Thanks! and good luck...
[Sprint LG G3] plobukt:
I'm on ZVA and have a few problems:

1. Phone doesn't automatically go into Download Mode. I have to manually do this. Not a big deal, but may be indicative of a larger problem.

2. The script gets stuck after finding serial port. Here's the output:

---------------------------------
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..
4940 KB/s (1048328 bytes in 0.207s)
1832 KB/s (9393 bytes in 0.005s)
5601 KB/s (4017098 bytes in 0.700s)
5635 KB/s (17825792 bytes in 3.088s)
22 KB/s (94 bytes in 0.004s)

Rebooting..

Looking for LG serial port..

Serial port not found, please insert the phone manually into Download mode.

Disconnect the USB cable and turn off the phone.
Then press and hold the Volume Up button, and while you're doing that connect th
e USB cable again.

Waiting for device..

Phone found at COM4!

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

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

#

I get stuck here for well over 30 minutes with nothing happening.

The phone displays "Firmware Update", is stuck at 0%, and says "SUSER B23" on the bottom.

Any help?
[Sprint LG G3] YellaHayes:
Just my two cents. This either works perfect the first time out you literally have to do try it dozens of times on different ports and with different USB cables. I also had to manually reboot to download mode every time it restarted. Just keep trying, it eventually works.

When booting into download mode, I did find that manually powering down instead of pulling the battery worked better.
[Sprint LG G3] likwidkool:
Woo hoo! Finally got root. Thanks a ton for the script!

And yeah I also had to turn off the phone and manually put it in download mode as well.
[Sprint LG G3] Problemhaver:
I'm getting the same dialog as everyone else. My problem is that like plobukt, i am also getting stuck in download mode every time after going into manually. the difference is that after a few seconds in download mode i get an error on my pc that msvcr100.dll is not installed and to install and try again. I tried downloading the dll file and putting it in my sys32 folder but still same error. Not sure if i'm downloading a faulty dll file or just doing something else wrong. Any help would be appreciated.

don't know if this info is required but i am running Windows 7 Ultimate 64bit.
[Sprint LG G3] l33tlinuxh4x0r:
You need some VS c++ runtime 2010 i believe not just one dll. You can download the runtime from microsoft let me find a link.. I will edit this post when I find it.

http://www.microsoft.com/en-us/download/details.aspx?id=5555
[Sprint LG G3] Problemhaver:
Awesome, thank you! i'm at work at the moment so i will try this as soon as i get home and edit this post with results

**Edit: Yes everything worked great after installing that. Thank you so much l33tlinuxh4x0r, been trying to get root for awhile now, glad i found this thread. I really appreciate your help man, thanks again!
[Sprint LG G3] abbygayle:
sweet moses!!! i had pretty much given up on root after trying 50 some times. root checker basic shows I have root! !!! Thanks!!!
[Sprint LG G3] astrobean:
Wow... I am thoroughly impressed. Thank you very much for this updated root!

This is the only root kit to actually work on the ZVA LG G3 for me. Many thanks.

Although, I found SU in my Apps, I checked the Root Check and it said it is not rooted so I am confused :eek:

EDIT:

Nvm, I entered SU, downloaded Titanium backup, did the Root check again, and there it was!

Thank you so much for the kit!
[Sprint LG G3] okn0tok:
Everything went as planned. Then the phone rebooted and said Updating Android. Still not rooted. HP! LS990 22 5.0.1

EDIT: Had to open SuperSU and enable Pro, then when I went into TB and it worked, thanks to the person above!

THIS IS THE ONLY WORKING METHOD FOR MY PHONE!! I AM SO EXCITED I AM TYPING IN ALL CAPS!!!!! THANK YOU!
[Sprint LG G3] okn0tok:
Quick question. In the original method he mentioned un-rooting by simply doing it from SuperSU. Has anyone tried that on the LS990?
[Sprint LG G3] l33tlinuxh4x0r:
That method should work, however I would delete the files that are in /data/local/tmp/ first before unrooting. The original author never deleted these files and I didn't update the script to do it either but they are the files used to root the phone so you should delete them before you unroot if you are trying to be 100% root free. If you are just trying to disable root the SuperSU app will do it for you.
[Sprint LG G3] okn0tok:
Just wondering for in the future if an update I want rolls out. Thanks!
[Sprint LG G3] l33tlinuxh4x0r:
Usually updates remove root for you... You only run into problems if you are running a custom recovery and or rom.
[Sprint LG G3] okn0tok:
I don't have a custom ROM yet. But if i open ROM manager it says i have twrp installed. I assume it installed with the one click root? Guess I could boot into recovery mode and see what I have for sure.

Edit: Haha so I looked up how to boot into recovery mode and it looks like you have to go through the stock recovery and chance factory reset on your data just to see whether its installed or not. Ill probably just not do that.
[Sprint LG G3] engine95:
If you're looking to unroot, there's more to it than SU. If you go to /persist/rct.cfg, that's where your phone looks for root. I don't know if you need to delete it also. Or if you can/should

busybox will also mess up your phone for root/unroot.

I'm doing this from memory so it may not be 100% accurate. And is just an FYI.
[Sprint LG G3] okn0tok:
Lol its all pretty confusing really. Ill just stay rooted no hurry. I was just wondering for in the future.
[Sprint LG G3] Sokesleezy:
Ran the script, its been sitting at this for 25 minutes:

"---------------------------------

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..

1878 KB/s (1048328 bytes in 0.545s)

611 KB/s (9393 bytes in 0.015s)

1965 KB/s (4017098 bytes in 1.996s)

1998 KB/s (17825792 bytes in 8.709s)

5 KB/s (94 bytes in 0.017s)

Rebooting..

Looking for LG serial port..

Serial port not found, please insert the phone manually into Download mode.

Disconnect the USB cable and turn off the phone.

Then press and hold the Volume Up button, and while you're doing that connect th

e USB cable again.

Waiting for device..

Phone found at COM5!

Installing LAF this might take a minute or two

Follow instructions carefully!

Author : blog.lvu.kr

SPECIAL COMMAND : ENTER, LEAVE

#"

Any suggestions?

Edit: using crtl + c and answering no allowed my phone to reboot and start up. But now im wondering what went wrong.

Edit: I ran the script again. this time it prompted me to enter ctrl +c then type n(It didn't the first time around). After I did this my phone rebooted normally while the script was waiting for my phone to start up in download mode. My phone booted normally(it didnt automatically go into download mode) so I restarted it and manually put it in download mode. After I did this everything ran the way it was suppose to and at the end my phone rebooted rooted!!

Thanks l33tlinuxh4x0r!
[Sprint LG G3] JAWSxs:
Just want to say this worked great. I also followed Sokesleezy's edit and had to put my pone in download mode manually the 2nd time.

after I received the message about SU it only took about a 1 minute to complete. Just give the phone a few minutes to run SU.
[Sprint LG G3] mkhmer:
SUScript doesn't run... fail.... doesn't work.
[Sprint LG G3] mindleak:
I need to tell you that I love you.

I tried just about 10 other methods and several hours of failures.

Your method worked.

Took two tries, but damn it, it worked.

Now I can finally block ads and get rid of preinstalled crap on my fiance's G3.

Thank you.
[Sprint LG G3] thetaltaro:
don't can debugging USB

I have the version LS990ZVA, don't can debugging USB, is disabled, help
[Sprint LG G3] l33tlinuxh4x0r:
Settings > About Phone > Software Information > press build number 10 times and it will activate developer options... then go to settings > developer options > enable usb debugging.
[Sprint LG G3] BrosephRadson:
I'm having a bit of an issue here.

All the necessary drivers and software are installed on my (Windows 10 x64) system.

The script fails to reboot my phone into download mode, and, upon doing so manually, it hangs at the first # prompt.

I decided to try the manual method, and this is where it hangs. I've waited over 10 minutes and nothing has happened.

E:\New Downloads\LG_Root_Script_v2.3\LG Root Script v2.3>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/
3639 KB/s (1048328 bytes in 0.281s)
9 KB/s (9393 bytes in 1.000s)
4316 KB/s (4017098 bytes in 0.908s)
4250 KB/s (17825792 bytes in 4.095s)
0 KB/s (94 bytes in 1.000s)

E:\New Downloads\LG_Root_Script_v2.3\LG Root Script v2.3>Send_Command.exe \\.\COM4
Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

#dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of=/data/local/tmp/lafBak.bin
[Sprint LG G3] cipollone88:
Thanks!

Just finished running .bat file. It did hang on one of the reboots waiting for the phone to reboot to download mode, I just had to do it manual.

SU, Busy box, Flashify and ES file explorer all confirmed root!
[Sprint LG G3] doctorhino:
Finally a method that worked

Thank you so much. Was getting really frustrated until I found these updated scripts and ran them manually. Now fully rooted!
[Sprint LG G3] fredox19:
Ok so this worked perfectly for me, (on zva) and installed twrp recovery using flashify, also did a nan backup. Is it ok now to install custom roms?
[Sprint LG G3] tdavis422:
Using manual commands works with LS990ZVB (latest update)

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

You will need to go into the McAfee app, and disable the USB protection. It will block any type of connection to the USB and also blocks root access.
[Sprint LG G3] joshp.23:
So, I have the LS990ZVA rooted from this method, and the update that sprint is rolling out won't install. It boots into the little "open android surgery" image... and reports "error" with no further details.

So I used the 1 click unroot, rebooted, and tried the upgrade again, same issue.

Thoughts???
[Sprint LG G3] l33tlinuxh4x0r:
Install the OTA without root and then run the script again... Or use twrp to flash a prerooted image.

TWRP is probably what is causing this issue. You need the stock rom and recovery for the OTA to work.

ALSO!!! I have an updated version of the script that works for ZVA and ZVB. located here
[Sprint LG G3] joshp.23:
Then I'm having trouble unrooting the phone. Right now, after unrooting via super su with then one click option in there, root checker is verifying that there is no root properly installed. However, I still get the error during the upgrade operation.

Can you help me understand what else I need to do to remove root fully? Assuming that is the problem... It is the only modification that I have done to the device.
[Sprint LG G3] l33tlinuxh4x0r:
Do you have a custom recovery or any rom customizations installed? You said no but just to be sure I'm asking again.

You could flash the update using the TOT method NOTE: It will delete everything on your phone.. Download the TOT from http://xdaforums.com/sprint-lg-g3/development/restore-sprint-lg-ls990-zvb-tot-t3219313

and use the tot restore guide from http://xdaforums.com/sprint-lg-g3/general/guide-how-to-restore-sprint-lg-g3-ls990-t2852042 All of the tools require windows and are linked in that thread.
[Sprint LG G3] joshp.23:
So... No other custom anything.... Trying to avoid flashing and having to reset everything up on my phone... Any other ideas?
[Sprint LG G3] l33tlinuxh4x0r:
If you don't have TWRP then it should flash. IF you have TWRP then you can flash a zip that fixes the android error recovery. http://xdaforums.com/lg-g3/development/fix-stuck-custom-recovery-trying-ota-t2907508

you could try this from the link above...

adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
reboot

Also even if you don't have any customizations it is smart to flash TWRP if you are rooted so you can backup your phone and do easy root updates without a full reflash.
[Sprint LG G3] joshp.23:
So I took the advice and just (re-rooted and) installed TWRP. Imma gonna back this sucker up right out. But, can you point me in the right direction to update via TWRP so that I don't have to wipe with a full flash?

EDIT: So, never mind on that. I stopped being lazy and found it ;) Thanks again!

Thanks!
[Sprint LG G3] joshp.23:
So, I'm feeling a bit lost. If I flash the update from the post I linked just above, that will erase my phone, correct? It appears as if that is flashing a pre-rooted rom that has the latest OTA already applied.

Now that I have TWRP, is there a way to update without having to flash a new rom or what have you? I've been looking, but am feeling kind of... blind :)
[Sprint LG G3] l33tlinuxh4x0r:
http://xdaforums.com/sprint-lg-g3/development/ls990-zvb-root-method-zvb-rooted-stock-t3211878 <-- try method A It will just update your rom and kernel. No wipe necessary. Also you should flash the new modem with this as well. You will have to flash 2 zip files. But TWRP will let you do both at once. Both are in the post that I linked.
[Sprint LG G3] joshp.23:
Hey, thanks a lot! I'm going to give that a go.
[Sprint LG G3] joshp.23:
Success!

So it worked great, thank you again. I shall never fear the custom recovery again, huzzah!

Question, however... now when I boot I get an error complaining about secure boot failure, error 1003. Do I need to worry about that? Everything else seems to be working just fine...
[Sprint LG G3] l33tlinuxh4x0r:
It is because you are on a newer bootloader version. To do it "the right way" you should be on ZV4 and then root install TWRP and upgrade the way that you just did.

I don't think that there is any issue other than the message itself. Sprint wont like it if they see it.. They will blame any issue on it. But if you can live with the error you are ok... You could do a TWRP backup of everything and then flash ZV4, TWRP and then restore your rom, data and cache to get rid of it.
[Sprint LG G3] chips n dip yum:
just follow the instructions ... make sure you have all drivers updated as well as dll files ... it might take several attempts ... it took me atleast 10-12 attempts ... but it finally worked ... dont give up .. i have zvb and have done this one click for 2 phones ... make sure you use the LG script v2.4 file ... enjoy this wonderful root method ...
[Sprint LG G3] cm42:
Will flashing system.img do a clean unroot from this procedure?
[Sprint LG G3] l33tlinuxh4x0r:
Yes but it takes forever you are better off flashing using lg flash tool
[Sprint LG G3] cm42:
Thanks, but I just want to un-root, not wipe the phone. Doesn't sound like the flash tool can do that, can it?
[Sprint LG G3] l33tlinuxh4x0r:
nope it cannot it completely wipes the phone. IF you flash system.img another way it just removes root.
[Sprint LG G3] aljabry2009:
I used this method with my LG G3 US990 , now there is no download mode.

any help?
[Sprint LG G3] l33tlinuxh4x0r:
flash the laf partition using dd as root from either recovery or android.
[Sprint LG G3] aljabry2009:
thanks for this information.

Is it possible to flash the laf partition using dd with unrooted device? if yes, how?

thanks again.
[Sprint LG G3] l33tlinuxh4x0r:
Yes but you need to be able to access download mode to do it.
[Sprint LG G3] aljabry2009:
Not able to access download mode!
[Sprint LG G3] Teknician:
Worked the first time, Thank You!!!! Always been a Sammy user and worried about rooting this G3, but it went perfect. SuperSU is installed and now for TWRP..... Great work..
[Sprint LG G3] Fernandin:
Please tell me the exact sequence you used, should I connect the phone first then run the scrip ? should I start the scrip then connect the phone? did you get a message asking you to unplug phone then reconnect while holding the vol up button ? I must be doing something wrong, I am sure, thanks for your help.
[Sprint LG G3] mrmondaynight:
Looks like root was successful, BUT i lost all stock apps

Contacts, email, phone, camera, gallary, messaging, etc etc.

All the icons are little android martians
[Sprint LG G3] xmachdroid:
Will this work with the ls990ZVE (Blue Steel) model?

I know, it's kind of a dumb question, but will this work for the ls990ZVE model?
[Sprint LG G3] buchananchris:
I sucessfully just rooted a sprint lg3 with this method.
[Sprint LG G3] uravian:
Works 100%

This completely worked for me hopefully it will work for everyone else
[Sprint LG G3] rickmatic:
Came from the horrible G4 to the G3 which I thought was easier to root and unlock. Was I surprised. So I'm on the ZVF update. I see some of you used this method to get root. After rooted can I use the Bump method to flash custom roms? Or should I downgrade my ZVF first to a ZVA/8? (is that possible)
[Sprint LG G3] scottyd035ntknow:
Holy crap just fought with this for like an hour on Win10 and the fix a few pages back to modify the .bat file line 27 from adb reboot to adb reboot download FINALLY did it. Confirmed root on ZVG build which is the latest version of Lollipop as of this post. I did enable diag mode and didn't have to manually reboot once. ##3424# and just enabled, no MSL code or anything for DIAG. Very VERY VERRRRYYYY happy to see that glorious Deny/Grant option after having a not very well supported phone that had no root for the last few months (Stylo 2).

Mad props here. Now to disable all the loads of bloat that was on this thing...
[Sprint LG G3] Mannaroth:
Thanks

Was struggling until i came across this handy tool, thanks a lot worked for my LGLS990ZTB On android 5.0.1
[Sprint LG G3] lobothegod:
thanks for the guide
[G4 Q&A, Help & Troubleshooting] steveperrry:
Can anyone tell me how to disable visual voicemail? I hate it. When i get a voicemail and i click on the notification it takes me to the stupid visual voicemail screen. I don't leave my data on all the time to save battery so it doesn't work anyway. I just want to be able to click on the notification and have it call my voicemail like every other phone I've ever had. God i hate Verizon. I'm really regretting signing a new contract with all the stupid crap they've done to this phone. I pray the boot loader gets unlocked. I want sure when i first got this phone whether i was going to root and rom it, but now I'll do it out of principle. My rooted s4 with hyper drive was awesome. Made me forget about how stupid Verizon is. *rant off
[G4 Q&A, Help & Troubleshooting] Droid_Junky:
bumping your thread because I'm trying to figure out the same thing.

---------- Post added at 04:52 PM ---------- Previous post was at 04:28 PM ----------

So this is what I did... First I went into my Verizon account where you can see all of your plan features. There is an option to block items. I went in and blocked premium visual voice mail. Then I went onto my phone and just accepted the prompt when I got the popup again. Apparently there are multiple versions of visual voice mail. The general vvm is simply a player that you can just hit play and hear your message. it is not visual in the sense that you can read the text... Poor choice or possibly deliberate choice by verizon on the names of the app to confuse people into signing up for the premium.

---------- Post added at 04:54 PM ---------- Previous post was at 04:52 PM ----------

Well, I could be wrong.... I can actually read the text. Not sure if I'm being charged the 2.99 or not. This is a nice reminder of why I have always rooted my phones.

update.... it seems that the only voicemail I can read text on is the one that I had saved before blocking the premium voicemail feature upgrade. When I get a new voicemail I only have the option to play the audio. So it seems to work as I described above!
[G4 Q&A, Help & Troubleshooting] steveperrry:
I looked into it more today. There is an option to block features in your account in the verizon website. I can't do it until my next billing cycle because I changed my plan and the change is pending until the next cycle. Hopefully it will work. On the phone app you can't disable the visual voicemail, but it appears on the actual website you can block both the advanced and basic visual voicemail. 2 more weeks and I'll be able to find out.
[G4 Q&A, Help & Troubleshooting] Droid_Junky:
It would not let me disable the basic visual voicemail. Something about it conflicting with the HD calling features. But what I did above does seem to work. It's really sneaky of Verizon. The way I understand it, had I not blocked the upgrade to premium on the website and accepted the terms in the app, I would have gotten a 30 day trial of the premium and then they would proceed with charging me 2.99 a month. They really need to rename the basic voicemail.
[G4 Q&A, Help & Troubleshooting] larsdennert:
You can always just turn off advanced calling. But then HD voice, video chat and simultaneous voice and data won't work either.
[G4 Q&A, Help & Troubleshooting] player911:
Weird but I can't turn on advanced calling. When I make calls it drops to 1x. When I click the option, it doesn't do anything.
[G4 Q&A, Help & Troubleshooting] larsdennert:
You have to first enable the feature by logging into Verizonwireless.com and adding the feature to your line.
[G4 Q&A, Help & Troubleshooting] SOCOM-HERO:
This is driving me nuts. I can't get the little voice mail tape icon off the dialer. When I do hit it, it takes me to the visual voice mail app and then hangs saying "something went wrong, please contact customer service...error code 9009. I gave up and removed visual voicemail from my account as the OP did. Still have the button on my dialer, but it doesn't do anything...very annoying.