Not sure if general is the place for this but I'd like to start a "formal" discussion of the KDZ files and what they precisely contain.
full disclosure: I'm not a pro with all this stuff, I'm primarily just curious, and know my way around well enough I can do some basic investigating
Here's what I've looked at so far, and what I'd like to do:
So far:
The Telus E973 KDZ file retrieved from LG's servers contains a cab file, which was initially extracted using LGExtract (http://forum.xda-developers.com/showthread.php?t=1566532)
Inside the CAB is a .dz file and a .dll (G_TDR_0141.dll)
The .dz file does not contain any headers for existing "known" .dz file formats. (For example: http://www.frenchcoder.com/dzextract-lg-dz-file-format-and-extract-tool-lg-ks20/)
It would seem that flashing the kdz using the method outlined in potatohead's thread does not 100% recover from a brick, but seems to depend on what the actual problem with the phone is.
What I'd like to determine:
What exactly is in the KDZ? Does it contain all stock partitions for the phone or only selective partitions. (such as /system)
Out of pure curiosity, when I have time, I'd like to compare the hex of the .dz file, to see if it contains any of the known stock partitions such as the aboot, boot, or recovery. I have this sinking feeling that it doesn't include the recovery based on chadouming's experiences with it. to see if the .dz file is compressed in some proprietary fashion, or if it's a simple arrangement of the stock partitions with some standardized headers.
Please feel free to contribute, or criticize me, I'd just like to fuel some interest and discussion.
thracky said:
Not sure if general is the place for this but I'd like to start a "formal" discussion of the KDZ files and what they precisely contain.
full disclosure: I'm not a pro with all this stuff, I'm primarily just curious, and know my way around well enough I can do some basic investigating
Here's what I've looked at so far, and what I'd like to do:
So far:
The Telus E973 KDZ file retrieved from LG's servers contains a cab file, which was initially extracted using LGExtract (http://forum.xda-developers.com/showthread.php?t=1566532)
Inside the CAB is a .dz file and a .dll (G_TDR_0141.dll)
The .dz file does not contain any headers for existing "known" .dz file formats. (For example: http://www.frenchcoder.com/dzextract-lg-dz-file-format-and-extract-tool-lg-ks20/)
It would seem that flashing the kdz using the method outlined in potatohead's thread does not 100% recover from a brick, but seems to depend on what the actual problem with the phone is.
What I'd like to determine:
What exactly is in the KDZ? Does it contain all stock partitions for the phone or only selective partitions. (such as /system)
Out of pure curiosity, when I have time, I'd like to compare the hex of the .dz file, to see if it contains any of the known stock partitions such as the aboot, boot, or recovery. I have this sinking feeling that it doesn't include the recovery based on chadouming's experiences with it.
Please feel free to contribute, or criticize me, I'd just like to fuel some interest and discussion.
Click to expand...
Click to collapse
When I used KDZ I had my bootloader relocked and lost cwm.
Sent from my LG-E971 using xda app-developers app
theMaDHakkeR said:
When I used KDZ I had my bootloader relocked and lost cwm.
Sent from my LG-E971 using xda app-developers app
Click to expand...
Click to collapse
Good to know. I think the one case we've had so far where this didn't work had some "advanced" issues, possibly involving partition table being messed up, which I have a feeling the KDZ flash wouldn't touch.
SmartFlash will be nice to have it completely restore everything to factory default and it is easy to use.
But for SmartFlash we need to convert the KDZ files in to BIN and FLS.
There is a tool for that but works only for P990/P970/P920 firmware's.
http://forum.xda-developers.com/showthread.php?t=1692191
Unfortunately the Rom converter does not work with the firmware's from new phones like Optimus G / Optimus 4x.
d0ct0ru said:
SmartFlash will be nice to have it completely restore everything to factory default and it is easy to use.
But for SmartFlash we need to convert the KDZ files in to BIN and FLS.
There is a tool for that but works only for P990/P970/P920 firmware's.
http://forum.xda-developers.com/showthread.php?t=1692191
Unfortunately the Rom converter does not work with the firmware's from new phones like Optimus G / Optimus 4x.
Click to expand...
Click to collapse
I think this is due to the fact that they've made changes in the actual .dz format as any existing tool I've tried cannot find any known headers in the file. When I have some time I'm going to see if I can narrow down any patterns/headers.
thracky said:
Not sure if general is the place for this but I'd like to start a "formal" discussion of the KDZ files and what they precisely contain.
full disclosure: I'm not a pro with all this stuff, I'm primarily just curious, and know my way around well enough I can do some basic investigating
Here's what I've looked at so far, and what I'd like to do:
So far:
The Telus E973 KDZ file retrieved from LG's servers contains a cab file, which was initially extracted using LGExtract (http://forum.xda-developers.com/showthread.php?t=1566532)
Inside the CAB is a .dz file and a .dll (G_TDR_0141.dll)
The .dz file does not contain any headers for existing "known" .dz file formats. (For example: http://www.frenchcoder.com/dzextract-lg-dz-file-format-and-extract-tool-lg-ks20/)
It would seem that flashing the kdz using the method outlined in potatohead's thread does not 100% recover from a brick, but seems to depend on what the actual problem with the phone is.
What I'd like to determine:
What exactly is in the KDZ? Does it contain all stock partitions for the phone or only selective partitions. (such as /system)
Out of pure curiosity, when I have time, I'd like to compare the hex of the .dz file, to see if it contains any of the known stock partitions such as the aboot, boot, or recovery. I have this sinking feeling that it doesn't include the recovery based on chadouming's experiences with it. to see if the .dz file is compressed in some proprietary fashion, or if it's a simple arrangement of the stock partitions with some standardized headers.
Please feel free to contribute, or criticize me, I'd just like to fuel some interest and discussion.
Click to expand...
Click to collapse
I don't know about DZ files, but the wdb format that my P970 uses can be made into a AP bin file that is essentially all the partitions of the phone and all the partitions with size (size on the file, not size of partition on device) 0 is skipped over.
I say split up into partitions but it's actually data blocks and can cross over partitions since it uses raw write to device and it looks like a convenience that it's set up that way.
Check out this thread.
It's a tool for extracting kdz and wdb files (dz planned).
xonar_ said:
I don't know about DZ files, but the wdb format that my P970 uses can be made into a AP bin file that is essentially all the partitions of the phone and all the partitions with size (size on the file, not size of partition on device) 0 is skipped over.
I say split up into partitions but it's actually data blocks and can cross over partitions since it uses raw write to device and it looks like a convenience that it's set up that way.
Check out this thread.
It's a tool for extracting kdz and wdb files (dz planned).
Click to expand...
Click to collapse
I used the tool it's based on, LGExtract, to pull the .cab containing the .dz and the .dll in the first place, however we can't do anything with the .dz at the moment.
thracky said:
I used the tool it's based on, LGExtract, to pull the .cab containing the .dz and the .dll in the first place, however we can't do anything with the .dz at the moment.
Click to expand...
Click to collapse
Oops. Meant to point to LGExtract.
Sent from my LG-P970
Were you able to get a Sprint KDZ file? And if so, can I get a copy?
Thanks!
waldo36 said:
Were you able to get a Sprint KDZ file? And if so, can I get a copy?
Thanks!
Click to expand...
Click to collapse
http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=<yourimei>
t1mman said:
http :// csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=<yourimei>
Click to expand...
Click to collapse
*Edited*
Ok, I got the website to send me the files, but they are all in .CAB format instead of KDZ. Do I need to alter them, unpack them, or something else, once they get done downloading?
Thanks!
waldo36 said:
Were you able to get a Sprint KDZ file? And if so, can I get a copy?
Thanks!
Click to expand...
Click to collapse
Already covered this with you on IRC but gonna mention it for anyone else interested:
We have .tot files for AT&T and Sprint to be used with LGNPST, which would be preferred.
Read the respective at&t/sprint LGOG forums for more info.
No KDZ download link after I insert E970 IMEI
piyopiyo81 said:
No KDZ download link after I insert E970 IMEI
Click to expand...
Click to collapse
E970 is AT&T isn't it? You should be using the .tot, and this is not the forum for AT&T or Sprint's Optimus G in the first place.
zVB Brick
Hello XDA Devs,
I successfully rooted my phone and unlocked the bootloader. I kept seeing warnings that if I reset my LG Optimus G (Sprint) after rooting, that it would crash and enter a bootloop. PRetty much Bricked. It wont power on, but I can enter download mode and fastboot mode. I tried to put the stock rom but the KDZ files don't appear. Somebody help!
thracky said:
E970 is AT&T isn't it? You should be using the .tot, and this is not the forum for AT&T or Sprint's Optimus G in the first place.
Click to expand...
Click to collapse
True, but the link does work for sprint. It gives cabs, which turn into tots with conversion. Any idea why some use tot and others use kdz?
Sent from my LG-LS970 using xda app-developers app
Need to extract a bin file from kdz? Contact me
Sent from my LG-P990 using xda app-developers app
Hi!
Hope someone could help me.
I'm trying to install a stock rom V10b_00 from argentina. I try with LG pc suite hack (LG PC SUITE says that couldn't recognize the celphone), with the Automatic KDZ Updater (when i hit the upgrade start program the windows with country and language don't show up, instead the lg mobile support initiate and after a minute it crashes), with the manual mode installing shttps and changing the hosts file (same that the LG hack), i try with KDZ_FW_UPD (KDZ too big) and nothing. Each one of the methos give a different error. The only one who works is with KDZ_FW_UPD but only installing files lower than 1gb wich are the brazilian and one european that is useless cause has a different modem of my country. I actually have installed the brazilian LGE97710A, but it has all the Sh!t of the company "CLARO" and i don't want it.
Please help i don't know what else to do.
All drivers installed, running Windows 7 ultimate x64
THX!!
Hi el_chapi, I write in english following forum rules, sorry for my bad redaction.
I think that you don't follow the instructions and miss to run some points of tutorial.
Please check this (in spanish):
http://www.mioptimusone.com/foros/showthread.php?tid=1983
By the way, if you flashed KDZ lower than 1 GB, yo can connect your E987 using LG PC Suite or LG Mobile Tool and search for updates, LG Mobile Tool (please delete, rename or edit your hack hosts file), this tool start to download and install your operator's firmware.
Other solution is obtain your modem files (for E987) and replace the modem files of your installation (E977 or E975), but you need extract this files from other E987.
In my E976 (Movistar Peru) this files are:
/dev/block/platform/msm_sdcc.1/by-name/modem
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
all rwx rwx rwx
Hi. thx for the quick response.
Thanks nelrak for the tutorial, work perfectly, i finally could flash the kdz i want!
once again thanks for your help.
Hello, can someone help me creating flashable zip with Stock lollipop bootloader (especially HongKong KDZ (V50030B)).
What i want is install xposed on stock lollipop and for that i need TWRP, which needs to run Kitkat bootloader (found here: [V500] How to install TWRP under stock LP?). That i can flash with terminal emulator, but in TWRP i need flashable zip of lollipop bootloader to make the Stock LG lollipop ROM work again.
I just extracted HongKong KDZ and have all needed files (aboot,sbl1-3,tz,rpm), but it´s bin files and here´s my ending..... I dont know how to properly convert bin files to img or if i could make flashable zip of bin files neither how to make flashable zip.
Im still googling how to do that, if i found out how to, will update. Thanks
EDIT1: I got it working :victory::victory: , i just renamed those bin files to img and then with following commands [V500] How to install TWRP under stock LP? flashed LP bootloader through TWRP terminal
Now i have working xposed on Stock LP :victory:
Hi! I've done similar things for my VK810 variant of the G Pad 8.3. See link to my ROM in my signature below if necessary - you can use my ROM as an example of how to set up your zip for all the necessary partitions, or there's a separate zip I have for just the bootloader (aboot) itself if you don't want to flash the other partitions.
Bin files are the same as Img files (in this case), just named differently. You don't even have to rename them if you have the commands include the .bin filename(s), but you can rename the partition image files to .img if you'd rather have the commands refer to them that way; it's all the same.
I can assist you with this if you want me to. Let me know - I just thought with this bit of information you might be prepared to do it yourself.
Cheers!
Edit: LOL! You figured it out yourself while I got sidetracked from typing before I sent the reply.
Good day,
Bricked my G710VM a few weeks ago and trying to get back. I know the process to get back to stock but a lot of fails extracting etc. To make it easy, lets just say I deleted all my partitions one by one and loaded new ones from the KDZ extract getting me to this point
- Latest KDZ file from lgfirmwares.com will extract with LG Firmware Extract
- DZ Extract with LG Firmware Extract WILL NOT produce good .bin files
- Hovatech extract program seems to produce DZ files with data
- LGUP will not recognize phone, even using UPPERCUT
- NO DL Mode, only EDL
- Can't find XML Files to DL online. Plan to make my own but even if I succeed, no LGUP access.
Any help is greatly appreciated. My mom has the same phone on stock I could use to pull whatever I need assuming it connects to LGUP. I have scoured this site and most that use english, I find others with the same issues but only a few seem to resolve
i have lg g710vm only this files can use, then crossflash to verizon kdz. i lost imei but i can keep using my phone only whit kdz verizo..
you need add apn for 4g....