diff --git a/rootdir/etc/init/hw/init.cgroup.rc b/rootdir/etc/init/hw/init.cgroup.rc index b047274..a4c3244 100644 --- a/rootdir/etc/init/hw/init.cgroup.rc +++ b/rootdir/etc/init/hw/init.cgroup.rc @@ -17,9 +17,14 @@ on property:init.svc.vendor.charger=running write /sys/devices/system/cpu/cpu5/online 0 write /sys/devices/system/cpu/cpu7/online 0 -on post-fs-data - write /sys/devices/system/cpu/cpufreq/policy0/scaling_governor sugov_ext - write /sys/devices/system/cpu/cpufreq/policy6/scaling_governor sugov_ext +on property:vendor.all.modules.ready=1 + write /sys/devices/system/cpu/cpufreq/policy0/scaling_governor "sugov_ext" + write /sys/devices/system/cpu/cpufreq/policy0/sugov_ext/up_rate_limit_us 500 + write /sys/devices/system/cpu/cpufreq/policy0/sugov_ext/down_rate_limit_us 20000 + + write /sys/devices/system/cpu/cpufreq/policy6/scaling_governor "sugov_ext" + write /sys/devices/system/cpu/cpufreq/policy6/sugov_ext/up_rate_limit_us 500 + write /sys/devices/system/cpu/cpufreq/policy6/sugov_ext/down_rate_limit_us 20000 on init write /sys/devices/platform/soc/11270000.ufshci/clkgate_enable 0