yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Martin_F:
HTC Desire Z Kernel 2.6.32.21-gd2764ed

I have the same problem and noticed that my Desire Z (Europe original HTC Sense) Kernel is 2.6.32.21-gd2764ed and G2 Kernel is 2.6.32.17-g814e0a1

Is it possible to change vision_oc.ko file someway to work on this Kernel 2.6.32.21-gd2764ed version? Can I do it myself at Home? (I'm total noob and don't know anything about programming) I will be thankful for any advices.
[G2 and Desire Z Android Development] mcp2009:
No prob man. It's in op's post but I see your on the app so it might be hard to see it (i know from experience lol) so here you go http://dl.dropbox.com/u/36553/vision_oc.ko
[G2 and Desire Z Android Development] Arcadia310:
I'm just confused because someone said earlier that I do not need to use a computer to overclock, but I guess I do in order to push this file.
[G2 and Desire Z Android Development] Arcadia310:
And I put that file on my sd card and use the gscript app to push it to data/local correct?
[G2 and Desire Z Android Development] chief2842:
Can anyone tell a difference in battery life?
[G2 and Desire Z Android Development] mcp2009:
no no. all you have to do is click the download link on your phone and then use a file manager like astro and move it from the download folder to the root of your sd card and then run the cpoc.sh
[G2 and Desire Z Android Development] Jigga0o7:
Going past 1.536ghz while being able to actually run stuff doesn't seem possible; at least not with my phone. Check out the new Quadrant though.

G2 is a killer!
[G2 and Desire Z Android Development] KShatzkes:
It would be hard to tell right now since we are just getting this on our phones. We will have a better idea tomorrow.

If it helps any though, I've had it at 1.42 GHz for about 20 minutes now, and haven't dropped a percentage in battery life yet...
[G2 and Desire Z Android Development] mcp2009:
the cpoc.sh copy's/pushes it to /data/local/
[G2 and Desire Z Android Development] soundslikemitch:
let me help you out to make up for the flame war we got in earlier. PM your number or gtalk name. Or do you want me to send my info over?

I believe someone posted a script that will alow you to place the module on your phone with no computer but I feel like adb push is just easier cause it is a standard method of placing files onto a phones internal memory.
[G2 and Desire Z Android Development] Smokuevo:
Mine freezes everywhere other then the 1ghz. Lame
[G2 and Desire Z Android Development] Mikey:
Can anyone confirm, root is intact after OC
[G2 and Desire Z Android Development] michagol2:
Good times, thanks for the overclockin - 2307 quadrant score, 45.389 Linpack @1.42ghz

To answer the question above me....yes root is still intact
[G2 and Desire Z Android Development] Jigga0o7:
Yup, very much intact.
[G2 and Desire Z Android Development] soundslikemitch:
yes. I don't know how you would lose root and still have it oc'd....
[G2 and Desire Z Android Development] kcolatay:
im getting a Operation not permitted when doing insmod.. any ideas?
[G2 and Desire Z Android Development] soundslikemitch:
sounds like you are not rooted
[G2 and Desire Z Android Development] mcp2009:
are you rooted and running su before typing command?
[G2 and Desire Z Android Development] Vandam500:
So far tried values at 74 and 73; both times phone has frozen and I've had to do a battery pull :( Going to keep on going lower until I get one that works. Am I the only one?
[G2 and Desire Z Android Development] Naimand:
I got mine up to 81 before it froze an I had to battery pull. Running pretty smooth on 79. Going to try 80 here in a minute.

Running it at 80 now and I don't see any different between that and 79. Going back to that to save my processor.
[G2 and Desire Z Android Development] Tekk83:
my limit seems to be 70 so far. it froze at 72 and 74.
[G2 and Desire Z Android Development] ZDesire:
I didn't realise this, thanks for the tip!

When i use root explorer to "view as text" the Vision_oc.ko i can read this:

vermagic=2.6.32.17-g814e0a1 preemt mod_unload ARMv7

Can we just change te last part with the text editor?
[G2 and Desire Z Android Development] ZDesire:
HTC Desire Z Kernel 2.6.32.21-gd2764ed

My phone still runs at 800 Mhz and i am the only one in this planet with this problem. Everybody else runs at least the phone at 1 Ghz. :D

Here is the quaestion for the expert: is it safe to change the vision_oc.ko file, and will it work?
[G2 and Desire Z Android Development] ShanksG1:
ok i vision is on the data/local/ area, followed everything its showin MFLOPS 9.471

