Android: kdz ke zip

From OnnoWiki
Jump to navigation Jump to search

sumber: https://forum.xda-developers.com/showthread.php?t=2180586

In LG phones L7/5/3 to opted for DZ format, if we unpack one ROM KDZ we find a CAB, and if you unzipped the CAB seems the DZ.

DZ files are tablets that can be flashed directly, and as always, you can unpack to extract the ROM in BIN format.


NECESSARY TOOLS

   Unpack KDZ = LGExtract.exe by navossoc - http://forum.xda-developers.com/showthread.php?t=1566532
   Unpack CAB = any decompressor, on Windows, eg. WinRAR.
   Unpack DZ = DZDecrypt.exe DZ_Creator.exe by copsfrance - http://forum.xda-developers.com/showthread.php?t=453469
   And of course a ROM format KDZ or DZ.


PROCEDURE The first thing to do is to unpack the KDZ, so copy the file LGExtract.exe on the route where we have the ROM format KDZ and from the console (which previously must be located on the route of the ROM) type:

Quote:

WINDOWS Code:

LGExtract.exe -kdz V10X_xx.kdz

LINUX Code:

wine LGExtract.exe -kdz V10X_xx.kdz

and you press Enter

NOTE Where it saysV10X_xx.kdz must be the name of the ROM, for exampleV10A_00.kdz

When the process is complete will see a file with the same name as the ROM, but with the extension .cab, for example, V10A_00.cab Unzip it and will the DZ and a DLL file To unpack the DZ type this:

Quote:

WINDOWS Code:

DZDecrypt.exe LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz

LINUX Code:

wine DZDecrypt.exe LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz

And you press Enter

NOTE Where it saysLGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz should be the name of the DZ, for example:LGE610AT-00-V10b-EUR-XXX-MAY-23-2012+0.dz

We already have the ROM in BIN format, now you have to concatenate the files SYSTEM, so we use the console and...:

Quote:

WINODWS Code:

copy /b "system.img.ext4_[*]" "system.img"

LINUX Code:

cat system.img.ext4_* > system.img.ext4

And you press Enter and you can delete the files system.img.ext4_0, system.img.ext4_1,..., system.img.ext4_6 (version DZDecrypt.exe v1.0c+ does this job automatically)


Now we'll have a list like this: Quote:

Code:

amss.bin
boot.img
boot_logo.bin
emmc_appsboot.bin
oemsbl.bin
partition.bin
persist.img.ext4
qcsbl.mbn
qcsblhd_cfgdata.mbn
recovery.img
system.img.ext4

Files .ext4 are you can rename to .img and mount as one drive in Linux or WIndows with Winimage manipulate its contents

Quote:

LINUX: Code:

mkdir system
sudo mount system.img.ext4 system -oloop

To disassemble Code:

sudo umount system

With this I believe that we have done, if something is missing or you have any questions to ask without fear.


Referensi