Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,615 Members 46,647 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] ~1.42GHz HTC Vision/T-Mobile G2 Overclock Module [OTA 11/03 support]

Tip us?
 
coolbho3000
Old
(Last edited by coolbho3000; 9th November 2010 at 09:01 PM.)
#1  
Senior Recognized Developer - OP
Thanks Meter 758
Posts: 886
Join Date: Dec 2008
Angry [KERNEL] ~1.42GHz HTC Vision/T-Mobile G2 Overclock Module [OTA 11/03 support]

EDIT: Perma-root is here! This hack was nice, but this hack is nicer: http://forum.xda-developers.com/showthread.php?t=834219

HTC Vision/T-Mobile G2 Overclock Module

After two nights of mostly guesswork, I have managed to create an overclocking kernel module for the HTC Vision. The result? I have been able to not only overclock the MSM7x30 in this phone to 1GHz, the stock speed of the higher "binned" but identical 8x55 used in the Desire HD, I have been able to push the processor in my G2 significantly further, up to 1.42GHz! Benchmark scores are very, very high, and the improved CPU performance is in line with what you'd expect from such a high clock frequency. All of this is possible without permanent root (and the ability to flash kernels) because we are using a kernel module and not flashing an actual kernel.

Binary (OTA 11/03): http://dl.dropbox.com/u/36553/vision_oc-g9ab3677.ko
Binary (original stock ROM): http://dl.dropbox.com/u/36553/vision_oc.ko
Source: http://github.com/coolbho3k/vision_oc

This kernel module is distributed under the terms of the GNU GPLv2.

Usage
To use it on a T-Mobile G2 on the stock 2.6.32.17 kernel, copy vision_oc.ko to /data/local and run this command as root:

insmod /data/local/vision_oc.ko

This will overclock your phone to the default 1017.6MHz, which is on par with the 8x55. To overclock even higher (or lower), run the following command:

insmod /data/local/vision_oc.ko pll2_l_val=53

Where pll2_l_val*19.2 equals the speed (in MHz) that you're overclocking to. For example, 53*19.2 corresponds to 1017.6MHz, while setting pll2_l_val=74 will overclock you to slightly over 1420MHz: insmod /data/local/vision_oc.ko pll2_l_val=74 (this is 1.42GHz - be careful! I ran into freezing issues somewhere between 76 and 80, so I figured 74 was stable for my G2, and I've been running it at that all day. If it freezes try 73, 72, etc. Every phone is unique - your mileage may vary. You may even be able to get higher than me.)

If you ever want to change the speed of your overclock without rebooting, run the following command:

rmmod vision_oc.ko

Then run one of the above commands. It's important to note that using a value of 42 (good number ) for pll2_l_val will make your phone run at 806.4MHz again. Rebooting the phone will reset your root access and your overclock (of course, you probably already knew this). Voltages can also be tweaked for the highest frequency (to know how to do this, read the README link below).

If there's ever an OTA or if you flash a custom kernel, you'll need a recompiled version of the kernel module, and with different addresses. Any kernel dev can easily do this using the documentation below.

To use it on another device (such as an HTC Desire Z, if it runs a different kernel, or even an HTC Desire HD or 8x55 myTouch) running a different kernel, you must re-compile the kernel module from source and refer to the instructions here to modify it (or the installation process) accordingly: http://github.com/coolbho3k/vision_o.../master/README

If you're going to be overclocking, SetCPU sleep/battery/battery temperature profiles can be tremendously helpful.

Want to donate? Buy SetCPU from the Android Market, or there's a donate link in my signature.

Peace!

Video and screenshots




Galaxy Nexus (GSM)
Control your Android phone's CPU! SetCPU for Root Users
Follow me on Twitter!

Like my work? Buy SetCPU on the market or buy me some [insert drink here].
The Following 3 Users Say Thank You to coolbho3000 For This Useful Post: [ Click to Expand ]
 
