[Asus ZenWatch 2] aceohyame:
Updated the performance script to actually work with this rom. As others noted, with Nougat it stopped working as device locations changed. Other aspects changed as well and I haven't figured them out yet. In any case, I was able to online the cores and set the governor to performance. The below script will do that. If you want ondemand just change the "performance" line to "ondemand". I used a tool to verify all 4 cores are online with the performance governor set to the 787 or w/e mhz

Follow the same instructions to apply this. It's just an updated script.

#!/system/bin/sh

PATH=/system/bin

cd /sys
echo 4 > /sys/module/lpm_levels/enable_low_power/l2
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled
echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled
echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/idle_enabled
echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/idle_enabled
governor="performance"
scaling_min_freq="787200"
if [[ `grep "oem_perf_change" /proc/cmdline` ]];then
if [[ `grep "oem_perf_on" /proc/cmdline` ]];then
oem_perf_stats="1"
else
oem_perf_stats="0"
fi
echo -n $oem_perf_stats > /factory/oem_perf_stats
fi
echo $governor > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo $governor > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo $governor > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo $governor > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo $scaling_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo $scaling_min_freq > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo $scaling_min_freq > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo $scaling_min_freq > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
echo 787200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 787200 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 787200 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 787200 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
#Below entries are to set the GPU frequency and DCVS governor
echo 450000000 > class/kgsl/kgsl-3d0/devfreq/max_freq
echo 450000000 > class/kgsl/kgsl-3d0/devfreq/min_freq
echo performance > class/kgsl/kgsl-3d0/devfreq/governor
chown -h system /sys/devices/system/cpu/cpu[0-3]/cpufreq/scaling_max_freq
chown -h system /sys/devices/system/cpu/cpu[0-3]/cpufreq/scaling_min_freq
chown -h root.system /sys/devices/system/cpu/cpu[0-3]/online
chmod 664 /sys/devices/system/cpu/cpu[0-3]/online
echo 1 > /sys/devices/system/cpu/cpu0/online 1
echo 1 > /sys/devices/system/cpu/cpu1/online 1
echo 1 > /sys/devices/system/cpu/cpu2/online 1
echo 1 > /sys/devices/system/cpu/cpu3/online 1