[APP] Milestone - Overclock (requires root)

Search This thread

miragu

Member
Apr 13, 2010
30
1
Hi all,

I realize this is a post about a Motorola phone but please bear with me.

As you might know, the Milestone firmware is firmly locked, unlike its cousin Droid. Among many things, this forbids overclocking because we can't change the kernel and unlock new frequencies.

However I developed a solution that allows overclocking by changing key structures directly in the kernel memory in runtime. All you need is a rooted phone; no flashing involved. For this to work, the module must know two memory addresses that are specific to each kernel. Fortunately, Motorola appears to have reused its kernel on most 2.1 firmwares, and I've yet to come across a firmware where it doesn't work by default. Confirmed working are Central Europe, Telus and Brazilian firmwares. Testers are welcome to give it a try.

Now for the relevant part for XDA: in theory this can be applied to any kernel on any other phone. You may say it's unneeded because you can already overclock; 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.

Milestone users can try it out now:

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

For the rest of you, what do you think? :)
 
Last edited by a moderator:
  • Like
Reactions: justlovejoy

mssmison

Retired Forum Moderator
Apr 23, 2008
1,654
231
Google Pixel 5
sounds fantastic, I'd love to check it out but for the life of me I can't find the page.
If you want to pm it to me, I'll post it.
 

Broken

Senior Member
Jul 13, 2006
1,119
26
Lewiston, ID
Because it was decreed months ago by someone and no one seems to like changing their mind once they make a decision in this day and age.....
 
D

Deleted member 267841

Guest
hi,
i use the 2.1-reu version on my milestone,
but in order to prevent the 2.1 introduced alarm bug,
i have updated the kernel (only) to the 2.1-telus
(via a sbf).
is possible to use this mod to overlock my phone?
how?
if not, how help you to obtain the addresses?
thank's and continue your great work!
robert
 
D

Deleted member 267841

Guest
XDA is a HTC developer forum, not an Android forum. Google some moto modding sites, i know modmymoto.com is pretty good, found out how to root the Cliq (garbage) there.

I have read this explanation several times.
I do not mind, but then because there are subforums dedicated to sonyericsson, hp, etc in xda. :)
modmymoto is good but the best developers site is, withous any doubt, xda-developers!
 

ady

Retired Forum Moderator
Nov 15, 2005
436
19
Vancouver
Re: milestone-overclock

Xda-developers is for htc and android is for porn.

Welcome to xda btw and great job. Now prepared to be flamed for uttering the M word.

-------------------------------------
sent via xda app from my milestone
 

de_annere

Senior Member
Feb 13, 2010
55
2
Hi all,
Now for the relevant part for XDA: in theory this can be applied to any kernel on any other phone.

Will the method to find the right address that will be posted at /wiki/Disassembly work with every phone and kernel,too?
Has the app something like a setting where you can just change the address to the one you found with the method above?

Would really love an overclocked 2.1 on the HTC HERO. There is no oc-2.1-kernel for the Hero, yet.

Thanks for the great work, til now!
 
D

Deleted member 267841

Guest
this is a good via to mod any application.
please, publish the source code of your applicacion ASAP.
thx
 

miragu

Member
Apr 13, 2010
30
1
Source code for the kernel module released

Hi all,
Thank you for your support. I've just uploaded the source code for the kernel module and also the standalone module itself (it's included in the apk but still). Will write the Disassembly section soon, stay tuned.
 
D

Deleted member 267841

Guest
Hi all,
Thank you for your support. I've just uploaded the source code for the kernel module and also the standalone module itself (it's included in the apk but still). Will write the Disassembly section soon, stay tuned.

hi,
i'm interested on include this in my system applications directory,
in order to prevent your deletion on hardreset, and in order to make it available FOREVER :)
the instructions are that:

cp OverClock.apk /system/app
cp OverClock.ko /system/lib

????

thx
 

miragu

Member
Apr 13, 2010
30
1
The overclock.ko is created automatically when you press the "Load module" button in /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko. You don't need to copy it. I'm providing it separately so that people can load/bundle it without ever running the apk.

hi,
i'm interested on include this in my system applications directory,
in order to prevent your deletion on hardreset, and in order to make it available FOREVER :)
the instructions are that:

cp OverClock.apk /system/app
cp OverClock.ko /system/lib

????

thx
 
D

Deleted member 267841

Guest
ok,
if i'm interested on have overclocking on my milestone after boot the system, and don't interested on manually execute the apk on each reboot, i need only to copy the OverClock.ko to /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko on boot time ?
but in your wiki page says to execute "insmod overclock.ko max_rate=800000 max_vsel=62"
please, provide me instructions to set overclock in boot time :)
 
Last edited by a moderator:

miragu

Member
Apr 13, 2010
30
1
The module created by the apk is preserved across reboots. However, if you want to run the module completely standalone I recommend you put it in /data/local/overclock.ko and run insmod /data/local/overclock.ko max_rate=800000 max_vsel=62
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi all,

    I realize this is a post about a Motorola phone but please bear with me.

    As you might know, the Milestone firmware is firmly locked, unlike its cousin Droid. Among many things, this forbids overclocking because we can't change the kernel and unlock new frequencies.

    However I developed a solution that allows overclocking by changing key structures directly in the kernel memory in runtime. All you need is a rooted phone; no flashing involved. For this to work, the module must know two memory addresses that are specific to each kernel. Fortunately, Motorola appears to have reused its kernel on most 2.1 firmwares, and I've yet to come across a firmware where it doesn't work by default. Confirmed working are Central Europe, Telus and Brazilian firmwares. Testers are welcome to give it a try.

    Now for the relevant part for XDA: in theory this can be applied to any kernel on any other phone. You may say it's unneeded because you can already overclock; 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.

    Milestone users can try it out now:

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

    For the rest of you, what do you think? :)
    1
    With 1GHZ speed core, you must resize your vsel about 70-74 than, could cook your phone

    MaxRate-MaxVsel.jpg

    Fixed that for you.