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
[TOOL] LGExtract 0.2.1 + 0.3.0 (beta)
Updated instructions will be here in post #1 or #2, stay alert
Description:
Hello everyone, in the last two weeks I was developing a command line tool to extract the firmware of LG phones. (different models)
For now, this tool is able to successfully extract *.kdz and *.wdb files. The tool don't dump the firmware from the phone.
I would like to receive feedback about this tool, if it works or not with the files you have.
Please report any kind of error too.
Remember, this software aims to help the community of users of mobile phones from LG to change their roms in a fast and easy way.
I can't provide any guarantee that the extracted file is 100% correct. So stay tuned in what you are doing, don't blame me.
Basic usage:
Open a command prompt. (cmd.exe or powershell)
Browse to the directory where is located the LGExtract.
Run LGExtract for more information (help).
Guides: (more detailed)
P920 / P970
P990 - Thanks Keltek
Other phone models have different files. I don't have any idea on how you can use it! BE CAREFUL!
Automated tools: (based on LGExtract)
LG-P970 ROM CONVERTER - Thanks jes0411 (if you are noob, this if for you )
Other tools: (to use with files extracted by LGExtract)
replace recovery
Current features:
Extract KDZ files.
Extract WDB files.
Features to be implemented:
Merge extracted files automatically. (if file needs it)
Graphical User Interface.
Extract DZ files.
(none of these, sorry, the development is dead)
Note: You don't need install any additional software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Click to expand...
Click to collapse
LGExtract.exe 0.2.1 - Hashes:
SHA-1: 2ef469162aa546ec7c1368d45bcbd0affd86e474
SHA-256: fa54a755a0aa2b15b622e44a183c491885a79ecf02d799c42c733e429dd16c3d
LGExtract.exe 0.3.0 BETA - Hashes:
SHA-1: e108c9e7d17b40d33152332d3e1775fd4aa48b92
SHA-256: ca66781f98498b80f59398a5c4538589262a1716d0788b18cea62e99c6eac5dc
Thanks to:
miniz - zlib compression
SimpleOpt - cmd line parser
Sephirothrx7 - for beta testing
Extracted KDZ/WDB from: (tested models)
KP500, KS360, LGP500, LGP920, LGP925 (confirmed by E:V:A)
LGP970, LGP990, LGP999, LU620128, SU640, SU660 (confirmed by kitty's_daddy)
Should work with any kdz/wdb file.
Changelog:
03/03/2020 - 0.3.0 BETA
* Fixed wdb password for larger dll files (up to 9.999.999 bytes).
(I was adding support for the DZ format, but I gave up, this tool seems no longer relevant.)
31/03/2012 - 0.2.1
* Improved error handling for kdz format.
* Fixed cryptographic service initialization failed.
28/03/2012 - 0.2.0
* Second release, extract wdb files.
26/03/2012 - 0.1.0
* Initial public release, extract kdz files.
Supported Operational Systems:
Windows:
Windows XP SP3 x86 (confirmed by kitty's_daddy)
Windows 7 SP1 x86/x64
Windows 8 x64 (confirmed by johnw230873)
Windows 8.1
Windows 10
Should work on other versions of Windows too.
Linux:
Red Hat Enterprise v6.2 x64 with Wine v1.4 i686 (Reported by Keltek)
Should work on other linux distributions too with Wine.
nothing happens when I try to run it, even if I put it in a same dir where a fw is.
What if you drag and drop over the app icon?
I'm not at my PC so i can't test this.
Trolling in the deep
Hi navossoc,
Just tried your tool - extracted V20o kdz to a cab file, containing lgp970.dll and v20o.wdb
1 suggestion / 1 question
- would be nice to have a graphical interface, instead of command line
- what to do with the wdb file ?
Ok, another tiny suggestion - how about trying teamwork with the other devs and create a super flash/backup tool, that can backup a phone via PC and flash stock/custom ROMs, while providing a choice of what packages from the ROM to flash
Congrats for the software
If this tool is only intended to extract .wdb file from .kdz it makes nothing new... I archieved this a lot of time ago but is useless.
Ilko said:
nothing happens when I try to run it, even if I put it in a same dir where a fw is.
Click to expand...
Click to collapse
Did you tried run something like:
LGExtract -kdz file.kdz
What is your operational system?
re4lsk said:
What if you drag and drop over the app icon?
I'm not at my PC so i can't test this.
Trolling in the deep
Click to expand...
Click to collapse
Yeah, it's on my plans, for now I wanna extend the support first.
megaurs said:
Hi navossoc,
Just tried your tool - extracted V20o kdz to a cab file, containing lgp970.dll and v20o.wdb
1 suggestion / 1 question
- would be nice to have a graphical interface, instead of command line
- what to do with the wdb file ?
Ok, another tiny suggestion - how about trying teamwork with the other devs and create a super flash/backup tool, that can backup a phone via PC and flash stock/custom ROMs, while providing a choice of what packages from the ROM to flash
Congrats for the software
Click to expand...
Click to collapse
1. I agree, I will in future.
2. If you extract wdb files you got the .bin and .cps file! Yeah!!!! You can flash it directly with smart flash tool.
Huexxx said:
If this tool is only intended to extract .wdb file from .kdz it makes nothing new... I archieved this a lot of time ago but is useless.
Click to expand...
Click to collapse
How can you say that? we can flash you p970 with smart flash tool as-is and root in seconds in with this tool (properly finished!)
I need go now, I will post more details later.
Who is having errors, please, more details, operational system?
[]'s
If that's correct, then I retire what I've said...
Can U extract .bin and .fls from .wdb file?
@navossoc
Look into my Mediafire ShareFolder maybe you`ll find some source code into those programs leaked from LG india website.
Huexxx said:
If that's correct, then I retire what I've said...
Can U extract .bin and .fls from .wdb file?
Click to expand...
Click to collapse
Yes, I have helped him to test the application and it was working properly.
Sent from my LG-P500h using Tapatalk 2 Beta-4
Ilko said:
nothing happens when I try to run it, even if I put it in a same dir where a fw is.
Click to expand...
Click to collapse
Not working on me eighter. When i want to open, it opens for just half a second and after that it dissapear.
You guys need to use command line. Open cmd and type: LGExtract -kdz "path to kdz file"
Did you try LG Utils ?
It can extract wdb and kdz both.
I'm having problem while extracting .wdb bcoz it asks for FW ver. and dont know which ver I have maybe someone else knows his FW ver so he'll be able to successfully extract wdb
omr911 said:
Did you try LG Utils ?
It can extract wdb and kdz both.
I'm having problem while extracting .wdb bcoz it asks for FW ver. and dont know which ver I have maybe someone else knows his FW ver so he'll be able to successfully extract wdb
Click to expand...
Click to collapse
LG utils cant extract the new wdb, even if you pass the correct fw version. The dll that come in the new kdz files dont have the needed functions that lg utils use. And the kp500 dll obvously cant be used to extract other wdb files.
Sent from my LG-P500h using Tapatalk 2 Beta-4
Huexxx said:
If that's correct, then I retire what I've said...
Can U extract .bin and .fls from .wdb file?
Click to expand...
Click to collapse
Yes, I can, but just as I said, I need a little more time to do all the error handling at the code. I don't wanna brick anyone phone.
I successful extracted the .wdb from LGP970 and got a .bin and a .fls file.
Then I used the SmartFlash Tool and flashed it at my phone. Works perfect.
The sha1 I got from the file was the exactly same as the "leaked" V10b-724-xxx bin/fls that we got available on the web.
I can extract any version, v10a, v10b, v20a, v20b, whatever
You can get any kdz from here and extract it to bin/fls.
Some phones has different file structures, but 920 and 970 has the same files bin/fls.
scamex said:
@navossoc
Look into my Mediafire ShareFolder maybe you`ll find some source code into those programs leaked from LG india website.
Click to expand...
Click to collapse
I will take a look, if you tell me the name of the file, I can find it quickly
Sephirothrx7 said:
Yes, I have helped him to test the application and it was working properly.
Sent from my LG-P500h using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
Yeah, he was my test subject
Sephirothrx7 said:
You guys need to use command line. Open cmd and type: LGExtract -kdz "path to kdz file"
Click to expand...
Click to collapse
He is right, you can't run it with double click.
You need to open a console first (cmd.exe or power shell for ex.)
omr911 said:
Did you try LG Utils ?
It can extract wdb and kdz both.
I'm having problem while extracting .wdb bcoz it asks for FW ver. and dont know which ver I have maybe someone else knows his FW ver so he'll be able to successfully extract wdb
Click to expand...
Click to collapse
Yes, I already see LG Utils, I got the idea from there.
But, LG Utils can extract only KP500 and KS360.
I spent some time studing how they do that and I get it...
Now I can use the same idea in all .wdb files
For now it's useful for P920 and 970, because bin/fls can be flashed with SmartFlash Tool.
Others phones has different file structures, for example: LU620128 (I think P930) got a "firmware" file .tot with almost 1,3gb!
[]'s
I tried to extract using cmd but it only gives .cab (.wdb and .dll)
How to get bin/fls
Any tutorial ??
omr911 said:
I tried to extract using cmd but it only gives .cab (.wdb and .dll)
How to get bin/fls
Any tutorial ??
Click to expand...
Click to collapse
+1
how convert .wdb in .bin
what about adding a tutorial on how to use this tool? i already extracted the cab, but now i guess i can extract *.wdb from the cab then use the tool again to extract the bin/fls using: LGExtract -wdb *.wdbpath? is that correct?
nope it doesnt work that way
navossoc have already said that the tool is only extracting kdz for now, the wdb functionality is being revised so he can release a stable tool.
Today, I'm releasing version 0.1.0 of the software that extracts only files *.kdz
I will try release the WDB support as soon as possible, but first, I have to review the code. (I don't wanna brick anyones phone )
Click to expand...
Click to collapse
Sephirothrx7 said:
navossoc have already said that the tool is only extracting kdz for now, the wdb functionality is being revised so he can release a stable tool.
Click to expand...
Click to collapse
well extracting WDB works...
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.
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.