blob: b3caec8889fa38870ff2f5dd16ed242f50766d67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
on post-fs
#INTERNAL_START
# disable HPS
write /proc/hps/enabled 0
# disable secondary cpu
write /sys/devices/system/cpu/cpu0/online 1
write /sys/devices/system/cpu/cpu1/online 1
write /sys/devices/system/cpu/cpu2/online 0
write /sys/devices/system/cpu/cpu3/online 0
write /sys/devices/system/cpu/cpu4/online 0
write /sys/devices/system/cpu/cpu5/online 0
write /sys/devices/system/cpu/cpu6/online 0
write /sys/devices/system/cpu/cpu7/online 0
write /sys/devices/system/cpu/cpu8/online 0
write /sys/devices/system/cpu/cpu9/online 0
chmod 0660 /dev/spm
chown system system /dev/spm
on boot
service spm_script /system/bin/spm_loader
user root
group root
oneshot
|