From 3e0f024cad3163d194c196d3b8f46344c1fdf6bd Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 4 Sep 2018 20:16:14 +0200 Subject: [PATCH] Include Xiaomi Mi 6X in 12bits backlight devices --- rw-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index d085d49..ac3112e 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -119,7 +119,7 @@ if grep -qF 'mkdir /data/.fps 0770 system fingerp' vendor/etc/init/hw/init.mmi.r chown system:9015 /sys/devices/soc/soc:fpc_fpc1020/irq_cnt fi -if getprop ro.vendor.build.fingerprint |grep -q Xiaomi/clover/clover;then +if getprop ro.vendor.build.fingerprint |grep -q -e Xiaomi/clover/clover -e iaomi/wayne/wayne;then setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness) fi