Fixed Bugs of Realme 7, Realme 6i(EU) and Realme Narzo 10

This commit is contained in:
Sarthak Roy 2021-03-05 19:19:56 +05:30 committed by GitHub
parent a52cbb93d5
commit 6b93fc5f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -361,7 +361,7 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
fi fi
#Realme 6 #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.phh.fingerprint.nocleanup true
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)" setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi 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)" setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi 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.qcom-brightness 2047
setprop persist.sys.overlay.devinputjack true setprop persist.sys.overlay.devinputjack true
setprop persist.sys.phh.fingerprint.nocleanup true setprop persist.sys.phh.fingerprint.nocleanup true