[General Topics] Yongsodiq:
All stages went okay but keep getting this error at he end : lpmake E 05-22 20:28:19 430 2008 images.cpp:384] [liblp]read failed: No error

This is the full logs

PowerShell 7.3.4

PS C:\Windows\System32> cd C:\Users\Ourshopfix_2022\Desktop\SuperPatcherGSI-main\windows

PS C:\Users\Ourshopfix_2022\Desktop\SuperPatcherGSI-main\windows> python .\SuperPatcherGSI.py -i .\super.img -g .\product_a.img -o PatchedSuper.img -s 2

flags successfully verified and appear to be correct, error code (OK)

============================

unpacking...

============================

Extracting partition [system_a] .... [ok]

Extracting partition [system_b] .... [ok]

Extracting partition [system_ext_a] .... [ok]

Extracting partition [system_ext_b] .... [ok]

Extracting partition [vendor_a] .... [ok]

Extracting partition [vendor_b] .... [ok]

Extracting partition [product_a] .... [ok]

Extracting partition [product_b] .... [ok]

============================

choose img to replace

============================

option number 0 product_a.img size of (1802313728) bytes

option number 1 product_b.img size of (0) bytes

option number 2 system_a.img size of (3252461568) bytes

option number 3 system_b.img size of (0) bytes

option number 4 system_ext_a.img size of (1293340672) bytes

option number 5 system_ext_b.img size of (0) bytes

option number 6 vendor_a.img size of (522604544) bytes

option number 7 vendor_b.img size of (0) bytes

Please Choose: 0

============================

device size (super.img size) in bytes must be evenly divisible by 512 defualt=~8G:

metadata size in bytes must be evenly divisible by 512 defualt=~0.5G:

make sparse (flashable with fastboot) ? (Y/n): n

============================

using these flags:

============================

--device-size=8192000000 --metadata-slots=2 --output PatchedSuper.img --metadata-size 512000 --partition=product_a:none:1772527192 --image=product_a=C:\Users\Ourshopfix_2022\Desktop\SuperPatcherGSI-main\windows/tmp/product_a.img --partition=product_b:none:0 --partition=system_a:none:3252461568 --image=system_a=C:\Users\Ourshopfix_2022\Desktop\SuperPatcherGSI-main\windows/tmp/system_a.img --partition=system_b:none:0 --partition=system_ext_a:none:1293340672 --image=system_ext_a=C:\Users\Ourshopfix_2022\Desktop\SuperPatcherGSI-main\windows/tmp/system_ext_a.img --partition=system_ext_b:none:0 --partition=vendor_a:none:522604544 --image=vendor_a=C:\Users\Ourshopfix_2022\Desktop\SuperPatcherGSI-main\windows/tmp/vendor_a.img --partition=vendor_b:none:0

============================

lpmake I 05-22 20:28:15 430 2008 builder.cpp:1093] [liblp]Partition product_a will resize from 0 bytes to 1772527616 bytes

lpmake I 05-22 20:28:15 430 2008 builder.cpp:1093] [liblp]Partition system_a will resize from 0 bytes to 3252461568 bytes

lpmake I 05-22 20:28:15 430 2008 builder.cpp:1093] [liblp]Partition system_ext_a will resize from 0 bytes to 1293340672 bytes

lpmake I 05-22 20:28:15 430 2008 builder.cpp:1093] [liblp]Partition vendor_a will resize from 0 bytes to 522604544 bytes

Invalid sparse file format at header magic

lpmake E 05-22 20:28:19 430 2008 images.cpp:384] [liblp]read failed: No error

============================

cleaning...

============================

OK

PS C:\Users\Ourshopfix_2022\Desktop\SuperPatcherGSI-main\windows>