sm8350-common: rootdir: Sync rootdir from haydn V14.0.3.0.TKKMIXM

Change-Id: Ibbaf1fd6ac6e45b71c66b79a95fa2c936cd3e695
This commit is contained in:
Giovanni Ricca 2023-01-22 15:38:48 +01:00 committed by Arian
parent cb4f0321cc
commit 6c44bff5f7
2 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,8 @@
on charger
wait /sys/class/power_supply/battery/temp
wait /sys/class/power_supply/usb/type
start mi_thermald
on boot
wait /sys/class/power_supply/battery/temp
wait /sys/class/power_supply/usb/type
start mi_thermald
service mi_thermald /system/vendor/bin/mi_thermald

View File

@ -120,14 +120,18 @@ on early-boot
on boot
chown system system /sys/class/thermal/thermal_message/sconfig
chown system system /sys/class/thermal/thermal_message/balance_mode
chown system system /sys/class/thermal/thermal_message/charger_temp
chown system system /sys/devices/virtual/touch/tp_dev/double_tap
chown cameraserver cameraserver /sys/class/thermal/thermal_message/flash_state
# Set xiaomi touch permissions
chown system system /dev/xiaomi-touch
chmod 0660 /dev/xiaomi-touch
write /dev/cpuset/audio-app/cpus 1-2
# init the cpuset value for the camera background,don't change the oder
write /dev/cpuset/camera-background/background/cpus 0-2
write /dev/cpuset/camera-background/cpus 0-3
# Add a cpuset for the camera daemon
# We want all cores for camera
mkdir /dev/cpuset/camera-daemon