#!/system/bin/sh

chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
echo "interactive" > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
chmod 666 /sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq
echo "936000" > /sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq
echo "468000" > /sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq


