Unpack the rom zip file and remoove the assert lines and repack with winrar
grep -r assert havoc-os-v4.1-20210128-lavender-unofficial
Übereinstimmungen in Binärdatei havoc-os-v4.1-20210128-lavender-unofficial/META-INF/com/google/android/update-binary
havoc-os-v4.1-20210128-lavender-unofficial/META-INF/com/google/android/updater-script:assert(getprop("ro.product.device") == "lavender" || getprop("ro.build.product") == "lavender" || abort("E3004: This package is for device: lavender; this device is " + getprop("ro.product.device") + ".");
havoc-os-v4.1-20210128-lavender-unofficial/META-INF/com/google/android/updater-script:assert(lavender.verify_trustzone("TZ.BF.4.0.7-00154") == "1");
Übereinstimmungen in Binärdatei havoc-os-v4.1-20210128-lavender-unofficial/boot.img
Are you sure it helps to remove
Code:
assert(getprop("ro.product.device") == "lavender" || getprop("ro.build.product") == "lavender" || abort("E3004: This package is for device: lavender; this device is " + getprop("ro.product.device") + "."););
assert(lavender.verify_trustzone("TZ.BF.4.0.7-00154") == "1");
in updater-script? "assert" is in the binary-file too.
I don't have winrar, I use linux.