KShatzkes
Old
#2  
Senior Member
Thanks Meter 3
Posts: 186
Join Date: Oct 2010
I love you.
Current
HTC One S - CyanogenMod 10.0 - TeamWinRecoveryProject 2.6
Former
HTC G2 - Andromadus Mimicry v1.1.0 - ClockworkMod Touch Recovery
Blackberry Curve 8900 - Blackberry OS 5.0.0.822

 
ihateusernames
Old
#3  
Senior Member
Thanks Meter 29
Posts: 297
Join Date: Aug 2009
Bravo to you. I will be buying setcpu right now.

Sent from my T-Mobile G2 using XDA App
 
notxel21
Old
#4  
notxel21's Avatar
Senior Member
Thanks Meter 100
Posts: 1,266
Join Date: Dec 2008
Location: Jacksonville
Great work!!
Thank you for this! Much appreciated!

Notxel21
Phone: T-Mobile Samsung Galaxy Note3//& GSM LG Nexus 5!!& T-Mobile HTC One M8 (With Root) Oppo Find 7a
RoM:CyanogenMod_11.x & TrickDroid Latest!!??DarthStalker
Unknown # of Apps, ?mb Free!!!
Firmware:4.4 KitKat!
Dropbox Why aren't you using this?
Follow me on Twitter
MT4G ICE-GLACIER ROM Click Here!
Donate
if you like
 
Kubernetes
Old
#5  
Senior Member
Thanks Meter 26
Posts: 844
Join Date: Aug 2010
Haha, that's just sick.
 
KShatzkes
Old
#6  
Senior Member
Thanks Meter 3
Posts: 186
Join Date: Oct 2010
So I'm still new to this so... where exactly is the /data/local folder? Sorry if that is a stupid question.
Current
HTC One S - CyanogenMod 10.0 - TeamWinRecoveryProject 2.6
Former
HTC G2 - Andromadus Mimicry v1.1.0 - ClockworkMod Touch Recovery
Blackberry Curve 8900 - Blackberry OS 5.0.0.822

 
havikx
Old
#7  
Senior Member
Thanks Meter 61
Posts: 480
Join Date: Feb 2009
i think i speak for every1 here...


thank you. you have no idea how happy you have made many many g2 owners. i will donate to you soon, sir.
#HTC One S w/ Unknown JB Tmo
#HTC G2 w/ andromadus ICS
#HTC HD2 w/tytung cm9
#HTC G1 w/ Bananabread ICS
Logitech Revue w/ 3.1 honeycomb
#HP Touchpad w/ cm10 cam preview 5
#Samsung GS2 w/aosp ics
general android modder and follower since android 1.0
 
xile6
Old
#8  
Senior Member
Thanks Meter 36
Posts: 813
Join Date: Dec 2008
Location: Dallas
damn man thats all i gotta say. The vision will blow anythign and everything out of the water. And to think i still was going to get a nexus. glad i got the vision. Now all we need is an led color changers for the trackpad
if im wrong tell me. I'd ratter be correct then live life being mislead.
Phone:Note 3 NF1 rooted and stock Knox 0x0

Other Phone(s): T-mobile G1 < HTC Vision G2 < LG-P999 G2x < T989 S2 < HTC One m7 < Note 3
 
Dalamak
Old
#9  
Dalamak's Avatar
Senior Member
Thanks Meter 8
Posts: 298
Join Date: Dec 2008
Location: Newark
Bought setcpu to show appreciation

Sent from my T-Mobile G2 using XDA App
HTC P3300
Eten M800
MWG Zinc II
glofiish X900
HTC Touch Diamond
BB Flip
G1
Mytouch 3g
Touch Pro 2
HD2
HTC S411 (Star Trek)
G2
Moto Defy
I phone 4
I phone 5
Ouya
 
havikx
Old
#10  
Senior Member
Thanks Meter 61
Posts: 480
Join Date: Feb 2009
any1 wanna post me a terminal emulator script to make this work without use of a computer?
#HTC One S w/ Unknown JB Tmo
#HTC G2 w/ andromadus ICS
#HTC HD2 w/tytung cm9
#HTC G1 w/ Bananabread ICS
Logitech Revue w/ 3.1 honeycomb
#HP Touchpad w/ cm10 cam preview 5
#Samsung GS2 w/aosp ics
general android modder and follower since android 1.0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes