KDZZ builds flashable ZIPs from KDZ files for LG phones - LG V30 Guides, News, & Discussion

Interesting...
david.542569 said:
[TOOL] KDZZ - Create Flashable Zip from KDZ Files
https://forum.xda-developers.com/tm...-kdzz-create-flashable-zip-kdz-files-t3902423
Click to expand...
Click to collapse
Here's the XDA news article explaining it:
https://www.xda-developers.com/kdzz-build-flashable-zips-kdz-files-lg/
KDZZ builds flashable ZIPs from KDZ files for LG phones
If you are familiar with flashing on LG devices, you know what KDZ files are. KDZ is LG’s preferred format for posting official firmware releases for its websites, meaning that every stock LG ROM will officially be in a .kdz format. This makes these firmware files a bit of a pain to flash through TWRP.
KDZZ by XDA Senior Member weakNPCdotCom is a tool that automatically builds flashable zip files from KDZ files. The tool is in alpha and active development stages, and currently supports two devices: the LG G6 on T-Mobile (H872) and the LG V30 on T-Mobile (H932); though you can add in support for unsupported devices through the instructions mentioned. KDZZ is also open source.
Installing the tool itself is as simple as extracting a zip file. The usage of the tool requires the Windows LG Firmware Extract Tool to extract system bins from DZ files, so you also need your KDZ file at hand. The tool can create zip packages for bootloader, modem, fullstock, or LAF (LG Advanced Flash). Accordingly, KDZZ automatically renames all the bin files, arranges them, builds the updater scripts, and zips it up. Give it a try by following along the forum thread.
Click to expand...
Click to collapse

H930 supported????

sankhauaa said:
H930 supported????
Click to expand...
Click to collapse
See the article I just quoted.

ChazzMatt said:
See the article I just quoted.
Click to expand...
Click to collapse
Firmware extract tool working fine for h930.
twrp flashable zip builder also working fine. i have just created twrp.zip from latest h930ds 21w .kdz as well as system.img,modem.img etc with this tool

update : zip file flashed without any error but cant boot to system its go to fastboot. ok i will try

sankhauaa said:
update : zip file flashed without any error but cant boot to system its go to fastboot. ok i will try
Click to expand...
Click to collapse
this may be boot image only related. in 95% of me having this error a bootimage flash solved this.

Related

Flashing through KDZ update failed? Update method

