From af3fb3c0abfadff712cb0c72a416bb8bf303db74 Mon Sep 17 00:00:00 2001 From: Oracle-GSI <121375771+Oracle-GSI@users.noreply.github.com> Date: Thu, 29 Dec 2022 09:49:18 +0300 Subject: [PATCH] Update rw-system.sh --- rw-system.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index 5f324b339..7b5202975 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -213,7 +213,7 @@ changeKeylayout() { changed=true fi - if ( getprop ro.build.overlay.deviceid |grep -q -e RMX1931 -e RMX1941 -e CPH1859 -e CPH1861 -e RMX2185) || + if ( getprop ro.build.overlay.deviceid |grep -q -e RMX1931 -e RMX1941 -e CPH1859 -e CPH1861 -e RMX2185 -e RMX3491) || ( grep -q OnePlus /odm/etc/$(getprop ro.boot.prjname)/*.prop);then echo 1 > /proc/touchpanel/double_tap_enable cp /system/phh/oppo-touchpanel.kl /mnt/phh/keylayout/touchpanel.kl @@ -434,6 +434,12 @@ if getprop ro.vendor.product.device |grep -iq -e RMX2001 -e RMX2151 -e RMX2111 - setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)" fi +#Realme 9i +if getprop ro.vendor.product.device |grep -iq -e RMX3491;then + setprop persist.sys.phh.fingerprint.nocleanup true + setprop persist.sys.qcom-brightness "$(cat /sys/class/backlight/panel0-backlight/max_brightness)" +fi + if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807;then setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)" fi