From 08ad959d769ecf6d1bc63f5fe66be26b75395c3e 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 26d673c..679724a 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -218,6 +218,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