From cbc8d1e1af0ee7644793874888af2439cd4fff7e Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 12 Sep 2019 20:57:30 +0200 Subject: [PATCH] On samsung vndk >= 28 we want to force disable fingerprint weird behaviour --- rw-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index 44ad54a..6c01839 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -350,7 +350,7 @@ if [ -n "$(getprop ro.boot.product.hardware.sku)" ] && [ -z "$(getprop ro.hw.oem fi if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge 28 ];then - setprop persist.sys.phh.samsung_fingerprint -1 + setprop persist.sys.phh.samsung_fingerprint 0 #obviously broken perms if [ "$(stat -c '%A' /sys/class/sec/tsp/ear_detect_enable)" == "-rw-rw-r--" ] && [ "$(stat -c '%U' /sys/class/sec/tsp/ear_detect_enable)" == "root" ] &&