#!/system/bin/sh

chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo 'performance' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo 1800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 1800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo 1800000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

echo 1800000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq