yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G3] Blutdroid:
Question about attempting this method on the LG G3 d85130D version:

I can attain temporary root with the Kingroot Application, I download the latest TWRP.img, but when I attempt to flash it via terminal commands or flashify, the phone boots into an LG logo bootloop. I tried the USB method, but my computer could never recognize the device in the ADB terminal, nor could I locate a proper "Android" device under hardware, hence why I used the terminal app method.

Any suggestions, or am I doomed to temporary root every time I restart the phone? Is there perhaps a KDZ that is older with a simpler root method than Kingroot + TWRP flashing?
[T-Mobile LG G3] jdmst77:
I came across this when trying to figure out why I can't get into recovery anymore. My phone was rooted a long time ago, through Kingroot, and I removed everything related to Kingroot from TWRP before flashing the zips in the OP. I had no problems getting in and out of root until I flashed TWRP 3.1.0. Now whenever I try to access recovery, the device is thrown into a boot loop until I pull the battery or hold down the power button for 10 seconds and let the phone boot normally. I tried to go back to TWRP 3.0.2 but there was no change in reference to booting to recovery. Are you having this same issue?

For your issue, and mine, we may have to flash the 30D kdz and start over. I'm not sure what happened to my recovery but in the past, I was able to follow the steps in the OP and had no issues.

If anyone has any input, it would be greatly appreciated. Also, I have a second D851, wife's, that's rooted and can get into TWRP 3.0.0. I'm hesitant to update her TWRP to 3.0.2 or 3.1.0 since I don't know what prevented me from getting into recovery on my device. Is there anything that I can use/extract from her device to fix mine and Blutdroid's?

EDIT: Out of frustration and realizing that my wife's phone was using TWRP 3.0.0, I tried installing that version instead of 3.0.2 or 3.1.0 and was able to boot into TWRP again. I downloaded a fresh copy of 3.1.0 and installed it through TWRP, rebooted into recovery and was immediately thrown into the same boot loop. Is anyone else having issues with 3.0.2 or 3.1.0? 3.0.0 works fine, even after installing again through the dd method

EDIT: EDIT: I was able to flash 3.0.2 but only by first being on 3.0.0
[T-Mobile LG G3] fenonce:
After it does android is starting it stays at a blank screen that is like black-blue. Did I do something wrong?
[T-Mobile LG G3] Brads77:
Download link not working?

Could you please check your download links. I have been trying since yesterday to download the files but keep getting message that the site is down or has been moved.
[T-Mobile LG G3] Jodsfk421:
Compatibility Patch?

Has anyone gotten or installed the compatibility patch? Do you know if i'll have any issues with root staying in place or anything I should keep in mind before downloading.

Also, just want to confirm I CAN NOT flash 30E and keep root / revert to previous versions?

Thanks in advance.
[T-Mobile LG G3] bluehacker007:
I am on 30E and have root. I don't know about ability to revert to previous versions though.
[T-Mobile LG G3] marcdw:
I'd also like to know about the compatibility patch. Every once in awhile when I run a stock ROM I see it available but I never install it.

Just never knew if was just something harmless or not.

LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] catatized:
Download link is still down... Can you fix this or this now diw?8
[T-Mobile LG G3] marcdw:
I just tested it right now. Download link works but I remember the site acting strange at times. Especially if you abort a download and then try again. Sometimes it wouldn't let you.

Just tried with a Mozilla based browser.

Anyway, I have the COMPLETE and AUTOREPACK zips up on Mega if you need those two.

https://mega.nz/#F!vNAFDa5B!FPrkwAMBNaqA0Lf4jQpW2Q

ZTE Axon 7 A2017U, crDroidAndroid v3.4 ROM, Llama Sweet Kernel, NanoMod-microG (NoGapps), Tapatalk 4.9.5
[T-Mobile LG G3] weirdzombie_21:
I have:

LG G3 D851 Rooted 4.4.2

Software Version:

D85110r Not TWRP

Should the method given below works for me if i want to upgrade from 4.4.2 to Marshmallow!

