Monday 10 October 2011

Overclocking Your Android msm7k Device


This patch applies to many android devices.

Overclock6ing msm7k has been supported on wince devices'  linux port for a long time now. (months for msm720xa, and maybe even more for 720x and 750x, I haven't see the details). So it's the same idea that has been implemented here. Making it work was more difficult than for wince devices, because the radio software is way too clever on android. Still, we got past this difficulty, and it works.
It's actually even better than what ToAsTcfh actually got, he posted only older results which were bottlenecked at 620MHz, now this patch provide users with a 710MHz frequency.
And it should work for all msm7x0xa devices. (so that makes almost double speed for stock G1 ).
For people who wants even more overclocking, you can change the values:
the writel(0x25, ......) line,
This value is the multiplier from 19.2MHz to cpu frequency, 19.2MHz*0x25=710.4MHz
You can change it to whatever value you want, but the higher limit seems to be around 750MHz.
If you want to play with mem values, edit the line:
[code="C++"""""]{ 528000,6 ACPU_PLL_2, 2, 1, 132000, 3, VDD_7, 160000, 0, 5, -1 }[/code]
Change the 3 after 132000, it's the divisor of memory compared to cpu frequency, -1 (with default settings, it's 132MHz=528MHz/(3+1)
The patch is attached, and also available at http://htcandroid.xland.cz/oc.diff.txt
Basically, all devices from HTC from before 2009 should be supported (all versions of G1, G2, G3), LG GW620, samsung galaxy, and many others.

To newbies: To get this patch working, you need to build the linux kernel for your phone. Basically, wait for you rom modder to do it.

0 comments:

Post a Comment