sdm660-common: rootdir: Fix permissions for dynamic thermal profile
Signed-off-by: clarencelol <clarencekuiek@icloud.com> Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
parent
748f477ad7
commit
65329561c4
1 changed files with 7 additions and 0 deletions
|
@ -116,6 +116,13 @@ on early-boot
|
||||||
on boot
|
on boot
|
||||||
start vendor.rmt_storage
|
start vendor.rmt_storage
|
||||||
start rfs_access
|
start rfs_access
|
||||||
|
|
||||||
|
# Thermal
|
||||||
|
chmod 0664 /sys/class/thermal/thermal_message/sconfig
|
||||||
|
chown system system /sys/class/thermal/thermal_message/sconfig
|
||||||
|
chmod 0666 /sys/class/thermal/thermal_message/temp_state
|
||||||
|
chown system system /sys/class/thermal/thermal_message/temp_state
|
||||||
|
|
||||||
write /dev/cpuset/top-app/cpus 0-7
|
write /dev/cpuset/top-app/cpus 0-7
|
||||||
write /dev/cpuset/foreground/cpus 0-7
|
write /dev/cpuset/foreground/cpus 0-7
|
||||||
write /dev/cpuset/foreground/boost/cpus 0-7
|
write /dev/cpuset/foreground/boost/cpus 0-7
|
||||||
|
|
Loading…
Reference in a new issue