as i understand, you need codes? -command (1ghz): echo "echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | sudo gainroot -comm: echo "/usr/sbin/kernel-load /usr/share/kernel-power-settings/default" | sudo gainroot