From e549a2827328e1b612b669927259bc97f0a3ba85 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Fri, 3 Dec 2021 12:25:37 +0000 Subject: [PATCH] Disable FP gestures for LG Stylo 7 5G Change-Id: Ib1013963d41997e6ba5b6a645355beb8637d6f01 --- rw-system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index c8766be..c7daa08 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -253,6 +253,12 @@ changeKeylayout() { changed=true fi + if getprop ro.product.vendor.device |grep -qi mfh505glm; then + cp /system/phh/empty /mnt/phh/keylayout/uinput-fpc.kl + chmod 0644 /mnt/phh/keylayout/uinput-fpc.kl + changed=true + fi + if [ "$changed" = true ]; then mount -o bind /mnt/phh/keylayout /system/usr/keylayout restorecon -R /system/usr/keylayout