yashsingh1/xdaforums huggingface dataset:
[Sprint LG G4] autoprime:
very nice :)

OK so lets do an overview of how to flash TOTs from now on. Steps below will allow you to flash ZV9 (or higher) and also downgrade back to ZV6. Don't flash ZV5 TOT if you're on ZV6 or higher! ZV5 is qfuse v1.. ZV6 and ZV9 are qfuse v2. You can only flash equal or higher qfuse versions... NEVER lower. I mean, technically you can flash ZV5... but you will not be able to boot the phone after doing so.

Thanks to some testing from [MENTION=5933283]Awesomeslayerg[/MENTION] I think we've worked out all the kinks. I don't have a Sprint G4, so without him the specific details laid out below would not have come so quickly.

1. Download both LGUP msi files HERE and install them on your PC.

2. Boot your phone into Download Mode [Remove USB cable in phone. Power off phone. Hold Volume Up then plug in USB cable]

3. Open LGUP, select your phone model. If it says unknown, disconnect phone/reopen LGUP and try again.

4. With LGUP now opened, select the "Upgrade" option. Then below that.. select the TOT you wish to flash then hit START.

5. That's it! Just wait for it to finish flashing. LGUP makes things quite simple. You don't even have to use COM port 41 any more. Always use the upgrade option.. even when downgrading.

If LGUP doesn't wipe your data and you'd prefer to have it wiped for some reason or another... simply boot into stock recovery after the TOT flash and run a factory reset.

If you have ignored the steps above and decided to use the old "LG Flash" method, forgot to check off "Board DL" and are now stuck on the "2" screen..

1. Use LGUP to flash ZV6 and get stuck at blue screen with red "2".

2. Power off phone and close LGUP.

3. Boot into Download Mode again.

4. This time.. instead of using LGUP.. use the original LG Flash method HERE.

5. Make sure you set LG Flash to use "Board DL" at the bottom of the screen where u select DLL and TOT.

6. Should be able to flash either ZV6 or ZV9 using LG Flash (with Board DL option).

LGUP FTW! :victory:
[Sprint LG G4] Agimax:
would anybody be willing to DD a backup of the system and modem and kernel (boot) partition? is 6.0 root able?

if we can get backups we can just flash those three and should be good...
[Sprint LG G4] andrewwm:
So as of now, there is no OTA zip to install via recovery?

I can't wait!
[Sprint LG G4] itskapil:
awwwweesome!
[Sprint LG G4] garwynn:
No OTA if it's not an official build. AFAIK there is no mention of this anywhere... except here.
[Sprint LG G4] danweb66:
Root

I sent a pm to chainfire i think there may be a way to root this from within the tot with some modifying.
[Sprint LG G4] s049031:
I should've waited. The file flashed the first time and then my phone rebooted. Now I'm just stuck on a factory reset 2 screen.

I've tried multiple times to flash it again and it just leads to download failed in the LG Flash Tool.

Am I screwed, for lack of a better word?
[Sprint LG G4] Swetnes:
Simple mistake and easy fix...you just missed selecting "upgrade board dl" as shown in step 8 here: http://xdaforums.com/showthread.php?p=63041565

Now to fix....pull the battery. Put the phone back into download mode (vol up + plug in usb) and just repeat the steps only don't forget to select UPGRADE BOARD DL. [emoji2]
[Sprint LG G4] Giston141:
No thoughts or comments on this yet? I figured it would be a bigger deal but I guess a few people already jumped ship. I'm super excited to try it just wanna know if it's daily driver status. I hate upgrading then downgrading.
[Sprint LG G4] s049031:
And just to be on the right page. Which dll file should I be using?

I'll give it another go when I'm home. Thanks for the help.
[Sprint LG G4] Swetnes:
The one on step 2.

---------- Post added at 03:31 PM ---------- Previous post was at 03:29 PM ----------