This is my first post in XDA!
If any of you guys have fallen in a trap called "Secure Boot Error", it means that you have flashed a Recovery without unlocking your bootloader!
All that you need to do is flash the Stock ROM using KDZ updater. What if KDZ updater fails to extract the file?
The only alternative to this is the LG Mobile Support Tool. Don't worry you need not download the KDZ file once again ^_^
Whatever file you download using LG Mobile Support Tool is placed in C:/ProgramData/LGMOBILEAX/Phone/ .kdz file ... This can be witnessed while downloading an update using the Support Tool. But the file automatically gets deleted once the extraction of the .kdz file is completed.
Hence if you guys ever wanted to download the same file over and over again...it's not needed anymore
Just press the start update button in the Support Tool and go to C:/ProgramData/LGMOBILEAX/Phone/ and place the .kdz file once the checking of the connections is started in the Support tool! Voila!! There you go...No more unnecessary downloads :laugh:
I know this is a lame method.! But if you find it helpful pls hit thanks
Also NOTE : only the latest .kdz files can be flashed this way )
P.S : Can someone suggest a bootloader unlock for my mobile [ LG optimus G E975 - flashed with E97510F_00.kdz] ...freegee doesn't support this particular update :'(
upload ur boot.img in freegee and wait form some time till shellnutt updates the database...!!
so we flash the KDZ file for the phone using this LG Mobile Support tool ??

[Q] Manually update LG G3 firmware

Hi, I have a rooted (via Purpledrake) bumpd LG G3 V10h-EUR. I've found autoprimes thread re: updating firmware manually http://forum.xda-developers.com/lg-g3/development/psa-stop-taking-ota-updates-update-t2909412
I've followed all the instructions and everything went well but I have one question. I've extracted all the files and merged system.img. My question is, the modem and boot 'imgs' extracted from the dz have the 'bin' extension. I understand I have to rename the files before flashing (using Flash2 zips), does that include changing the extension from bin to 'img' OR have I done something wrong and there should be files somewhere in the extracted folder with the correct extension?
Thanks all
joesf said:
Hi, I have a rooted (via Purpledrake) bumpd LG G3 V10h-EUR. I've found autoprimes thread re: updating firmware manually http://forum.xda-developers.com/lg-g3/development/psa-stop-taking-ota-updates-update-t2909412
I've followed all the instructions and everything went well but I have one question. I've extracted all the files and merged system.img. My question is, the modem and boot 'imgs' extracted from the dz have the 'bin' extension. I understand I have to rename the files before flashing (using Flash2 zips), does that include changing the extension from bin to 'img' OR have I done something wrong and there should be files somewhere in the extracted folder with the correct extension?
Thanks all
Click to expand...
Click to collapse
Nope, that's correct. Just rename them to .img's and you are ready to go. :good:
SmokinWaffle said:
Nope, that's correct. Just rename them to .img's and you are ready to go. :good:
Click to expand...
Click to collapse
Good stuff, thanks for that
Sent from my LG-D855 using XDA Free mobile app
Just to say, I manually updated my G3 to V10L without issue.
And I just want to point out to anyone manually updating for the first time (like me) that they may find that TWRP takes a while to flash the 'system.img' (at least 4-5 mins for me). I was panicking thinking it had all gone
wrong as nothing was happening on the screen, lol, but it was fine in the end...be patient!
No data was lost after flashing system, boot and modem imgs. Root was temporarily lost but TWRP fixed that and for anyone running the Xposed Installer I had to go into that and click 'Install/Update' and everything was back to as it was.

Stock recovery needed, H811

I been looking for stock recovery, for days, for LG G4 H811(tmobile) H81120i, unlocked bootloader. I found a complete stock rom(zip), but not the recovery.
I need one also
kenerly said:
I need one also
Click to expand...
Click to collapse
Extract it from the kdz / tot file
Sent from my LG-H815 using XDA Labs
steadfasterX said:
Extract it from the kdz / tot file
Click to expand...
Click to collapse
Thanks for the tip, I'm just learning about kdz files.
But I don't trust downloading such things from miscellaneous sites on the internet. On some mobile platforms, system images are signed cryptographically by the OEM and cannot be modified or installed if they do not pass the cryptographic verification.
How do I confirm that a kdz file I find somewhere is authentic and does not have eg malicious code in it?
Exabyter said:
Thanks for the tip, I'm just learning about kdz files.
But I don't trust downloading such things from miscellaneous sites on the internet. On some mobile platforms, system images are signed cryptographically by the OEM and cannot be modified or installed if they do not pass the cryptographic verification.
How do I confirm that a kdz file I find somewhere is authentic and does not have eg malicious code in it?
Click to expand...
Click to collapse
aare you in 20i version.? theres antirollback in h811.. V2 is 10n lollipop and 20i MM
V3 is 20-o-p-q- and r. once you flash either of the V3 you can not go back to a V2 rom..
if you are in 20i download LGUP and KDZ 20i flashing its easy.. follow steps
you need a pc to be on the safe side that your download is good not corrupted..
https://forum.xda-developers.com/tmobile-g4/development/stock-h811-20i-images-kdz-flashable-t3308227
raptorddd said:
aare you in 20i version.? theres antirollback in h811.. V2 is 10n lollipop and 20i MM
V3 is 20-o-p-q- and r. once you flash either of the V3 you can not go back to a V2 rom..
Click to expand...
Click to collapse
I did read about that elsewhere tonight. I know why they implement 'anti-rollback' features but it's a real PITA for those of us who need better control of things, particularly when the vendor screws something up in later builds.
I got the phone with the latest build on it, 20r, January 2017.
raptorddd said:
if you are in 20i download LGUP and KDZ 20i flashing its easy.. follow steps
you need a pc to be on the safe side that your download is good not corrupted..
https://forum.xda-developers.com/tmobile-g4/development/stock-h811-20i-images-kdz-flashable-t3308227
Click to expand...
Click to collapse
I did see that post, but to match what's on there I need 20r.
I hate to just install random images found on the internet, but I did find a couple places with 20r kdz images that were binary-identical to each other which seems to add some confidence they are OK. No guarantee that they aren't just 2 sources for the same malware-infested image, tho, I guess..
One of the sites had links to what appears to be official ROM images, but I tried on 3 different browsers and that server didn't want to send me either a page or file content. (URL in the form of "csmgdl.lgmobile.com/dn/downloader.dev?fileKey=[SOMETHING]" )

can someone explain .msi file and dll please and also where to download these from?/?

not sure i understand how to add these files to lggup
tigerh4rebz said:
not sure i understand how to add these files to lggup
Click to expand...
Click to collapse
Just did this to my VS986 to get back to 13B from 26A and it worked perfectly. This is so you can root it in 13B Lollipop cause 26A Marshmallow is unrootable.
The .msi and .dll files you are talking about are the installation files for the LGUP program that you install on your PC in order to flash the KDZ (system image) to your G4. If you follow the instructions in the link below all of the necessary downloads are available under the section titled "Download Required Files."
These include:
1. the LGUP program that you will use to flash the KDZ file
2. the KDZ file itself (when you click the link that takes you to the StorageCow host page you want the file that reads VS98613B)
3. the LG drivers for your phone, if they aren't already installed
Follow the thread instructions to get back to 13B! Backup all of your important stuff first just in case!!!
EDIT: I CAN'T POST THE LINK CAUSE I'M TOO NEW. GOOGLE "How to Downgrade Verizon LG G4 VS986 to 5.1.1 Lollipop" and click on what should be the first result on droidopinions.com.

[H932][STOCK][OREO]LG V30 U.S. T-Mobile H932 H93220s_00_0306.KDZ

H93220s_00_0306.KDZ
3GB
For U.S. T-mobile H932 ONLY. Do NOT install this on any other V30/V30+/V30S except U.S. T-mobile H932. You will brick your phone.
DOWNLOAD LINKS:
* Android File Hosts MIRROR
* LG-Firmwares.com MIRROR
md5: 9cfb96ff50e79340e5a4d80273a68882
TWRP FLASHABLE VERSION:
Full stock and debloated versions available
(thanks to @weakNPCdotCom!)
https://forum.xda-developers.com/lg-v30/development/stock-t-mobile-lg-v30-stock-collection-t3917560
Flash the "ROM" with latest TWRP. Go to that thread to see more information and for TWRP-flashable zip download links.
______________________
PREVIOUS FIRMWARE
H93220r_00_0108.kdz
3GB
For U.S. T-mobile H932 ONLY. Do NOT install this on any other V30/V30+/V30S except U.S. T-mobile H932. You will brick your phone.
DOWNLOAD LINKS:
* Android File Hosts MIRROR
* LG-Firmwares.com MIRROR
md5: efd47fa40857184c6dae80181d1249a9
TWRP FLASHABLE VERSION:
Full stock and debloated versions available
(thanks to @weakNPCdotCom!)
https://forum.xda-developers.com/lg-v30/development/stock-t-mobile-lg-v30-stock-collection-t3909237
ONLY USE MAGISK 18.X ON OREO TWRP-FLASHABLE ZIPS!
Flash the "ROM" with latest TWRP. Go to that thread to see more information and for TWRP-flashable zip download links.
______________________
* If you are bootloader unlocked, have TWRP installed and are rooted, then use the TWRP-flashable zip above to update to latest KDZ.
* If you are not bootloader unlocked and rooted, and do not wish to be rooted at this time, simply choose UPGRADE on LGUP to update to latest KDZ.
* If you wish to root, keep reading...
For rooting purposes, you have to temporarily convert U.S. T-Mobile H932 to to Nougat. See this thread by @runningnak3d for rooting the T-mobile H932. You can always update to newer U.S. T-Mobile H932 firmware later (from this thread, like TWRP-flashable ROM), AFTER bootloader is unlocked and TWRP is installed. In fact, you SHOULD update. But, go to that thread for U.S. T-mobile H932 root.
Here's how to flash KDZ:
padmanek said:
* If you want to have the developer LG UP version, then you need both patched .dll and patched LGUP.exe. Attached a .zip that simply has to be unpacked in the LGUP folder and it will work right away. Dev LG UP looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
.DLL for all the variants I've found firmwares on XDA was the same[/SIZE].
Click to expand...
Click to collapse
----------------------------
DOWNGRADING ANY LG V30/V30+/V30S TO EARLIER KDZ FIRMWARE INCLUDING NOUGAT
1) Go into download mode (power off completely, then hold volume up button while plugging in USB cable)
2) open patched LGUP and flash earlier KDZ to DL PARTITION. In the pop up box "Select All". Use the attached patched LGUP in this post.
3) Master Reset:
With your device powered off, press and hold the Power button and Volume Down buttons simultaneously for a few seconds.
When the LG logo appears, quickly release and then re-hold the Power button while keep holding the Volume Down button.
Let go of the buttons when the onscreen menu appears.
When you see the option to Delete all user data (including LG and carrier apps) and reset all settings message prompt, press the Volume Down button to highlight Yes.
Then press the Power button to reset the device.
Wait until the reset is complete then reboot your device. If it’s able to boot up successfully, proceed with the initial setup.
Click to expand...
Click to collapse
4) DONE.
Here's how to install Dev Patched LGUP:
1) Download and install REGULAR LGUP and then go the LGUP folder on C:\Program Files (x86)\LG Electronics\LGUP and replace the "normal" files with the Dev Patched files (attached to this post).
Install LG Drivers.
REBOOT THE COMPUTER.
2) Alternatively, you can create the folder yourself and just place the Dev Patched LGUP files there.
Nine One One said:
You should create LGUP folder at "C:\Program Files (x86)\LG Electronics"
Then you download "LGUP+V30DLL_PATCHED.zip" file (attached to this post) and unrar.
Copy all file after unrar to C:\Program Files (x86)\LG Electronics\LGUP
Connect device and run LGUP.exe
Done
Click to expand...
Click to collapse
(IMPORTANT YOU INSTALL DEV PATCHED LGUP IN THE RIGHT PLACE. The dev patched LGUP needs to go where regular LGUP is normally installed, so it will run correctly.)
Install LG Drivers.
REBOOT THE COMPUTER.
However, some people report better success installing "regular" LGUP first.
It's fairly easy. Most people breeze right through this. But if you have any problems, go through this list:
Make sure you are in download mode BEFORE opening the patched LGUP file.
This is at the top of the list as some people forget to do that. The remainder are in no particular order. If that doesn't work,
Try different USB port,
Try different USB cable,
Try different computer.
Reinstall LG mobile drivers.
Reinstall dev patched LGUP again, making sure the files are placed where they need to go (LG Electronics folder, etc).
Reboot the computer.
If you ask for help, that's the list of items we are going to give you anyway.
_________________________
SETTINGS
I know everyone has their own settings, but for new owners who want a reference point for all the various submenus and customization, I'll share screenshots of my settings. You can always change to what you like.
https://photos.app.goo.gl/NCm643Y7prJhDLaS2
RESERVED
@runningnak3d and others. Please look at post #1 and make sure I didn't say anything for U.S. T-mobile H932 that is not correct. I used my Verizon VS996 KDZ thread as template but tried to remove any Frankenstein and WTF mentions as those, of course, do not apply to U.S. T-mobile H932. I also specifically said this was just for U.S. T-Mobile H932; other North American V30 variants can cross flash stock firmware -- but U.S. T-mobile H932 can NOT. I also linked to your rooting instructions, of course.
They skipped Q and went straight for R huh? @ChazzMatt I posted this tool over in the TMO G6 forum. feel free to use/include it
KDZZ Flashable Zip Tool
And I'll repeat it here: You really are a titan of the V30 community, Chazz. Thanks a lot!
Also thank you in advance @JohnFawkes for the ZIP.
weakNPCdotCom said:
They skipped Q and went straight for R huh? @ChazzMatt I posted this tool over in the TMO G6 forum. feel free to use/include it
KDZZ Flashable Zip Tool
Click to expand...
Click to collapse
I saw them skip over letters on the V20 H918 T-Mobile variant so I'm not shocked to see that happen here.
Is there any plans for an debloated ROM by the way?
AngryManMLS said:
I saw them skip over letters on the V20 H918 T-Mobile variant so I'm not shocked to see that happen here.
Is there any plans for an debloated ROM by the way?
Click to expand...
Click to collapse
My v30 is running debloated 20p, so ill definitely be making a debloated 20r before i update. If nobody else makes one before i do ill post it.
weakNPCdotCom said:
They skipped Q and went straight for R huh? @ChazzMatt I posted this tool over in the TMO G6 forum. feel free to use/include it
KDZZ Flashable Zip Tool
Click to expand...
Click to collapse
I have my own script that makes the zips that runs on all OS and all LG models without needing to dz first or add "support". Mine also resizes system img for vendor users removes dm verity, opt encrypt, rctd remove, among other things. I'll be uploading the zip here soon
JohnFawkes said:
I have my own script that makes the zips that runs on all OS and all LG models without needing to dz first or add "support". Mine also resizes system img for vendor users removes dm verity, opt encrypt, rctd remove, among other things. I'll be uploading the zip here soon
Click to expand...
Click to collapse
wow
lol.... Well good for you buddy. Thanks for sharing that script with the rest of us. smh
weakNPCdotCom said:
wow
lol.... Well good for you buddy. Thanks for sharing that script with the rest of us. smh
Click to expand...
Click to collapse
Wasn't meant as anything other than for ideas for the other kdzz program to include them.
ChazzMatt said:
@runningnak3d and others. Please look at post #1 and make sure I didn't say anything for T-mobile H932 that is not correct. I used my Verizon VS996 KDZ thread as template but tried to remove any Frankenstein and WTF mentions as those, of course, do not apply to U.S. T-mobile H932. I also specifically said this was just for H932; other North American V30 variants can cross flash stock firmware -- but H932 can NOT. I also linked to your rooting instructions, of course.
@JohnFawkes is making a TWRP-flashable zip -- with build prop edits so DTS 3D stereo and weather animations are fully enabled.
Click to expand...
Click to collapse
Looks good :good: I've also created a h932 zip thread if you want to link here. Zip is uploading to my afh rn. Its about 60% atm
JohnFawkes said:
Looks good :good: I've also created a h932 zip thread if you want to link here. Zip is uploading to my afh rn. Its about 60% atm
Click to expand...
Click to collapse
Thanks. Op edited.
I'm out of "XDA" thanks for the day. You'll get it tomorrow.
weakNPCdotCom said:
My v30 is running debloated 20p, so ill definitely be making a debloated 20r before i update. If nobody else makes one before i do ill post it.
Click to expand...
Click to collapse
Thank you in advance. I can't believe how much bloat gets shoved onto Android these days. I prefer things to be leaner and cleaner to be honest.
So I went the flashable zip route. Unfortunately, something got messed up. It seemed to have erased everything and removed the OS. Couldn't boot into anything, couldn't mount system, cache, etc. Eventually, I got into TWRP again and tried flashing an older stock zip. Now the only thing it tells me it can't mount is '/persist-lg'. And the phone just boot loops when trying to reboot. Looking around the internet, even though it's for a different device, people say that the stock ROM should have persist file in it and to extract it and use fastboot to install it. I'm downloading the kdz files to see if I can get that out of it but the downloads are taking way too long. Can someone who has the file already maybe pull that from the kdz and upload it? I would be forever grateful.
I downloaded the kdz file but I don't know how to extract anything out of it.
@ChazzMatt, you're always in here helping people. Any ideas?
So if I use the KDZ file and LGUP, is there a way to choose what to flash and what not to flash? I'm currently stuck in TWRP recovery mode and nothing seems to be flashing as explained in my previous post. I already have my bootloader unlocked and was rooted. I want to get my phone to boot again but I don't want to loose TWRP or root.
jsgraphicart said:
So if I use the KDZ file and LGUP, is there a way to choose what to flash and what not to flash? I'm currently stuck in TWRP recovery mode and nothing seems to be flashing as explained in my previous post. I already have my bootloader unlocked and was rooted. I want to get my phone to boot again but I don't want to loose TWRP or root.
Click to expand...
Click to collapse
In DL PARTITION mode you can choose what partitions to flash.
ChazzMatt said:
In DL PARTITION mode you can choose what partitions to flash.
Click to expand...
Click to collapse
So If I want to flash everything back to stock but keep TWRP, I just flash everything but recovery? Anything else I should know ahead of time in order to not have to start all over with the root process again?
jsgraphicart said:
So If I want to flash everything back to stock but keep TWRP, I just flash everything but recovery? Anything else I should know ahead of time in order to not have to start all over with the root process again?
Click to expand...
Click to collapse
Yes -- unless you are one of the T-Mobile H932 users who have TWRP on LAFF partition as well as Recovery partition.
If you have TWRP on LAFF, you no longer have Download mode and can't use LGUP.
If you only have TWRP on Recovery partition, then the normal procedure would be go into Download mode and use LGUP to flash the KDZ. UNcheck the recovery partitions in the DL PARTITION options. Flash the KDZ, and then boot to TWRP (which should remain) via hardware button dance.
But you're having to basically root again. You also have to have to flash the initial three files again: no root check, no encryption, and Magisk.
I would wait for @JohnFawkes fix.
ChazzMatt said:
Yes -- unless you are one of the T-Mobile H932 users who have TWRP on LAFF partition as well as Recovery partition.
If you have TWRP on LAFF, you no longer have Download mode and can't use LGUP.
If you only have TWRP on Recovery partition, then the normal procedure would be go into Download mode and use LGUP to flash the KDZ. UNcheck the recovery partitions in the DL PARTITION options. Flash the KDZ, and then boot to TWRP (which should remain) via hardware button dance.
But you're having to basically root again. You also have to have to flash the initial three files again: no root check, no encryption, and Magisk.
I would wait for @JohnFawkes fix.
Click to expand...
Click to collapse
I did flash TWRP on laf before. But for some reason, it never seems to stick. So I do have download mode now. Doesn't LGUP automatically reboot the device when it's done? And if the device boots, it overwrites TWRP? Would I just have to watch it and do the button dance right when it powers off? That's kinda what I'm worried about.
But I will wait and see if there's a fix first. LGUP will be my last resort. It's just hard to be patient when I have a phone that won't boot. lol

Categories

Resources