whats the issue
[G2 and Desire Z Android Development] xxroor:
my thing is at 800mhz too before the ota update my thing worked fine at 1420 and then now its at 800 i have the perm root and i did mine the easy way on youtube please help!
[G2 and Desire Z Android Development] witeboy07:
I ran the insmod command and its not found, its says not in external or internal
[G2 and Desire Z Android Development] MCAAKEN:
I have the same problem with the kernel. i have version 2.6.32.21-gd2764ed and when i try to insmod i get a failure to. (exec format error) Chaning the version in notepad doesnt help either.

Does anyone know what to do? Any help would be appriciated!
[G2 and Desire Z Android Development] trench619:
I can't seem to get my G2 to overclock with this method and it’s driving me crazy. Within GScript Lite I have added the script for the 4 files (cpoc, noreboot, oc, and oshittt). I have also placed vision_oc file in the root of the SD card.

I first run the cpoc file and it seems to work just fine, no errors… I get the reply “Script Finished”

But, when I attempt to run the oc file to gain 1GHz speed, I get the error “stderr: insmod: init_module ‘/data/local/vision_oc.ko’ failed (Exe format error).

Please help me, I feel stupid… all my friends have their galaxy overclock and I feel left out.
[G2 and Desire Z Android Development] covers:
Sorry i dont understand. Im having the same issue as u. Oc works fine however ohshiiiiiit doesnt work. Which file did u rename and what did u rename it to? What was the procedure u used. Tia
[G2 and Desire Z Android Development] trench619:
Help Please....

I first run the cpoc file and it seems to work just fine, no errors… I get the reply “Script Finished”

But, when I attempt to run the oc file to gain 1GHz speed, I get the error “stderr: insmod: init_module ‘/data/local/vision_oc.ko’ failed (Exe format error).
[G2 and Desire Z Android Development] luniz7:
10 char
[G2 and Desire Z Android Development] fryrice8850:
idk wat i am doing wrong i when running cpoc script....i get

"stderr: cp: not found" does that mean cp command is not working?
[G2 and Desire Z Android Development] fryrice8850:
now when i run cpoc.sh

stderr: failed on '/sdcard/vision_oc.ko' - Cross-device link
[G2 and Desire Z Android Development] kvykevin:
The scripts

When i try to extract the two zip files located on page 3 of this topic... I get an error message of java.util.zipexception: expected end of central diretory signature when trying to extract.. another error is .. error listing files for zip file oc.zip
[G2 and Desire Z Android Development] Fly2Deaf:
Help

I cannot overclock my g2 for the life of me. I have the phone perm-rooted and S-off. It's also flashed with the Virtuous Rom and ADB is set up on my computer and after doing everything and putting in all the commands it still comes up as failed insmod /data/local/vision_oc.ko foe some reason
[G2 and Desire Z Android Development] Awarsame:
will this gscript method work after the 2.3 OTA update ?

i hope it does!
[G2 and Desire Z Android Development] drutherford311:
I am entering "insmod /data/local/vision_oc.ko" and I am told "insmod: can't open '/data/local/vision_oc.ko'" I have tried this multiple times and have also tried using the other file for the OTC update which is what should have worked "insmod /data/local/vision_oc-g9ab3677.ko"

Why is this command not working when I am entering it from the command prompt on my computer?
[G2 and Desire Z Android Development] drac666:
Got it to work

So my objective was to use the stock ROM and just overclock my G2. I have Kernel 2.6.32.17 (Settings >> about phone). Perm rooted.

Initially I tried the vision_oc.ko file posted on this forum but it kept giving me errors such as:

rmmod: delete_module 'vision_oc' failed (errno 2)

or

init_module '/data/local/vision_co.ko' failed (exec format error)

So to fix this, I downloaded the OTA version posted on the first page of this thread. The binary version called vision_oc.ko posted, can be misleading because "I think" it is for the purpose of reverting back to the stock kernel which is why the scripts and commands give you these errors.

Since my phone wouldn't download the OTA file, I installed xwinddown which is a download manager that will allow downloading any type of file to your SDcard. You can also use any other download manager out there. The point is to:

1. Download the OTA file to your SDcard called: vision_oc-g9ab3677.ko

2. Save it to the SDcard, just in the root, not in any other folder.

3. MAKE SURE, to rename the file from the above to vision_oc.ko (use astro to manage and rename)

4. Then follow the tutorial on this page or anywhere else for loading vision_oc.ko 5. Running the scripts or insmod commands will now work.

6. Go to setcpu (download app), select auto detect and you will not see it run at 1.4ghz.

7. Been running for two days, no issues. Everything is just much much faster.

