[T-Mobile LG G3] ThePagel:
This is for LG G3 D851

ONLY

TOT/KDZ/TWRP Untouched stock restore​

IF YOU WANT TO USE THIS GUIDE WAIT UNTIL I HAVE THE LGUP METHOD UP

Who can benefit from this?

Anyone who softbricked with access to download mode [KDZ RECOMMENDED]

Anyone who wants to use the OTA function after root [TWRP RECOMMENDED]

Anyone who needs to send the phone in for repair [TOT RECOMMENDED]

Anyone who wants to be on the most recent firmware [TWRP RECOMMENDED]

Anyone who wants to downgrade *After you update to 20B it is recommended to not downgrade. If you do you WILL have connection problems

Anyone who wants to return to stock from aosp or aokp

Tip: Most of the time TWRP will do what you need without the troubles and baggage TOT and KDZ bring. It will downgrade, upgrade, root, fix soft bricks or just give you a fresh untouched operating system (no personal data left on the phone if you follow instructions). It will also get rid of any proof on the phone that you were rooted (my t-mobile reports root to a remote server nothing can be done about that).

Strengthens and weaknesses for each method click here

TWRP Files/flashing guide Most recent = D85130g_00_0420 (07/05/17)

(This is a WIP)

Download your preferred choice of D851xxx-Untouched_Stock_Restore.zip HERE (Perfect 1:1 image unlike most roms)

Also download and copy superSu & twrp to your external sd if you want root and custom recovery SUPERSU DOWNLOAD AND TWRP-2.8.6.0-d851.zip

Copy D851xxx-Untouched_Stock_Restore.zip to phone (external sd if available)

Reboot into twrp

For firmware update do not wipe! skip to step 8. If you want untouched stock continue with step 4.

If upgrading from kitkat to lollipop wipe system before flashing.

Click [Wipe]

Click [Advanced Wipe] (For full wipe stock restore only)

Select dalvik cache, system, Data, Internal storage (only if you use external for downloaded file) and cache

Click the home Icon in the bottom left

Click [Install]

Select D851xxx-Untouched_Stock_Restore.zip (make sure you select the proper sd card)

If you want root and/or twrp add UPDATE-SuperSU-v2.37.zip to the queue by touching [Add More Zips]

Repeat for TWRP-2.8.6.0-d851.zip

Swipe to install [====>]

Install will now begin, pure stock: system, kernel, recovery, modem and rpm will be installed

After completion click [wipe cache/dalvik] (do not skip especially if you dirty flashed)

Swipe to wipe [====>]

Click [back]

Click [reboot system] (it might say no os but it is wrong you do have a os click restart anyway) [dirty flash will not have that problem]

If your sending for repair or jump do a factory reset with what should now be the stock recovery just to be safe.

DO NOT INSTALL ROOT

UNLESS YOU WANT IT TO BE ROOTED

LGUP (KDZ/TOT)

(This is a WIP)

Check back later

KDZ files/flashing guide (Use TWRP if you can)

(This is a WIP)

Here are the KDZ files for the D851 I will keep this up to date as they are released

Make sure you uncompress the file!

Most recent Firmware

D85130g_00_0420 (07/05/17)

Old Firmware

D85130e_00_0711 (08/08/16)

D85130d_00_0404 (05/02/16)

D85120G_00 (10/05/15)

D85120E_00 (06/10/15)

D85120B_00 (04/17/15)

D85110R_00 (12/2/14)

D85110M_00 (09/10/14

D85110C_00 (07/16/14)

KDZ FLASHING GUIDE

Download, extract and install LGUnitedMobileDriver

Download, extract and install VBCFJRedist_AIO_x86_x64

Download and extract LG Flashtool 2014.7z (This is not the same flash tool in TOT method)

Download one of the KDZ files from the beginning of the post and extract it in the Flashtool folder

Make sure you are at least at 50% battery

Enter download mode by holding the volume up button + plug the phone into the computer from a powered off state

Run LGFlashTool2014.exe as administrator

select type [CDMA] (Yes CDMA works just fine for our T-Mobile GSM phones DO NOT USE THE OTHER OPTIONS)

phone mode [diag]

reset time [33000]

select the KDZ file you extracted from inside the flashtool folder (D851xxx_00.kdz)

select [normal flash] (no wipe) or [CSE flash] (wipe) (Recommended)

click [start]

Select Country and Language Just leave default selections and click OK (Republic of Korea is the only country and it defaults to English)

It will analyze the phone extract the firmware and upgrade your phone automatically you will see progress on both the computer and phones display once the s/w upgrade percentage gets to about 80% your phone will restart don't freak out all went well and it will boot up to the LG welcome screen and if you selected CSE it will restart one last time

Total flash time for me was 2 minuets 56 seconds

If you use the normal flash you might need to do a factory reset if you get in a bootloop after flash

cse should have 0 problems on boot

Credits:

All credit goes to quangnhut123 for creating this tool you can find his thread HERE

TOT files/flashing guide

(This is a WIP)

Download, extract and install VBCFJRedist_AIO_x86_x64.exe

Download, extract and install LGUnitedMobileDriver

Download and extract lg flash tool (This is not the same flash tool in KDZ method)

Download and extract LG_D851.10C_TOT&DLL.7z

Make sure you are at least at 50% battery (if you can)

Enter download mode by holding the volume up button + plug the phone into the computer from a powered off state

Leave phone plugged in and in pc go to settings/control panel/device manager/ports right click on lgemobile serial port and click properties then select the port settings tab and click advanced then change com port number to 41 and click ok

Unplug phone

Run LGFlashTool.exe as administrator

If you get a DBMS WINDOWS leave it on ?? ?? (Korea Factory) and click ok

Check select manual mode

For DLL click [...] and select the dll from the package you extracted (LGD851_20140611_LGFLASHv160.dll)

If you are getting a model check error download/extract and try this generic LG dll

For S/W click [ADD] and select the tot from the package you extracted (LGD851AT-01-V10c-310-260-JUN-20-2014+0.tot)

Make sure in action mode BOARD DL is selected and in connection mode USB is selected

Click [OK]

Click the [yellow arrow] that is pointing to the right

Wait until Port 1 (COM41) says READY! (could take a couple minutes give it time)

Plug your phone back in and it will start flashing automatically DO NOT UNPLUG THE PHONE

After its done sending the firmware over your phone will reboot into mini os and you will see a blue screen with a big 2 wait until you see a big 3 then unplug the phone and close the lgflashtool program. Your phone might automatically reboot on 3 but it hasn't for me If it doesn't just pull the battery put it back in then power up. After one of the updates this step may be different then described. If you have problems just ask and myself or somebody else will be able to help.

Everything that lives inside the KDZ files except system HERE

(If you want the system.img download the twrp files)