Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,032 Members 44,170 Now Online
XDA Developers Android and Mobile Development Forum

[Tutorial] How to flash factory images with LG Flashtool

Tip us?
 
bitdomo
Old
(Last edited by bitdomo; 20th June 2014 at 09:43 AM.)
#1  
Senior Member - OP
Thanks Meter 662
Posts: 1,082
Join Date: Nov 2011
Location: Göd
Prompt [Tutorial] How to flash factory images with LG Flashtool

Only you are the responsible if you brick your device. I tried the whole method a few times and no problems so far, but random things could happen.

What is LG Flashtool?
  • LG Flashtool is used by LG to flash firmwares to phones.

What are the advantages of using LG Flashtool?
  • The flashing process is faster than the fastboot flashing process.
  • You don't need unlocked bootloader to flash.
  • It locks bootloader and resets tamper flag.

What are the disadvantages of using LG Flashtool?
  • Your battery level must be over 10%.
  • It changes the device factory version. If your phone had KFS78N version of android initially and you flash a KRT16M firmware, then the device factory version is going to change from KFS78N to KRT16M.
  • LGD821AT-00-V10a-NXS-XX-OCT-01-2013-KFS78N-USER-16G+0 ==> LGD821AT-00-V10b-NXS-XX-OCT-31-2013-KRT16M-USER-16G+0
  • This info stored on the misc partition at the 0x00008800 offset. You can change it back to the original one if it bothers you.
  • To get your original device factory version then just open the log file in the LOG folder which is created at the location of the DLL and TOT file and search for "device factory version" text.
  • I made a flashable zip (mirror) which bacups the device factory version to /sdcard/version.txt. After the backup just copy the txt to your PC. Then here is the restore zip (mirror). Just place the version.txt to /sdcard and flash the zip to restore.

Preparation (you have to do it only for the first time)

 
  • Download LG drivers (mirror)and install it.
  • Download LG Flashtool (mirror)and install it.
  • Create a folder where you put the DLL and the Firmware file.
  • Download DLL: D820 (mirror) (North American version) D821 (mirror) (Global version). Place the DLL to the created folder.
  • Download firmware: D820 (mirror) (North American version) D821 (mirror) (Global version) Place the TOT file to the created folder.
  • Turn off the phone.
  • Hold down volume_up key then connect USB cable.
  • If you see these screens bellow then the phone is in Download Mode and you are on the right path:
  • Let windows to install the drivers for the new devices.
  • Change the port number to 41:
  1. Open Device Manager.
  2. Right click on LGE Mobile USB Serial Port (COMxx) (where xx is the port number).
  3. Click on Properties.
  1. Select Port Settings tab
  2. Click on Advance...
  1. Change COM Port Number to COM41

If you don't want to flash any firmware yet just hold down the power key for 10-15 secs then your phone turns on.

Flashing the firmware

 
  • Enter your phone to Download Mode.
  • Start LG flash tool.
  • If Model Config window does not start, then click on the sign with two cogwheels.
  1. Place a tick next at Select Manual Mode
  2. Click on "..." and select the DLL file for your device.
  3. Click on Add to add the TOT file.
  4. Click OK.
  1. Click on the yellow arrow sign to start flashing.
  1. If you see READY!!, then reconnect your phone. Then "Waiting for Connection" text will appear in the COM41 window.
  1. At 80% the phone will shut off, don't be scared.
  1. DONE! The LED on the phone is starts blinking green. Just remove the usb cable wait until the blinking stops then turn on your device.


Restore device factory version (optional)
  1. Create a new txt file called "version.txt" and open it.
  2. Paste your device factory version from the log file located in the LOG folder where the DLL and TOT file are. Search for "device factory version" text in the log file
  3. Copy version.txt to the root of the sdcard (/sdcard).
  4. Download the restore_device_factory_version.zip (mirror).
  5. Flash restore_device_factory_version.zip in recovery.

Videos

 
LG Flashtool:

Restore device factory version:


Credits
All the guys from [REF] [TOT] Stock Firmware Collection for Nexus 5 (D820 & D821) thread.

The Following 35 Users Say Thank You to bitdomo For This Useful Post: [ Click to Expand ]
 
pepdavies
Old
#2  
Senior Member
Thanks Meter 89
Posts: 251
Join Date: Dec 2012
Location: Cullompton
How is this quicker than fastboot?

Sent from my Nexus 5
 
bitdomo
Old
#3  
Senior Member - OP
Thanks Meter 662
Posts: 1,082
Join Date: Nov 2011
Location: Göd
Quote:
Originally Posted by pepdavies View Post
How is this quicker than fastboot?