The main reason I wanted to avoid installing a full rom is because I don't fully understand what I will lose (bugs, security, privacy, features like swype). Would also have to reinstall and configure all my apps. Etc.

Good luck, figured I save you the hard ache.

BTW, the scripts mentioned on many threads do not actually do anything special. They just execute commands that you would normally have to type in a terminal window (app).
[G2 and Desire Z Android Development] fryrice8850:
"cp not found" i found out i need to run busybox which i have and idk why i still get it
[G2 and Desire Z Android Development] shadymnms:
I hit 1800Mhz my first try after rooting... so, either I have a much better phone than everyone or my SetCPU is broke... no, can't be it cuz I did stress test it :)
[G2 and Desire Z Android Development] fryrice8850:
okay so i did something else instead....cpoc.sh for the gscript i edit the file because cp did not work for me

orignal: cp /sdcard/vision_oc.ko /data/local/

changed to: cat /sdcard/vision_oc.ko > /data/local/vision_oc.ko

problem now is when i run the oshittt.sh my phone freezes...anyone have this problem?
[G2 and Desire Z Android Development] Bysan:
HELP Need to understand why my Phone freezes when I try 1.4Ghz. I will run at 1Ghz. Is there a way to try to get it higher that 1 but below 1.4? Please give details on what to do thanks.
[G2 and Desire Z Android Development] elracing21:
If your using the gscript method simply go into gscript and go to edit the oc file and mess with the value. Only go one digit up per try to make sure you don't get your device stuck.

On a side note I think you should instal CM6.1.1 on your device and use setcpu to change your clock speed. On cm you will be able to reach 1.47ghz almost surely because of the optimizations done to the kernel. Good luck.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] tvdang7:
hi i am new (just got the phone 3 days ago) and i installed some OTA update. Can i still do this mod or should i not. Thanks in advance.

This is the tmobile g2
[G2 and Desire Z Android Development] tvdang7:
ok guys i did it. I used visionary to temp root it. i downloaded all the files. RENAMED the OTA version to vision_oc instead of the long name. The oshiittt file (1.42ghz) is not fully stable so i edited the file to 1.2ghz and it is running fine.Edit the file and change the number that is last in the file to a lower number. RENAME THE OTA VERSION AND IT WILL WORK!!

I can not use setcpu however because it is saying root not detected Not sure why maybe cuz im only temp rooted .
[G2 and Desire Z Android Development] demo4o1:
Do u have setpcu? Also maybe u need to move alot of ur apps to sdcard.I'm also a noob at this but I'm learning fast..
[G2 and Desire Z Android Development] demo4o1:
U have to perm-root ur phone nd chose da OTA file not pre-OTA. Then go from there. I learned how to root my G2 thru YouTube (root G2 by blackprince310) very easy steps..
[G2 and Desire Z Android Development] tvdang7:
Actually I figurred it out. Was using an older set cpu build.I use blackprince video as well but ran into two problems. 1 couldn't find visionarry but eventually found it then couldn't extract the two. Files on page 3 easy fix download on yourr pc and eextraxt it from there.
[G2 and Desire Z Android Development] k412n4g3:
Does set cpu app. Itself overclock the phone?
[G2 and Desire Z Android Development] elracing21:
You won't be able to overclock without the right kernel.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] k412n4g3:
I have perm root wit cm6.1 on g2 wat else do I need
[G2 and Desire Z Android Development] k412n4g3:
Would really appreciate the help thanks
[G2 and Desire Z Android Development] xxMAGIC MANNxx:
I'm running stock and I downloaded the i 1ghz zip and put it in root of my sd card and flashed it. Not working, should I have put it in my sd card? Would it make a difference?

G2 Rules!
[G2 and Desire Z Android Development] guy3o3:
do you need a custom rom to overclock?
[G2 and Desire Z Android Development] calebchosen:
Im on stock
[G2 and Desire Z Android Development] fryrice8850:
edit the opoc script to cat instead of cp
[G2 and Desire Z Android Development] guy3o3:
Is there a way to keep it overclocked even when you have it rebooted?
[G2 and Desire Z Android Development] fryrice8850:
there is suppose to after u run the noreboot file, but the crap don't work
[G2 and Desire Z Android Development] wineguy13:
Okay so I found clockworkmod recovery... u gotta tell a brother bout things like this... freaked out when phone when to red triangle... how long does this last?
[G2 and Desire Z Android Development] joemm:
That means your recovery did not stick, remove the battery, put it back in reboot the phone, go back into Rom Manager and reflash Clockworkmod Recovery again, it may take a few times before it sticks. I had to reflash Clockworkmod recovery a few times before it finally stuck.
[G2 and Desire Z Android Development] wineguy13:
Okay... ran flash 3 times and then boot after each... all time red triangle of death... am I doin something wrong or just keep tryin
[G2 and Desire Z Android Development] wineguy13:
Can't get it to stick.. I'm running stock rom.. what about this cynagen 1.1
[G2 and Desire Z Android Development] Djplatinum:
I can't overclock my g2...I did everythin possible...plz help ASAP PLZZZZZ
[G2 and Desire Z Android Development] xxMAGIC MANNxx:
Can't overclock mine either!

