sm6375-common: rootdir: Fix PowerHAL nodes
Fix for: libperfmgr: Failed to write to node: /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us with value: 2000, fd: -1 libperfmgr: Failed to write to node: /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us with value: 2000, fd: -1 libperfmgr: Failed to write to node: /sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us with value: 2000, fd: -1 libperfmgr: Failed to write to node: /sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us with value: 2000, fd: -1 Change-Id: I1e232a488ed8e7d87607f543425b6138cd6df53a
This commit is contained in:
parent
3e8ae7bbde
commit
484f46a605
1 changed files with 10 additions and 0 deletions
|
@ -397,6 +397,16 @@ on property:sys.boot_completed=1
|
|||
#Reinit lmkd to reconfigure lmkd properties
|
||||
setprop lmkd.reinit 1
|
||||
|
||||
# Power hal
|
||||
chown system system /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
|
||||
chown system system /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
|
||||
chown system system /sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us
|
||||
chown system system /sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us
|
||||
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
|
||||
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
|
||||
chmod 0664 /sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us
|
||||
chmod 0664 /sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us
|
||||
|
||||
# corefile limit
|
||||
on property:persist.debug.trace=1
|
||||
mkdir /data/core 0777 root root
|
||||
|
|
Loading…
Reference in a new issue