[TOOL] KDZ and TOT Extractor - G2 Android Development

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

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

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?

Great work :good:
Tested now...
----------------------
Working Fine !

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

GizmoKaca said:
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?
Click to expand...
Click to collapse
I have this question too, How can one create a flashable .zip of a ROM so I can extract and create a flashable zip?

k25c2yf said:
can you build [KDZ or TOT] [creation or edit] Programs?
*.BIN to KDZ
*.BIN to TOT
Click to expand...
Click to collapse
lethalfriend said:
Can we convert kdz into tot?
Sent from my LG-F320S using Tapatalk 4
Click to expand...
Click to collapse
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
GizmoKaca said:
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?
Click to expand...
Click to collapse
its not difficult, but i never try that, i think only some partition are safe to flash over flashify or any CWM
antawnm26 said:
Could I get a more in depth explanation as to what this can do and what its capable of doing..Im a NOOB
Click to expand...
Click to collapse
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 .

lethalfriend said:
Can we convert kdz into tot?
Sent from my LG-F320S using Tapatalk 4
Click to expand...
Click to collapse
It must be very useful by convert kdz into tot.
Replace all content in a tot file (such as vs980 11A) which can be found in another kdz file (such as vs980 12B), then we can get a new tot file. Does the new tot file work?

Good job
Enviado desde mi LG-D802

E986 v10a fw not working :/

Extracts KDZ, then DZ, and merges system file. Can see contents just fine. D803. Thanks.

CQNSTANT!NE said:
E986 v10a fw not working :/
Click to expand...
Click to collapse
Hi CQNSTANT!NE, i have release new version, now its support G Pro tot file, hope it work for you.
bluntman420 said:
Extracts KDZ, then DZ, and merges system file. Can see contents just fine. D803. Thanks.
Click to expand...
Click to collapse
thanks , updated to tested list

Error with F320S kdz
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

Epson said:
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
Click to expand...
Click to collapse
Hi Epson, thank you , i have release the update for fix wrong size detection.

bullghost said:
Hi CQNSTANT!NE, i have release new version, now its support G Pro tot file, hope it work for you.
Click to expand...
Click to collapse
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.

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

juniecho said:
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.
Click to expand...
Click to collapse
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

farhanito said:
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
Click to expand...
Click to collapse
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

bullghost said:
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
Click to expand...
Click to collapse
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

Related

ftf

how can find rom on arc s with tft file for upload with flashtool because download a rom and when extract the zip then i have a folder with meta inf and system files;
Search the ROM in the Android Developement section
Sent from my iPad 2 using Tapatalk
maszaphs said:
how can find rom on arc s with tft file for upload with flashtool because download a rom and when extract the zip then i have a folder with meta inf and system files;
Click to expand...
Click to collapse
Ugh. There are ROMs everywhere. SEARCH.
LT18i: http://forum.xda-developers.com/showthread.php?t=1406589
LT18a: http://forum.xda-developers.com/showthread.php?t=1435541

[Q] Deodex stock .681 ROM?

