[Nexus 7 Android Development] rootbrain:
OK, you've got boot settings to "init.d" reapply? You set to 1Gb in System Tuner and the 99pmwcpu script has the 1GB values?. Here's my script.

------99pmwcpu

#!/system/bin/sh

if [ -e /data/local/cpu_protection ] ; then

echo failed > /data/local/cpu_failed

chmod 777 /data/local/cpu_failed

exit

fi

echo applied > /data/local/cpu_protection

chmod 777 /data/local/cpu_protection

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

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "1500000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo "1500000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

echo "100000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

chmod 666 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

echo "1500000" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

chmod 666 /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

echo "100000" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

chmod 666 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

echo "1500000" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

chmod 666 /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo "100000" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

#! 1237 1212 1200 1175 1150 1125 1100 1075 1050 1025 1000 975 912 900 875 850 825 800

echo "1237 1212 1200 1175 1150 1125 1100 1075 1050 1025 1000 975 912 900 875 850 825 800 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

Check the permissions, maybe it's not updating the file or something. Look at all the scripts in etc/init.d, make sure something that executes later isn't "undoing" anything.

Here are the scripts and the order they run on mine.

85SecretSauce64

99pmwcpu

99pmwsdcache

I completely removed the 99pmwioscheduler file, don't want it for my needs. I use the default in System Tuner anyway.

EDIT: I changed the cpu max in System Tuner to 1Ghz, checked the 99pmwcpu file, it had been changed to that max cpu. Rebooted and it DIDNT stick at 1Ghz per the init.d script. Went back to 1.5Ghz in the 99pmwcpu, but the SD and io scheduler files stuck. Going to try something else.

New EDIT: Ok, this works. Drag System Tuner from all apps to the App Info. When info come up, clear cache (not data, just cache). Then make your changes in System tuner to the CPU max you want. The 99pmwcpu script should show the correct max. Reboot, the file and System tuner should both show the max you set before reboot. Guess something in the System Tuner cache was overwriting the init.d script during boot. Maybe something to send to the app developer to check on. What's curious, I tried it a couple more times without clearing cache using different max values, and it worked each time without a problem. Maybe when the cache gets to a certain point? I don't know.