Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
71f0000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is two versions of this device (camellia and camellian), for this to work properly in all versions maybe you need to add this fingerprint:
Redmi/camellian_global/camellian:11/RP1A.200720.011/V12.5.5.0.RKSMIXM:user/release-keys
71f0000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
71f0000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add this line to fix Brightness
while true; do cat /sys/class/leds/lcd-backlight/brightness_clone > /sys/class/leds/lcd-backlight/brightness; done
setprop persist.sys.qcom-brightness 4095
Redmi/camellian_global/camellian:12/SP1A.210812.016/V13.0.2.0.SKSMIXM:user/release-keys