Looks like Samsung FODs are calibrated at 319 nits, not max brightness
This commit is contained in:
parent
dd12c94c40
commit
b53b105e83
@ -745,7 +745,7 @@ resetprop service.adb.root 0
|
||||
# This is for Samsung Galaxy devices with HBM FOD
|
||||
# On those devices, a magic Layer usageBits switches to "mask_brightness"
|
||||
# But default is 255, so set it to max instead
|
||||
cat /sys/class/backlight/*/max_brightness |sort -n |tail -n 1 > /sys/class/lcd/panel/mask_brightness
|
||||
echo 319 > /sys/class/lcd/panel/mask_brightness
|
||||
|
||||
if getprop ro.vendor.build.fingerprint |grep -qiE '^xiaomi/';then
|
||||
setprop persist.sys.phh.fod.xiaomi true
|
||||
|
Loading…
Reference in New Issue
Block a user