.KDZ

KDZ File

LG Android Firmware Package
Ask a question
QUICK ANSWER

A KDZ file is a complete Android firmware package for an LG phone or tablet, used to flash or restore the device. You do not open it like a document: flash it with LGUP or LG Flash Tool on Windows, or extract its contents with KDZTool or kdztools. Note that some old databases incorrectly label KDZ as a Kaspersky antivirus file - that is wrong.

Developer: LG Electronics Category: System Files MIME: application/octet-stream
OPENS ON Windows Linux
Related: .NOMEDIA · .DLL · .TMP · .LNK

On this page

19k+ extensions indexed
Last reviewed Aug 26, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the KDZ file format?

The .kdz file is a proprietary firmware container developed by LG Electronics for packaging and distributing Android operating system images to LG smartphones and tablets. Each .kdz file wraps one or more .dz archives, which in turn hold compressed partition images - such as boot, system, super, and modem - encoded with zlib/DEFLATE compression.

The format uses a binary, little-endian structure. A .kdz file begins with a 4-byte header length field (0x28050000) followed by a 32-bit magic signature (0x34127856 in little-endian), making it reliably identifiable by its magic bytes. Three format versions exist: V1 (early devices), V2, and V3 (current packaging); the inner .dz stream is also versioned independently.

Typical .kdz files range from 1 GB to 8 GB, representing a complete ROM image for a specific device model and region. Integrity is enforced through per-chunk MD5 and CRC checksums embedded in the .dz records. The official flashing tool, LGUP, validates device model and region codes before applying any firmware update.

Starting with the LG G6 and V30 (2017 and later), LG transitioned newer devices to the .tot firmware format paired with LGUP. LG exited the smartphone business on July 31, 2021, so no new .kdz files are produced; existing packages continue to circulate for device repair, downgrading, and unbricking.

Community tools such as kdztools (Python) enable extraction on Linux without official LG software.

Security & safety

RISK: HIGH

Flashing the wrong KDZ (wrong model, wrong region, or a downgrade past anti-rollback) can hard-brick an LG device. Only flash firmware that exactly matches your model and use LG's tools in Download mode with a good cable. Download KDZ files only from reputable firmware mirrors - many "LG firmware" sites bundle adware or serve tampered files. Extraction with kdztools/KDZTool is harmless (read-only); the risk is in flashing.

Format details

in a nutshell
FULL NAMELG Android Firmware Packageaka LG KDZ firmware, LG device upgrade file
DEVELOPERLG Electronicssince c. 2011 (LG Android smartphone era)
CATEGORYSystem Files
MIME TYPEapplication/octet-stream
TYPEProprietary firmware container (binary)
This extension is also used by…
  • Kaspersky / generic .kdz data file - Some old databases (including this one) mislabel KDZ as a Kaspersky antivirus file; that association is incorrect.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
2805000034127856
ASCII
(···4·xV
KDZ starts with a 4-byte header length (0x28050000) followed by the 32-bit magic 0x34127856 (little-endian 0x56781234). V2/V3 variants differ in record layout; identify with kdztools/KDZTool rather than by extension alone.

Programs that open KDZ files

Windows4 apps
LGUP Free Install LGUP + your model's DLL, put the phone in Download mode, select the .kdz and flash (Refurbish/Upgrade).
LG Flash Tool (LGUP legacy) Free Older models: load the .kdz, set CSE/region, connect in Download mode and flash.
KDZTool Open-source Command line: extract the .dz and partition images from V1/V2/V3 KDZ, or repack a modified one.
LG Firmware Extract Tool Free Windows GUI: select the .kdz/.dz to extract its contents without flashing.
Linux1 app
kdztools (Python) Open-source python unkdz.py -f file.kdz -x then python undz.py -f file.dz -s to dump partitions.

Technical details

deep spec
Container typeProprietary binary firmware container wrapping one or more DZ archives
Byte orderLittle-endian
Magic bytes0x28050000 (4-byte header length) followed by 0x34127856 (32-bit magic signature) at offset 0
Format versionsV1 (early devices), V2, and V3 (current); inner DZ stream is independently versioned
Compressionzlib/DEFLATE applied per partition chunk inside the embedded .dz stream
EncryptionNone on legacy KDZ; some newer LG packages include signed or obfuscated records
Typical file size1 GB to 8 GB (full ROM image for one specific device model and region)
Internal structureKDZ header + record table + embedded DZ archive containing compressed partition images (boot, system, super, modem, and others)
Integrity verificationPer-chunk MD5 and CRC checksums in DZ records; LGUP validates device model and region before flashing
Partition coverageboot, system, super, modem, and other Android partitions for a complete device ROM
DeveloperLG Electronics
Tool platformsWindows (LGUP, KDZTool, LG Flash Tool); Linux (Python kdztools)
MIME typeapplication/octet-stream
Superseded byTOT firmware format with LGUP for LG G6, V30, G7, and later models (2017+)
Production statusDiscontinued; LG exited the smartphone business on July 31, 2021 - no new KDZ files are issued
Releasedc. 2011 (LG Android smartphone era)
Latest versionKDZ format V3 (current LG packaging)
Specificationgithub.com

KDZ conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with KDZ files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about KDZ files.

Frequently asked questions

What is a KDZ file?
It's a complete firmware package for an LG Android phone or tablet, containing all the partition images needed to flash or restore the device. It is NOT a Kaspersky antivirus file despite some outdated listings.
How do I flash a KDZ to my LG phone?
On Windows, use LGUP (for LG G6/V30/G7 and newer) or the older LG Flash Tool with your model's DLL. Put the phone in Download mode, select the .kdz and flash.
How do I extract a KDZ without flashing it?
Use KDZTool or the Python kdztools: they unpack the KDZ into its inner .dz archive and then into individual partition .img files you can inspect.
Is a KDZ file a virus or Kaspersky file?
No. The Kaspersky association in some databases is an error. KDZ is purely LG firmware and has nothing to do with antivirus software.
Can I still get KDZ files for my LG phone?
Yes, from firmware mirror archives - LG closed its phone division in 2021, so no new firmware is released, but existing KDZ files remain available for repair and downgrade.

References

1kdztools - LG KDZ tools (GitHub, ehem)github.com
2KDZTool - modern KDZ extract/repack (GitHub)github.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.PARTPartial Download File
5.MDMarkdown Document
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.DATProgram Data File (generic)
9.RPMSGRestricted Permission Message
10.DBSQLite Database File

Related extensions

.NOMEDIAAndroid No-Media Marker File
.DLLDynamic Link Library
.TMPTemporary File
.LNKWindows Shell Link (Shortcut)
.PKGmacOS Installer Package
.ETLEvent Trace Log

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z