The ONLY issue that I have found so far is with Android Pay...it says that it cannot verify if I am running a compatible version of Android...really kind of ironic! My only thought is ZV9 is not official yet so maybe that's why.
[Sprint LG G4] s049031:
Okay, thank you! I'll let you know if it works.
[Sprint LG G4] Giston141:
Reporting back. Just got through my first day with is. So far everything works flawlessly and smooth. But I'm at 13% at typing this and it's only had about 8 hours of life with abou a 1/3 of that actual SoT with auto brightness. I got about 28 hours with full brightness before the update and more SoT I'm stuck for my love for marshmallow so far but the battery life might be a deal breaker for me. Haven't tested Android pay get. Waiting for a new credit cerd in the mail. Will report back.
[Sprint LG G4] kangta05:
That sucks about the battery life. But it's a start
[Sprint LG G4] Agimax:
We already have reports of not being able to TOT back to LP5.1 after taking this TOT 6.0M update.

Also, i have gotten to fastboot mode and done some testing, from ZV6

http://xdaforums.com/showpost.php?p=64167865&postcount=330
[Sprint LG G4] s049031:
I followed the steps above and still getting an error. Here's a screenshot: http://i.imgur.com/19gg1Tm.jpg
[Sprint LG G4] PureLife90:
That's the error I get when I kept trying to TOT back to 5.1. I do believe, as [MENTION=2158849]Agimax[/MENTION] said, once updated, you're stuck. I'm willing to do any testing anybody needs me to do. [MENTION=2158849]Agimax[/MENTION] just lemme no if there is anything I can do. I'm willing to do whatever it takes!
[Sprint LG G4] Swetnes:
When did it give you that error? Did the phone reboot into miniOS? If you do get into miniOS you'll be fine. I also get the error, but only after rebooting after the initial flash.
[Sprint LG G4] s049031:
I get to the miniOS just fine. The error shows up anytime I try to flash the TOT and DLL. I tried a different computer and it did the same thing.

I'm on my backup phone right now, I figure I'll just have to wait for the official release or something.

---------- Post added at 02:16 PM ---------- Previous post was at 02:15 PM ----------

The first time I flashed, everything went fine and the phone rebooted, but went straight into the red 2 screen.
[Sprint LG G4] droidjosh:
I've tried that. Also tried Google messenger and hangouts same issue. Even ran a factory reset. I get pictures, just fails to send.
[Sprint LG G4] Doomstang:
Profile update?
[Sprint LG G4] surge27:
Try using Textra
[Sprint LG G4] parin11:
Awesome Guide autoprime

thanks
[Sprint LG G4] PureLife90:
Still no root? �� I'm eager to play with this again! I just need my WiFi tether! If I flash a stock rom and set my apn settings to obtain WiFi tether, then update via zip, will I have tether still?
[Sprint LG G4] mswlogo:
That's an interesting idea. All I want is tether also.
[Sprint LG G4] 2348z:
Root is the only thing I'm waiting on. Hate bloatware.
[Sprint LG G4] ElectroBeijing:
So I've tried connecting my G4 to LGUP twice, on both Windows 7 and 10 (different comps). Both times, I've had no luck in getting it to recognize my phone. I have the drivers for the phone installed, installed both files in the .rar, my device is in MTP mode, and I tried that method in the LGUP thread on getting it to recognize when it doesn't. No matter what, it will not show up (it does in file manager though). Am I stuck with just waiting until it pushes to me (which it should've by now?)

