mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 07:38:17 +00:00
sm6150-common: rootdir: Fix PowerHAL nodes
Fix for: W libperfmgr: Failed to write to node: /dev/stune/top-app/schedtune.boost with value: 10, fd: -1 W libperfmgr: Failed to write to node: /dev/stune/top-app/schedtune.prefer_high_cap with value: 0, fd: -1 Change-Id: Ieb385110f236ab12549aea198639708068fb6156 Signed-off-by: Dobsgw <george.w.dobson@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
@@ -47,6 +47,13 @@ on init
|
||||
|
||||
# Change permissions for /dev/diag
|
||||
chmod 0666 /dev/diag
|
||||
|
||||
# Setup permission for Power HAL
|
||||
chown system system /dev/stune/top-app/schedtune.boost
|
||||
chown system system /dev/stune/top-app/schedtune.prefer_high_cap
|
||||
|
||||
chmod 0664 /dev/stune/top-app/schedtune.boost
|
||||
chmod 0664 /dev/stune/top-app/schedtune.prefer_high_cap
|
||||
|
||||
on fs
|
||||
mount_all --early
|
||||
|
||||
Reference in New Issue
Block a user