For Redmi Note 10 5G, brightness range is 1-4095, even though /sys/.../brightness range is 1-2047 (/=2 done in lights HAL). So we need to manually set the range

This commit is contained in:
Pierre-Hugues Husson 2022-05-10 11:41:58 -04:00
parent 2f9ccbeab5
commit 71f0000b6a

View File

@ -1081,3 +1081,7 @@ mount /system/phh/empty /vendor/bin/install-recovery.sh
if getprop ro.vendor.radio.default_network |grep -qE '[0-9]';then
setprop ro.telephony.default_network $(getprop ro.vendor.radio.default_network)
fi
if getprop ro.vendor.build.fingerprint |grep -iq redmi/camellia;then
setprop persist.sys.qcom-brightness 4095
fi