-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.recovery.lenok.rc
executable file
·30 lines (28 loc) · 1.77 KB
/
init.recovery.lenok.rc
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
on boot
write /sys/class/power_supply/battery/charging_enabled 0
# CPU frequency, suspend and governor
write /sys/module/lpm_levels/parameters/sleep_disabled 0
write /sys/module/lpm_levels/system/cpu0/pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu1/pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu2/pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu3/pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu0/standalone_pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu1/standalone_pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu2/standalone_pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu3/standalone_pc/suspend_enabled 1
write /sys/module/lpm_levels/system/cpu0/standalone_pc/idle_enabled 1
write /sys/module/lpm_levels/system/cpu1/standalone_pc/idle_enabled 1
write /sys/module/lpm_levels/system/cpu2/standalone_pc/idle_enabled 1
write /sys/module/lpm_levels/system/cpu3/standalone_pc/idle_enabled 1
write /sys/module/lpm_levels/system/cpu0/pc/idle_enabled 1
write /sys/module/msm_thermal/core_control/enabled 0
write /sys/devices/system/cpu/cpu3/online 0
write /sys/devices/system/cpu/cpu2/online 0
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "ondemand"
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 787200
write /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate 50000
write /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 90
write /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy 1
write /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor 4
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000
write /sys/module/msm_thermal/core_control/enabled 1