Overclocking my HTC Vision aka Desire Z aka G2

I’ve recently added some modifications to the Cyanogenmod kernel. They include overclocking up to 2ghz as well as lower idle voltages (undervolting) and a higher default maximum frequency. The maximum frequency after bootup is now 1516800hz. It can be changed up to 2016000hz. Frequencies higher than 1612800hz are unstable when using the ondemand governor on my phone, they seem to be stable when used with the performance governor or even the conservative one, so I think it might be related to the fast frequency switching. At 2ghz the phone gets really hot in a matter of minutes so be careful, you can probably damage it using this kernel. Thus I take no responsibility for any damages resulting from using this kernel!

My frequency(in hz)/voltage(in mV)-table is the following:
245760 750
368640 800
768000 900
806400 925
1113600 1000
1209600 1050
1305600 1100
1401600 1150
1497600 1225
1516800 1225
1612800 1300
1708800 1450
1804800 1500
1920000 1500
2016000 1500

Download: zImage bcm4329.ko

PS:
I just was able to lower the voltages a bit, here is the new kernel: zImage_v2
245760 750
368640 800
768000 900
806400 925
1113600 1000
1209600 1050
1305600 1100
1401600 1150
1516800 1200
1612800 1250
1708800 1300
1804800 1400
1920000 1450
2016000 1500

PPS:
I made a third version containing a crude hack to fix the problem with the governors. Now my phone runs at min 245mhz and max 1920mhz using the ondemand governor.
Download: zImage_v3
Source: acpuclock-7×30 (The only file I changed) https://github.com/CyanogenMod/htc-kernel-msm7x30

PPPS:
The easiest way to flash it is using fastboot and adb from the android sdk. I guess I could also build a flashable zip, but I don’t feel like figuring how that works. If someone makes one, feel free to send me a copy, I’ll attach it here.
Flashing the kernel:

fastboot flash zimage zImage

Flashing the new WiFi module:

adb remount
adb push bcm4329.ko /system/lib/modules

After using my kernel for quite a while it seems to be pretty stable on my phone. Running at 2GHz I sometimes get random freezes, but 1.92GHz seems stable for daily use. I also tried playing 3d games on 1.92GHz for about half an hour and even though the phone got noticeably hot everything went peachy. :)

11 Comments

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>