Merge pull request #236 from sarthakroy2002/android-11.0

Fixed Bugs of Realme 7, Realme 6i(EU) and Realme Narzo 10
This commit is contained in:
Pierre-Hugues HUSSON 2021-03-05 15:51:16 +01:00 committed by GitHub
commit d341ec23ff
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