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.
Related
Hello!
I'm trying get some information about the .wdb format, if anyone know something I really like to know about.
For example, the kdb is a crypted cab file, who have inside some other files.
Maybe a .dz and a .dll or a .dll and a .wdb, is there a "third option"?
I heard about CDMA and 3GQTC, it's how this files are "packed"? (in kdz)
I see that KP500 got a .wbd extractor, then, if we extract it, we got 5 different files *.dfat, *.fls and others...
So, what can we do with that files extracted from .wdb, what we won with this?
Can we create custom roms or something like that?
I think this concept work for all the LGE cellphones or almost everyone, right?
Thanks.
[]'s
You could use [1]TrID to see if it can tell something
[1]http://mark0.net/soft-trid-e.html
Probably inside the wdb there's the files that compose the rom, like the dz which contains the recovery.img, boot.img and so on. LG seems to have changed the decompress process as the KP500 lg utils cant decompress the wdb files. Maybe with the files we could create a new kdz and flash it, just like this tutorial
http://code.google.com/p/arenoid/wiki/KDZExtractPack
It's an encrypted archive that stores the fls file and bin files in multiple parts. It seems the decrypting function is inside the dll that's extracted from the kdz.
Answering my own question.
WDB is a container format, with several pieces of zlib streams, each representing a file, but encrypted.
Like a zip file
Hi guys, i searched lot, but did not find any proper solution for getting flashable files of smart flash from kdz..
Plz help guys..
Obviously you haven`t searched enough .
I think that you are looking for LGExtract 0.2.1
Tool is in it`s beginning, but from reading I think that it can extract smartflash files from kdz and it is tested on p990 (I haven`t tested it).
k, i tried that, now i got 13 files.
some are img, some fls etc.
but we need only 2 files for flashing with smartflash tool. bin and fls.
how to get them ?
As I said, I haven`t tried to do this, hence I can`t help you. You will must to read and ask for support in original thread, where the author of the tool is present.
If you are trying to flash kdz and since LG have changed their politics, try to read this thread too... http://forum.xda-developers.com/showthread.php?t=1473781
Hi all,
first, thank you Memhis, the tool is excellent. It works under Linux too in Wine environment.
But I have some observations and some questions
- first decrypt/decompile KDZ file only extract a CAB file - this CAB file can be extracted by cabextract utility
- after CAB file extraction, there is WDB file and machine specific DLL - this DLL file must be used for extraction of WDB, I try the newer one without success
- after performing extraction of WDB using DLL there are number of files which can be useful
AENEAS_FW.fls, psi.fls, R375_SIC.fls, slb.fls - these files are the baseband and can be flashed using smart flash tool - it must be flashed all, not only some
#_Split_Data.img - after joining this file to one, it contains Linux filesystem (now EXT3) with all data of /system partition and you can get lge-ril.so from this
The remaining files I don't identify and only speculate what is it
ext3_flashboot.img - this filesystem is used to boot for flashing???
fastboot.bin - ???
recovery.img - recovery partition - this images is used to replace ClockWorkMod I think
Once again, many thanks. I was searching for this similar tool about six moths ago.
can you tel me,how do you extract the split_data.img??
at this point i have no idea what i must do and find nothing about it.
cojo11 said:
can you tel me,how do you extract the split_data.img??
at this point i have no idea what i must do and find nothing about it.
Click to expand...
Click to collapse
+1
........
There is nothing to "extract" from split_data.img. It is a true EXT3 Linux filesystem. You have to use a Linux box or something to allow mount an Linux image to Windows environment. I can only point you to http://www.ext2fsd.com/ site which is free good ext2/3/4 filesystem driver, but I don't know, if it is usable - it can mount a Linux partition under Windows but don't know it can mount a image file as disk. Hope so.
Thanks for the information, but I can't extract Split_Data.img (it's the joined file of 4 .img files).
How can I extract this .img in Linux (virtual machine)?
Flix123 said:
Thanks for the information, but I can't extract Split_Data.img (it's the joined file of 4 .img files).
How can I extract this .img in Linux (virtual machine)?
Click to expand...
Click to collapse
You have to mount it, like it is a whole filesystem. Google it to find out how to mount img file. Once done, you'll open it like a hard drive.
Edit: Forget my question, it works now!
My last question: Is the file "ext3_flashboot" the same as the boot.img files in CWM roms?
OK, I managed to extract the kdz file and I made a rebuild of V20c without flashing the kdz, just with extracting!
I'll upload it in a few minutes!
For those who wants to extract KDZ I prepare a little manual...
Keltek said:
For those who wants to extract KDZ I prepare a little manual...
Click to expand...
Click to collapse
Hi Keltek, thanks for the manual. but i am getting some error, any ideas? I'm using Win 7 32-Bit. This is the error:
C:\>LGExtract -kdz V20F_00.kdz
Extracting:
KDZ: V20F_00.kdz
Failed to create cab file.
Error code: 00000005
Message: Access is denied.
Failed to extract file.
Please report this error with this file.
thanks
NEVER MIND: cmd.exe should "Run as Administrator", it works now.
The last question I have is how to join the 4 extracted baseband files to one file?
Does that work with copy /b command?
What i got from flashing basebands is that youre supposed to flash them one by one from largest to smallest file. so basically what you should be doing to "compress" the procedure is you unpack those 4 files, put the largest one in place and copy the others onto it, replacing duplicates. Then repackage what you merged, and try that, cant think of anything more logical than that.
That sounds logical, but I don't know how to extract the files.
But it's not very important, because it isn't a problem to flash 4 files instead of one.
Please extract Bb from v20h rohan
Sent from my LG-P990 using Tapatalk
If you give me the link to the kdz, I will extract the baseband for you.
spica1234 said:
Please extract Bb from v20h rohan
Click to expand...
Click to collapse
You should specify from which ROM file, coz there are many version with same identification but different content - I don't understand why LG do this - the V20q for Czech Republic is not the same as V20q for Italy...
I take a look at V20h and it contain 1035.21_20110725 BaseBand.
Here the first firmware of the lg p880, in my file there are the .kdz and the .dz with its .dll that I extracted from the .kdz. Only problem, I do not manage to extract the .dz, if somebody could advance the thing.
A thanks takes 2s and I hope that one will be able to use that for our optimus 2x.
the link : http://bayfiles.com/file/bRZx/AZaxbu/.kdz_et_.dz_.dll_LGP880.v10A.rar
Call to kdz superman flix
Sent from my LG-P990 using Tapatalk
Flix the KDZ Superman is busy with the new Kernels....FLIX are u hearing the calls of the O2X community?
Fly in FLIX.....we are waiting mate
Hey,
welcome back, spica. Now you can see I can make my own kernels.
I already tried to extract this firmware (it's on the server for a week now), but I don't get managed to extract it... It's not like in our O2X.
After extracting .kdz, you get a .dz file. I tried dz extractors I found, but I can't extract the dz file.
Maybe there's someone having more knowledge about these things?
Flix123 said:
Hey,
welcome back, spica. Now you can see I can make my own kernels.
I already tried to extract this firmware (it's on the server for a week now), but I don't get managed to extract it... It's not like in our O2X.
After extracting .kdz, you get a .dz file. I tried dz extractors I found, but I can't extract the dz file.
Maybe there's someone having more knowledge about these things?
Click to expand...
Click to collapse
that is really sad news....the superman says...cant extract...
Flix123 said:
Hey,
welcome back, spica. Now you can see I can make my own kernels.
I already tried to extract this firmware (it's on the server for a week now), but I don't get managed to extract it... It's not like in our O2X.
After extracting .kdz, you get a .dz file. I tried dz extractors I found, but I can't extract the dz file.
Maybe there's someone having more knowledge about these things?
Click to expand...
Click to collapse
Yes I saw it now and eaget to flash ur kernel
Does it need other tool fot dz:/
Sent from my LG-P990 using Tapatalk
I'd appreciate a feedback from you for my latest v1.2 Kernel. It's with my flix toolchain. The link is in my signature.
B2T: I don't know very much about blocks, converting, extracting etc. Extracting O2X firmwares is easy, just .img files.
I hope for a big community for the O4X because of this.
It may sound really stupid and I don't know **** about this subject but just want to think with you guys and maybe help a little. Maybe you can rename the .dz file to .img and then do the normal thing. Don't know if it works and you probably tried it already so...
I don't think renaming can convert a .dz to .img.
YEEAA ! spica's back gone for a few days only but seemed like a month xD.
and now its time for a silly question, what is the use of a optimus 4x hd firmware to us ? (besides some wallpapers ringtones and apps i guess)
edit: flix you can still try it, since it may be exatcly like that, maybe its the same container only renamed to .dz cant hurt to try after renaming the program might be able to access it
I tried to mount the file, it doesn't work.
But here's the system dump of the Optimus L7 (not by me, I was too late ):
http://jumbofiles.com/j6bnobsck4se
It should do the same good things to us. I already extracted the ringtones, wallpapers and icons of it:
http://forum.xda-developers.com/showthread.php?t=1635301
It is not terrible if one does not manage to extract the .dz.
An extraction would make it possible to see optimizations of the o4x and thus to use that in the o2x.
Only the total interface of the o4x for Rom stock o2x.
I wasn't able to extract anything either. The usual tools just won't work and even some strange Korean exe files from Google didn't help.
@flix: I hear you're called extraction superman... do you have any idea how to extract a p990 Baseband from a kdz file into a SINGLE fls file? I can extract them into 4 fls files, Paul OB had a way of getting a single fls file but I couldn't find any method for that :-(
Sent from my LG-P990 using XDA
tonyp said:
@flix: I hear you're called extraction superman... do you have any idea how to extract a p990 Baseband from a kdz file into a SINGLE fls file? I can extract them into 4 fls files, Paul OB had a way of getting a single fls file but I couldn't find any method for that :-(
Click to expand...
Click to collapse
I tried that, too. Obviously, it works with the "copy \b" command like the .img files but I didn't try such a copied baseband yet. But you could try it at your own risk.
The new LG PC SUITE for LGP880 thus I also think compatible for O2X also :
http://csmg.lgmobile.com:9002/swdat.../RST-1204-00311_LCsetup_5.1.15.20120413_4.zip
The .dll for flash the P880 :
http://csmg.lgmobile.com:9002/swdat...8/[LGFlashTool1377]LGP880_120518_Download.zip
For finish, the name of firmware .bin : LGP880AT-000-V10a-TMO-XXX-MAY-18-2012+0.zip
Please help to recover .
I cannot in which section thus put that if my post is badly placed thank you to move it to me in the good section.
I download the last brazilian firmware but the extension is .dz. The kdz updater just read extension .kdz here. I try to change the extension but i got a extract file error in kdz. What iswrong?
What?! In .dz? Mate please add the link to bootloader dump thread, maybe this will help us I remember that kdz extract was similiar, but not the same. Oh and please keep the dz file on PC, maybe LG deleted it already
Sent from my LG-P880 using xda premium
reas0n said:
What?! In .dz? Mate please add the link to bootloader dump thread, maybe this will help us I remember that kdz extract was similiar, but not the same. Oh and please keep the dz file on PC, maybe LG deleted it already
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
How many .dz files do you need? I can send you from all versions of the.kdz files
.dz is one of the two files compressed in the .cab file (decrypted .kdz), the other is the "X3_2008_v0.0.6.9.dll" to be able to flash the O4X.
How to uncompress?
Isnt it better if he redownload the Original KDZ file from LG ? at least it will be easyer and error free.
Infectado said:
How to uncompress?
Click to expand...
Click to collapse
Thats a mistery, at least for me...
I tried all recommended programs and nothing.
But to flash you just need the .kdz file.
But if you want to know how it works...
The flash program creats a temp .cab file in the same location where is the .kdz. If, before the process ends, you select the .cab file and
with winrar or winzip you select extract, you'll have the .dz file and the .dll.
RuedasLocas said:
Thats a mistery, at least for me...
I tried all recommended programs and nothing.
But to flash you just need the .kdz file.
But if you want to know how it works...
The flash program creats a temp .cab file in the same location where is the .kdz. If, before the process ends, you select the .cab file and
with winrar or winzip you select extract, you'll have the .dz file and the .dll.
Click to expand...
Click to collapse
I had Access to a .dz already A momth Ago
I can try to decompress it Again, the kdz contains an .dll and .dz file
E ae Junior, blz!? Vc conseguiu este KDZ da V10C?...
ricardoclaudine said:
E ae Junior, blz!? Vc conseguiu este KDZ da V10C?...
Click to expand...
Click to collapse
One of the main rules of XDA - English only please.
Hey,
I've tried to extract a .DZ File from the V20B.kdz but if i use the command dzdecrypt -x 1.dz C:\
there will be an error named "Invalid markers in main header."
Please tell me how to open the DZ to make a flashable zip, please.
Thanks
DerMoonEclipse said:
Hey,
I've tried to extract a .DZ File from the V20B.kdz but if i use the command dzdecrypt -x 1.dz C:\
there will be an error named "Invalid markers in main header."
Please tell me how to open the DZ to make a flashable zip, please.
Thanks
Click to expand...
Click to collapse
did you try this (specifically look at 2nd, 3rd & other posts too, not just op):
http://forum.xda-developers.com/showthread.php?t=2207786
Thats from KDZ to DZ but i need from DZ to System.img, boot.img
DerMoonEclipse said:
Thats from KDZ to DZ but i need from DZ to System.img, boot.img
Click to expand...
Click to collapse
afaik, that's not possible, .dz is encrypted by lg and we don't have a way to decrypt it. don't take my word for it though, maybe someone has found a way, but i haven't read that anyone has managed to do it as of yet.
Ok but how can i make a flashable zip from the kdz ..