Q/What is this guide for ??
A/To extract *.KDZ file into *.DZ .
Q/Why should I extract it ??
A/To let you use lg flash tool , it is very useful for unbrick uses .
You can use this tool as a -One Click- tool to do that .
1- Download it (from attachments) .
2- Put the *.KDZ file in the folder and name it with ''file'' .
3- Run the tool (Run_Me.bat) .
4- That's all .
OR (manually) :-
What you need is :-
A- Download LGExtract.exe from the attachment (from this post) .
B- A good archive program (for example "7zip" , "winrar" ..etc) .
or
Download 7za.exe from the attachments (from this post) .
1- Make a folder name it temp , test , new .... anything you want .
2- Put "LGExtract.exe" and the *.KDZ file in that folder (and the ''7za.exe'' if you used it) .
---Now you have a folder contains a kdz , "lgextract.exe" and ''7za.exe''
3- Now in that folder press and hold the "shift" key and then do a right click ,, choose "open command window here" .
4- Now in that command window write :-
Code:
lgextract -kdz [Your *.KDZ file name].KDZ
replace "[Your *.KDZ file name]" with that KDZ name .
5- after it finsh extracting you will find a *.cab file in the folder that you were working. ,, extract it with any programe .
or
write :-
Code:
7za x [Your *.cab file name].cab
replace ''[Your *.cab file name]'' with the *.cab file name .
Now you should have a *.DZ file and *.dll file .
Credits :-
- navossoc For his file ''LGExtract.exe'' (At LG-Optimus Black Forum) .
Or you can use UpTestEX_mod2_marwin from kdz-update rar (http://forum.xda-developers.com/attachment.php?attachmentid=1642495&d=1358114024) (it is flashing rar from http://forum.xda-developers.com/showthread.php?p=36676469#post36676469 ) where all flashing tool is..
1. Download and extract from link
2. Put wanted .kdz into kdz-update folder (or where u extract rar) and left that folder open to see it
3. Run UpTestEX_mod2_marwin
4. Select yours .kdz
5. Hit Start Upgrade
When log begins in UpTestEX_mod2_marwin after hitting Start Upgrade in kdz-update folder you can see new .rar file (for example v20A_00), and quickly make copy of that .rar to desktop or another prepared folder because it's gonna disappear real quick!
In new zip folder you have .dz and .dll!
Sorry, it is not my intention to hijacking thread or post.. i think that a variety of choices is always a good thing! Cheers!
You can extract .dz and .dll without start upgrade...
- In UpTestEX_mod2_marwin go to "Tool>Decrypt KDZ file".
- You can chose the KDZ to extract, select the folder to store .dz and .dll (Select decrypt Result directory).
- klick "Decrypt kdz file"
- When ready, the folder containing .dz and.dll will pop up...
How to unpack DZ?
hpnxfox said:
In new zip folder you have .dz
Click to expand...
Click to collapse
Whether for a normal user is the ability to "unpack" DZ?
ze7zez said:
Whether for a normal user is the ability to "unpack" DZ?
Click to expand...
Click to collapse
afaik, dz is encrypted, and we cant unpack it
ze7zez said:
Whether for a normal user is the ability to "unpack" DZ?
Click to expand...
Click to collapse
As said above, we do not have knowledge to unpack .dz because is Lg property and is encrypted!
On lg990 tool kits it can be done!
You just extracted and before close the toolkits, you must copy the extracted file on your harddisk.
But, i'm still confused what should i do next above the extracted file
Sent from my LG-P895 using Tapatalk 4 Beta
The CAB file is not extracting after LGextract KDZ.
found out the KDZ has problem.
OS_Hacking said:
Q/What is this guide for ??
A/To extract *.KDZ file into *.DZ .
Q/Why should I extract it ??
A/To let you use lg flash tool , it is very useful for unbrick uses .
You can use this tool as a -One Click- tool to do that .
1- Download it (from attachments) .
2- Put the *.KDZ file in the folder and name it with ''file'' .
3- Run the tool (Run_Me.bat) .
4- That's all .
OR (manually) :-
What you need is :-
A- Download LGExtract.exe from the attachment (from this post) .
B- A good archive program (for example "7zip" , "winrar" ..etc) .
or
Download 7za.exe from the attachments (from this post) .
1- Make a folder name it temp , test , new .... anything you want .
2- Put "LGExtract.exe" and the *.KDZ file in that folder (and the ''7za.exe'' if you used it) .
---Now you have a folder contains a kdz , "lgextract.exe" and ''7za.exe''
3- Now in that folder press and hold the "shift" key and then do a right click ,, choose "open command window here" .
4- Now in that command window write :-
Code:
lgextract -kdz [Your *.KDZ file name].KDZ
replace "[Your *.KDZ file name]" with that KDZ name .
5- after it finsh extracting you will find a *.cab file in the folder that you were working. ,, extract it with any programe .
or
write :-
Code:
7za x [Your *.cab file name].cab
replace ''[Your *.cab file name]'' with the *.cab file name .
Now you should have a *.DZ file and *.dll file .
Credits :-
- navossoc For his file ''LGExtract.exe'' (At LG-Optimus Black Forum) .
Click to expand...
Click to collapse
When tried to flash extracted DZ and dll file, flash tool gives an error!
Can I use these tools to flash a P880, where kdz fails? Compare http://forum.xda-developers.com/showpost.php?p=61916022&postcount=356
Where to I get the newest tools for dowload used with Win7? I have a free phone used in Austria.
I tried it and I get:
cannot find archive. file.cab was not found
lg-optimus said:
I tried it and I get:
cannot find archive. file.cab was not found
Click to expand...
Click to collapse
The manual method worked for me. Don't forget (like me) to read on after you extracted the cab-file.
I'm trying to extract D325f810d_00.kdz (LG L70) and after starting the process the .cab file gets created and the app crashes (windows 10 x64).
If I try to extract the cab with Winrar or 7zip it will tell me that the file is invalid although the filesize is the same as the .kdz.
theplagueisback said:
I'm trying to extract D325f810d_00.kdz (LG L70) and after starting the process the .cab file gets created and the app crashes (windows 10 x64).
If I try to extract the cab with Winrar or 7zip it will tell me that the file is invalid although the filesize is the same as the .kdz.
Click to expand...
Click to collapse
same thing,
it says: file corrupted
and method 1 didn't work
solution please ?
Could you sideload the zip I instead?
KDZ to EXT? No problem!
Now we can extract the files KDZ for P880 without a problem.
Download LGExtract, which you can find in the thread [TOOL] LGExtract 0.2.1 by @navossoc
Download all versions WindowsLGFirmwareExtract, which you can find in the thread [TOOL] KDZ and TOT Extractor by @bullghost and use the one that works for for your DZ.
For P880 works well WindowsLGFirmwareExtract-ver.1.2.2.0
Download Ext4 Unpacker, which you can find in the thread [WINDOWS] [TOOL] Android ICS JB EXT4 ImageFile Unpacker!!! by @h311sdr0id
It will be useful also reliable 7-Zip, available on http://www.7-zip.org
Extraction KDZ as follows:
1.
Code:
[COLOR="Blue"]LGExtract.exe[/COLOR] -kdz V10H_00.kdz
[COLOR="blue"]7z.exe[/COLOR] e V10H_00.cab
2. Open DZ File in WindowsLGFirmwareExtract.exe, select the file n.e. system.img and click on Extract DZ
3. Open Image file ICS/JB/EXT4 system.img in ext4_unpacker.exe and
save the new file with the extension n.e. EXT
4. Always open the EXT file using 7-Zip
OS_Hacking said:
Q/What is this guide for ??
A/To extract *.KDZ file into *.DZ .
Q/Why should I extract it ??
A/To let you use lg flash tool , it is very useful for unbrick uses .
You can use this tool as a -One Click- tool to do that .
1- Download it (from attachments) .
2- Put the *.KDZ file in the folder and name it with ''file'' .
3- Run the tool (Run_Me.bat) .
4- That's all .
OR (manually) :-
What you need is :-
A- Download LGExtract.exe from the attachment (from this post) .
B- A good archive program (for example "7zip" , "winrar" ..etc) .
or
Download 7za.exe from the attachments (from this post) .
1- Make a folder name it temp , test , new .... anything you want .
2- Put "LGExtract.exe" and the *.KDZ file in that folder (and the ''7za.exe'' if you used it) .
---Now you have a folder contains a kdz , "lgextract.exe" and ''7za.exe''
3- Now in that folder press and hold the "shift" key and then do a right click ,, choose "open command window here" .
4- Now in that command window write :-
Code:
lgextract -kdz [Your *.KDZ file name].KDZ
replace "[Your *.KDZ file name]" with that KDZ name .
5- after it finsh extracting you will find a *.cab file in the folder that you were working. ,, extract it with any programe .
or
write :-
Code:
7za x [Your *.cab file name].cab
replace ''[Your *.cab file name]'' with the *.cab file name .
Now you should have a *.DZ file and *.dll file .
Credits :-
- navossoc For his file ''LGExtract.exe'' (At LG-Optimus Black Forum) .
Click to expand...
Click to collapse
When extract error. Korean LG G4 F500K Nougat Firmware v30c.
This method worked perfectly. To restor or extracted .kdz. To my pc or LG G3 VS985.
Make shure you have. The latest Windows installer update installed. And .net framework runtime, visual c runtime, visual basic runtime, and java runtime updates. And then the LG flash and extract tools should work perfectly. I'am running Windows 7 Pro 64 bit. Do a nandroid back up first.
And not all the file links. Do not work in the 2nd page. Just google the files. To respectively to find file names of course. That is how I found them.
The board system. Will not let post external links. In till afer 10 post. Just google search it. "How to Backup Your Entire Android Device to PC" The link result your looking for is techipages dot com. The 2nd google search. Is "How to flash Android 6.0 M stock firmware on LG VS985 – Using LG UP Software" The link your looking for in this google search results is.
"mylgphones dot com forward slash how-to-flash-android-6-0-m-stock-firmware-on-lg-vs985-using-lg-up-software". You can search with or without quotes. There ment for word separateseparations. After you install and or extract. Updates, software, and files. It is recommended. To restart you pc. So windows knows of the changes. In files and software. Both methods work perfectly. For my Verizon LG G3 VS985. I have experiences rooting. Five other android phones. Manly Samsung and LG brands. This more of reply or tut. To your question. Hope it helped. Sincerely djsuns.
tnx worked on p880 v10e perfectly
It doesent save the files no matter what... it wont let me change the folder from Read olnly either... any ideas
Related
HI,
I am trying to get an apk from a KDZ file. I can open up the KDZ but then there are many other files inside. I guess the apks are in one of these other files. Does anyone know how to get the apk from within .img files etc?
Thanks
ballandbiscuit said:
HI,
I am trying to get an apk from a KDZ file. I can open up the KDZ but then there are many other files inside. I guess the apks are in one of these other files. Does anyone know how to get the apk from within .img files etc?
Thanks
Click to expand...
Click to collapse
How you extracted KDZ?
Why don't you get it from the sapps module zip on void's rom?
I need a particular app from the Orange UK ROM - the app is called Signal Boost and it is for UMA calling.
Is that app in the ROM you mention?
What you need is this: http://forum.xda-developers.com/showpost.php?p=6303911&postcount=827
It allows you to decompress system.mbn (where all the files are).
Compile it under linux, or use cygwin.
Remember that official ROMs are odexed. If you want to deodex apks, you can use dsixda's excelent kitchen. It is used to make lots of ROMs you see around here.
For that, take a look here (you can also use it under cygwin):
http://forum.xda-developers.com/showthread.php?t=633246
If you understand portuguese, or use a translator, check these:
http://www.androidpt.com/index.php?option=com_kunena&func=view&catid=97&id=91547&Itemid=30
http://www.androidpt.com/index.php?option=com_kunena&func=view&catid=97&id=97416&Itemid=30
Most info was gathered from xda forums, only translated and organized to portuguese folks.
Many thanks, I will see if I can get anywhere with this.
You just need to compile unyaffsmbn (gcc unyaffsmbn.c -o unyaffsmbn).
Then copy system.mbn to unyaffsmbn folder. Then do:
./unyaffsmbn system.mbn
You'll have all files extracted in few seconds.
Then if you want to use those files in kitchen, do this:
First install kitchen, as explained in link i posted above.
Delete all symlinks in bin/ (i think there are 52)
Then you must create a zip file with this structure:
/boot.img
/system/ (here you put all the files you extracted. You should have 10 folders and 1 file)
Now just copy this zip to PATH_TO_KITCHEN/original_update/
Then run it with:
cd PATH_TO_KITCHEN
./menu
Right I have three system.mbn files named:
system.mbn_0
system.mbn_1
system.mbn_2
I have tried a few tools (under Windows) to extract them. Firstly a windows compiled version of unyaffs which falls over with : Exception: STATUS_ACCESS_VIOLATION at eip=61100F73
I then tried another version which didn't error but also didn't do anything!
A different tool errored with "the header states that its binary is longer than the whole file" which makes me think perhaps these three files need combining into one?
I have tried combining them into one file using the copy /b command in Windows which creates a single large file but I still have the same issues trying to unpack it.
Any more ideas? Thanks
Right have now installed Cygwin and managed to extract the files using unyaffsmbn! Thanks for all your help, learnt a lot today!
Right I have three system.mbn files named:
system.mbn_0
system.mbn_1
system.mbn_2
Click to expand...
Click to collapse
How did you decompress kdz? I use LG Utils to extract to dz, then dzdecryptor to decompress dz to individual files. Then i use the tools i named to do the rest of it.
Also i can see that lg utils finds those system*, but puts them together before it ends. Maybe you used different software.
Anyway, i'm glad you managed to work it out
I have tried a few tools (under Windows) to extract them. Firstly a windows compiled version of unyaffs which falls over with : Exception: STATUS_ACCESS_VIOLATION at eip=61100F73
Click to expand...
Click to collapse
There is unyaffs, and unyaffsmbn. unyaffs also never worked with me.
I've read somewhere that with lg roms we must use unyaffsmbn. Don't remember were i saw it, neither why...
I used LG utils to extract the KDZ, then used DZExtract to expand the .dz file. Then I combined the system.mbn_0,1,2 files using copy /b.
I then used Cygwin and gcc to make unyaffsmbn.exe which then worked on the combined system.mbn file. Managed to get the apk I needed too.
PLease upload unyaffsmbn.exe for me please as i seriously need it.
Here you go...
Hi there, we are going to use excellent dsixda's HTC Android Kitchen to cook our custom ROMs for LG P500. The list of the things we are going to need:
Original ROM (Check this thread)
LG Utils 0.4.2 (Check this URL)
DzDecryptor v1.0b(Check this thread)
Cygwin (Check this URL
Unyaffsmbn (Check this thread)
Dsixda's HTC Android Kitchen (Check this thread)
Note: I have a "romcooking" folder on my home (C:\Users\Patricio\romcooking), inside i have all the utils needed, and the .kdz file for the stock ROM. I recommend to use tab to complete filenames since they are too long.
First we need to get a dz from the kdz (original firmware), extract LG Utils 0.4.2 and open KP500-Utils-EN.exe (You need to run this as administrator, or else you are getting an empty .cab file), select the I option (Extract files from KDZ file), and type the route to your .kdz file (Mine is C:\Users\Patricio\romcooking\V10A_00.kdz). Now, you must have a V10A_00.cab (Or another name, it depends on the stock rom you downloaded), open it with a extractor like 7zip or similar and extract the file "LGP500AT-00-V10a-EUR-XX-SEP-25-2010+0.dz" or similar to our romcooking folder.
Then we are going to uncompress the .dz with DZDecrypt (Press Win + R, type cmd and enter, then you cd to the folder where DzDecrypt is located (ex:
Code:
cd C:\Users\Patricio\romcooking\DZDecryptor_v1.0b
then we type:
Code:
DZDecrypt.exe "C:\Users\Patricio\romcooking\LGP500AT-00-V10a-EUR-XX-SEP-25-2010+0.dz" C:\Users\Patricio\romcooking\stockrom
This is going to create a "stockrom" folder in our original romcooking folder, you are going to see a lot of files in the stockrom folder, the important ones are boot.img and system.mbn (DZDecrypt should have merged your system.mbn_0, system.mbn_1 and system.mbn_2)
We need to install cygwin, open the setup.exe, just keep hitting next until you are on the select packages screen, go to "Devel" menu and select to install gcc, gdb and make, in "Interpreters" check perl, in "Archive" check zip and unzip, in "Web" check wget, in "Editors" check nano and vim and in "Utils" select cpio, util-linux and ncurses. Make some tea and wait for the cygwin install to finish and we are ready to go to the next step.
We are going to compile unyaffsmbn, copy the extracted files from unyaffsmbn, system.mbn and boot.img to C:\cygwin\home\Patricio, now fire up cygwin and compile unyaffsmbn with:
Code:
gcc -o unyaffsmbn unyaffsmbn.c
Now uncompress system.mbn, delete symlinks of bin/ and zip everything with:
Code:
mkdir system
cd system
../unyaffsmbn.exe ../system.mbn
find bin -type l -exec rm {} +
cd ..
zip -r stockrom.zip boot.img system/
We are ready to go to the kitchen (We have a stockrom.zip on C:\cygwin\home\Patricio, remember that)
Now we are going to use dsixda's HTC Android Kitchen, we need to have installed JDK. After we have downloaded and uncompressed the kitchen (Mine is in C:\cygwin\home\Patricio\kitchen), we need to put the ziped file we got in the previous step into the original_update folder of the kitchen. We are ready to go! fire up cygwin and cd to the kitchen location and exec ./menu , select option 1, you should see the zip file, put the number of it, and you are ready to go (It will create a WORKING_XXXXXX_XXXXXX folder, you can modify the files in WORKING_XXXX_XXXXX/system, add APKs, modify the apns file, etc).
This command also gives us a lot of options for our rom: enable root, add busybox, deodex our files, zipalign, etc. If you are going to edit text files, use an editor like Notepad++ or any other program that can open/edit/save files in linux compliant style. It's pretty easy to use the kitchen, just check the official thread for options or help
The common options i use are:
Add root permission (option 2), press f when asked and you are done
Add Busybox
Change name of the rom, easy cake
Advanced options, press 0
Add /data/app functionality
Add Apps2SD
Add custom boot animation functionality
Deodex files in your ROM
And Finally: Zipalign all *.apk files to optimize RAM usage
That should do the trick, when you are ready to cook your rom, just type 99, wait for it to build and it should be in the OUTPUT_ZIP folder in your kitchen folder.
Took info from this thread (About decompressing .dz and .mbn, and making it to work with the kitchen), and info from ruigui and tritant in this thread. The awesome android kitchen by dsixda. Sorry if i forgot to mention any work, just post it or pm me
If you have anything you want to add to the guide, just post it
You don't need to dual boot to linux. It can be done with cygwin.
When you follow dsixda's guide to install kitchen, do as said but don't install cygwin from that guide.
Instead, download from official site, choose default options, but add these packages (it will be compliant with kitchen and give a little extra funcionality):
Devel: gcc, gdb, make
Interpreters: perl
Utils: cpio, util-linux, ncurses
Archive: zip, unzip
Web: wget
Editors: vi, nano
Good guide, nicely done
EDIT:
In my wife's machine (using windows 7 64bit. i'm without computer, for now....), i've installed cygwin as said above.
Then added two folders to my home dir:
kitchen and unyaffsmbn
In kitchen, use the kitchen
In unyaffsmbn, copy the files from unyaffsmbn.zip to that dir, then compile it there
EDIT2:
If you edit text files under windows, USE NOTEPAD++, or any other program that can open/edit/save files in linux compliant style.
There are differences in Windows and Linux when ENTER is pressed, and you'll have issues when trying to flash or run your custom ROM
hi there... thanks a lot for your guide.
I'm trying to do the things you wrote step by step... I have extracted the dz file successfully, then I extracted the content using DZDecrypter... I found three files called system.mbn0, system.mbn1 and system.mbn2. The first and second are 80 Mbytes, the third just 17... Which one is the correct? When I try to use the command "unyaffsmbn system.mbn" (obviously I renamed the first and then the second) I get an error message ("impossible to execute binary file", or somenthing like that... I don't know how's in english because I'm italian).. Is that concerning to the presence of those three different files? Did somethind go wrong with the extracting process? Or maybe I didn't do somenthing important? Before doing this, I installed "build-essential" and did "gcc -o unyaffsmbn unyaffs.h" but apparently nothing happend... I got neither errors nor processes...
can you help me?
Awesome bro, I can try to make custom rom with indian version, ty.
vinnux said:
hi there... thanks a lot for your guide.
I'm trying to do the things you wrote step by step... I have extracted the dz file successfully, then I extracted the content using DZDecrypter... I found three files called system.mbn0, system.mbn1 and system.mbn2. The first and second are 80 Mbytes, the third just 17... Which one is the correct? When I try to use the command "unyaffsmbn system.mbn" (obviously I renamed the first and then the second) I get an error message ("impossible to execute binary file", or somenthing like that... I don't know how's in english because I'm italian).. Is that concerning to the presence of those three different files? Did somethind go wrong with the extracting process? Or maybe I didn't do somenthing important? Before doing this, I installed "build-essential" and did "gcc -o unyaffsmbn unyaffs.h" but apparently nothing happend... I got neither errors nor processes...
can you help me?
Click to expand...
Click to collapse
you shouldn't get three system.mbn files, did you used the 1.0b of DzDecryptor? when i used it, it said something about merging, i think that it gets the three files and then combines them to get a proper system.mbn
I used the downloaded version from the link you posted. At least I guess... :/ Well I'm going to try again soon! Thanks a lot again for your guide!
Sent from my LG-P500 using XDA App
Other methode for exctract mbn file, not need to connect the phone.
Windows only....
(1) Download LG-Utils 0.4.2: http://www.assembla.com/spaces/ks360...tils-0.4.2.zip
(2) Run KP500-Utils-EN.exe (or whatever language you prefer out of the available choices) and select I to extract the KDZ.
(3) Open the resulting CAB file and extract the DZ file.
(4) Download DZExtract: http://www.frenchcoder.com/upload/DZExtract-V0.2.zip
(5) Use DZExtract to extract the MBN files:
DZExtract -x GW620RAT-V10c-OCT-21-2009-RGS-CA_DZ+0.dz C:\extractedTo\
after compiling and chmod I do:
Code:
[email protected]:~/work/unyaffsmbn$ unyaffsmbn system.mbn
unyaffsmbn: command not found
both files are in that folder. Am I doing anything wrong?
Cheers.
@tritant - LG-Utils link not working
So.... You MUST compile unyaffsmbn first. Only then you'll have an "executable".
Code:
gcc unyaffsmbn.c -o unyaffsmbn
Then copy system.mbn to unyaffsmbn folder.
After that, do:
Code:
cd PATH_TO_UNYAFFSMBN
./unyaffsmbn system.mbn
You missed the ./
You can download lg utils from here
tuxcomputing said:
after compiling and chmod I do:
Code:
[email protected]:~/work/unyaffsmbn$ unyaffsmbn system.mbn
unyaffsmbn: command not found
both files are in that folder. Am I doing anything wrong?
Cheers.
@tritant - LG-Utils link not working
Click to expand...
Click to collapse
'course I compiled
of course your method worked and the one in the first post didn't...
exist only a windows version of dzextract?
ioshi said:
exist only a windows version of dzextract?
Click to expand...
Click to collapse
couldn't find a linux version, sorry.
btw, i'm rewriting the guide, hope to update it soon
please add the compiling method from ruigui (in the previous page). For some reason that's the only way I was able to compile on Ubuntu 10.
Cheers
It was a typo in first post (he switched file to be used in gcc).
Give the man some time to reorganize his thread
I did not mean to be rude by any means!
I appreciate the effort to create the how-to! Hopefully people will read the thread if they get stuck and use the right commands so that they don't abandon the idea of creating their own ROM
I also didnt want to call you rude... Sorry...
But we were exhanging some pms and he is redoing this tutorial.
Sometimes we make mistakes while typing long posts
installation aborted
thanks for this great tutorial
everything works like a charm , but when i flash my new rom i have an error says no enough space while writing boot image
any idea?
Update: okay i solved the problem, it seems that i missed up with the boot settings!
I finally made the zip file, but when I start the kitchen and select it, i find this:
"Warning: No META-INF folder found under working folder!
Warning: No META-INF/com/google/android folder found, creating it.
Did not find an update-script. Shall I create one (y/n)? (default: y): "
is that normal? and what should I do? :/
vinnux said:
I finally made the zip file, but when I start the kitchen and select it, i find this:
"Warning: No META-INF folder found under working folder!
Warning: No META-INF/com/google/android folder found, creating it.
Did not find an update-script. Shall I create one (y/n)? (default: y): "
is that normal? and what should I do? :/
Click to expand...
Click to collapse
yes this is normal, i got that warning, and i entered "yes" to create one, and everything went just fine!
good luck
For me, work with wine on linux mandriva 2010.2
[[email protected] rootlg]$ wine DZDecrypt.exe "LGP500AT-00-V10b-EUR-XX-OCT-01-2010+0-DZ.dz" rom
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP500AT-00-V10b-EUR-XX-OCT-01-2010+0-DZ.dz".
[■] Allocated memory: 280 Mo.
[■] Unpacking informations:
- Unpacking "amss.mbn" (Packed:008D2935 - Unpacked:010F6000).
- Unpacking "partition.mbn" (Packed:000000E9 - Unpacked:00000390).
- Unpacking "qcsblhd_cfgdata.mbn" (Packed:00000240 - Unpacked:00002534).
- Unpacking "qcsbl.mbn" (Packed:00007D88 - Unpacked:0000DFF0).
- Unpacking "oemsblhd.mbn" (Packed:00000026 - Unpacked:00000028).
- Unpacking "oemsbl.mbn" (Packed:0002C637 - Unpacked:0005EFB4).
- Unpacking "amsshd.mbn" (Packed:00000028 - Unpacked:00000028).
- Unpacking "appsboothd.mbn" (Packed:00000022 - Unpacked:00000028).
- Unpacking "appsboot.mbn" (Packed:00008A6F - Unpacked:0000D484).
- Unpacking "boot.img" (Packed:00385B3F - Unpacked:0038A800).
- Unpacking "system.mbn_0" (Packed:0307280E - Unpacked:05000000).
- Merging "system.mbn_1" (Packed:028EAA5A - Unpacked:05000000).
- Merging "system.mbn_2" (Packed:00738F81 - Unpacked:01003F40).
- Unpacking "recovery.img" (Packed:003BE683 - Unpacked:003C3800).
- Unpacking "splash.img" (Packed:00001C3A - Unpacked:0004B000).
[■] SubFiles: 0x780C3E84. (DzCreator)
[■] Closing file "LGP500AT-00-V10b-EUR-XX-OCT-01-2010+0-DZ.dz".
how do you install apktool on windows for noobs? i dont understand the instructions on apktools website so i was wondering if you guys could help.
Any help is appreciated.
----edit----
sorry i wasn't more descriptive. so i think i am supposed to download apktool install windows and the apktool file itself. on the apktool download page it says to unpack into windows directory. so im asking, do i download both files and move them to c: windows\ apktool (new folder created). how do i unpack them in the first place. i tried winrar and it gave back errors. Please help.
please? 46 view anyone? im sure some of you have apktool on windows 7
Took me 2 sec to find it.
[UTIL][15.05.11] Apktool v1.4.1 - a tool for reengineering apk files
Don't know if that is what you are looking for or not.
Also here, took the same amount of time to find it.
Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
BeenAndroidized said:
Took me 2 sec to find it.
[UTIL][15.05.11] Apktool v1.4.1 - a tool for reengineering apk files
Don't know if that is what you are looking for or not.
Click to expand...
Click to collapse
Thanks, but thats not what im looking for. know about that. it doesn't have instructions on the thread of how to install it on the thread. i have it downloaded. both the install windows file and the apktool file. now how do i install them? They are tar.bz2 files which windows can't do anything with so i dont know how to install it. please help
Download the tar extractor.
Here is one http://www.7-zip.org/
http://code.google.com/p/android-apktool/
Requirements
•JRE 1.6 (Java Runtime Environment)
•aapt command in a PATH
•basic knowledge of what is SDK, aapt, PATH, smali and Google search engine may be useful
Installation for noobs
•Windows:
1.Download apktool-install-windows-* file
2.Download apktool-* file
3.Unpack both to your Windows directory
•Linux:
1.Download apktool-install-linux-* file
2.Download apktool-* file
3.Unpack both to /usr/local/bin directory (you must have root permissions)
•Mac OS X:
1.Download apktool-install-macos-* file
2.Download apktool-* file
3.Unpack both to /usr/local/bin directory (you must have root permissions)
Installation of framework files
•See FrameworkFiles
Usage
•Open terminal/command line and type "apktool <enter>". Then you should see usage help.
Discuss it: Google Groups or XDA
ldrifta said:
http://code.google.com/p/android-apktool/
Requirements
•JRE 1.6 (Java Runtime Environment)
•aapt command in a PATH
•basic knowledge of what is SDK, aapt, PATH, smali and Google search engine may be useful
Installation for noobs
•Windows:
1.Download apktool-install-windows-* file
2.Download apktool-* file
3.Unpack both to your Windows directory
•Linux:
1.Download apktool-install-linux-* file
2.Download apktool-* file
3.Unpack both to /usr/local/bin directory (you must have root permissions)
•Mac OS X:
1.Download apktool-install-macos-* file
2.Download apktool-* file
3.Unpack both to /usr/local/bin directory (you must have root permissions)
Installation of framework files
•See FrameworkFiles
Usage
•Open terminal/command line and type "apktool <enter>". Then you should see usage help.
Discuss it: Google Groups or XDA
Click to expand...
Click to collapse
so do i download the files and extract them with 7zip to c:\windows\apktool\?
not sure if you need 7zip. think you can just extract it to rood of C: drive.. the link i put on last post is where i got those directions from... just try it, if it dont work than i will look more into it for you
windows cant do anything with the tar.bz2 files so you need a third party program. i tried extracting with 7zip and winrar but it gives back an error so it doesnt extract.
I think your answer lies here
http://forum.xda-developers.com/showthread.php?t=1466100
===============================================================================
LG-P970 ROM CONVERTER
Conversor KDZ a BIN/FLS
===============================================================================
Select the Files to be Converted
1 - V20J_00.kdz
Enter It's Number: 1
Selected file is : V20J_00.kdz
Extracting:
KDZ: V20J_00.kdz
File: V20J_00.cab
File(s) successfully extracted!
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
Cabinet V20J_00.cab
Extracting V20J.wdb
ERROR: Cabinet file V20J_00.cab is corrupted
File Not Found
Basic usage:
LGExtract -kdz file.kdz
LGExtract -wdb file.wdb model.dll
Version: 0.2.1
The system cannot find the file specified.
The system cannot find the path specified.
File Not Found
Merging AP files ...
[*].bin
The system cannot find the file specified.
0 file(s) copied.
Cleaning directory ...
Could Not Find C:\Users\Wyrman\Documents\R00TP970\[*].bin
File Not Found
The system cannot find the file specified.
The system cannot find the file specified.
DONE
===============================================================================
Choose if you want to patch bin file with CWM Recovery
WARNINGNLY FOR LG-P970
===============================================================================
Do you want to patch BIN file with CWM Recovery? (Y/N):
wyrman said:
===============================================================================
LG-P970 ROM CONVERTER
Conversor KDZ a BIN/FLS
===============================================================================
Select the Files to be Converted
1 - V20J_00.kdz
Enter It's Number: 1
Selected file is : V20J_00.kdz
Extracting:
KDZ: V20J_00.kdz
File: V20J_00.cab
File(s) successfully extracted!
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
Cabinet V20J_00.cab
Extracting V20J.wdb
ERROR: Cabinet file V20J_00.cab is corrupted
File Not Found
Basic usage:
LGExtract -kdz file.kdz
LGExtract -wdb file.wdb model.dll
Version: 0.2.1
The system cannot find the file specified.
The system cannot find the path specified.
File Not Found
Merging AP files ...
[*].bin
The system cannot find the file specified.
0 file(s) copied.
Cleaning directory ...
Could Not Find C:\Users\Wyrman\Documents\R00TP970\
[*].bin
File Not Found
The system cannot find the file specified.
The system cannot find the file specified.
DONE
===============================================================================
Choose if you want to patch bin file with CWM Recovery
WARNINGNLY FOR LG-P970
===============================================================================
Do you want to patch BIN file with CWM Recovery? (Y/N):
Click to expand...
Click to collapse
V20j, where does it come from? Just use v20s instead. Works fine for me
Sent from my LG-P970 using xda app-developers app
Nooby that file comes from LG site. It's the Canadian file. Where is V20S from. Will it work for me being Canadain? if so where do I get that file bud?
N00BY0815 said:
V20j, where does it come from? Just use v20s instead. Works fine for me
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
I followed this post. Two people have did this sucessfully.
Code:
have my phone running on stock v20j now with cwm... all running smoothly ..for those who need cwm this is what i did for those who need help like i did ..i downloaded v20j kdz from here
hxxp://lg-phone-firmware.com/index.php?id_mod=1
then i converted in to bin fls with this converter found here
hxxp://forum.xda-developers.com/showthread.php?t=1692191
when ask if u want cwm installed select yes
install bin with smart flash found in upk.exe
found here
hxxp://forum.xda-developers.com/showthread.php?t=1111771
in install superuser zip
thanks all for your dedicated hard work much appreciated
All is good. Downloaded LG Converter 2.1 .exe and all turned out well. Thanks for helping
V20S works for all countries...bcoz all country people tried and reported no problems
pvsukumars said:
V20S works for all countries...bcoz all country people tried and reported no problems
Click to expand...
Click to collapse
Thankx for the info.
Hey,
After a lot searching i have extract my .kdz file to 2 different files. a .dll and a .dz file. I am searching how can i get those files working in the Smartflashtool. Sow i need a app bin and a CP bin, On this moment i need to know how can i get those files?
- Can i extract a .kdz to a .wdb and .dll sow after that i can extract those to app bin and cp bin?
- Can i extract a .dz file after that compile it to .wdb and do the first step again?
- Is it possible to get from the .dz file also the app bin and the cp bin?
Wrong section sorry
Johrans said:
Hey,
After a lot searching i have extract my .kdz file to 2 different files. a .dll and a .dz file. I am searching how can i get those files working in the Smartflashtool. Sow i need a app bin and a CP bin, On this moment i need to know how can i get those files?
- Can i extract a .kdz to a .wdb and .dll sow after that i can extract those to app bin and cp bin?
- Can i extract a .dz file after that compile it to .wdb and do the first step again?
- Is it possible to get from the .dz file also the app bin and the cp bin?
Wrong section sorry
Click to expand...
Click to collapse
1)
kdz is a archive format, you can't choose what you get out of it. (It's like saying I want a image out of that random zip file)
Click to expand...
Click to collapse
2)
Ask novassoc He said some time ago he's working on dz files.
It should already be possible to extract dz file though, Check on the Optimus G forum.
I don't know to what it extracts possible bin/fls.
Click to expand...
Click to collapse
3)
Again I don't know to what it extracts and if or if not it's possible to revert to dz format. Should be possible.
Click to expand...
Click to collapse
I can give you lot more info about bin files if your interested, but you'd have to ask novassoc about kdz and wdb.
If dz decompiles to bin/fls then you should be able to create the dz file again, but after extracting the bin/fls file you should not create a bin/fls file again. It's possible, but it could kill your phone since emergency recovery usually relies on first or second stage bootloader and the bin/fls files overwrites it when flashing it on your phone and if something goes wrong.
xonar_ said:
1)
2)
3)
I can give you lot more info about bin files if your interested, but you'd have to ask novassoc about kdz and wdb.
If dz decompiles to bin/fls then you should be able to create the dz file again, but after extracting the bin/fls file you should not create a bin/fls file again. It's possible, but it could kill your phone since emergency recovery usually relies on first or second stage bootloader and the bin/fls files overwrites it when flashing it on your phone and if something goes wrong.
Click to expand...
Click to collapse
Thanks, Let we say we have the next files from different phones like the lg L5 e610 it has as firmware files a .dz and a .dll i know the .kdz files haves those files from those firmware. and also when it isnt a .kdz file its possible to encrypt it to .kdz
You know a lot about bin files. What contains a App.bin and a CP.bin when you use it for the SmartFlashTool. Because i wanne try to get from the Firmware files like ( .kdz or .dll or .dz) a app.bin and cp.bin,
Johrans said:
Thanks, Let we say we have the next files from different phones like the lg L5 e610 it has as firmware files a .dz and a .dll i know the .kdz files haves those files from those firmware. and also when it isnt a .kdz file its possible to encrypt it to .kdz
You know a lot about bin files. What contains a App.bin and a CP.bin when you use it for the SmartFlashTool. Because i wanne try to get from the Firmware files like ( .kdz or .dll or .dz) a app.bin and cp.bin,
Click to expand...
Click to collapse
Yes. There is already a tool somewhere to create kdz archive (One of LG's ones, you just have to use WindowsEnabler to get the option)
The bin file (AP) is basically a collection of data blocks and each data blocks usually correspond to partitions on the device.
The first meg is the header which contains the info about all the data blocks
like size on file,offset on file,size on device,offset on disk etc.
The layout of the header seems to be different for each phone. You can identify what type of bin file it is from it's magic number.
Then after the header the data blocks are just appended to the file. Doesn't have to be since the header allows there to be gaps and overlapping data blocks, but thats not practical so it will probably never be any other way.
You can check my tool for extracting bin files here. You can get alot more info on exactly how it's set out in my git by reading the sources.
I don't know to much about the fls file (CP) besides that it does a raw write of everything after what appears to be the header to somewhere in my phones nv partition and contains baseband information.
xonar_ said:
Yes. There is already a tool somewhere to create kdz archive (One of LG's ones, you just have to use WindowsEnabler to get the option)
The bin file (AP) is basically a collection of data blocks and each data blocks usually correspond to partitions on the device.
The first meg is the header which contains the info about all the data blocks
like size on file,offset on file,size on device,offset on disk etc.
The layout of the header seems to be different for each phone. You can identify what type of bin file it is from it's magic number.
Then after the header the data blocks are just appended to the file. Doesn't have to be since the header allows there to be gaps and overlapping data blocks, but thats not practical so it will probably never be any other way.
You can check my tool for extracting bin files here. You can get alot more info on exactly how it's set out in my git by reading the sources.
I don't know to much about the fls file (CP) besides that it does a raw write of everything after what appears to be the header to somewhere in my phones nv partition and contains baseband information.
Click to expand...
Click to collapse
Thanks, but still i am thinking why are there extractors for the kdz-> to cab -> to.wdb and .dll -> to App bin and CP bin but not from the kdz-> to cab -> .dz and .dll -> to App bin and CP bin.
is there sow big difference between the .dz and .wdb
I don't know much about what your talking here. I know that the complete firmware from LG comes in a v....kdz package. I know that ...cab containers are Microsoft's preferred format (something like ...zip or ...rar). I know ...bin stands for a lot BINary data files. I know that ...dll stands for Dynamic Data Library. That APPlications are often called app ...
... and I have the feeling that a lot different things are mixed together here. Sure xonar knows what he is talking about but the rest sounds like not much clue and the rest filled up with things you heard somewhere.
Sent from my LG-P970 using xda app-developers app
SaschaKH said:
I don't know much about what your talking here. I know that the complete firmware from LG comes in a v....kdz package. I know that ...cab containers are Microsoft's preferred format (something like ...zip or ...rar). I know ...bin stands for a lot BINary data files. I know that ...dll stands for Dynamic Data Library. That APPlications are often called app ...
... and I have the feeling that a lot different things are mixed together here. Sure xonar knows what he is talking about but the rest sounds like not much clue and the rest filled up with things you heard somewhere.
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Let me try to explain a litle for y.
You know that a kdz file contains a cab file. Every cab file contains a .dll file.
But not every cab file contains a wdb.
Sow what i need is a wdb file from a cab what doesnt have a wdb file. Or i need a extractor what makes from a .dz file and a .dll file a cp Bin and Ap bin. ( .dz file is the other file what could be in the cab without a .wdb,)
For some more information: When you use the SmartFlashTool. You need 2 files the CP Bin and AP bin.
You can use a extractor to get from a KDZ file a wdb and .dll file. ( From those its possible to create the CP Bin and AP bin)
But when you dont have de WDB file but you have a .DZ file then i cant create a CP bin and AP bin.
thats the problem. Sow now how can i fix that
Johrans said:
Let me try to explain a litle for y.
You know that a kdz file contains a cab file. Every cab file contains a .dll file.
But not every cab file contains a wdb.
Sow what i need is a wdb file from a cab what doesnt have a wdb file. Or i need a extractor what makes from a .dz file and a .dll file a cp Bin and Ap bin. ( .dz file is the other file what could be in the cab without a .wdb,)
For some more information: When you use the SmartFlashTool. You need 2 files the CP Bin and AP bin.
You can use a extractor to get from a KDZ file a wdb and .dll file. ( From those its possible to create the CP Bin and AP bin)
But when you dont have de WDB file but you have a .DZ file then i cant create a CP bin and AP bin.
thats the problem. Sow now how can i fix that
Click to expand...
Click to collapse
Have you tried
DZ-Creator / DZ-Decrypter
or
DZTools
If that fails then you have to reverse engineer your dz file yourself.
The DZ file can't be converted to bin/fls from the looks of it. That is if your dz file is similar to the dz file in the KS20.
That dz file is a collection of data blocks much like the bin file, but they aren't interchangable and I don't think SFT will work with them.
xonar_ said:
Have you tried
DZ-Creator / DZ-Decrypter
or
DZTools
If that fails then you have to reverse engineer your dz file yourself.
The DZ file can't be converted to bin/fls from the looks of it. That is if your dz file is similar to the dz file in the KS20.
That dz file is a collection of data blocks much like the bin file, but they aren't interchangable and I don't think SFT will work with them.
Click to expand...
Click to collapse
OKey sow if i understand this correctly is the .dz a kind of like the bin file. If i read correctly on this forum the wdb is also a collection off files like a zip file.
I think your are right it isnt possible to replace the .dz for a .wdb sow i can flash it in the SFT
Johrans said:
OKey sow if i understand this correctly is the .dz a kind of like the bin file. If i read correctly on this forum the wdb is also a collection off files like a zip file.
I think your are right it isnt possible to replace the .dz for a .wdb sow i can flash it in the SFT
Click to expand...
Click to collapse
Yes.
I don't think it's possible to flash dz file to your phone with SFT.
xonar_ said:
Yes.
I don't think it's possible to flash dz file to your phone with SFT.
Click to expand...
Click to collapse
Thanks for the answers, i know its possible with the kdz flasher but that tool isnt real stable and doesnt do a factory reset after the flash. it must be manual then.