Milestone overclock script

This is my milestone auto start script, which inserted to mot_boot_mode so i get overclock on boot. The kernel is from stock 02.36.0, version 2.6.29-omap1

#!/system/bin/sh

insmod
/data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko omap2_clk_init_cpufreq_table_addr=0xc004e4b0
#
continued on one line: omap2_clk_init_cpufreq_table_addr=0xc004e4b0

echo
66 > /proc/overclock/max_vsel
echo
800000 > /proc/overclock/max_rate

echo
1 125000000 32 > /proc/overclock/mpu_opps
echo
2 250000000 39 > /proc/overclock/mpu_opps
echo
3 550000000 56 > /proc/overclock/mpu_opps
echo
4 600000000 60 > /proc/overclock/mpu_opps
echo
5 800000000 66 > /proc/overclock/mpu_opps
echo
0 800000 > /proc/overclock/freq_table
echo
1 550000 > /proc/overclock/freq_table
echo
2 250000 > /proc/overclock/freq_table
echo
3 125000 > /proc/overclock/freq_table


The setting will override default cpu clock (550 MHz) to automatic frequency range from 125 MHz to 800 MHz. Should save more battery when sleeping and give higher performance on use.

It said milestone still stable overclocked to 1200MHz, but i chose not to. Find more info here: http://code.google.com/p/milestone-overclock/wiki/KernelModule

Comments

Popular posts from this blog

Optimize SSD on Linux

Manually clean up zimbra zmcat/zmcpustat exploit

Ports to allow for whatsapp call