From c591f08a11c1e1b76d613f1988efd0866312f436 Mon Sep 17 00:00:00 2001 From: mrgreywater Date: Fri, 13 Mar 2020 17:14:11 +0100 Subject: [PATCH] fix brightness flickering for Lenovo Z5s --- rw-system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index d7cec9c..f4b1734 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -217,6 +217,12 @@ if getprop ro.vendor.build.fingerprint | grep -iq \ setprop persist.sys.qcom-brightness -1 fi +# Lenovo Z5s brightness flickers without this setting +if getprop ro.vendor.build.fingerprint | grep -iq \ + -e Lenovo/jd2019; then + setprop persist.sys.qcom-brightness -1 +fi + if getprop ro.vendor.build.fingerprint | grep -qi oneplus/oneplus6/oneplus6; then resize2fs /dev/block/platform/soc/1d84000.ufshc/by-name/userdata fi