land: Set missing display perms and property

Change-Id: I7d710f0b5a70e776304c0d104fd0b5ce6d375fc0
This commit is contained in:
Zhao Wei Liew 2016-10-31 22:39:12 +08:00
parent 32f30a62b0
commit da5ee5a596
2 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,6 @@
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
debug.gralloc.enable_fb_ubwc=1 \
debug.enable.sglscale=1 \
debug.mdpcomp.logs=0 \
dev.pm.dyn_samplingrate=1 \

View file

@ -49,6 +49,20 @@ on early-boot
write /sys/kernel/boot_slpi/boot 1
exec u:r:qti_init_shell:s0 -- /init.qcom.early_boot.sh
# Graphics
chown system graphics /sys/class/graphics/fb0/idle_time
chmod 0664 /sys/class/graphics/fb0/idle_time
chown system graphics /sys/class/graphics/fb0/dynamic_fps
chmod 0664 /sys/class/graphics/fb0/dynamic_fps
chown system graphics /sys/class/graphics/fb0/dyn_pu
chmod 0664 /sys/class/graphics/fb0/dyn_pu
chown system graphics /sys/class/graphics/fb0/modes
chmod 0664 /sys/class/graphics/fb0/modes
chown system graphics /sys/class/graphics/fb0/mode
chmod 0664 /sys/class/graphics/fb0/mode
chown system graphics /sys/class/graphics/fb0/msm_cmd_autorefresh_en
chmod 0664 /sys/class/graphics/fb0/msm_cmd_autorefresh_en
on boot
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
chown bluetooth net_bt /sys/class/rfkill/rfkill0/type