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.
Hey Guys,
I did a stupid, and yes, I should know better, but I did not take a backup of my build.prop of my freshly rooted d852 when I edited it in Root Browser. It truncated, and lost the bottom part of the file before I noticed, and long story short, I'm missing some system sounds, and would like to know if anyone has a working d852 build.prop for a Rogers G3 Stock 4.4.2.
I downloaded the TOT file from a link in the help FAQ, and tried flashing using LG Flash tool, but it would get to a certain point, and Fail, not being able to switch to download mode, so I was not able to reflash to complete stock for whatever reason.
I'm now toying around with LG TOT Extractor, seeing if I can extract the ext4 FS files, and get a build.prop from there,
Any pointers?
Thanks
Everett
Did you try flash tool on windows 8? I Had a issue on windows 8 wich gave me the same error.
Download KDZ (http://lg-firmware-rom.com/)
Extract KDZ using this tool (http://forum.xda-developers.com/showthread.php?t=2600575)
Merge system.bin using the same tool
Extract build.prop by opening system.img using Diskinternals Linux Reader
And next time use this app instead of the stupid stock lg flash tool that requires tot files
http://forum.xda-developers.com/showthread.php?t=2797190
Hellomy name is korlan. First forgive me for english mistake i will made that's not my common language.
Here is my problem :
2 days ago i accidently flashed (./flashall.sh) the nexus 5x with the 5 files (hammehead files made for nexus 5)... Obviously it has ereased the bootloader and now the phone won't boot.
I made TONS of research because i can acces to the qualcom DLmode (the ref is 8992);
At this points i'm stuck. How recover emmc and flash again the phone.
Luckily i have another nexus 5X. I have dump all raw rom ( dd /dev/block/mmXXX and got a 16gb file wich coresspond to a raw valid rom).
I was happy but i faced a big problem : How download this bin file to the bricked phone.
I have the tool called QPST wich require a programmer (probably MPGR8992 ) the bin file and a rawprogram.xml (partition table). I don't have thoses files anone know how to obtain it or another way to unbrick this phone ?
thanks a lot hope you can help me inthis situation.
Have you tried flashing the bootloader for the 5x with fastboot?
Sent from my Nexus 9 using XDA Free mobile app
Yes, but I can't boot on bootloader, and so on fastboot mode ...
Its a lg phone , maybe you can turn on factory mode.
@nate0
Could try some solutions here if not already attempted...http://forum.xda-developers.com/showpost.php?p=67089762&postcount=55 ...have the same issue, as I have messed with the GPT/QC partitions...
To be able to send the raw binaries you do need the flash programmer for this phone, and potentially the MPGR8992 mbn file as well. These two are apparently not available anywhere I have looked. The issue I am running into is that my phone resets the connection to all the tools I have used.
nate0 said:
Could try some solutions here if not already attempted...http://forum.xda-developers.com/showpost.php?p=67089762&postcount=55 ...have the same issue, as I have messed with the GPT/QC partitions...
To be able to send the raw binaries you do need the flash programmer for this phone, and potentially the MPGR8992 mbn file as well. These two are apparently not available anywhere I have looked. The issue I am running into is that my phone resets the connection to all the tools I have used.
Click to expand...
Click to collapse
MPGR8992 mbn file , i think we need another 5x and back up using box or something .
LG TOT file was provided and it's possible to enter Qualcomm download mode for repairing now
i need help ican't find TOT file for nexus 5X h791 16 GB
@Vortex said:
LG TOT file was provided and it's possible to enter Qualcomm download mode for repairing now
Click to expand...
Click to collapse
Could you please elaborate how you got the TOT file and how you managed to enter Qualcomm download mode?
Device State - locked
Similar Problem, same solution with TOT File (32GB TOT File works also for 16GB Models)
look here:
http://forum.xda-developers.com/nexus-5x/help/device-locked-t3355549/page4
Hi,
I flashed LG G5 H850 full zip file on my H830 by mistake, and now I don't have adb, fastboot, download mode, recovery. No screen at all.
It's just Qualcomm 9008 in device manager. I tried to use Qlif and g5 elf file to fix it, but it needs rawprogram0.xml and patch0.xml, which can be extracted from kdz file. I tried to extract it myself, but didn't work.
Any one can help me or if anyone that has octopus box, can help me to extract those 2 files. I heard it's possible to extract them by Octopus box.
I really appreciate it.