|
||||
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 2 May 11
Alright guys, I got the dynamic toggling on/off of frequencies working. I still need to clean up the code, and run more test, but since 0430 is approaching to fast, I'll get it cleaned up and posted tomorrow night. Not to bad, only took 33 builds to get it all working correctly, turned out to be easier than I was trying to make it.
Just so you know somewhat of how it will work, you'll have a new sysfs file under /sys/devices/system/cpu/cpu0/cpufreq, called user_freqs. If you echo a freq to it, it will toggle it's state. If you cat it, it will show the state of ALL freqs, not just those enabled. I also modified/fixed cpufreq_stats to only display the available frequencies. And lastly, I added two more options, if you echo 0 to user_freqs, it will reset to the kernel defaults. If you echo 1 to user_freqs, it will disable all frequencies outside of your min and max. Don't worry, once I'm rested, I'll do a complete write-up with examples. Now if there are any Java developers that would like to write an app, that would be even better. Z
__________________
|
This post has been thanked 2 times. |
|
||||
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 2 May 11
Quote:
__________________
Samsung Galaxy Nexus
|
|
||||
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 2 May 11
Quote:
I agree a java app would even be better... |
|
||||
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 2 May 11
Quote:
Z |
|
||||
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11
Just saw this. Okay stupid question is the commands done via terminal on bolt or through adb on pc?
Never mind did it via terminal on computer. Worked like a champ!!!! Now someone put that into Java!!LOL can it be scripted to do certain one one the fly though? i.e use root explorer to execute the commands? Last edited by Gunthermic; 05-03-2011 at 08:06 PM. |
|
||||
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11
Quote:
Z |
|
Tags |
kernel, mecha, ziggy471 |
|
|