G2 Rules!
[G2 and Desire Z Android Development] stevencpoynter:
I'm pretty sure there is little to no support in this thread anymore. The answers you seek are in the op.
[G2 and Desire Z Android Development] Djplatinum:
I everything the OP said to do but thanks anyways...
[G2 and Desire Z Android Development] proxim0:
I was having trouble as well but then I RTFM on the first page again and I was using the wrong file for my kernel so I would suggest checking your Kernel version and and getting the correct file. After that it ran without a problem.
[G2 and Desire Z Android Development] stevencpoynter:
Truth. I'm not trying to be an ass but I remember when this hack first came out I had my phone overclocked in 10 minutes. You move the kernel module, and then run the script. There isn't support for this anymore because its a rough hack that doesn't alter voltage tables appropriately for clock speeds. Rooting/flashing isn't for everyone but pershoot's kernel is very solid and will yield better results than this old hack.
[G2 and Desire Z Android Development] tvdang7:
link to the best thread pertaining to pershoots?
[G2 and Desire Z Android Development] sodvs:
Got it to work like previous the previous posters stated, the instructions gave was incorrect
[G2 and Desire Z Android Development] sodvs:
Opps forgot to mention I used the visonary_oc gba something something and renamed it to visionary_oc.ko and both 1.42 and 1 ghz worked. At first it drained my battery within a hour but after I made some profiles in setcpu still got a full bar. Thanks for making rooting and overclocking so easy for a noob like me....but now I'm dying to take a crack at flashing roms but scared I'm gonna brick my phone...
[G2 and Desire Z Android Development] iammuze:
hard part's over man, flash away. you can't break it with clockwork installed.
[G2 and Desire Z Android Development] elracing21:
Yeah bro, flashing roms doesn't brick your phone. Rooting and flashing different radios bricks your phone if you don't follow the instructions to the T.

Download clockwork recovery off the market and you can download and install roms from their on the go. It's easy and does it for you. After you get comfortable with the whole process you will learn how to download the roms onto the root of your SD card and instal the .zip file from recovery yourself. If you don't understand don't worry you will after flashing a few roms and playing with the new recovery.

I was in your position before owning this device but now I feel I'm begining to lose the noob feeling lol.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] Cheeze[iT]:
Anyone having any issues with this cause you to have weak signal? It seems to be affecting me. I restarted and decided not to OC and the signal holds better....
[G2 and Desire Z Android Development] CTR01:
: )

Like many others all i have to say is...THANK YOU! : )

PS: bought the app too!
[G2 and Desire Z Android Development] Charliehustle:
i know this might have been covered in this thread but i was wondering, once perm rooted how do i keep my phone overclocked even after wake up and reboot because i have to go to gscript and rerun everything over and over.
[G2 and Desire Z Android Development] fryrice8850:
that is correct even if u have perm root u still need to run the oc gscript.
[G2 and Desire Z Android Development] Charliehustle:
so there's no way to keep it overclocked? seems troublesome to have to run it through gscript every time i reboot or wake up my phone.
[G2 and Desire Z Android Development] CTR01:
Yeah if there was some way to keep the phone permanently oc'd or underclocked that would be great!
[G2 and Desire Z Android Development] k3y.m8ney:
Flash a custom rom such as CM6 or Virtous and you can.
[G2 and Desire Z Android Development] CTR01:
Oh ic...hmm well will be a while before I put custom rom on my phone cuz its a pain to reinstall all the apps again.

Sent from HTC ViSiOn/G2
[G2 and Desire Z Android Development] mrbmg:
Just dL cyanogen baconbits kernel and it has overclocking/underclocking capabilities on the stock ROM.