Also, so if I do have to wait- I'm going to be out of the country for the next 3 months. Will it push to me while I'm there, or is it only while in the US?
[Sprint LG G4] lordnihilusmd:
Does anyone know, is it possible to flash the Sprint ZV9 firmware on LG G4 AS991 (cspire/ntelos etc) ? somehow to change the ls991 to as991 in TOT file headers or something to pass the verification. This phone is 100% identical with LS991, it is just a ls991 with different software but gsm/wcdma bands are disabled. I tried to use shortcut master to enable some additional lte/gsm/wcdma bands and also CDMA TOOL didn't help and there aren't any custom roms for it.
[Sprint LG G4] MikeWjF:
Let the phone install the proper drivers on your PC.
[Sprint LG G4] surge27:
Anyone have luck downgrading to ZV6? Got it to boot but gets stuck on sprint splash screen.
[Sprint LG G4] PureLife90:
Any luck on wifi tether?! :(
[Sprint LG G4] SantinoInc:
Are these the steps I would take being on stock rooted ZV6?

1. Download both LGUP msi files HERE and install them on your PC.

2. Boot your phone into Download Mode [Remove USB cable in phone. Power off phone. Hold Volume Up then plug in USB cable]

3. Open LGUP, select your phone model. If it says unknown, disconnect phone/reopen LGUP and try again.

4. With LGUP now opened, select the "Upgrade" option. Then below that.. select the TOT you wish to flash then hit START.

5. That's it! Just wait for it to finish flashing. LGUP makes things quite simple. You don't even have to use COM port 41 any more. Always use the upgrade option.. even when downgrading.
[Sprint LG G4] sandroiduser:
Yes, those are the steps... Keep in mind you WILL loose root. As of today I don't believe there is a zv9 rooted image method.
[Sprint LG G4] dr_gibberish:
Is anyone even working on root? (Is Marshmallow rooted for any other versions of the G4?) I am still waiting to update because I don't want to lose root, but if its just not going to happen maybe I should just update now...
[Sprint LG G4] SantinoInc:
I personally am going to stay on my rooted ZV6. I really love this phone but when it comes to development for it there are only a few guys out there working on things.
[Sprint LG G4] donbudafuko:
Ya I here ya..i am trying to Get some ppl to help port some stuff over but not getting any an I'm not that good at this stuff..I do it shouldn't be hard as all the g4 r pretty simular...i know there r a at less 1 rom that the international g4 has that would be nice an 1 on the T-Mobile forums that would be nice to have but like I said not getting help on making ports or even a patch for them...
[Sprint LG G4] EllGuapo:
Waited and never got the OTA so I pushed the update.zip, many thanks for posting that (and earlier instruction on how to push it to the phone -- that is about the furthest I normally want to go with ADB commands). Everything feels so snappy here, much smoother and faster, like the way I expected the phone to run from the start. I say sayonara to Lollipop, this is a huge improvement, for me, and we're pretty lucky to get the update to MM this quickly, IMO. I am okay running things almost stock, so far on this phone, so I can live without root and wifi tether until they are figured out.

I also wanted to say to the people who "can't live without tether so you can't upgrade" -- maybe you should consider paying for the service as it seems you are gobbling down many GB of data and slowing things down for others, and Sprint is probably losing money on you. Opening a can of worms there I know, sorry if I shouldn't post things like that in development or on this thread, just wanted to say thanks and I'm loving the update, I'm stoked on this phone again!
[Sprint LG G4] scooter1979:
Do you have your phone in download mode? Turn the phone off, hold volume up, then plug in the usb cable connected to your computer.

That step is listed in autoprime's instructions (post #2 in this thread) for LGUP up/downgrades. MTP mode won't matter because you won't be in the OS, just the "firmware update" mode.
[Sprint LG G4] Rammv:
I had this happen to me. I went to the lg website and installed the universal drivers from the site. Then it would recognize my phone. Would not recognize with the phone installed drivers. Everything flashed fine after that.
[Sprint LG G4] antonio824:
These users have very very very little effect on network performance. Especially with LTE. Don't buy into the network/industry BS.
[Sprint LG G4] tabp0le:
Here is a mirror: https://cloud.spryservers.net/index.php/s/2RSj3VeSNshA0GD
[Sprint LG G4] ElectroBeijing:
Thanks for the help here- luckily, I just got the OTA yesterday, so I'm down with the official push now :cool:
[Sprint LG G4] mswlogo:
I think there are a few bad apples that have used 100's of GB to run their whole house that spoiled it for everyone. I saw it often bragged about on this site.

You do have to realize too that there are way more smart phones on the network than there used to be. And the Network (including LTE) is very loaded, huge differences at 3AM (60 mbs) and 8PM (2 mbs) on LTE.

And if there are hogs using 100GB+ then I say boot them. But everyone suffers.

I just caved in and bought the plan. $20.00 for 2GB of Tether. I was happy to just use USB Tether on the LG G4 but I just switched to iPhone because I want to develop an app for the iPhone.

iPhone lumps USB and WIFI Tether in one switch, so it's all or none. And I don't care to Jailbreak it while doing development, it gets complicated.
[Sprint LG G4] donbudafuko:
is there anyway to force 2g...I want to teather but don't want to use my 10gb of LTE..would like to save that... I'm not lucky to have unlimited LTE :(
[Sprint LG G4] lafinjack:
I'm not sure exactly how to do it manually, or how you would go about automating switching them off and back on, but you can disable certain bands the phone uses to access 2G/3G/4G/LTE. I ASSUME this would make data go on your 2G allotment, but don't know for sure.

Your best bet would be to research the specific bands/mhz Sprint uses for each type of data. Pick which ones you want to focus on. Get Quick Shortcut Maker. Type in 'iot' in the search field, select 'IOT Hidden Menu', then 'try'. Under 'System Selection -> Network Mode' are some promising settings, and 'CDMA Settings -> CDMA Preferences', but that whole section there might give you what you're looking for. Once you find it, you could then look into making a macro or something to switch it back and forth. Good luck!
[Sprint LG G4] d7racerx:
If I already have mm installed from Sprint. Can I root it still already on the latest. Just want root access
[Sprint LG G4] carrilloevo:
I just got another upgrade after MM any body else?
[Sprint LG G4] Swetnes:
Just got one too....going to look into it but prob. just a sec update.

Updates to ZVA and security patch to 1.1.16....boot splash screen is different. So far that's all I can tell.
[Sprint LG G4] carrilloevo:
Do you do the Hotspot mod? Wonder if still working after the update
[Sprint LG G4] Swetnes:
No...have a plan with hot spot.
[Sprint LG G4] Behkho:
Hi. I'm trying to get a smartphone for the first time.

I got an used and locked G Flex 2 LS996 to use at Ringplus out of my ignorance. I didn't know they have to be unlocked even if it's a Sprint phone for Sprint MVNO. Sprint refuses to help me, so I'm following guides to root and unlock.

I used this guide to root zv9 (I think it's rooted since Titanium app gets root access). Following this sim-unlock guide seems to require downgrading to zv6, so now I'm at this guide.

But when I use LGUP, it says the version is 'LS996ZV4' even though what's installed is zv9, and trying to upgrade using linked file, LS991ZV6_12_ARB02.tot, results in error, 'Error: TOT file is invalid[1]'.

Any suggestions? Thank you.
[Sprint LG G4] jlv3:
I think ZV9 for the LG G4 is not the same as the ZV9 for the LG G Flex 2.
[Sprint LG G4] Behkho:
LGUP correctly recognized the device as LS996 but rooted zv9 as zv4. And would it matter if zv9 of G Flex is different from G4 when flashing? Wouldn't it be a problem if zv6 I'm trying to get were different for the two devices?

By the way, I don't know if there are different zv9 for different android versions, but mine is 5.1.1.

Does 'tot' imply it's a unrooted version and 'ota' rooted?
[Sprint LG G4] brndn67:
EDIT- So can I just use the top method from the second post? My only concern is I am rooted right now and will be going from vz6 to vz9.

Can someone help me with a guide to go from ultrapop 1.51 rooted to android M? I don't need root anymore and just want the phone to be able to take otas as normal. I have no idea where to start and can't seem to find much. From what I have seen I can just do the TOT method using LG UP, but I do not have a backup phone and need to make sure I am not about to brick my phone.
[Sprint LG G4] MikeWjF:
Wait, you rooted your G4 with MM using this method?
[Sprint LG G4] Behkho:
No, mine is G Flex 2 LS996. I rooted it using the guide linked. I was trying to use guide in this thread to downgrade from zv9 to zv6 so I can unlock it following this guide.
[Sprint LG G4] andrewwm:
Did you happen to capture the OTA zip file?
[Sprint LG G4] adrs168:
[/COLOR]

Sorry I am newbie...

How do I flash this open source ?

So I must from ZV6 unrooted right ?

Many thanks
[Sprint LG G4] 2348z:
Follow this http://xdaforums.com/showthread.php?t=3205640 make sure you push the one with ZV6 w/o Root then you will be able to upgrade.
[Sprint LG G4] gLam16:
Hello guys ,

I already update ZVA But no GSM Data right now. Try to already edit apn. I did this but still no data.

Any ideas ? Thank you.
[Sprint LG G4] kmcphee:
You need to update profile and then I suggest to update PRL
[Sprint LG G4] ngohuuluan:
Hi, show me how to add/edit apn on ZVA/ZV9 thank you
[Sprint LG G4] cbr150r:
As of I can find, cannot add/edit APN on ZVA/ZV9 directly. The only way is back to ZV6 and then leave the APN settings open then upgrade to ZV9/ZVA but I have not tried mine.
[Sprint LG G4] kmcphee:
I had the same problem do this

You need to update profile and then I suggest to update PRL
[Sprint LG G4] DaemeonZane:
Is there a new root method for ZV9?
[Sprint LG G4] Mike26037:
Stuck at boot screen?

I followed all the steps you gave for LGUP and now my phone wont go past the boot screen. Please help.
[Sprint LG G4] bodusman:
LG G4 from sprint (LS991) not starting after a downgrade attempt

Hey guys, I was not aware of this and I bricked my phone, LG G4 from sprint (LS991); it is not starting anymore.

is there anything to do at this level?
[Sprint LG G4] garwynn:
Should at least get to splash. If it's not doing that, nothing can be done.
[Sprint LG G4] jlv3:
Thanks for a really great set of clear, concise directions!
[Sprint LG G4] Junaid Khaan:
Could you please guide me regarding zvb rom is it work on zvb aswell???
[Sprint LG G4] NimaXDA:
Will this work for ZVI version? Has anyone tested it or found the ARB or QFuse v2 or 3... ?
[Sprint LG G4] TheMadScientist:
You will brick you cannot downdgrade anything lower than ZVA
[Sprint LG G4] NimaXDA:
That means I have to use my phone without 3G/4G?
[Sprint LG G4] TheMadScientist:
Sprint and lg have made it quite difficult. This issue is on the g5 too. It sucks. But same as always Sprint phones are not most compatible on other networks
[Sprint LG G4] lgg4inhell:
I have an old LG G4 which was stuck on boot loop. i stumbled on this article and tried to give it a shot.

Before i tried to manually reset the phone (factory reset), it did nt work

now in LG UP it shows up LS991 with ZV5 version.

And if i try to flash ZV5 OR ZV6 tot file it gives error that antiroll back number is lower on the file and can not be rolled back.

Any help is appreciated.
[Sprint LG G4] steadfasterX:
Check your real ARB with SALT first. Go into advanced menu and share the logfile.
[Sprint LG G4] ma7moud3bdoo:
Hi i am using lg g4 ls991 but it shows in software info that it's h815 can you help me to rollback to ls991
[Sprint LG G4] Awesomeslayerg:
Ima try the root injection method ill report back once im done.. Cant believe i have to sacrafice my rooted lolipop.. Ah well whatever.
[Sprint LG G4] Awesomeslayerg:
Now im getting 00064

---------- Post added at 10:55 PM ---------- Previous post was at 10:43 PM ----------

Did you fix it my phones ****ed up too -_-
[Sprint LG G4] Swetnes:
Ok from the miniOS it should say to press OK. Then from there look for the "normal reboot" button. Hold down power and select it.
[Sprint LG G4] Awesomeslayerg:
Theres no ok button it just stuck at factory status 2?
[Sprint LG G4] Swetnes:
Factory status 2 is from selecting the wrong option in the LG flash tool. Do a battery pull to power off the phone. Then hold down the up arrow and plug the phone back into the computer to re enter download mode. Open up the flash tool and select the BOARD DL option, then click OK...then next screen that comes up should say BLOARD DL. See my screen shots.
[Sprint LG G4] Awesomeslayerg:
Yeah i just did that gave me a _preparedload download error
[Sprint LG G4] Swetnes:
Yeah that might when trying to do the ZV6 tot after the failed attempt with the ZV9. I had the brain fart when first trying to update to ZV9 and forgot the BOARD DL. However, when I re-did it with the proper setting it did what it was supposed to do. Now the LG flash tool did give me a download error, but that was after the flash and the phone rebooted into miniOS, where I had to select Normal Boot from there and my phone booted into 6.0...are you trying to go back to ZV6?
[Sprint LG G4] Awesomeslayerg:
No im using the original zv9 download

---------- Post added at 12:23 AM ---------- Previous post was at 12:19 AM ----------

Oh yeah it shows the mini os logo but goes into factory status 2
[Sprint LG G4] s049031:
Same here, I tried to go back to zv6 when the first few failed. I've tried the board method, but I get the error every time. It always stops at 18s. And at boot I get the number 2.

Should I be getting the DBMS screen when I first open up the LG flash tool? I've read mixed things about that. And if so, what should I choose?
[Sprint LG G4] Awesomeslayerg:
Did you try flashing a z5 instead of zv6?
[Sprint LG G4] s049031:
I could give it a shot, as long as there's not a chance that I'll make it worse.
[Sprint LG G4] Awesomeslayerg:
Hmm i think ima try getting LGPNST to work with this
[Sprint LG G4] SantinoInc:
Some real adventurous MoFos in here. I wouldn't try this with my worst enemies phone. Hope you get you phone back into a usable condition
[Sprint LG G4] Awesomeslayerg:
Ugh they should delte the link since not alot has been confirmed about this otherwise a good tutorial on how to flash this would be nice.
[Sprint LG G4] tpike1296:
I've been running it for about a day. Seems to run just fine. Haven't tried to TOT back, and I'm hoping this doesn't somehow end in being stuck on this firmware for some reason. Otherwise, just waiting on root and I'll be completely satisfied.
[Sprint LG G4] Awesomeslayerg:
I think were screwed or we have to get a replacement :P
[Sprint LG G4] Swetnes:
This might be a long shot but I remember that I uninstalled and reinstalled the drivers in between the bad flash (factory reset 2) and getting it to flash because I couldn't get the computer to recognize port 41, so maybe this will work. Just remember to reboot after uninstall and reinstall. Good luck.
[Sprint LG G4] garwynn:
The way to flashing it hasn't changed since the last build. The issues that people are having are in trying to roll back if I'm reading this all correctly.

Check Post #2 here for how to flash:

http://xdaforums.com/sprint-g4/development/restore-sprint-lg-ls991-zv6-tot-t3213196

And I'll update OP noting the rollback concerns but this isn't a new deal - it was the same with some Samsung leaks. Don't flash it unless you're okay being stuck with it, period.
[Sprint LG G4] Awesomeslayerg:
Im actually trying to reflash it but it wont let me this time for some reason the Z9
[Sprint LG G4] garwynn:
What does it show on download screen before start flashing?
[Sprint LG G4] Awesomeslayerg:
On the phone it sekf it says Frimware update blah blah and the bar below. It shows normal download mode How ever once it gets to 9% it failes saying _PrepareAfterDload download

000000064

http://pastebin.com/T3mpRd8Q

at the end.
[Sprint LG G4] garwynn:
Your error shows that the port is set to COM10, not COM41 like it should. So when it tries to send the data, it's failing on the connection.

You will need to change this manually in Device Manager.