下载:
这个版本的优势:
不需要安装配置Python。
编译自源码:Github kdztools
编译及测试平台:Windows 10 x64。
修改内容:
按照酷安@爱是崇高大佬的方法修改了undz.py以支持解包Android 10固件。
支持KDZ版本:
LG V20到LG V50(Android 7.0到Android 10)均亲测通过。
已知问题:
不能正确解包出OP分区(有临时解决办法)。
使用方法与源码一致:
- 看Github上的说明文档
- 参考@爱是崇高在机锋的教程
- 继续看下面
以V500N20b_00_LGU_KR_OP_1223.kdz
为例:
解压下载的KDZTools,将要解压的kdz文件放到同一目录下(其他目录解包时需要输入文件路径)。
双击Command Prompt
打开命令提示符,输入命令unkdz -f V500N20b_00_LGU_KR_OP_1223.kdz -x -d .
解包kdz
将会在当前目录得到.dz
文件V500N20b_00_LGU_KR_OP_1223.dz
。
继续输入命令undz -f V500N20b_00_LGU_KR_OP_1223.dz -l
将会得到分区信息:
=========================================
0/ 0 : gpt_main0.bin_0 (1563 bytes)
0/ 1 : gpt_main1.bin_0 (277 bytes)
0/ 2 : gpt_main2.bin_0 (277 bytes)
0/ 3 : gpt_main3.bin_0 (386 bytes)
0/ 4 : gpt_main4.bin_0 (2882 bytes)
0/ 5 : gpt_main5.bin_0 (553 bytes)
0/ 6 : gpt_main6.bin_0 (212 bytes)
1/?? : mpt (<empty>)
2/?? : drm (<empty>)
3/?? : p_persist_lg (<empty>)
4/?? : sns (<empty>)
5/?? : ssd (<empty>)
6/ 7 : persist.img_15368 (3420 bytes)
7/?? : misc (<empty>)
8/ 8 : ftm.img_23816 (70 bytes)
9/?? : power (<empty>)
10/?? : encrypt (<empty>)
11/?? : eksst (<empty>)
12/?? : rct (<empty>)
13/?? : fota (<empty>)
14/?? : srtc (<empty>)
15/?? : pstore (<empty>)
16/?? : els (<empty>)
17/?? : operatorlogging (<empty>)
18/?? : eri (<empty>)
19/?? : carrier (<empty>)
20/?? : persdata (<empty>)
21/?? : metadata (<empty>)
22/ 9 : vendor_0.img_91784 (34976 bytes)
22/10 : vendor_587.img_92371 (58291244 bytes)
22/11 : vendor_32874.img_124658 (19 bytes)
22/12 : vendor_33355.img_125139 (73321373 bytes)
22/13 : vendor_66017.img_157801 (20376313 bytes)
22/14 : vendor_98410.img_190194 (19 bytes)
22/15 : vendor_98891.img_190675 (50079494 bytes)
22/16 : vendor_131553.img_223337 (52355068 bytes)
22/17 : vendor_163946.img_255730 (19 bytes)
22/18 : vendor_164427.img_256211 (48420565 bytes)
22/19 : vendor_197089.img_288873 (7360060 bytes)
22/20 : vendor_229482.img_321266 (19 bytes)
22/21 : vendor_229963.img_321747 (71498017 bytes)
22/22 : vendor_262625.img_354409 (42825049 bytes)
22/23 : vendor_295018.img_386802 (19 bytes)
22/24 : vendor_295499.img_387283 (43194810 bytes)
22/25 : vendor_328161.img_419945 (9266857 bytes)
22/26 : vendor_425984.img_517768 (26 bytes)
22/27 : vendor_428312.img_520096 (20443579 bytes)
22/28 : vendor_435199.img_526983 (45 bytes)
23/29 : factory_cache.img_526984 (22 bytes)
24/30 : system_0.img_962184 (44348 bytes)
24/31 : system_767.img_962951 (49487807 bytes)
24/32 : system_33024.img_995208 (19 bytes)
24/33 : system_33535.img_995719 (67873168 bytes)
24/34 : system_66047.img_1028231 (72878827 bytes)
24/35 : system_98560.img_1060744 (19 bytes)
24/36 : system_99071.img_1061255 (85154880 bytes)
24/37 : system_131583.img_1093767 (74090733 bytes)
24/38 : system_164096.img_1126280 (19 bytes)
24/39 : system_164607.img_1126791 (66705403 bytes)
24/40 : system_197119.img_1159303 (67101387 bytes)
24/41 : system_229632.img_1191816 (19 bytes)
24/42 : system_230143.img_1192327 (61374099 bytes)
24/43 : system_262655.img_1224839 (53515797 bytes)
24/44 : system_295168.img_1257352 (19 bytes)
24/45 : system_295679.img_1257863 (53291273 bytes)
24/46 : system_328191.img_1290375 (40106037 bytes)
24/47 : system_360959.img_1323143 (48058276 bytes)
24/48 : system_393727.img_1355911 (42587430 bytes)
24/49 : system_426495.img_1388679 (59264375 bytes)
24/50 : system_459263.img_1421447 (88356717 bytes)
24/51 : system_492031.img_1454215 (86316929 bytes)
24/52 : system_524799.img_1486983 (103655567 bytes)
24/53 : system_557567.img_1519751 (114683242 bytes)
24/54 : system_590335.img_1552519 (75195593 bytes)
24/55 : system_623103.img_1585287 (53695590 bytes)
24/56 : system_655871.img_1618055 (36614959 bytes)
24/57 : system_819200.img_1781384 (524 bytes)
24/58 : system_819456.img_1781640 (24 bytes)
24/59 : system_884736.img_1846920 (524 bytes)
24/60 : system_884992.img_1847176 (24 bytes)
24/61 : system_1015808.img_1977992 (27 bytes)
24/62 : system_1042088.img_2004272 (47116048 bytes)
24/63 : system_1058815.img_2020999 (47 bytes)
25/64 : system_other_LGU_KR_0.img_2021000 (10032 bytes)
25/65 : system_other_LGU_KR_767.img_2021767 (53788912 bytes)
25/66 : system_other_LGU_KR_33024.img_2054024 (19 bytes)
25/67 : system_other_LGU_KR_33535.img_2054535 (56855597 bytes)
25/68 : system_other_LGU_KR_66047.img_2087047 (80482599 bytes)
25/69 : system_other_LGU_KR_98560.img_2119560 (19 bytes)
25/70 : system_other_LGU_KR_99071.img_2120071 (93817440 bytes)
25/71 : system_other_LGU_KR_131583.img_2152583 (120508128 bytes)
25/72 : system_other_LGU_KR_164096.img_2185096 (19 bytes)
25/73 : system_other_LGU_KR_164607.img_2185607 (119938376 bytes)
25/74 : system_other_LGU_KR_197119.img_2218119 (126024379 bytes)
25/75 : system_other_LGU_KR_229632.img_2250632 (19 bytes)
25/76 : system_other_LGU_KR_230143.img_2251143 (95056341 bytes)
25/77 : system_other_LGU_KR_262655.img_2283655 (114995058 bytes)
25/78 : system_other_LGU_KR_295168.img_2316168 (19 bytes)
25/79 : system_other_LGU_KR_295679.img_2316679 (113450870 bytes)
25/80 : system_other_LGU_KR_328191.img_2349191 (66815557 bytes)
25/81 : system_other_LGU_KR_819200.img_2840200 (531 bytes)
25/82 : system_other_LGU_KR_819456.img_2840456 (24 bytes)
25/83 : system_other_LGU_KR_884736.img_2905736 (532 bytes)
25/84 : system_other_LGU_KR_884992.img_2905992 (24 bytes)
25/85 : system_other_LGU_KR_1015808.img_3036808 (27 bytes)
25/86 : system_other_LGU_KR_1042088.img_3063088 (40860856 bytes)
25/87 : system_other_LGU_KR_1058815.img_3079815 (47 bytes)
26/88 : product_0.img_3079816 (28914 bytes)
26/89 : product_633.img_3080449 (57675067 bytes)
26/90 : product_32895.img_3112711 (19 bytes)
26/91 : product_33401.img_3113217 (32624342 bytes)
26/92 : product_66042.img_3145858 (101699000 bytes)
26/93 : product_98431.img_3178247 (19 bytes)
26/94 : product_98937.img_3178753 (123440014 bytes)
26/95 : product_131578.img_3211394 (105785035 bytes)
26/96 : product_163967.img_3243783 (19 bytes)
26/97 : product_164473.img_3244289 (90100041 bytes)
26/98 : product_197114.img_3276930 (106598033 bytes)
26/99 : product_229503.img_3309319 (19 bytes)
26/100 : product_230009.img_3309825 (72705115 bytes)
26/101 : product_262650.img_3342466 (94005954 bytes)
26/102 : product_295039.img_3374855 (19 bytes)
26/103 : product_295545.img_3375361 (87625347 bytes)
26/104 : product_328186.img_3408002 (67337407 bytes)
26/105 : product_360954.img_3440770 (77656054 bytes)
26/106 : product_393722.img_3473538 (99982884 bytes)
26/107 : product_426490.img_3506306 (123014584 bytes)
26/108 : product_459258.img_3539074 (67062126 bytes)
26/109 : product_491520.img_3571336 (27 bytes)
26/110 : product_515995.img_3595811 (26389298 bytes)
26/111 : product_524287.img_3604103 (45 bytes)
27/?? : product_b (<empty>)
28/?? : OP_a (<empty>)
29/?? : OP_b (<empty>)
30/112 : userdata_0.img_5439240 (2185 bytes)
30/113 : userdata_643.img_5439883 (58453 bytes)
30/114 : userdata_32768.img_5472008 (377 bytes)
30/115 : userdata_32897.img_5472137 (24 bytes)
30/116 : userdata_98304.img_5537544 (377 bytes)
30/117 : userdata_98433.img_5537673 (24 bytes)
30/118 : userdata_163840.img_5603080 (376 bytes)
30/119 : userdata_163969.img_5603209 (24 bytes)
30/120 : userdata_229376.img_5668616 (376 bytes)
30/121 : userdata_229505.img_5668745 (24 bytes)
30/122 : userdata_262144.img_5701384 (24 bytes)
30/123 : userdata_262658.img_5701898 (59 bytes)
30/124 : userdata_294912.img_5734152 (375 bytes)
30/125 : userdata_295041.img_5734281 (24 bytes)
30/126 : userdata_491520.img_5930760 (23 bytes)
31/?? : grow (<empty>)
32/127 : gpt_backup0.bin_7103995 (1528 bytes)
32/128 : gpt_backup1.bin_2043 (250 bytes)
32/129 : gpt_backup2.bin_2043 (250 bytes)
32/130 : gpt_backup3.bin_2043 (357 bytes)
32/131 : gpt_backup4.bin_453115 (2851 bytes)
32/132 : gpt_backup5.bin_3067 (525 bytes)
32/133 : gpt_backup6.bin_1019 (183 bytes)
33/134 : OP_LGU_KR.img_4128392 (192973915 bytes)
33/135 : OP_LGU_KR.img_4193928 (25607065 bytes)
33/136 : OP_LGU_KR.img_4259464 (7174157 bytes)
34/137 : xbl.elf_6 (2555260 bytes)
35/138 : xbl_config.elf_902 (19907 bytes)
36/139 : xbl.elf_6 (2555260 bytes)
37/140 : xbl_config.elf_902 (19907 bytes)
38/141 : mdmddr.mbn_320 (29 bytes)
39/142 : aop.mbn_6 (87623 bytes)
40/143 : tz.mbn_134 (1060242 bytes)
41/144 : hyp.mbn_1158 (145874 bytes)
42/145 : NON-HLOS.bin_1290 (84953192 bytes)
43/146 : abl.elf_101642 (205882 bytes)
44/147 : dspso.bin_101898 (9761765 bytes)
45/148 : km4.mbn_118282 (114965 bytes)
46/149 : akmu.mbn_118410 (8500 bytes)
47/150 : boot.img_118538 (25796729 bytes)
48/151 : cmnlib.mbn_143114 (245691 bytes)
49/152 : cmnlib64.mbn_143242 (274322 bytes)
50/153 : devcfg.mbn_143370 (22275 bytes)
51/154 : qupv3fw.elf_143402 (16849 bytes)
52/155 : laf.img_143422 (26209293 bytes)
53/156 : vbmeta_LGU_KR.img_155710 (2611 bytes)
54/157 : dtbo.img_155726 (103912 bytes)
55/158 : uefi_sec.mbn_161870 (57340 bytes)
56/159 : imagefv.elf_162382 (10000 bytes)
57/160 : raw_resources.img_162894 (393049 bytes)
58/161 : imeiprot.mbn_208462 (21889 bytes)
59/162 : aop.mbn_208590 (87623 bytes)
60/163 : tz.mbn_208718 (1060242 bytes)
61/164 : hyp.mbn_209742 (145874 bytes)
62/165 : NON-HLOS.bin_209874 (84953192 bytes)
63/166 : abl.elf_310226 (205882 bytes)
64/167 : dspso.bin_310482 (9761765 bytes)
65/168 : km4.mbn_326866 (114965 bytes)
66/169 : akmu.mbn_326994 (8500 bytes)
67/170 : boot.img_327122 (25796729 bytes)
68/171 : cmnlib.mbn_351698 (245691 bytes)
69/172 : cmnlib64.mbn_351826 (274322 bytes)
70/173 : devcfg.mbn_351954 (22275 bytes)
71/174 : qupv3fw.elf_351986 (16849 bytes)
72/175 : laf.img_352006 (26209293 bytes)
73/176 : vbmeta_LGU_KR.img_364294 (2611 bytes)
74/177 : dtbo.img_364310 (103912 bytes)
75/178 : uefi_sec.mbn_370454 (57340 bytes)
76/179 : imagefv.elf_370966 (10000 bytes)
77/180 : raw_resources.img_371478 (393049 bytes)
78/181 : imeiprot.mbn_417046 (21889 bytes)
79/182 : sec.elf_417174 (2980 bytes)
80/183 : apdp.mbn_417438 (2803 bytes)
81/184 : msadp.mbn_417502 (2803 bytes)
82/185 : logfs_ufs_8mb.bin_428227 (554 bytes)
83/186 : storsec.mbn_447171 (8114 bytes)
84/187 : multi_image.mbn_447203 (3662 bytes)
接着输入命令undz -f V500N20b_00_LGU_KR_OP_1223.dz -s 24
即可得到system_a
分区,可以用7-Zip
右键打开查看文件。
提取其他分区更换-s
后面的数字就行了。后面不加数字可提取所有分区,但是会将没有数据的userdata
也提取了,会占用很大的磁盘空间。
新增一键脚本