As for the apps backup, titanium backup allows you to save all dL apps as a batch though you have to restore them one by one. If you buy the donate version you can restore as a batch as well.
[G2 and Desire Z Android Development] theratdude64:
Does this mean ya don't have to click Install, Done, Install, Done, Install, Done on the restore? I wanna clarify that the paid version takes care of that before I get it lol
[G2 and Desire Z Android Development] KCRic:
Yes it does. Among other things too. Trust me, the paid version is worth it.
[G2 and Desire Z Android Development] dasunsrule32:
MyBackup Root does the same thing for free...
[G2 and Desire Z Android Development] jayvisionnet:
Please help!

Every time I enter;

su

insmod /data/local/vision_oc.ko

I get this error;

insmod: init-module '/data/local/vision_oc.ko' failed (exec format error)

:eek::eek::eek::confused:

I am on a G2 using Visionary to root (both temp root and permaroot). I also bought SetCPU.

Please help!

Thank you,

Jay
[G2 and Desire Z Android Development] G1ForFun:
Heres my advice...get out of this out dated thread. Get rid of your outdated Visionary root method.

Do some reading....specifically about rooting and gaining permanent S-OFF using gfree.

Once you have done that....download Rom Manager from the market, get on wifi....Download CM6 or 7, whichever you prefer, it will ask you if you want gapps, which you do.

Then you do the same thing in Rom Manger but this time you download Pershoots kernel for either Froyo(CM6) or Ginger Bread(CM7), depending on if you decide to go with Froyo or Ginger Bread.

Please start looking at the dates of what you are trying to use...

Last edited by coolbho3000; 9th November 2010 at 04:01 PM.. Was the last time the author of this thread TOUCHED the original post. Do you know how old that is? If you don't....its so old that its obsolete and not used anymore.

..this kernel is old and out dated there is no reason why you should even be in this thread.
[G2 and Desire Z Android Development] ucsmfu:
i followed http://www.youtube.com/watch?v=wToXNT3zIqY&feature=channel

and when i clicked the linnpack test it's still 30mflops ?

what did I do wrong ?

can someone help me please ?

thanks
[G2 and Desire Z Android Development] ucsmfu:
I copied all the files correctly, and I ran the gscrpit correctly too.

But when I went to do the linpack test, it's still 806mhz, how come I can't overclock it ?

argg
[G2 and Desire Z Android Development] lolocabra:
can u tell all frequency capable after oc?
[G2 and Desire Z Android Development] ReyRey2k8:
sweet trying this now
[G2 and Desire Z Android Development] mptpro:
Help.

I rooted and overclocked my HTC G2 a few months ago (Christmas) with no problems. Been re-running OC GScript Lit everytime I reboot and then SetCPU to run at 1.4.

Starting a few days ago, when I run at 1.4 my G2 locks up. No idea why.

Stock ROM.

Maybe an app I've installed that's interfering?

Any ideas?

I know I'm not giving a lot of info, but not too sure where to start troubleshooting.

thanks.
[G2 and Desire Z Android Development] androidfeen809:
Have anyone figure out how to overclock the new update GB 2.3.4??

Here is the info

Android version: 2.3.4

Baseband version: 12.52.60.25U_26.08.04.30_M3

Kernel version: 2.6.35.10-g96de068 htc-kernel@and18-2 #1

Build number: 2.15.531.3 CL82286 release-keys
[G2 and Desire Z Android Development] Spastic909:
This is a pretty old thread, but the latest ota update is 2.3.3. However most of the recent cistom roms do have 2.3.4 and overclock built in. The latest miui.us shows android version 2.3.5.
[G2 and Desire Z Android Development] androidfeen809:
Actually the latest OTA for the G2 is 2.3.4, I got the update it wasn't 2.3.3
[G2 and Desire Z Android Development] xsteven77x:
What's with all the grave digging?
[G2 and Desire Z Android Development] androidfeen809:
I'm just desperate for the root, I just click the update cuz the battery problem and the phone was acting up greatfully the gingerbread have fix all the issues
[G2 and Desire Z Android Development] G1ForFun:
Stop posting in this thread...its obsolete and outdated. If I was a mod Id close it myself.
[G2 and Desire Z Android Development] PvtJoker:
I have looked through this thread at least twice and i havent been able to find the Kernel for the basic overclock. Ive clicked on the links in the main post but nothing comes up.. Anyone got any ideas as to why or have another way. I prefer to use adb over terminal on the phone
[G2 and Desire Z Android Development] Mnementh666:
It might be because the OP is very nearly two years old now.

I would suggest a different approach. Perhaps G-Lite, if you want to keep a stock experience?

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] Nipqer:
Or most roms these days come with an overclockable kernel and an oc daemon/controller.

Some are even oc'd by default (Mimicry defaults to 1.2GHz from memory)

-Nipqer