From 50903fde85f44591cb1cb3282caf0f5571f9f12d Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 21 Feb 2022 05:27:26 -0500 Subject: [PATCH] Disable fingerprint sensor input from Doogee S88 Pro See https://github.com/phhusson/treble_experimentations/issues/2204 --- rw-system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 93e38c9..d553d4a 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -287,6 +287,12 @@ changeKeylayout() { changed=true fi + if getprop ro.vendor.build.fingerprint | grep -iq DOOGEE/S88Pro;then + cp /system/phh/empty /mnt/phh/keylayout/sf-keys.kl + chmod 0644 /mnt/phh/keylayout/sf-keys.kl + changed=true + fi + if [ "$changed" = true ]; then mount -o bind /mnt/phh/keylayout /system/usr/keylayout restorecon -R /system/usr/keylayout