From 5d211d28e3ab606de955faf5d1a9ce35a2d6bf3e Mon Sep 17 00:00:00 2001 From: Victor Bo Date: Sat, 17 Oct 2020 06:58:04 -0400 Subject: [PATCH] tweaks for Xiaomi Redmi Note 9 'merlin' audiojack, brightness, fp touches (thanks Akitake for reports) --- rw-system.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index 14c830f..e61e815 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -367,10 +367,15 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \ -e xiaomi/nitrogen -e xiaomi/whyred -e xiaomi/platina \ -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 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)" 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 if getprop ro.vendor.product.device |grep -iq -e RMX2001 -e RMX2151 -e RMX2111 -e RMX2111L1;then setprop persist.sys.phh.fingerprint.nocleanup true