TWRP + Flashable-ZIPs:

These directions should be used by anyone who already has TWRP installed on their D851.

I used the latest TWRP 3.0 build @ https://dl.twrp.me/d851/

Don't want root? Then it's probably easiest to just flash the stock KDZ using LGUP.. or just skip the SuperSu steps.

1. Download the following 3 files and place them on the internal or external sdcard:

a. LG-D85130D-Flashable.COMPLETE.zip

b. LG-D85130D-Flashable.Boot-AUTOREPACK.zip

c. SuperSU 2.65 or higher. [STABLE] or [BETA] Thanks to Chainfire!

2. (re)Boot into TWRP if not there already.

3.* Backup current partitions: boot, system, data, efs (backing up anything is optional but suggested)

4.* Up to you if you want to wipe data (TWRP > Wipe > Swipe slider) but not needed if coming from a stock rom.

5. Install the 3 zip files you put on your sdcard, 1 at a time:

a. LG-D85130D-Flashable.COMPLETE.zip (Install > select zip > swipe to confirm/flash)

b. LG-D85130D-Flashable.Boot-AUTOREPACK.zip (Install > select zip > swipe to confirm/flash)

c. SuperSU zip (Install > select zip > swipe to confirm/flash)

After zips finish flashing you can reboot! If TWRP asks if you want to install SU, hit no. If TWRP says No OS installed, ignore it.
[T-Mobile LG G3] marcdw:
[MENTION=6810536]weirdzombie_21[/MENTION], not sure why you included the steps from the OP.

If you're not rooted and/or don't have TWRP then those steps won't work.

If rooted, get TWRP installed.

If not rooted then you'll have to get that done first. Back when I was on 10m I used the PurpleDrake method (few years ago).

You could also use the computer and install the KDZ, as it says. I think.

LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] weirdzombie_21:
Nope I have root access (Android 4.4.2) and TWRP Installed,I just wanted to confirm that the above mention works for me or not :|
[T-Mobile LG G3] potatoknight8:
Can I flash D851 30D with TWRP over Stock Rooted 4.4.2 D851 10r ROM!
[T-Mobile LG G3] marcdw:
I guess you didn't read any of the messages above?

LG G3 D851, crDroidAndroid v3.5.1 ROM, Artx v5.0 Kernel, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] potatoknight8:
I haven't why!
[T-Mobile LG G3] marcdw:
Oh, because we were just discussing that subject before you posted.

It's customary to check, read, or search first before posting questions. Sometimes you'll find the answers may be present or see success/failure stories depending on the topic.

ZTE Axon 7 A2017U, OctOS ROM, Llama Sweet Kernel, Tapatalk 4.9.5
[T-Mobile LG G3] tracyt:
Did the 30g update break something in the usb connection. I can't get any of my computers to recognize my phone???
[T-Mobile LG G3] zimmerma379:
What is AUTOREPACK?

Can anyone help me understand one of the components here? What is the AUTOREPACK boot.img? It's a SuperSU-modified stock boot.img? In what particular way(s)? I'm asking because #1 I like to fully understand how all this stuff works and #2 I'd like to use the process described here with the 'D85130g_00_0420.kdz' I've downloaded to go from D85120G to D85130G. Thx!
[T-Mobile LG G3] MESA:
Go here and download this. Just flash it in TWRP after wiping and flash magisk. And you will have the latest rooted v30G. :)
[T-Mobile LG G3] decaturbob:
Mesa,

been over 3 years since I rooted and installed my custom rom on my D851 LG3, so to upgrade from my 4.4.x 10R based rom you are saying I just download the LG-D85130G-Flashable.COMPLETE.zip and then flash Magisk all thru TWRP and don't have to unroot or anything else? I'm just asking as Im not familiar with Magisk and looked at that topic and it said to unroot before flashing
[T-Mobile LG G3] MESA:
Well I think it should work because this contains almost all kdz files. In worst case scenario, you should have to flash lollipop kdz and root it and then flash this.

Follow this:

1. Wipe from twrp(without internal and external storage)

