[Firmware](Upgrade+Root/Downgrade/Unroot) Files+Flashing Guide [TOT/KDZ/TWRP] 7/07/19

Search This thread

potatoknight8

Member
Jan 14, 2017
21
5
Tried KDZ method got an error.Stuck at Firmware Update :(
 

Attachments

  • 123.JPG
    123.JPG
    70.4 KB · Views: 279
Last edited:

tom-i

New member
Jun 8, 2017
2
0
Help downgrade TOT

Good afternoon, I have a problem, I have followed all the steps of the guide, I am trying to downgrade it, but when it starts everything tells me the flashtool that can not read the device information 00000m imei null pim null.
In lgup I get error 4:42:37 some error with the bin.
I'm connected on port 41. I do not know what else to do :c, I'm about to try with the ToT of the D801AT to see what happens. I need help I'm stuck in Marshmallow 30e, aaah I tried to downgrade with flash2014 and could not either I could not go to the 30d :c
 

SolidSnake01

New member
Mar 6, 2018
1
0
hello thank you for this alternative method but have one question. Why is there no need to download, copy and past megalock to the lg folder created in the C: drive like other methods indicate?
 

hyelton

Recognized Contributor
May 26, 2010
13,902
6,193
30
Wilmington
hello thank you for this alternative method but have one question. Why is there no need to download, copy and past megalock to the lg folder created in the C: drive like other methods indicate?



But you do need the megalock dll..,the kdz method doesn’t require this. The tot flash tool is the one that requires it


Sent from my iPhone using Tapatalk
 

ThePagel

Senior Member
Jul 6, 2012
1,479
839
Minneapolis
hello thank you for this alternative method but have one question. Why is there no need to download, copy and past megalock to the lg folder created in the C: drive like other methods indicate?

Sorry for the super late reply!
I try to make everything as turn key as possible. So in this release everything is already installed and the megalock is already in the folder. No need to move it around, works as is.
 
Last edited:

ThePagel

Senior Member
Jul 6, 2012
1,479
839
Minneapolis
Years have come and gone and I seemed to have forgotten about this thread... Well I am back and going to do a full update to the OP since its sticky as well as add some content and mirrors!
For now here is what I have added:
KDZ
D85130g_00_0420 (07/05/17)
D85130e_00_0711 (08/08/16)
D85130d_00_0404 (05/02/16)
D85120G_00 (10/05/15)
TWRP
D85120G_00-Untouched_Stock_Restore
D85130d_00_0404-Untouched_Stock_Restore
D85130e_00_0711-Untouched_Stock_Restore
D85130g_00_0420-Untouched_Stock_Restore
EXTRAS (Bottom of OP)
All files in the KDZ files except System.img

I will also be adding the updated tot/kdz method to upgrade or downgrade. When I am finished it will be the final version. All relevant stock files and restore/upgrade/downgrade methods will be available in the OP with enough mirrors to ensure the files will be around for another 5+ years.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 109
    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)
    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


    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

    For windows vista - windows 8.1
    Very buggy on windows 8/8.1 x64 YMMV
    Will not work on windows xp or older​

    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

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


    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. 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)
    11
    Software version D85130g
    Android 6.0.1
    July 5, 2017
    2G/3G data roaming fix
    Google monthly security patch
    LG app fix
    software stability and software improvements

    Software version: D85130e
    Android 6.0.1
    August 8, 2016
    Google security enhancements
    Software stability

    Software version: D85130d
    Android version 6.0
    May 2, 2016
    Android Marshmallow
    Wi-Fi Calling improvements

    Software version: D85120g
    Android version 5.0.1
    October 5, 2015
    Messaging security improvements (Stagefright)

    Software version: D85120e
    Android version 5.0.1
    June 10, 2015
    Android 5.0 Lollipop
    Turns on VoLTE
    Wi-Fi Calling 2.0
    Software stability

    Software version: D85120b
    Android version 5.0.1
    April 7, 2015
    Android 5.0 Lollipop
    Turns on VoLTE
    Wi-Fi Calling 2.0

    Software version: D85110r
    Android version 4.4.2
    December 2, 2014
    Wi-Fi Calling enhancements
    Security enhancements
    Bluetooth connectivity improvements
    Various bug fixes

    Software version: D85110m
    Android version 4.4.2
    September 10, 2014
    Wi-Fi Calling enhancements
    Security enhancements
    Various bug fixes

    Software version: D85110c
    Android version 4.4.2
    July 16, 2014
    Original software version
    6
    So use this method to flash back to stock?

    Correct it also gives developers a chance to start making stock roms even though we don't have root or a recovery yet.
    6
    Updated OP with Flash method!
    5
    Added:
    D85120B flashable zip (Lollipop)
    and
    TWRP installer zip


    *Important information Below*

    • Wipe everything except internal and external data for the best lollipop experience. But if you must dirty flash you MUST wipe cache/dalvik and system or you WILL bootloop. You could skip wiping system but problems might happen.
    • If you did dirty flash it might take a long time to get to and from the T-Mobile screen. If it takes longer than 5 minutes to get past the T-Mobile screen pull the battery wait 10 seconds and power it back on then it should bring you to the updating android screen, give it time.
    • After a reboot update your apps ASAP
    • If you downgrade from lollipop your phone will need to reboot several times before it recognizes your sim card. You will also need to format system before downgrading. If you downgrade with twrp you need to format system before flashing.