tweaks for Xiaomi Redmi Note 9 'merlin'
audiojack, brightness, fp touches (thanks Akitake for reports)
This commit is contained in:
parent
438255bb25
commit
5d211d28e3
@ -367,10 +367,15 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
|
|||||||
-e xiaomi/nitrogen -e xiaomi/whyred -e xiaomi/platina \
|
-e xiaomi/nitrogen -e xiaomi/whyred -e xiaomi/platina \
|
||||||
-e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip \
|
-e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip \
|
||||||
-e xiaomi/lavender -e xiaomi/olive -e xiaomi/olivelite -e xiaomi/pine \
|
-e xiaomi/lavender -e xiaomi/olive -e xiaomi/olivelite -e xiaomi/pine \
|
||||||
-e Redmi/lancelot -e Redmi/galahad; then
|
-e Redmi/lancelot -e Redmi/galahad -e Redmi/merlin; then
|
||||||
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
|
||||||
|
|
||||||
|
#Xiaomi Redmi Note 9
|
||||||
|
if getprop ro.vendor.build.fingerprint |grep -qi -e Redmi/merlin; then
|
||||||
|
setprop persist.sys.overlay.devinputjack true
|
||||||
|
fi
|
||||||
|
|
||||||
#Realme 6
|
#Realme 6
|
||||||
if getprop ro.vendor.product.device |grep -iq -e RMX2001 -e RMX2151 -e RMX2111 -e RMX2111L1;then
|
if getprop ro.vendor.product.device |grep -iq -e RMX2001 -e RMX2151 -e RMX2111 -e RMX2111L1;then
|
||||||
setprop persist.sys.phh.fingerprint.nocleanup true
|
setprop persist.sys.phh.fingerprint.nocleanup true
|
||||||
|
Loading…
Reference in New Issue
Block a user