• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[TOOL] KDZ and TOT Extractor

Search This thread

bullghost

Senior Member
Mar 25, 2010
200
312
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 G5 KDZ
- LG G4 KDZ
- 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
 

Attachments

  • scr1.jpg
    scr1.jpg
    128.9 KB · Views: 164,252
  • scr2.jpg
    scr2.jpg
    118.1 KB · Views: 158,699
  • totfile-1.jpg
    totfile-1.jpg
    112.5 KB · Views: 154,507
  • totfile-2.jpg
    totfile-2.jpg
    104.2 KB · Views: 118,523
  • totfile-3.jpg
    totfile-3.jpg
    102.9 KB · Views: 110,558
  • WindowsLGFirmwareExtract-1.2.3.0-Release.zip
    1.4 MB · Views: 86,274
  • WindowsLGFirmwareExtract-1.2.5.0-Release.zip
    1.4 MB · Views: 309,121
  • customSystemfilename.jpg
    customSystemfilename.jpg
    66.2 KB · Views: 92,715
  • WindowsLGFirmwareExtract-1.2.6.1-Release.zip
    1.4 MB · Views: 133,529
Last edited:

GizmoKaca

Senior Member
Nov 12, 2013
541
236
Is it difficult to make a flashable zip of ones stock .kdz file for easy factory restore? That would be nice cause then you could just flash stock recovery with flashify or something afterwards and you would be all set right? :)
 
  • Like
Reactions: mribraqdbra

antawnm26

Senior Member
Apr 3, 2008
1,551
208
Atlanta
Could I get a more in depth explanation as to what this can do and what its capable of doing..Im a NOOB
 

xxxrichievxxx

Senior Member
Jul 10, 2010
808
179
Notting Hill, London
www.facebook.com
Is it difficult to make a flashable zip of ones stock .kdz file for easy factory restore? That would be nice cause then you could just flash stock recovery with flashify or something afterwards and you would be all set right? :)


I have this question too, How can one create a flashable .zip of a ROM so I can extract and create a flashable zip?
 

bullghost

Senior Member
Mar 25, 2010
200
312
can you build [KDZ or TOT] [creation or edit] Programs?

*.BIN to KDZ
*.BIN to TOT

Can we convert kdz into tot?

Sent from my LG-F320S using Tapatalk 4

theoretically it can, but since i do the ripping the content without knowing a whole structure of file and what method of splitting large partition into small parts,
that make it difficult to wrap it back

Is it difficult to make a flashable zip of ones stock .kdz file for easy factory restore? That would be nice cause then you could just flash stock recovery with flashify or something afterwards and you would be all set right? :)

its not difficult, but i never try that, i think only some partition are safe to flash over flashify or any CWM

Could I get a more in depth explanation as to what this can do and what its capable of doing..Im a NOOB

its can do extract any tot and kdz and dz contents and merge the parts of partition.
sofar i been have been tested it capable to extract the kdz file from LG G2 and TOT file from AT&T and Sprint.
so if anyone who have success extract from any other TOT or Kdz file from any other phone or series pls inform it here ,so i will update the tested list .
 
Last edited:

Epson

Member
Jul 11, 2007
37
1
  • Like
Reactions: bullghost

bullghost

Senior Member
Mar 25, 2010
200
312
It cant extract F320S11K_00.kdz, detect negative number file size. Although I could use the python to extract it fine. Strange that your tool works well with F320K11_00.kdz, maybe there's error with file size detection.

You can have the kdz here: http://lg-phone-firmware.com/index.php?id_mod=36
(the last one of Korean variant - SKT/SK). Or simplicity this link: http://lg-phone-firmware.com/tool.php?idclick=8776

Hi Epson, thank you , i have release the update for fix wrong size detection.
 
  • Like
Reactions: alliGTR

juniecho

Senior Member
Jul 28, 2009
235
185
Seoul
Hi CQNSTANT!NE, i have release new version, now its support G Pro tot file, hope it work for you.

can you please add G Pro KDZ support? or is there a link that can convert G Pro KDZ to TOT?
when using modified thecubed's python script i can only extract a DZ file from its KDZ. the extracted DZ cannot be recognized by this tool.
 

farhanito

Senior Member
Aug 21, 2010
876
222
Jakarta
A bit out off topic..
Can you please take a look at LG Backup .lbf files..
Any chance for an extractor and/or compressor?
Thanks

Sent from my LG-D802 using Tapatalk
 
  • Like
Reactions: prsdthkr007

bullghost

Senior Member
Mar 25, 2010
200
312
can you please add G Pro KDZ support? or is there a link that can convert G Pro KDZ to TOT?
when using modified thecubed's python script i can only extract a DZ file from its KDZ. the extracted DZ cannot be recognized by this tool.

hi juniecho, yes each partition on DZ file is not zlib compressed, im not sure what kind of compression they use,
here i have extracted the compressed primaryGPT.bin file

PrimaryGPT_unknow-compression.bin
 

bullghost

Senior Member
Mar 25, 2010
200
312
A bit out off topic..
Can you please take a look at LG Backup .lbf files..
Any chance for an extractor and/or compressor?
Thanks

Sent from my LG-D802 using Tapatalk

the lbf file is using double compressing with custom data on it you can extract it using winrar, you will lose some of important lbf information if you just extract the data
 

juniecho

Senior Member
Jul 28, 2009
235
185
Seoul
hi juniecho, yes each partition on DZ file is not zlib compressed, im not sure what kind of compression they use,
here i have extracted the compressed primaryGPT.bin file

PrimaryGPT_unknow-compression.bin

oh then this is not a good news. i heard in a korean forum that previous version of dz format is based on gzip, with header removed. maybe this too?

Sent from my LG-F240S using XDA Premium 4 mobile app
 

Top Liked Posts