2. Flash LG-D85130G-Flashable.COMPLETE.zip

3. Flash this https://mega.nz/#!KZlm2ZIY!LUCjzTc3AXm9-F2KmEfp2oj2It9iAOTDSyGNeUrDzIE (you can skip it if this don't work)

4. Download and flash magisk 13.3

5. Finally reboot and enjoy the phone :D
[T-Mobile LG G3] billard412:
So i made a 10M kk version of this. Is it safe to use it to downgrade? I know some phones can brick if you downgrade like this.

I also see this doesn't flash the rct or gpt partitions. Any particular reasons? Is it safe to add them to mine?
[T-Mobile LG G3] fivemill:
So the OP says: LG-D85130D-Flashable.COMPLETE.zip 100% stock untouched system, boot, modem and bootloader. Recovery is not included so you don't lose TWRP.

I'm needing my phone to go back to stock Marshmallow 100% untouched, including recovery. What is the best way to accomplish this? The lgmobile.com site used to have a kdz file to download, but I cannot find it any more. Thanks in advance!
[T-Mobile LG G3] marcdw:
Link to the KDZ is in the OP. Codefire site. Just checked and it works.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] fivemill:
Indeed, thanks for the pointer. I initially didn't know which file it was.

For anyone else, D85130d_00_0404.kdz in the codefire directory is the complete stock kdz, including recovery.
[T-Mobile LG G3] marcdw:
Tested it but didn't actually get it. I better download that while I can. I have two D851s, both with failed SD card slots. I might want to send one in for repair (if affordable) so I'll need to go stock, too.

LG G3 D851, LiquidSmooth v4.1 ROM, MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] Braaainz:
I was rooted on stock 30d.

I recently tried flashing a new ROM using TWRP 3.1.1 and it borked. I lost TWRP and root.

I used KingoRoot to regain root, then flashed TWRP 3.0.2. I then restored a previous NANDROID to regain permanent root.

However, when I restored the previous NANROID, I got "Unable to locate '/firmware' partition". The rest of the restore worked however and I'm once again rooted with TWRP.

I flashed a 30g ROM and replaced SuperSU with Magisk. I've reflashed TWRP 3.0.2 also.

However, whenever I'm doing a NADROID backup, I'm still getting the :Unable to locate '/firmware' partition" at the beginning and end of making the NANDROID.

Everything seems to work, but I'm wondering if it might be a good idea to do a total reload of firmware and the works.

If I flash these files thru TWRP, then TWRP and Magisk, will I retain root and also have a total reset of firmware, partitions, etc?

I'm thinking no, that I have to use LGUP to flash the kdz, but am hoping I'm wrong.
[T-Mobile LG G3] akshargajjar:
thank you it works

can u show me how to install RR 5.8.4 LATEST on d851 after above procedure step wise

becasue im new here

thanks mate
[T-Mobile LG G3] kinfolk248:
Am I the only one trying to get 30d running on a nougat rom? Do I really have to downgrade all the way back to the complete zip, modem, su, or whatever in the op? Who is gonna say yes and make me cry?

I'm on the 10b modem btw
[T-Mobile LG G3] marcdw:
Not sure what you mean by "30d running on a nougat ROM". 30d is marshmallow so it doesn't run on anything except itself. ?

What exactly is it that you are doing or want to do? And what is 10b. When I got my G3 D851 back in mid 2014 it was on 10m KitKat. Was on 10r up until it got bricked late 2016. A couple of early Nougat ROMs worked with 10r. Now it's on 20e (partitions) with 20g modem. No problems up to and including Oreo.

Please give us some details. See if we can help out.

ZTE Axon 7 A2017U, Dark ROM, microG (NoGAPPS), Tapatalk 4.9.5
[T-Mobile LG G3] kinfolk248:
Yea i realized i said 10b instead of 10m, twas texting a hunny and falling asleep lol. But yea I am on 10m now and wondering how to get a more modern modem basically. I am running a nougat custom rom now. I only want a newer modem to see if it will get better signal in some of these dead spots. I know TMo can get a better than what I have now.
[T-Mobile LG G3] marcdw:
[MENTION=2392121]kinfolk248[/MENTION],