Could somebody help me: "How to" easy deodex my rooted .681 ROM?
I'm not expert :angel:
I too am waiting impatiently for this
Why wait when you can do it yourself.
...Sent from Zed
Not everyone can. Can you do that? Or write how to do it.
But it is best to have a flashable zip patch.
1jkan said:
Not everyone can. Can you do that? Or write how to do it.
Click to expand...
Click to collapse
If you can read and got a computer you can deodex. See the link in my sig.
...Sent from Zed
Poorly know English. Before I get through my language translation is 100 times you do this patch.
1jkan said:
Poorly know English. Before I get through my language translation is 100 times you do this patch.
Click to expand...
Click to collapse
Will upload tonight when I get home.
Sent from my D5503 using XDA Premium 4 mobile app
Not going to have time tonight so a quick suggestion, download munjenis ROM, copy the app, priv-app and framework folder to the attached zip and flash that.
I have done according to your instructions I copied from rom munjeni these folders and compress to zip. Zip is 412MB. Then flashed and bootlop ...
1jkan said:
I have done according to your instructions I copied from rom munjeni these folders and compress to zip. Zip is 500MG over. Then flashed and bootlop ...
Click to expand...
Click to collapse
Download the attached zip, navigate to the system folder so you see the 3 folders I've mentioned, then drag and drop the same 3 folders from the ROM into it (don't change any compression settings) then flash.
XperienceD said:
Download the attached zip, navigate to the system folder so you see the 3 folders I've mentioned, then drag and drop the same 3 folders from the ROM into it (don't change any compression settings) then flash.
Click to expand...
Click to collapse
Worked like a charm. Thank you.
I do it! Thanks!
XperienceD said:
Not going to have time tonight so a quick suggestion, download munjenis ROM, copy the app, priv-app and framework folder to the attached zip and flash that.
Click to expand...
Click to collapse
So if I get it right I can do the same with this rom here http://forum.xda-developers.com/showthread.php?t=2723674 but I need a new zip to replace the files for the 757 firmware or I can use the same one that you attached here for the 681 rom ?
andreaspe said:
So if I get it right I can do the same with this rom here http://forum.xda-developers.com/showthread.php?t=2723674 but I need a new zip to replace the files for the 757 firmware or I can use the same one that you attached here for the 681 rom ?
Click to expand...
Click to collapse
Use this instead now - http://forum.xda-developers.com/showthread.php?t=2713329
XperienceD said:
Use this instead now - http://forum.xda-developers.com/showthread.php?t=2713329
Click to expand...
Click to collapse
Yeah i have seen this tool recently and most probably i'm gonna use it to deodex. But what about my question? Is it right to do it as I described or I will end in problems ? Thanks for your answer

Help to make a flashable modem (D855P)?

Greetings forum, could someone help me explaining how to make a flashable modem zip for TWRP for my (D855P), looked everywhere and didn't find any guide, thanks in advance for your time.
pankk said:
Greetings forum, could someone help me explaining how to make a flashable modem zip for TWRP for my (D855P), looked everywhere and didn't find any guide, thanks in advance for your time.
Click to expand...
Click to collapse
Just find some flashable kernel, look up the META-INF / com / google / android / updater.script (open in notepad++)
package_extract_file("modem.img", "/dev/block/platform/msm_sdcc.1/by-name/modem");
that should do it , the modem.img or whatever you want to name it has to be inside the zip
bender_007 said:
Just find some flashable kernel, look up the META-INF / com / google / android / updater.script (open in notepad++)
package_extract_file("modem.img", "/dev/block/platform/msm_sdcc.1/by-name/modem");
that should do it , the modem.img or whatever you want to name it has to be inside the zip
Click to expand...
Click to collapse
Really appreciate your help, my modem is .bin how could i convert it to .img?
2 options
1. Just instead of modem.img in command line put "modem.bin"
2. Rename your modem.bin to modem.img
Poslano sa mog LG-D855 koristeći Tapatalk

Xperia 10 Plus' FTF file

Does anybody know how to extract files from 10 Plus' FTF file? I can't convert the system.sin into .ext using the Flashtool by Androxyde as its giving me a prompt "this sin version is not yet supported" hence I cannot extract system apps from it.?
Look fle the tool by @IgorEisberg
See his profile and you find it
Pandemic said:
Look fle the tool by @IgorEisberg
See his profile and you find it
Click to expand...
Click to collapse
Thanks! It's working.?

Build.Prop file

Hi! Can anyone upload the build prop file from a G6 play with pie please? I want to use it on a gsi rom
You find it inside the system.img of the stock firmware
https://mirrors.lolinet.com/firmware/moto
Sent from my ali using XDA Labs
WoKoschekk said:
You find it inside the system.img of the stock firmware
Click to expand...
Click to collapse
System.img is divided in multiple files. How can I extract it?
Can anyone of u just upload a file or send it to me?
search for the simg2img-tool to convert them to single images. Then you can open it.

Categories

Resources