mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: rootdir: cleanup init.mt6789.rc
and remove unused aee init script
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
d1f367982d
commit
22aff0bab1
|
@ -1,31 +0,0 @@
|
|||
on post-fs-data
|
||||
|
||||
mkdir /data/vendor/aee_exp 0775 root root
|
||||
mkdir /data/vendor/dumpsys 0775 system system
|
||||
mkdir /data/vendor/core 0775 system system
|
||||
mkdir /data/vendor/tombstones 0775 system system
|
||||
|
||||
on post-fs && property:ro.vendor.aee.convert64=0
|
||||
start aee_aedv
|
||||
start aee_aedv64
|
||||
setprop ro.vendor.aee.enforcing no
|
||||
|
||||
on post-fs && property:ro.vendor.aee.convert64=1
|
||||
start aee_aedv64_v2
|
||||
setprop ro.vendor.aee.enforcing no
|
||||
|
||||
on property:ro.vendor.aeev.dynamic.switch=disable && property:ro.vendor.aee.convert64=0
|
||||
stop aee_aedv
|
||||
stop aee_aedv64
|
||||
|
||||
on property:ro.vendor.aeev.dynamic.switch=disable && property:ro.vendor.aee.convert64=1
|
||||
stop aee_aedv64_v2
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
setprop persist.vendor.aeev.log.status 1
|
||||
|
||||
on property:persist.vendor.aeev.boot.reason.status=done && property:ro.vendor.aee.convert64=0
|
||||
start aeev_set_last_shutdown
|
||||
|
||||
on property:persist.vendor.aeev.boot.reason.status=done && property:ro.vendor.aee.convert64=1
|
||||
start aeev_set_last_shutdown_v2
|
|
@ -348,7 +348,7 @@ on post-fs-data
|
|||
setrlimit 8 -1 -1
|
||||
|
||||
# CMDQ
|
||||
chmod 0644 /dev/mtk_mdp
|
||||
chmod 0640 /dev/mtk_mdp
|
||||
chown system system /dev/mtk_mdp
|
||||
|
||||
# MDP SYNC
|
||||
|
@ -996,19 +996,6 @@ on property:sys.boot_completed=1
|
|||
write /proc/sys/vm/dirty_expire_centisecs 3000
|
||||
write /proc/sys/vm/dirty_background_ratio 10
|
||||
|
||||
write /sys/block/mmcblk0/queue/iostats 1
|
||||
write /sys/block/mmcblk0/queue/read_ahead_kb 512
|
||||
write /sys/block/mmcblk0/queue/nr_requests 128
|
||||
write /sys/block/sdc/queue/iostats 1
|
||||
write /sys/block/sdc/queue/read_ahead_kb 512
|
||||
write /sys/block/sdc/queue/nr_requests 128
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-2/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-3/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-4/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-5/queue/read_ahead_kb 128
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /proc/perfmgr/boost_ctrl/cpu_ctrl/boot_freq "-1 -1 -1 -1 -1 -1"
|
||||
write /sys/devices/platform/boot_dramboost/dramboost/dramboost 0
|
||||
|
@ -1050,13 +1037,6 @@ on property:sys.boot_completed=1
|
|||
# group gps system radio
|
||||
# class main
|
||||
|
||||
# Setup runtime cpusets
|
||||
write /dev/cpuset/top-app/cpus 0-7
|
||||
write /dev/cpuset/foreground/cpus 0-5,7
|
||||
write /dev/cpuset/background/cpus 4-5
|
||||
write /dev/cpuset/system-background/cpus 2-5
|
||||
write /dev/cpuset/restricted/cpus 2-5
|
||||
|
||||
# Battery info
|
||||
on property:persist.vendor.mediatek.fg.disable=1
|
||||
write /dev/gauge/FG_daemon_disable 1
|
||||
|
|
Loading…
Reference in a new issue