thanks for your replonse. but now another issue im having, when i zip it, the system img and boot img go inside the meta inf folder? or make a new folder containing the two img and the meta folder?
thanks for your replonse. but now another issue im having, when i zip it, the system img and boot img go inside the meta inf folder? or make a new folder containing the two img and the meta folder?
if lg releases new update
then you can download the kdz and make a zip which can be flashed through cwm without loosing the recovery or unlocked bootloader status.
your back up will give you only the original version you have backed up not the new released version.
now extract
KDZ and TOT Extractor to dzextracted folder and go to dzextracted folder.
Open WindowsLGFirmwareExtract.exe
#include
/* * Your warranty is now void.
* * I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot. */
1.Preparation/pre-requisites1.Preparation/pre-requisites
2. Extarcting IMGs from KDZ
3.Making a flashable zips.
C:\Python27>python KDZFileTools.py -l -f D41010c_00.kdz
[!] Error: Unsupported KDZ file format.
[ ] Expected: 0x28 0x5 0x0 0x0 0x34
0x31 0x25 0x80 ,
but received 0x28
0x5 0x0 0x0 0x24 0x38 0x22 0x25
"\x28\x05\x00\x00\x34\x31\x25\x80"
"\x28\x05\x00\x00\x24\x38\x22\x25"
C:\Python27>python KDZFileTools.py -l -f D41010c_00.kdz
[+] KDZ Partition
List
=========================================
0 : D41010d_0.dz
(1027325284 bytes)
1 : WX.dll (1303040 bytes)
2 : ♥WX.dylib
(243307520 bytes)
C:\Python27>python KDZFileTools.py -f D41010c_00.kdz -x
C:\Python27>python KDZFileTools.py -f D41010c_00.kdz -x
[+] Extracting
all partitions!
[+] Extracting D41010d_0.dz to kdzextracted\D41010d_0.dz
[+] Extracting
WX.dll to kdzextracted\WX.dll
[+] Extracting ♥WX.dylib to
kdzextracted\♥WX.dylib
Traceback (most recent call last):
File
"KDZFileTools.py", line 195, in <module>
kdztools.main()
File "KDZFileTools.py", line 191, in
main
self.cmdExtractAll()
File
"KDZFileTools.py", line 172, in cmdExtractAll
self.extractPartition(part[0])
File "KDZFileTools.py", line 112, in
extractPartition
outfile =
open(os.path.join(self.outdir,currentPartition['name']), 'wb')
IOError:
[Errno 22] invalid mode ('wb') or filename: 'kdzextracted\\\x03WX.dylib
'
C:\Python27>python DZFileTools.py -f kdzextracted/D41010d_0.dz -x
C:\Python27>python DZFileTools.py -f kdzextracted/D41010d_0.dz -x
[+]
Extracting all partitions!
[+] Extracting PrimaryGPT_0.bin to dzextracted\PrimaryGPT_0.bin
[+]
Extracting modem_16384.bin to dzextracted\modem_16384.bin
[+] Extracting
sbl1_147456.bin to dzextracted\sbl1_147456.bin
[+] Extracting rpm_149504.bin
to dzextracted\rpm_149504.bin
[+] Extracting tz_150528.bin to
dzextracted\tz_150528.bin
[+] Extracting sdi_151552.bin to
dzextracted\sdi_151552.bin
[+] Extracting aboot_152576.bin to
dzextracted\aboot_152576.bin
[+] Extracting rpmb_156672.bin to
dzextracted\rpmb_156672.bin
[+] Extracting tzb_157696.bin to
dzextracted\tzb_157696.bin
[+] Extracting abootb_158720.bin to dzextracted\abootb_158720.bin
[+] Extracting persist_212992.bin to
dzextracted\persist_212992.bin
[+] Extracting laf_278528.bin to
dzextracted\laf_278528.bin
[+] Extracting boot_327680.bin to
dzextracted\boot_327680.bin
[+] Extracting recovery_372736.bin to
dzextracted\recovery_372736.bin
[+] Extracting rct_459776.bin to
dzextracted\rct_459776.bin
[+] Extracting factory_507904.bin to
dzextracted\factory_507904.bin
[+] Extracting sbl1b_622592.bin to
dzextracted\sbl1b_622592.bin
[+] Extracting cust_704512.bin to
dzextracted\cust_704512.bin
[+] Extracting system_933888.bin to
dzextracted\system_933888.bin
[+] Extracting system_1197064.bin to
dzextracted\system_1197064.bin
[+] Extracting system_1201176.bin to
dzextracted\system_1201176.bin
[+] Extracting system_1462288.bin to
dzextracted\system_1462288.bin
[+] Extracting system_1725464.bin to
dzextracted\system_1725464.bin
[+] Extracting system_1986576.bin to
dzextracted\system_1986576.bin
[+] Extracting system_2249752.bin to
dzextracted\system_2249752.bin
[+] Extracting system_2510864.bin to
dzextracted\system_2510864.bin
[+] Extracting system_2774040.bin to
dzextracted\system_2774040.bin
[+] Extracting system_3035152.bin to
dzextracted\system_3035152.bin
[+] Extracting system_3298328.bin to
dzextracted\system_3298328.bin
[+] Extracting system_3559440.bin to
dzextracted\system_3559440.bin
[+] Extracting system_3821584.bin to
dzextracted\system_3821584.bin
[+] Extracting system_4079616.bin to
dzextracted\system_4079616.bin
[+] Extracting system_4341760.bin to
dzextracted\system_4341760.bin
[+] Extracting system_4603904.bin to
dzextracted\system_4603904.bin
[+] Extracting system_4866048.bin to
dzextracted\system_4866048.bin
[+] Extracting BackupGPT_15268864.bin to
dzextracted\BackupGPT_15268864.bin
C:\Python27>
merge system-bin
rename boot_327680.bin to boot.img
rename cust_704512.bin to cust.bin
META-INF, system.img,boot.img,cust.bin
one more methodAlright. Sorry I'm away from computer outside is provide links
Search XDA/Google how to extract system.IMG
They're are guides in XDA
Once you have it the /system extracted
you can make mods to it.
You'll have to modify the update-script to flash the modded system folder instead of the .IMG
Or create a. IMG of the modded /system folder so you don't have to change the update script
Zip up and flash.
Hopefully NO bootloop
Great guide!
BTW, there was one error I found.
Instead of:
Code:C:\Python27>python DZFileTools.py -f kdzextracted/D41010[COLOR="Red"]d[/COLOR]_0.dz -x
It should have been:
Code:C:\Python27>python DZFileTools.py -f kdzextracted/D41010[COLOR="Red"]c[/COLOR]_0.dz -x
PS:
If your running on D415 just replace D410 with whatever version you have.
Just one question?
What is the cust.bin for? Is that the data partition?