Hi! I also have this “Error 7” message trying to install /e/ on my Samsung Galaxy S9+ (codename: star2lte). I have tried the soltution modifing the “updater-script” file (directly in the ziped image) and deleting the “assert” lines. But unfortunately it doesn’t work. Please find below the (unmodified) code in the updater-script file. I tried to delete the first 4 lines including the first 2 semicolons, then including “ifelse(is_mounted(”/vendor"), unmount(“/vendor”));", then the whole section with the error message. Nothing worked.
assert(getprop(“ro.product.device”) == “star2ltexx” || getprop(“ro.build.product”) == “star2ltexx” ||
getprop(“ro.product.device”) == “star2lteks” || getprop(“ro.build.product”) == “star2lteks” ||
getprop(“ro.product.device”) == “star2lte” || getprop(“ro.build.product”) == “star2lte” || abort(“E3004: This package is for device: star2ltexx,star2lteks,star2lte; this device is " + getprop(“ro.product.device”) + “.”););
ifelse(is_mounted(”/vendor"), unmount(“/vendor”));
mount(“ext4”, “EMMC”, “/dev/block/platform/11120000.ufs/by-name/VENDOR”, “/vendor”);
ifelse(file_getprop(“/vendor/build.prop”,“ro.vendor.build.date.utc”) != “1536890700”,
unmount(“/vendor”);
ui_print(" “);
ui_print(”=============================================“);
ui_print(”=============================================“);
ui_print(” ERROR: “);
ui_print(” Vendor image on the device “);
ui_print(” is NOT compatible “);
ui_print(” Expected version: 27_ARI9 “);
ui_print(” You can download from is.gd/omexok “);
ui_print(”=============================================“);
ui_print(”============NO CHANGE HAS BEEN MADE==========“);
abort(” “););
unmount(”/vendor");
ui_print(“Target: samsung/lineage_star2lte/star2lte:8.1.0/OPM7.181205.001/6c208ec4f9:userdebug/dev-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/11120000.ufs/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/11120000.ufs/by-name/SYSTEM”, package_extract_file(“system.transfer.list”), “system.new.dat.br”, “system.patch.dat”) ||
abort(“E1001: Failed to update system image.”);
run_program(“/sbin/e2fsck”, “-fy”, “/dev/block/platform/11120000.ufs/by-name/SYSTEM”);
run_program(“/sbin/resize2fs”, “/dev/block/platform/11120000.ufs/by-name/SYSTEM”);
run_program(“/sbin/e2fsck”, “-fy”, “/dev/block/platform/11120000.ufs/by-name/SYSTEM”);
show_progress(0.020000, 10);
mount(“ext4”, “EMMC”, “/dev/block/platform/11120000.ufs/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/11120000.ufs/by-name/BOOT”);
show_progress(0.200000, 10);
mount(“ext4”, “EMMC”, “/dev/block/platform/11120000.ufs/by-name/SYSTEM”, “/system”);
run_program(“/sbin/sed”, “-i”, “/exfat/d”, “/system/etc/selinux/plat_sepolicy.cil”);
run_program(“/sbin/sed”, “-i”, “/sdfat/d”, “/system/etc/selinux/plat_sepolicy.cil”);
unmount(“/system”);
set_progress(1.000000);
Regain your privacy! Adopt /e/ the unGoogled mobile OS and online services