Open Source Android Apps for Developers: Milestone-overclock

Apps Description
Milestone-overclock (Overclocking your rooted Motorola Milestone / Droid) is an open source Andriod project which consists of a kernel module for Motorola Milestone/Droid with Android 2.x to unlock any processor frequency/voltage combination and a companion graphical app to ease the configuration. The phone must be rooted so that the kernel module can be loaded.

The module has an interface in /proc/overclock/* that allows enabling and disabling of overclock in runtime without rebooting. No flashing of custom roms or kernels is needed, since that is not even possible with the Milestone.

Project Home
http://code.google.com/p/milestone-overclock/

Project owners
Two core developers are working on the client, Kenny Root and Jeffrey Sharkey.

Version
1.4.2

Downloads
http://code.google.com/p/milestone-overclock/downloads/list

Source Code
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://milestone-overclock.googlecode.com/svn/trunk/ milestone-overclock-read-only

How does it work?
It works by changing several parameters directly in kernel memory to fool both cpufreq and its lowlevel driver. Like the Droid, the Milestone is stable up to 1.2 GHz, with 1.33 GHz being the best I could achieve, albeit completely unstable. For more information please read the KernelModule description. Afterwards I recommend you define better cpufreq policies with the excellent application SetCPU (make sure to use Autodetect, not the Droid/Milestone preset).

For this to work, the module must know two memory addresses that are specific to each kernel. Since version 1.2 the app attempts to autodetect the needed values and should work with any Milestone/Droid with stock Android 2.x. See KernelModule for more information. To port the module to other kernels please follow the instructions in the Disassembly page.

Other phones
In theory this technique is perfectly feasible in any Android phone, and will surely work in phones based on Texas Instruments OMAP3. You may say it’s unneeded if you can use custom firmwares with overclocking enabled; but you must flash a specific kernel to get a particular speed. It would be much better to be able to set any maximum frequency/voltage on the fly without flashing or rebooting. For instance, you could overclock to 1.0 GHz before a browsing or gaming session and then return to a lower frequency like 600 MHz, though still overcloked, for battery savings and safety. It’s up to you. And that’s what this project enables. You’d have to port the kernel module over to the new kernel; I’ve written a detailed howto in the Disassembly page explaining this.

Posted by Cute Android

Related Android Apps:

  1. Open Source Android Apps for Developers: WebSMSdroid
  2. Open Source Android Apps for Developers: Dex2jar
  3. Open Source Android Apps for Developers: Zxing
  4. Open Source Android Apps for Developers: Dialerone
  5. Open Source Android Apps for Developers: k9mail
  6. Open Source Android Apps for Developers: SyncMyPix
  7. Open Source Android Apps for Developers: JRuby-for-android
  8. Open Source Android Apps for Developers: Connectbot
  9. Open Source Android Apps for Developers: Libgdx
  10. Open Source Android Apps for Developers: Android-privacy-guard