From 463ca03eac8e816f5f9ffaff703ab82b1a05bd11 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 14 Sep 2018 21:09:02 +0200 Subject: [PATCH] Disable fingerprint "button" on Mi 8 SE as well Reported at https://forum.xda-developers.com/showpost.php?p=77620503&postcount=591 --- rw-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index 34b18e6..33b593f 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -54,7 +54,7 @@ changeKeylayout() { chmod 0644 /mnt/phh/keylayout/gpio_keys.kl /mnt/phh/keylayout/sec_touchscreen.kl fi - if getprop ro.vendor.build.fingerprint |grep -q Xiaomi/polaris;then + if getprop ro.vendor.build.fingerprint |grep -iq -e xiaomi/polaris -e xiaomi/sirius;then cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl changed=true