[G2 General] netcracker:
Hello Sir, Sorry for the late reply.

My Device is F320l and downloaded rom is for D802..

I'm attaching the script files of lineageos 15.1 which i have edited with notepad++ but at flashing it says invalid zip format.

One other thing to mention that there are two updat-script files inside the extracted folder under this structure:

"LG G2-F320L\lineage-15.1-20190119\META-INF\com\google\android\updater-script"

"LG G2-F320L\lineage-15.1-20190119\lineage-15.1-20190119\META-INF\com\google\android\updater-script"

Please help me to install this rom. I'm waiting for your answere.:)

Script Files::

1 of 2.

assert(getprop("ro.product.device") == "f320" || getprop("ro.build.product") == "f320" ||
getprop("ro.product.device") == "g2" || getprop("ro.build.product") == "g2" ||
getprop("ro.product.device") == "galbi" || getprop("ro.build.product") == "galbi" ||
getprop("ro.product.device") == "d800" || getprop("ro.build.product") == "d800" || abort("E3004: This package is for device: f320,g2,galbi,d800; this device is " + getprop("ro.product.device") + "."););
ui_print("Target: lge/g2_open_com/g2:5.0.2/LRX22G/151061918340a:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);

2 of 2.

assert(getprop("ro.product.device") == "f320" || getprop("ro.build.product") == "f320" ||
getprop("ro.product.device") == "g2" || getprop("ro.build.product") == "g2" ||
getprop("ro.product.device") == "galbi" || getprop("ro.build.product") == "galbi" ||
getprop("ro.product.device") == "d800" || getprop("ro.build.product") == "d800" || abort("E3004: This package is for device: f320,g2,galbi,d800; this device is " + getprop("ro.product.device") + "."););
ui_print("Target: lge/g2_open_com/g2:5.0.2/LRX22G/151061918340a:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);