My dear @Cozzmy13 theres nothing wrong with your twrp build on flashing ota actually, only handling the reading of the system build.prop is.Great. No problem.
Regarding MIUI OTA, investigation shows that I'd need to do some ugly hacks to support it. I'll think about it but I don't intend using MIUI or flashing it so I'll work blindly. And ZCX doesn't have sources anywhere so I can't look at it.
today out of my curiousity on this
Code:
ui_print("Source: Xiaomi/libra/libra:7.0/NRD90M/7.8.xx:user/release-keys");
ui_print("Target: Xiaomi/libra/libra:7.0/NRD90M/7.8.xx:user/release-keys");
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "Xiaomi/libra/libra:7.0/NRD90M/7.8.xx:user/release-keys" ||
getprop("ro.build.fingerprint") == "Xiaomi/libra/libra:7.0/NRD90M/7.8.xx:user/release-keys" ||
abort("E3001: Package expects build fingerprint of Xiaomi/libra/libra:7.0/NRD90M/7.8.xx:user/release-keys or Xiaomi/libra/libra:7.0/NRD90M/7.8.xx:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
show_progress(0.100000, 5);
note: dont mind the xx as it is unreleased beta rom, will sent you a pm if you need the updater script
I attached the recovery log incase you need it. hope you will fix the reading... good job :good:
Attachments
-
49.1 KB Views: 88
-
105.3 KB Views: 1,059