[GUIDE]LG G3(D851)[FIREMWARE][Upgrade+Root/Downgrad/Unroot][TOT/KDZ/TWRP][Files+Flashing][GUIDE]



This is for LG G3 D851 ONLY
TOT/KDZ/TWRP Untouched stock restore




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

Which method should you use?

I cannot tell you which one is best for you so I will tell you the strengths and weaknesses of each method
Ill add more as I think of them



TOT
Strengths:
  • Works without root
  • Unbrick 99% of the time
  • Restores every partition
  • Restores SOME bricks that normally require a debrick.img
  • Works on win vista, win7, win8/8.1 x86 and x64


Weaknesses:
  • Full wipe every time (not external sd)
  • Takes longer than KDZ and TWRP
  • Many steps that might confuse some users
  • Replaces kernel and custom recovery (dirty flashers will need to re-install their custom kernels and twrp)


KDZ
Strengths:
  • Works without root
  • Full wipe or no wipe option (you can use NORMAL FLASH to upgrade firmware and not lose anything)
  • Fast compared to tot
  • Easy to use (if it runs for you)


Weaknesses:
  • Runs poorly on win8/8.1 x64 and may not even work in some cases
  • Restores limited bricks compared to tot
  • Replaces kernel and custom recovery (dirty flashers will need to re-install their custom kernels and twrp)


TWRP
Strengths:
  • Honestly preferred method unless you severely messed up your phone
  • Works when tot and kdz will not run on your pc (if you can access recovery)
  • Upgrade firmware like its a rom (installs stock: system, kernel, modem, recovery and rpm)
  • Downgrade firmware like its a rom (installs stock: system, kernel, modem,recovery and rpm)
  • Fresh untouched firmware like its a rom (installs stock: system, kernel, modem, recovery and rpm)
  • Re-root from twrp before reboot [don't forget to re-install TWRP easiest way is with TWRP manager from the play store]


Weaknesses:
  • Will only recover from system bricks
  • Requires root
  • Replaces kernel and custom recovery (dirty flashers will need to re-install their custom kernels and twrp)



TWRP Files/flashing guide Most recent = D85120E
(This is a WIP)
  1. Download your preferred choice of D851xxx-Untouched_Stock_Restore.zip HERE (Perfect 1:1 image unlike most roms)
  2. Copy D851xxx-Untouched_Stock_Restore.zip to phone (external sd if available)
  3. 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.
  4. Click [Wipe]
  5. Click [Advanced Wipe] (For full wipe stock restore only)
  6. Select dalvik cache, system, Data, Internal storage (only if you use external for downloaded file) and cache
  7. Click the home Icon in the bottom left
  8. Click [Install]
  9. 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
  10. Swipe to install [====>]
  11. Install will now begin, pure stock: system, kernel, recovery, modem and rpm will be installed
  12. After completion click [wipe cache/dalvik] (do not skip especially if you dirty flashed)
  13. Swipe to wipe [====>]
  14. Click [back]
  15. 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]
  16. 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


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
D85120E_00 (6/10/15)

Old Firmware

D85120B_00 (3/31/15)
D85110R_00 (12/2/2014)
D85110M_00 (9/10/2014)
D85110C_00 (7/9/2014)




KDZ FLASHING GUIDE



  1. Download, extract and install LGUnitedMobileDriver
  2. Download, extract and install VBCFJRedist_AIO_x86_x64
  3. Download and extract LG Flashtool 2014.7z (This is not the same flash tool in TOT method)
  4. Download one of the KDZ files from the beginning of the post and extract it in the Flashtool folder
  5. Make sure you are at least at 50% battery
  6. Enter download mode by holding the volume up button + plug the phone into the computer from a powered off state
  7. Run LGFlashTool2014.exe as administrator
  8. select type [CDMA] (Yes CDMA works just fine for our T-Mobile GSM phones DO NOT USE THE OTHER OPTIONS)
  9. phone mode [diag]
  10. reset time [33000]
  11. select the KDZ file you extracted from inside the flashtool folder (D851xxx_00.kdz)
  12. select [normal flash] (no wipe) or [CSE flash] (wipe) (Recommended)
  13. click [start]
  14. 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



TOT files/flashing guide
(This is a WIP)
  1. Download, extract and install VBCFJRedist_AIO_x86_x64.exe
  2. Download, extract and install LGUnitedMobileDriver
  3. Download and extract lg flash tool (This is not the same flash tool in KDZ method)
  4. Download and extract LG_D851.10C_TOT&DLL.7z
  5. Make sure you are at least at 50% battery (if you can)
  6. Enter download mode by holding the volume up button + plug the phone into the computer from a powered off state
  7. 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
  8. Unplug phone
  9. Run LGFlashTool.exe as administrator
  10. If you get a DBMS WINDOWS leave it on ?? ?? (Korea Factory) and click ok
  11. Check select manual mode
  12. For DLL click [...] and select the dll from the package you extracted (LGD851_20140611_LGFLASHv160.dll)
  13. For S/W click [ADD] and select the tot from the package you extracted (LGD851AT-01-V10c-310-260-JUN-20-2014+0.tot)
  14. Make sure in action mode BOARD DL is selected and in connection mode USB is selected
  15. Click [OK]
  16. Click the [yellow arrow] that is pointing to the right
  17. Wait until Port 1 (COM41) says READY! (could take a couple minutes give it time)
  18. Plug your phone back in and it will start flashing automatically DO NOT UNPLUG THE PHONE
  19. 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.
[/b]

Plz Read This Rules
Use Thanks Button instead
_________________
B.R
Abhay_Rana