View Single Post
  #77 (permalink)  
Old 05-05-2011, 08:41 AM
nemesys504's Avatar
nemesys504
Lurker
Offline
 
Join Date: May 2009
Posts: 8
Reputation: 0
nemesys504 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11

Quote:
Originally Posted by ziggy471 View Post
Really simple fix, add these two lines at the beginning of the script to shut off the frequencies:
echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

EDIT: I'd also recommend using the added feature of disabling all freqs outside of the policy, it'd be a much cleaner script.



I'm assuming that your using SetCPU to set the freqs for you, with adding those two lines, there's no need to use it anymore.


Z
Will try this tonight. Also the reason why I created the script that way is because I am also going to disable certain frequencies between my 192 MHz and 960 MHz range as I see my phone doesn't utilize the 806 Mhz and 883 Mhz frequencies. Thank you.

Last edited by nemesys504; 05-05-2011 at 09:04 AM.
Reply With Quote