LOL, oh, I see.

Hmm, I wonder what would happen if you flashed a Lollipop modem over 10m. I'm thinking it might not work if incompatible with KitKat partitions. I know that a 30 modem used to break all of my ROMs.

As long as you have a 10m or 10r modem handy you could try the LP modems. Go back to 10 if it doesn't work.

I have 20b and 20g up on Mega.

https://mega.nz/#F!WVRWmDII!oeZ17walw3sOi71mDkCKrw

My G3 last had stock Lollipop (via KDZ after it got bricked) so I use 20g modem.

LG G3 D851, AOSPA 7.3.1-EOL ROM, MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] kinfolk248:
Ok so since it's known to break stuff I'll leave 30 alone because I'm not for breaking stuff lol. So I'll try the two 20 modems and give it a go, as soon as I get a backup 10m.
[T-Mobile LG G3] kinfolk248:
Well I tried to flash the 20b modem on top of a nougat rom and it flashed successfully. Took a while to boot but finally did, but it still shows 10m modem in settings... hmmm
[T-Mobile LG G3] marcdw:
You referring to the baseband? So it's still 10m. Hmm...

Previously I was on 10r which had a baseband that matched 20 instead of 10m. I wonder if that will work. In a moment I'll upload 10r (both modem and bootstack). Same link.

10c Baseband:

MPSS.DI.2.0.1.c1.13-00009-M8974AAAAANPZM-1

10m Baseband:

MPSS.DI.2.0.1.c1.13-00018-M8974AAAAANPZM-1

20b and 20g:

MPSS.DI.2.0.1.C1 1300053-M8974AAAAANPZM-1

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] kinfolk248:
yea basebands. sorry if i wasnt clear there. I want the new(er) modems to see if i can get better signal. new towers have gone up but signal still sucks lol
[T-Mobile LG G3] marcdw:
I see. ?

If you try one of the full 10r bootstacks (all have the same content) I remember using the Lanchon one for some reason.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[T-Mobile LG G3] kinfolk248:
ok thanks, right now i am on the 30d complete from the op. seems slightly better.
[T-Mobile LG G3] CrucialBT:
You should be able to flash the bootloader and modem without issues. I did this morning.
[T-Mobile LG G3] thecdn:
6 taps
[T-Mobile LG G3] imrock666:
Very detailed post with all the donwloads! thanks. very helpfull.

Question: i am currently on fulmics 5.0 and just flash Xceed Kernel but ever since, i have experienced a lag everytime i unlock the device. can i flash this for back to stock? i have understood that fulmics 5.0 uses stock kernel

"LG-D85130D-Flashable.Boot.zip

This is a flashable stock 30D boot.img. Boot.img contains kernel + dtb + ramdisk."
[T-Mobile LG G3] cahiatt:
I had a follow up question to SU with regard to Android Pay. I want to go ahead and install SU so I can use my Titanium Backup to remove stuff I don't want and restore data. When done can I uninstall SU to be able to use Android Pay? Never tried removing SU before.
[T-Mobile LG G3] talksickisil:
Rom works great.

Xposed works just fine.

After i updated xposed, my weather widget stopped working. I tried a few things to get it working but no go. I like the new home launcher and the new power menu. Thanks for posting. I flashed thru twrp.
[T-Mobile LG G3] StrayBullitt:
can't upgrade my stock D851 with LG PC Suite or the mobile flash tool linked in the first post here. Says I'm up to date on 5.1 and/or "cannot install upgrade check phone status and try again" or something to that extent.
[T-Mobile LG G3] RicardoSal24:
[MENTION=2684188]autoprime[/MENTION] how big is the LG-D85130D-Flashable.COMPLETE.zip ? Everytime I download it I get a size of 10 kb
[T-Mobile LG G3] froader:
Thanks for putting this together so quickly. I've been keeping an eye out for T-Mobile to release and you had this within hours of AP post.

