diff --git a/init.hardware.rc b/init.hardware.rc index 95872446..32953806 100644 --- a/init.hardware.rc +++ b/init.hardware.rc @@ -45,6 +45,7 @@ on init # disable thermal hotplug for thermal write /sys/module/msm_thermal/core_control/enabled 0 + # bring back all cores write /sys/devices/system/cpu/cpu0/online 1 write /sys/devices/system/cpu/cpu1/online 1 diff --git a/init.power.sh b/init.power.sh index 4759b1ac..0f8c6da8 100644 --- a/init.power.sh +++ b/init.power.sh @@ -13,22 +13,6 @@ function copy() { ################################################################################ -# disable thermal hotplug to switch governor -write /sys/module/msm_thermal/core_control/enabled 0 - -# bring back main cores CPU 0,4 -write /sys/devices/system/cpu/cpu0/online 1 -write /sys/devices/system/cpu/cpu4/online 1 - -# configure governor settings for little cluster -write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "sched" - -# configure governor settings for big cluster -write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "sched" - -# re-enable thermal hotplug -write /sys/module/msm_thermal/core_control/enabled 1 - # Enable bus-dcvs for cpubw in /sys/class/devfreq/*qcom,cpubw* do