diff options
author | Arian <arian.kulmer@web.de> | 2020-02-01 22:12:48 +0100 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2020-02-01 22:17:16 +0100 |
commit | 8a61fb3515d616ea472f916464f1fcd3d0e8fc13 (patch) | |
tree | 28eaec9588d34d08fee913f8e3c234b70db94fc7 | |
parent | c743e451f29c1fe9107b0403407bea6a95af71d8 (diff) |
shinano-common: rootdir: Clean recovery script up
Change-Id: Ia6f2ce370430e7329c5354cb16a84947e99e2542
-rw-r--r-- | rootdir/etc/init.recovery.qcom.rc | 74 |
1 files changed, 2 insertions, 72 deletions
diff --git a/rootdir/etc/init.recovery.qcom.rc b/rootdir/etc/init.recovery.qcom.rc index 4d427f1..039fed3 100644 --- a/rootdir/etc/init.recovery.qcom.rc +++ b/rootdir/etc/init.recovery.qcom.rc @@ -1,75 +1,5 @@ -on init - write /sys/class/android_usb/android0/idVendor 0fce - write /sys/class/android_usb/android0/idProduct 6182 +on fs + wait /dev/block/platform/msm_sdcc.1 symlink /dev/block/platform/msm_sdcc.1 /dev/block/bootdevice setprop sys.usb.ffs.aio_compat 1 - -on boot - # Allow core adjustements - write /sys/module/msm_thermal/core_control/enabled 0 - write /sys/devices/system/cpu/cpu1/online 1 - write /sys/devices/system/cpu/cpu2/online 1 - write /sys/devices/system/cpu/cpu3/online 1 - - write /sys/module/lpm_levels/system/cpu0/pc/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu0/wfi/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu0/retention/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu0/standalone_pc/suspend_enabled 1 - - write /sys/module/lpm_levels/system/cpu1/pc/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu1/wfi/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu1/retention/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu1/standalone_pc/suspend_enabled 1 - - write /sys/module/lpm_levels/system/cpu2/pc/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu2/wfi/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu2/retention/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu2/standalone_pc/suspend_enabled 1 - - write /sys/module/lpm_levels/system/cpu3/pc/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu3/wfi/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu3/retention/suspend_enabled 1 - write /sys/module/lpm_levels/system/cpu3/standalone_pc/suspend_enabled 1 - - write /sys/module/lpm_levels/system/cpu0/pc/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu0/wfi/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu0/retention/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu0/standalone_pc/idle_enabled 1 - - write /sys/module/lpm_levels/system/cpu1/pc/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu1/wfi/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu1/retention/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu1/standalone_pc/idle_enabled 1 - - write /sys/module/lpm_levels/system/cpu2/pc/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu2/wfi/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu2/retention/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu2/standalone_pc/idle_enabled 1 - - write /sys/module/lpm_levels/system/cpu3/pc/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu3/wfi/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu3/retention/idle_enabled 1 - write /sys/module/lpm_levels/system/cpu3/standalone_pc/idle_enabled 1 - - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "ondemand" - write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "ondemand" - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "ondemand" - write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor "ondemand" - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000 - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1500000 - write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 300000 - write /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq 1500000 - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 300000 - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq 1500000 - write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 300000 - write /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq 1500000 - - # Restore core auto control with new settings - write /sys/module/msm_thermal/core_control/enabled 1 - write /sys/class/devfreq/qcom,cpubw.40/governor "cpubw_hwmon" - write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz - write /dev/cpuctl/cpu.notify_on_migrate 1 - - -service qseecomd /sbin/qseecomd |