Sent from my Nexus 5
Fastboot: Phone restarts twice. Send the images to the phone memory, after the whole image has been sent, then the phone write it to the emmc from the memory.
LG flashtool: writes the images directly to the emmc.
The Following User Says Thank You to bitdomo For This Useful Post: [ Click to Expand ]
 
funky_snowman
Old
#4  
Senior Member
Thanks Meter 44
Posts: 141
Join Date: Jul 2011
I've never really thought of Fastboot as slow by any means. Writing a system.IMG can take a few seconds, but everything else is generally done within a couple of seconds. Writing to memory sounds safer to me as well. If it ain't broke, as they say.
Nexus 4 16GB
iPhone 4 32GB
 
ilanderek
Old
#5  
ilanderek's Avatar
Senior Member
Thanks Meter 162
Posts: 203
Join Date: Apr 2013
Location: Mexico
This is awesome! People its not only that it is REALLY faster and secure to flash with this, but think of it in this way, my phone got screwed up, my flash memory died there for I tried to RMA it, the fact that the bootloader was unlocked was a problem and since there was no way to fix it I had to battle for a while, I RECOMMEND THIS WAY OF FLASHING GREATLY in case something happens to your phone you can be sure your warranty will be still there!
 
cnstarz
Old
#6  
Senior Member
Thanks Meter 597
Posts: 1,392
Join Date: Feb 2010
does this wipe all internal storage including "internal sdcard"?
 
David_Vaz
Old
#7  
David_Vaz's Avatar
Senior Member
Thanks Meter 1,427
Posts: 709
Join Date: Oct 2012
Location: Badalona

 
DONATE TO ME
Quote:
Originally Posted by cnstarz View Post
does this wipe all internal storage including "internal sdcard"?
Full system, sdcard inclosed.

This close bootloader and flash full phone (exception imei partition)
 
bitdomo
Old
#8  
Senior Member - OP
Thanks Meter 662
Posts: 1,082
Join Date: Nov 2011
Location: Göd
Quote:
Originally Posted by cnstarz View Post
does this wipe all internal storage including "internal sdcard"?
Quote:
Originally Posted by David_Vaz View Post
Full system, sdcard inclosed.

This close bootloader and flash full phone (exception imei partition)
and also resets tamperflag
The Following User Says Thank You to bitdomo For This Useful Post: [ Click to Expand ]
 
maxal
Old
(Last edited by maxal; 16th April 2014 at 04:41 PM.)
#9  
Senior Member
Thanks Meter 141
Posts: 863
Join Date: Jan 2012
Location: Peel, Isle of Man
Hi, Can you help me please.I have downloaded everything and set up the drivers as instructed but when I click on start Lg flash tool to start the process I get a message saying LG USB/Parallel lock key is not detected and then a login box pops up which has the country set as Republic of Korea in the first box and then it wants an ID and password entered. SOLVED
Asus Vivotab tf810c Windows 8.1.1
HTC One unlocked+rooted+S-Off GPE 4.4.4
Nokia Lumia 930
 
efrant
Old
(Last edited by efrant; 16th April 2014 at 07:59 PM.)
#10  
efrant's Avatar
Senior Moderator
Thanks Meter 8,075
Posts: 9,529
Join Date: Feb 2009
Location: Montreal Bow2DaCow

 
DONATE TO ME
Great work @bitdomo on putting this together!


Quote:
Originally Posted by pepdavies View Post
How is this quicker than fastboot?

Sent from my Nexus 5
Quote:
Originally Posted by funky_snowman View Post
I've never really thought of Fastboot as slow by any means. Writing a system.IMG can take a few seconds, but everything else is generally done within a couple of seconds. Writing to memory sounds safer to me as well. If it ain't broke, as they say.
I think one of the main advantages that bitdomo may have forgot to mention is that this will work even if fastboot won't (in most cases). For example, say you had a bad bootloader flash, and now you cannot access the bootloader. Consequently, you are not able to flash images using fastboot. However, using LG Flash Tool (or LGNPST) should still allow you to flash your device and get back to a stock state.

Now, the one thing that remains is to figure out how to flash the device using QPST...
At present, I am not readily available on the forums or via PM -- if you are in need of a moderator, please contact someone from this list.

I do NOT answer technical questions via PM. Post in a thread.

Google Nexus 5

XDA Forum Rules & Moderator List

WHAT MATTERS IS UNDERSTANDING THE JOURNEY...

The Following User Says Thank You to efrant For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes