From 3a3f95b696460bea792d29401abd68758110ff7b Mon Sep 17 00:00:00 2001 From: osm0sis Date: Mon, 20 Dec 2021 22:08:55 -0400 Subject: [PATCH] magisk: fix Realme fingerprint reader issues - move ro.boot.flash.locked to late props since any earlier appears to break Realme fingerprint readers Thanks @byxiaorun for finding the problem prop, and @Jowat97 for testing --- magisk/service.sh | 3 +++ magisk/system.prop | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/magisk/service.sh b/magisk/service.sh index 28b6ca9..212a33c 100755 --- a/magisk/service.sh +++ b/magisk/service.sh @@ -34,6 +34,9 @@ fi sleep 1 done + # avoid breaking Realme fingerprint scanners + resetprop ro.boot.flash.locked 1 + # avoid breaking OnePlus display modes/fingerprint scanners resetprop vendor.boot.verifiedbootstate green }& diff --git a/magisk/system.prop b/magisk/system.prop index d268bc6..77fa53a 100644 --- a/magisk/system.prop +++ b/magisk/system.prop @@ -10,7 +10,6 @@ ro.vendor.warranty_bit=0 ro.warranty_bit=0 # SafetyNet -ro.boot.flash.locked=1 ro.boot.verifiedbootstate=green ro.boot.veritymode=enforcing ro.boot.vbmeta.device_state=locked