From 6b93fc5f0390bc5469eb7c4b99e2be86e657576f Mon Sep 17 00:00:00 2001 From: Sarthak Roy Date: Fri, 5 Mar 2021 19:19:56 +0530 Subject: [PATCH] Fixed Bugs of Realme 7, Realme 6i(EU) and Realme Narzo 10 --- rw-system.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rw-system.sh b/rw-system.sh index ef8f28b..4823679 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -361,7 +361,7 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \ fi #Realme 6 -if getprop ro.vendor.product.device |grep -iq -e RMX2001;then +if getprop ro.vendor.product.device |grep -iq -e RMX2001 -e RMX2151;then setprop persist.sys.phh.fingerprint.nocleanup true setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)" fi @@ -374,7 +374,7 @@ if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811 - setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)" fi -if getprop ro.build.overlay.deviceid |grep -iq -e RMX2020 -e RMX2027;then +if getprop ro.build.overlay.deviceid |grep -iq -e RMX2020 -e RMX2027 -e RMX2040;then setprop persist.sys.qcom-brightness 2047 setprop persist.sys.overlay.devinputjack true setprop persist.sys.phh.fingerprint.nocleanup true