I was on the previous stock rooted and followed your instructions md5 verified and all good so far. WAY snappier is my first impression. I need to freeze those stock apps again with TiBu and look for an LG change log.

Thanks!
[T-Mobile LG G3] marcdw:
Last I remember Android Pay looks for more than just the presence of SU/root that keeps it from working. Don't remember the details, it's been a while.

Assuming that removing SU is good enough to get it working have a look at the link below. There's a flashable zip called unSU designed to completely remove SuperSU. That might help.

http://xdaforums.com/showthread.php?t=2239421

[TOOLS][ZIPS][SCRIPTS] osm0sis' Odds and Ends [Multiple Devices/Platforms]

LG G3 D851, PAC-MAN ROM, Tapatalk 4.9.5
[T-Mobile LG G3] thecdn:
Same here so I flashed the zip files using twrp. Worked perfectly. As someone noted above the update seems to run quicker and smoother. But I must admit I don't use stock very much, usually on a custom rom.
[T-Mobile LG G3] 216Monster:
See attached screen shot
[T-Mobile LG G3] RicardoSal24:
I cant seem to download any
[T-Mobile LG G3] 216Monster:
What browser are you using? It works for me on LG Stock browser and Chrome.

Are you able to download other roms and zip files?
[T-Mobile LG G3] nachumama:
great work brother..... don't know why but battery doesn't last as long as when i was using fulmics.... I went back to stock because i want try out android pay to see how the technology works but there's not many stores in my area that use android pay. I was on fulmics 5.0 although it's a nice rom and battery lasted longer than stock mm, the bluetooth is really buggy and until they fix that problem, i'm sticking to stock mm.
[T-Mobile LG G3] RicardoSal24:
i managed to get in downloaded. i usually download through ES File Explorer but this time around I disabled my ad blocker and managed to get the files downloaded
[T-Mobile LG G3] 216Monster:
Well that makes sense.. Using ES and ad blocker. But good to hear you got it sorted out.
[T-Mobile LG G3] Nsx93:
*nevermind.. fixed it..
[T-Mobile LG G3] bsliv:
I had installed the update via LG PC Suite. I lost root and access to TWRP so I was following the instructions under, "Alternatively, if you are already on 30D already without root and want root/TWRP you can use Kingroot. " Everything was going fine until the command, "su", which says, "/system/bin/sh: su: not found".

Did I miss a step? Is there a specific su file I need? How do I place the su file?
[T-Mobile LG G3] autoprime:
hmm I haven't tied kingroot on the tmobile g3 yet myself but it should be temp rooting you... you got that far and kingroot shows you as rooted?

and then after kingroot shows you as rooted.. when you open up a shell in android perhaps it's already in a root shell? do you have a $ or a # ?

