From 5d211d28e3ab606de955faf5d1a9ce35a2d6bf3e Mon Sep 17 00:00:00 2001 From: Victor Bo Date: Sat, 17 Oct 2020 06:58:04 -0400 Subject: [PATCH 1/2] 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 14c830f65..e61e815b6 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 From b09944ffe0fd5aef38a65921a946c296cd1ff44a Mon Sep 17 00:00:00 2001 From: Victor Bo Date: Wed, 21 Oct 2020 13:58:06 -0400 Subject: [PATCH 2/2] tweaks for Xiaomi Redmi 9 (Prime) 'lancelot' from https://forum.xda-developers.com/showpost.php?p=83640257&postcount=365 --- rw-system.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rw-system.sh b/rw-system.sh index e61e815b6..0f05d30ec 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -371,8 +371,8 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \ 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 +#Xiaomi Redmi Note 9, Redmi 9 (Prime) +if getprop ro.vendor.build.fingerprint |grep -qi -e Redmi/merlin -e Redmi/lancelot; then setprop persist.sys.overlay.devinputjack true fi