[Galaxy Tab S Original Android Development] laylomo:
Error 7 during flash..

Hi everyone,

Hoping someone could help me out or point me to the right direction.

I've been getting error 7 during install and it fails, did a search and haven't found any solutions from the thread. I've got the latest bootloader and modem with latest TWRP 3.4.

Did a search on google and found Lineage "Fix error 7" page and it suggests to edit the script to match my device (Tab S 8.4LTE) and I found the following:

====

assert(getprop("ro.product.device") == "klimtlte" || getprop("ro.build.product") == "klimtlte" || abort("E3004: This package is for device: klimtlte; this device is " + getprop("ro.product.device") + "."););

ui_print("Target: samsung/klimtltexx/klimtlte:6.0.1/MMB29K/T705XXU1CQB1: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/dw_mmc.0/by-name/SYSTEM", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "backup");

unmount("/system");

ui_print(" ");

ui_print(" ");

ui_print(" ");

ui_print(" RRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRR ");

ui_print(" R::::::::::::::::R R::::::::::::::::R ");

ui_print(" R::::::RRRRRR:::::R R::::::RRRRRR:::::R ");

ui_print(" RR:::::R R:::::R RR:::::R R:::::R");

ui_print(" R::::R R:::::R R::::R R:::::R");

ui_print(" R::::R R:::::R R::::R R:::::R");

ui_print(" R::::RRRRRR:::::R R::::RRRRRR:::::R ");

ui_print(" R:::::::::::::RR R:::::::::::::RR ");

ui_print(" R::::RRRRRR:::::R R::::RRRRRR:::::R ");

ui_print(" R::::R R:::::R R::::R R:::::R");

ui_print(" R::::R R:::::R R::::R R:::::R");

ui_print(" R::::R R:::::R R::::R R:::::R");

ui_print(" RR:::::R R:::::R RR:::::R R:::::R");

ui_print(" R::::::R R:::::R R::::::R R:::::R");

ui_print(" R::::::R R:::::R R::::::R R:::::R");

ui_print(" RRRRRRRR RRRRRRR RRRRRRRR RRRRRRR");

ui_print(" ");

ui_print(" ");

ui_print(" **************** Software *****************");

ui_print(" OS ver: RR-N-v5.8.5-20200708-klimtlte-Luis");

ui_print("");

ui_print(" Android ver: 7.1.2");

ui_print("");

ui_print(" Security patch: 2020-06-05");

ui_print("");

ui_print(" SDK ver: 25");

ui_print("");

ui_print(" Root status: Enabled");

ui_print("");

ui_print(" Build ID: NJH47F");

ui_print("");

ui_print(" Build date: Wed Jul 8 23:53:32 CEST 2020");

ui_print("");

ui_print(" Build type: Luis");

ui_print("");

ui_print(" Build host: builder");

ui_print("");

ui_print(" Maintainer: frankeggen");

ui_print(" **************** Hardware *****************");

ui_print(" Device codename: klimtlte");

ui_print("");

ui_print(" Manufacturer: samsung");

ui_print("");

ui_print(" LCD density: 320");

ui_print("");

ui_print(" *******************************************");

if is_mounted("/data") then

package_extract_file("META-INF/org/lineageos/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

else

mount("ext4", "EMMC", "/dev/block/platform/dw_mmc.0/by-name/USERDATA", "/data", "");

package_extract_file("META-INF/org/lineageos/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

unmount("/data");

endif;

show_progress(0.750000, 0);

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/platform/dw_mmc.0/by-name/SYSTEM", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

show_progress(0.020000, 10);

mount("ext4", "EMMC", "/dev/block/platform/dw_mmc.0/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/dw_mmc.0/by-name/BOOT");

show_progress(0.200000, 10);

====

Anyone with ideas that could help? Thanks in advance