if already in a root shell (#) then you can just skip the "su" step.
[T-Mobile LG G3] bsliv:
Thanks for the very quick reply. I think it might be a kingroot issue. After kingroot installs, there are 'Done' and 'Open' options.

If I click 'Done', Root Checker Basic says root access is not properly installed and the command window on the pc only has an "$" prompt.

If I click 'Open', it opens what appears to be an advertisement for some other program. The ad's first page only says, "ROOT auth, Protect privacy via root." The only option is to scroll down. That second screen only says, "Safe protection. Protect system from attacking." The only options are to scroll back to the first page or scroll down to the last page. The last page says, "Purify system. Save power 30% after optimize." And a "Try it" button. I'm afraid to press the "Try it" buttom due to the poor English and potential of nasty software and I have no current interest in security software. In fact, I'd think the NewKingrootV4.90_c142_B262_xda_release_2016_04_21_105243.apk has been hijacked but on the bottom of the third and last screen it a checkbox with the text, "agreed Kingroot License Agreement".

I've used an older kingroot before but can't remember on what device and what the procedure was. Should I click the "Try it" button or try the older kingroot? I'm not afraid to make the G3 temporarily unusable but am afraid of making it permanently unusable.
[T-Mobile LG G3] HingleMcCringleberry:
I tried this and after flashing the last 2 zips including super su.zip from TWRP and rebooting its just stuck on the T-Mobile screen with my LED light flashing from blue to green... Help anyone?
[T-Mobile LG G3] Herlmer:
urgent help

I have a problem and all the steps, install the 4 files in the TWPR but I only load the logo lg and t-mobile then I get that the android is optimizing starts again and vulve do the same does not happen there

---------- Post added at 10:11 PM ---------- Previous post was at 10:07 PM ----------

tengo un problema y se todos los pasos, instale los 4 archivos en el TWPR pero solo me carga el logo lg y de t-movil luego me sale que el android se esta optimizando se inicia de nuevo y vulve hacer los mismo no pasa de ahi
[T-Mobile LG G3] kinfolk248:
Flashed the zip files for 30D and got to optimizing apps....system ui has failed boot loops :(
[T-Mobile LG G3] dante7000:
any other option to root apart from Kingroot? Didn't work, im already on D85130d

edit:

after searching for hours,i came across this post which helped.Just incase anyone's looking

https://xdaforums.com/showpost.php?p=69054362&postcount=7
[T-Mobile LG G3] KobySam87:
Hello guys.... I am trying to use this method flash the update on my kid bros phone but the phone keeps switching back to PTP after l manually switch it to MTP. I want to know if l can still flash the update without having issues in the middle of the process.

PS-: If anyone knows a work around to solve the PTP issue... I will be grateful.

Thanks
[T-Mobile LG G3] rinkadinx007:
#!/system/bin/sh

# If you're implementing this in a custom kernel/firmware,

# I suggest you use a different script name, and add a service

# to launch it from init.rc

# Launches SuperSU in daemon mode only on Android 4.3+.

# Nothing will happen on 4.2.x or older, unless SELinux+Enforcing.

# If you want to force loading the daemon, use "--daemon" instead

/system/xbin/daemonsu --auto-daemon &

# Some apps like to run stuff from this script as well, that will

# obviously break root - in your code, just search this file

# for "install-recovery-2.sh", and if present, write there instead.

/system/etc/install-recovery-2.sh
[T-Mobile LG G3] marcdw:
[MENTION=9838995]rinkadinx007[/MENTION], nice info but it looks like you meant to post this elsewhere? I don't see any previous posts related to the script.

LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, XDA Legacy
[T-Mobile LG G3] dasche:
on software version 10c kitkat stock rooted by towelroot.

my d851 was on stock recovery and working fine until...

I tried to flash twrp by flashify, installed ok but when I rebooted in recovery it went to fastboot started mode. After that I tried to install many supported recoveries like different versions of twrp and stock recovery, all installed correctly but no recovery boots at all. It always goto fastboot started mode no matter how I try to enter into recovery mode.

I have been looking for this since last 5 days, no solution found/worked yet. Even KDZ flashing gets stuck at 4% and loses connection to the phone. Although phone boots fine into android. I really need to update the firmware because 10c has sometimes bootloops and very bad battery life.

Any Help = Salute!
[T-Mobile LG G3] garyoo:
Works perfectly. Thanks a lot for the MM update.
[T-Mobile LG G3] Prowler:
delete
[T-Mobile LG G3] sirbow2:
Anyway i can get the stock OTA update zip (not TWRP) for 30D?
[T-Mobile LG G3] Etamitlu:
Sure! Just build it and compile it up! No problem.
[T-Mobile LG G3] sirbow2:
That wont work with a stock recovery. Tmo has to sign it.
[T-Mobile LG G3] f1anatic:
This didn't work for me. I tried with the COMPLETE and REPACK then with COMPLETE and individual Boot/Bootloader/Modem.

The phone is now stuck at the white T-Mobile screen. Any ideas? Thanks.

LG G3 851 (20G) rooted, TWRP method.
[T-Mobile LG G3] bsliv:
After using PC Suite to upgrade, I couldn't get kingroot 4.9 to work but eventually got kingroot 4.1 to work. My G3 now looks and works very similar to my G4. Hooray!
[T-Mobile LG G3] TheCoutures:
Please delete this comment.