Skip to content

Commit

Permalink
magisk: fix Realme fingerprint reader issues
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
osm0sis authored and kdrag0n committed Dec 22, 2021
1 parent 12f9cbc commit 9736291
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions riru/template/magisk_module/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}&
1 change: 0 additions & 1 deletion riru/template/magisk_module/system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9736291

Please sign in to comment.