Using overclock module from G2-> recompile to Desire HD?

Status
Not open for further replies.
Search This thread

Bumble-Bee

Senior Recognized Developer & Original Autobot
Feb 21, 2009
916
566
twitter.com
Although its not possible yet its simple to recompile the module when we get the source from HTC

:D

Sent from my Desire HD using XDA App
 

coolbho3000

Retired Senior Recognized Developer
Dec 26, 2008
897
785
Kernel source is not necessarily necessary, give me a /proc/kallsyms and I will see what I can do.
 

Bumble-Bee

Senior Recognized Developer & Original Autobot
Feb 21, 2009
916
566
twitter.com
insmod /data/local/vision_oc.ko acpu_freq_tbl_addr=0xc0554270 perflock_notifier_call_addr=0xc006dff8

after issuing this command i get this error

insmod: init_module '/data/local/vision_oc.ko' failed (Exec format error)

sigh ....... was hoping a lil too much lol

:-D
 

Bumble-Bee

Senior Recognized Developer & Original Autobot
Feb 21, 2009
916
566
twitter.com
The kernel source is up and I have no experience with building modules .... can someone build it or send me some info on building the kernel module.

Sent from my Desire HD using XDA App
 

bratfink

Senior Member
Feb 8, 2010
505
21
London
Instructions

The kernel source is up and I have no experience with building modules .... can someone build it or send me some info on building the kernel module.

Sent from my Desire HD using XDA App

I believe that someone has posted the instructions in the G2 Forums but im not 100% sure, definitely worth a look tho.
 

teihoata

Senior Member
Jun 11, 2009
206
11
insmod /data/local/vision_oc.ko acpu_freq_tbl_addr=0xc0554270 perflock_notifier_call_addr=0xc006dff8

after issuing this command i get this error

insmod: init_module '/data/local/vision_oc.ko' failed (Exec format error)

sigh ....... was hoping a lil too much lol

:-D

These are the address' I got after pulling them from my phone
acpu_freq_tbl_addr = 0xc0556270
perflock_notifier_call_addr = 0xc006dfbc
Are they meant to be different?
 

coolbho3000

Retired Senior Recognized Developer
Dec 26, 2008
897
785
Thanks for the addresses guys. Apache14 also sent me the kernel localversion. Building it now, stay tuned.

EDIT: Seems as though there's more than one version of the Desire HD kernel out there. When insmodding you'll have to insert your own addresses if this is so (or your phone will most likely crash, or even more likely, you'll get an exec format error no matter how you load it).

teihoata: can you pull a /proc/version from that kernel?

http://dl.dropbox.com/u/36553/vision_oc-gbe90714.ko Module for 2.6.32.21-gbe90714
http://dl.dropbox.com/u/36553/vision_oc-g5ed1769.ko Module for 2.6.32.21-g5ed1769

Instructions are the same as here: http://xdaforums.com/showthread.php?t=813681 except it defaults to 1.2GHz (pll2_l_val = 63).
 
Last edited:

Bumble-Bee

Senior Recognized Developer & Original Autobot
Feb 21, 2009
916
566
twitter.com
coolbho3000 you are amazing !!!

http://twitpic.com/314t6j

Now to se how far I can go :)

[EDIT]

cant seem to go past 1.45Ghz ..... dont fancy over volting the CPU any more either but still ~450Mhz bump is crazy good 45% boost !!
 
Last edited:

Bumble-Bee

Senior Recognized Developer & Original Autobot
Feb 21, 2009
916
566
twitter.com
Ok found a lil "bug" dunno what causes it but if you load the OC module by a command to OC to say 1440MHz i.e

insmod /data/local/vision_oc-gbe90714.ko pll2_l_val=75

the phone will probably crash ...... but i have found if i load the module without the extra paramiter first and then unload it with "rmmod vision_oc.ko" it will run fine e.g

insmod /data/local/vision_oc-gbe90714.ko
then
rmmod vision_oc.ko
then
insmod /data/local/vision_oc-gbe90714.ko pll2_l_val=76

This way it didnt crash for me :-S

also so u can see the speed boost in some benchmarks

screenshot3jk.png

screenshot1or.png
screenshot2tr.png
 

teihoata

Senior Member
Jun 11, 2009
206
11
here you go, tried loading up that module however it doesn't seem to go past 768mhz lame.
 

Attachments

  • version.zip
    279 bytes · Views: 31
Status
Not open for further replies.