FORUMS
Remove All Ads from XDA

[TOOL] KDZ and TOT Extractor

181 posts
Thanks Meter: 242
 
By bullghost, Senior Member on 7th January 2014, 01:29 AM
Post Reply Email Thread
27th May 2016, 05:07 PM |#181  
Junior Member
Thanks Meter: 0
 
More
LG G4 H815 Dead Phone
My LG G4 H815 is stuck in qualcomm hs-usb qdloader 9008 mode. Any suggestion for unbrick. Waiting for any suggestion.
 
 
30th May 2016, 10:19 AM |#182  
Junior Member
Thanks Meter: 1
 
More
Lg leon h320 kdz
Quote:
Originally Posted by bullghost

hi guys, i start this since its support tot file where previously on Tool][python] LG Compressed KDZ Extractor

The feature is :
- Extract KDZ
- Extract DZ
- Merge System file from DZ
- Add KDZ header by your self in Customize section

- Extract TOT
- Merge Partition file

Tested with firmware :
- LG G2 Mini KDZ
- LG G3 KDZ, TOT
- LG G2 D802, D803
- LG G2 ATT and Sprint
- LG G Pro KDZ file TOT File
- LG G Pro 2 KDZ file
- LG G Flex TOT file
- LG Optimus 4X HD DZ file


Thanks to :
- thecubed
- cybojenix
- Xonar
for their great work!!


use this tool for browse or extract the system or cache or usedata partition file
ext2read_windows


use LGFlashTool for flash DZ file , same like tot file
- use extracted DLL and DZ file on LGFlashTool
LGFlashTool 1.8.1.1023 :
Setup_LGFlashTool_1.8.1.1023.zip
Unlock LGFLashTool :
Download link
Guide how to use :
Guide using LGFlashTool
sorry look like its won't work because its missing the flash.* files as in Optimus 4X HD DZ file has it


WindowsLGFirmwareExtract
WindowsLGFirmwareExtract-ver.1.2.0.0
WindowsLGFirmwareExtract-ver.1.2.1.0
WindowsLGFirmwareExtract-ver.1.2.2.0
WindowsLGFirmwareExtract-ver.1.2.3.0
WindowsLGFirmwareExtract-ver.1.2.5.0

So i was trying to merge the system but the problem is that instead of the system bins i have ANDROID bins and i cant merge the android, is there a way to merge the android bins?
1st June 2016, 04:58 PM |#183  
Apayah's Avatar
Senior Member
Flag Salzburg (Serang)
Thanks Meter: 37
 
More
Quote:
Originally Posted by amitbd

My LG G4 H815 is stuck in qualcomm hs-usb qdloader 9008 mode. Any suggestion for unbrick. Waiting for any suggestion.

same , i have 5X Bricked in same condition . i think we must wait for someone who will made boardiag like G2 and N5
9th June 2016, 03:12 AM |#184  
Member
Thanks Meter: 4
 
More
So is there a way to actually extract my KDZ or TOT and then modify it so I can then flash it using LGUP? Reason I ask is because I'm trying to return to stock kitkat. I'm currently on V10o-AME-xx (middle east) and rooted. I want to remove the root but stay on kitkat. All the TOT and KDZ I found were european or asian. Didn't find any middle eastern. So if I were to be able to extract and then flash my own, that would be great!
8th July 2016, 03:32 AM |#185  
jerdog's Avatar
Developer Committee / Community & OEM Relations Admin - Harbinger of Doom
Flag Gallifrey
Thanks Meter: 6,000
 
More
So while this isn't in the LG G4 section, this of course works with LG G4 and so I have a question for you @bullghost (or anyone else for that matter)

Does anyone know how to recreate a KDZ file? There are plenty of tools for extracting, even some open source ones, but not finding anything that assists with creating a KDZ. Any help would be appreciated
14th July 2016, 10:26 PM |#186  
Tikerz's Avatar
Senior Member
Flag Phoenix
Thanks Meter: 493
 
More
I have a bricked G Pad 8.0 (V495). If I buy another G Pad 8.0 can I use this tool to extract KDZ/TOT and use it to fix my bricked one?

Or better yet does someone have a stock V495 G Pad 8.0 who can extract a KDZ/TOT for me?
23rd July 2016, 05:52 AM |#187  
emdroidle's Avatar
Member
Thanks Meter: 23
 
More
Quote:
Originally Posted by krusion

So is there a way to actually extract my KDZ or TOT and then modify it so I can then flash it using LGUP? Reason I ask is because I'm trying to return to stock kitkat. I'm currently on V10o-AME-xx (middle east) and rooted. I want to remove the root but stay on kitkat. All the TOT and KDZ I found were european or asian. Didn't find any middle eastern. So if I were to be able to extract and then flash my own, that would be great!

Most of the rooting tools include some way of unrooting, just need to find it. Pretty often simply start the app associated with the rooting tool and press a button labeled "unroot".

Quote:
Originally Posted by jerdog

So while this isn't in the LG G4 section, this of course works with LG G4 and so I have a question for you @bullghost (or anyone else for that matter)

Does anyone know how to recreate a KDZ file? There are plenty of tools for extracting, even some open source ones, but not finding anything that assists with creating a KDZ. Any help would be appreciated

A better link would have been to the thread of the original developer for that tool. I got permission from the original author to reuse the code as long as attribution is given, which means mine is under GPL.

I'm currently working on rebuilding the files, but this is not the easiest thing to do. I'm pretty sure I've figured out how to correctly interpret all the fields on the individual chunks of the DZ file (the actual file containing the flash image inside the KDZ file), but I'm rather unsure of the fields on the header of the DZ file. I have though managed to successfully recreate the chunks of a DZ file, so I am making progress slowly. My initial implementation of this though relies on the SEEK_DATA/SEEK_HOLE functionality available on various flavors of Unix (including Linux), so it does have limitations. Also note, this functionality hasn't been uploaded to GitHub yet.

My big concern is the KDZ files may have signatures to protect against installing a maliciously modified KDZ file. If this is so, the effort will be sunk without those keys (and I doubt LG will disclose them), unless LGUP can be told to install a "corrupt" KDZ file anyway.
26th July 2016, 04:31 AM |#188  
emdroidle's Avatar
Member
Thanks Meter: 23
 
More
Quote:
Originally Posted by jerdog

Does anyone know how to recreate a KDZ file? There are plenty of tools for extracting, even some open source ones, but not finding anything that assists with creating a KDZ. Any help would be appreciated

Upon further examination, it looks like that really is the original author of that tool. I'd found the thread where they'd announced it and I'd never expected to find it on GitHub. Now I've got the difficulty of ideally I'd like to adjust git's history so mine appears as a branch (it did originate there!). Anyone with more familiarity know how to convince git to modify history in that way?

In other news though, I have now managed to recreate a DZ file from components and the method would have allowed me to modify the contents. I'm confident in my analysis of the DZ format. One problem is my technique works best on Linux, the other is I'm simply copying several fields from an LG DZ file, though several of those fields are obviously safe to copy. Now the difficulty is to rebuild a KDZ from a modified DZ and the other portions.
The Following User Says Thank You to emdroidle For This Useful Post: [ View ] Gift emdroidle Ad-Free
27th July 2016, 04:58 AM |#189  
Senior Member
Thanks Meter: 94
 
More
Quote:
Originally Posted by Apayah

same , i have 5X Bricked in same condition . i think we must wait for someone who will made boardiag like G2 and N5


This new LGFlashTool version 2016 is supposed to handle all phones up to the latest G5 without crashing.
May want to give it a try...

https://drive.google.com/open?id=0B4...Vp6YzkxNGhwVFE

The zip password is: choimobile.vn

BillA
The Following User Says Thank You to billa For This Useful Post: [ View ] Gift billa Ad-Free
10th August 2016, 09:54 PM |#190  
Senior Member
Thanks Meter: 62
 
More
Quote:
Originally Posted by billa

This new LGFlashTool version 2016 is supposed to handle all phones up to the latest G5 without crashing.
May want to give it a try...

https://drive.google.com/open?id=0B4...Vp6YzkxNGhwVFE

BillA

the zip have password
13th August 2016, 11:45 AM |#191  
Senior Member
Thanks Meter: 94
 
More
Quote:
Originally Posted by jabarel

the zip have password

You are correct SIR!!
The password is: choimobile.vn
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes