05-28-2011, 11:15 PM
|
|
N00b
Offline
|
|
Join Date: Apr 2011
Posts: 26
Reputation: 0
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
|
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11
Quote:
Originally Posted by mchaos
I got bored this morning so I hammered out a shell script that will ask you what you want you min and max frequency, also it will ask you if you will like to set the scaling manager and if you would like to disable all frequencies out side of that policy. Then it will generate a script and put it in the init.d folder so it will set everything upon boot.
Put it in /data/local/bin and chmod it to executable, then just run freqset from any directory in a shell, and it will run. You can run it when ever you want to change it. It will overwrite the script in init.d.
It works well. If I get bored again the next thing I am going write some functions that will check your inputs after you enter a frequency to make sure it is one of the available frequencies. Right now, if you miss type a freq or enter something that is not available it will put it into the script, and it will not set that parameter at boot. You have to re run freqset.
You can type list and it will tell you all of the freqs you can choose from.
For setting the scaling governor, I started making a function that would list all of the available governors, but I did not finish or implement it. So if you are checking out the script, you will see a function that is not finished. It will set the governor, it just will not list available ones.
enjoy!
|
Saweet! this is awesome. I didn't have a bin folder in data/local so i put it in system/bin and its working great
|