• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Overclocking Motorola Milestone

Search This thread

emx_o

Senior Member
Aug 2, 2009
368
37
Munich
dlbogdan said:
Hello,
What a great day this is for the Milestone!


Tiagosousa just released a couple of hours ago a program that overclocks the milestone by a kernel module.


check it out: milestone-overclock - Project Hosting on Google Code

direct QR download:
chart


Cheers!:D

have fun :) working great!!!

Developers Thread: http://forum.xda-developers.com/showthread.php?t=683451

HOW TO KEEP SETTINGS AFTER REBOOT:

If you dont like to set the CPU frequency after each reboot you can add following lines to /system/bin/mot_boot_mode
This only works if this file is NOT in binary mode

Code:
#
insmod /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko
echo 68 > /proc/overclock/max_vsel
echo 800000 > /proc/overclock/max_rate

If your file is in binary mode (not cleartext):
ONLY IF YOU DONT HAVE MEMHACK OR APPS2SD!!!!

1. rename original mot_boot_mode to mot_boot_mode.bin but leave it in the same directory
2. copy my mot_boot_mode (without extension) to the same directory
3. set permissions of BOTH files to 755 (rwx r-x r-x)
 

Attachments

  • mot_boot_mode.zip
    279 bytes · Views: 224
Last edited:

anheuer

Senior Member
Aug 16, 2007
933
6
Amsterdam
Ik also just did this..

did have to root my 2.1 before i could..

but now working with a nice 1000Mhz processor..
also using setcpu as recomended.
 

dysa

Member
May 19, 2010
16
2
Melbourne
I just overclocked my Milestone...

UK 2.1 ROM (SHOLS_U2_02.31.0)
Obviously Rooted :)
Apps2SD installed (1gb Ext2 Part) on my 8gb Class4 card

Tried overclocking upto 1200Mhz. All worked, but have decided to scale it back a bit to 800Mhz for daily use.

Also running SetCPU with profiles set.

Benchmarked with Linpack @ 800Mhz (MFLOPS: 6.506; Time 0.83sec)

Looks good so far.

I will now try to install JIT.
 

flat possum

Member
May 15, 2010
12
0
Queenstown
have fun :) working great!!!

edit://
If you dont like to set the CPU frequency after each reboot you can add following lines to /system/bin/mot_boot_mode
This only works if this file is NOT in binary mode

Code:
#
insmod /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko
echo 68 > /proc/overclock/max_vsel
echo 800000 > /proc/overclock/max_rate

Hi, I'm a complete noob with Android (and next to no knowledge in Linux).
I've rooted my Milestone successfully and upgraded to the stock 2.1 version but have no knowledge of the internals, so i'm very cautious with modifying system files.

I've opened /system/bin/mot_boot_mode in text editor and saw a lot of giberish, so I assume it is in Binary mode? :eek:
How do I know for sure? If it is in Binary mode, can I change it?

Appreciate your help!

Cheers

Tai
 

emx_o

Senior Member
Aug 2, 2009
368
37
Munich
ok there is a way to get it working in binary mode but DONT change the content of your file, thats very important.
ONLY IF YOU DONT HAVE MEMHACK OR APPS2SD!!!!

1. rename original mot_boot_mode to mot_boot_mode.bin but leave it in the same directory
2. copy my mot_boot_mode (without extension) to the same directory
3. set permissions of BOTH files to 755 (rwx r-x r-x)
 

Attachments

  • mot_boot_mode.zip
    279 bytes · Views: 43
Last edited:

flat possum

Member
May 15, 2010
12
0
Queenstown
ok there is a way to get it working in binary mode but DONT change the content of your file, thats very important.
ONLY IF YOU DONT HAVE MEMHACK OR APPS2SD!!!!

1. rename original mot_boot_mode to mot_boot_mode.bin but leave it in the same directory
2. copy my mot_boot_mode (without extension) to the same directory
3. set permissions of BOTH files to 755 (rwx r-x r-x)
Thanks mate!

Much appreciated!
 

cmstlist

Senior Member
Jan 11, 2010
3,364
524
Toronto
Google Pixel 4a
I tried something similar with mot_boot_mode and it didn't kick in on the first boot. I replaced insmod with /system/bin/insmod just to see if that would make a difference. Then it worked on the next boot.

Warning: Make a nandroid backup before you try this, just to be sure... if you bugger up the boot files, it'll be your only way to restore.
 

jcsmart

Member
Mar 30, 2007
23
0
Hong Kong
Great. I can use this to run my Milestone in 1G. With SetCPU, I can control it between 125MHz to 1000MHz. Thanks for your great effort. :D
 

dysa

Member
May 19, 2010
16
2
Melbourne
I got a question...

On the Google project site, there is reference to the below table with the below vsel settings for each CPU freq.

When I use the Overclocking app UI to set the CPU freq. I get different vsel values for most of the freq.

Freq (KHz) / vsel / My vsel values
550000 / 56 / 56
600000 / 62 / 60
800000 / 68 / 66
1000000 / 74 / 72
1200000 / 80 / 80

I have been using 800000/66 for the last few days and for the most part it's been fairly stable, but my phone has frozen a few times and have has a few FC with different apps. So, I would like to try different vsel values to see if I can get this thing solid.

Can anyone help?

Thanks in advance!
 
Last edited:

tiagorc

New member
Feb 23, 2010
1
0
Hello guys, im not an experienced android user. But, for those that have memhack, what we need to do to set the frequency after each reboot? Thanks
 

emx_o

Senior Member
Aug 2, 2009
368
37
Munich
Hello guys, im not an experienced android user. But, for those that have memhack, what we need to do to set the frequency after each reboot? Thanks

if you have memhack your mot_boot_mode file is propably not in binary mode, so you can add following lines as described in the 1st post

#
insmod /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko
echo 68 > /proc/overclock/max_vsel
echo 800000 > /proc/overclock/max_rate
 

dysa

Member
May 19, 2010
16
2
Melbourne
is there already a possibility for jit on milestone?! tell me if u got it working :)
Got JIT working on. I used the instructions and package from the Motorola Milestone Australia website (sholes.id.au/how-to/). Sorry, I'm not allowed to post URLs yet. :(

Results: Stable for the most part and about 10-15% increase in my Linpack scores.

I've since reverted back to my old settings as I really didn't notice any performance gains from day-to-day use.
 

emx_o

Senior Member
Aug 2, 2009
368
37
Munich
Got JIT working on. I used the instructions and package from the Motorola Milestone Australia website (sholes.id.au/how-to/). Sorry, I'm not allowed to post URLs yet. :(

Results: Stable for the most part and about 10-15% increase in my Linpack scores.

I've since reverted back to my old settings as I really didn't notice any performance gains from day-to-day use.

yeah already found a script to install jit :) thank you anyway

from 8.2mflops to 9.6mflops @1ghz - thats okay for 2.1 ;)
 

Trevor_g

Senior Member
Jul 6, 2008
148
24
emx_o .... you ROCK.

THANKS for this tutorial. You've breathed new life into my Milestone! : )