hittade det funkar inte!
Code:
cat init.salsa.sh
#!/system/bin/sh
[COLOR="Red"]value=`getprop persist.maxcpukhz`[/COLOR]
case "$value" in
"")
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq >\
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
;;
*)
echo $value > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
;;
esac
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
echo 30 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential
echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
i boot.img sätter man stopp, jag ska kunna fixa det men det tar mig en stund, min boot.img funkade inte ska testa med en ny
Last edited: Dec 21, 2009