T-Mobile G2 Overclocked to 1.42Ghz (How To: Overclock Your T-Mobile G2)

So we may not have permanent root or the ability to flash anything on the G2, but that didn’t stop coolbho3000 on XDA from creating a kernel module to overclock the phone’s 800mhz processor to a much higher speed.

The Desire HD has a similar processor running at 1Ghz from the factory so coolbho3000 was able to get it to that speed without any real issues he says. He then decided to push it a little further, and further (as these kinds of things usually go) and he eventually got to 1.42Ghz running all day without any freezes (the minute he tried to go higher the phone crashed, so seems like it will be his top speed for a while).

It seems pretty harmless to try for the simple reason that if the phone is ever rebooted it will undo the changes (a “security” feature in the G2, courtesy of HTC).

He was kind enough to make the kernel module available for you to use. Here’s how to install it if you have root access already:

I. Before You Begin

1. You must have a temporary rooted G2. If you haven’t rooted it, head to our How To Root the G2 Procedure, once done, come back to this one and continue.

2. UPDATE – IF YOU HAVE A PERM ROOTED G2 (S-OFF etc.), THIS PROCEDURE WILL GIVE YOU AN ERROR. PLEASE USE THIS ONE INSTEAD – http://theunlockr.com/2010/12/14/how-to-overclock-your-perm-rooted-s-off-t-mobile-mytouch-4g-or-t-mobile-g2/

II. Setup ADB/Drivers (if you can’t see your phone with ADB already)

1. Head to our How To Setup ADB procedure and follow the steps until the end when you can see a serial number for your phone. Once done, come back here and continue. (If you are having issues getting the serial number to show up, try to download PDANet, Google it, and follow it’s instructions to install it. It should install some drivers to help you get the serial number to pop up when typing adb devices).

II. Overclock the G2

1. Download the Binary file from his post on XDA and save it into the AndroidSdk\tools folder (so it is in the same folder as adb.exe).

2. Plug in your phone via USB cable

3. On the phone, go to Settings > Applications > Development > make sure USB debugging is on.

4. Open the Command Prompt on your computer by typing cmd into the search box in the Start menu.

5. In the command prompt, type the following with hitting enter at the end of each line (this is assuming you did our how to setup adb procedure):

cd/
cd c:\androidsdk\tools
adb push vision_oc.ko /data/local/
adb shell
su
insmod /data/local/vision_oc.ko

6. The above commands will overclock the phone to the default 1ghz. If you want to go higher, restart the phone (to undo the overclocking) then type the following into the command prompt INSTEAD of the last line above:

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

*the number at the end (74 in the above example) is the clock speed in mhz when multiplied by 19.2 (i.e. 74*19.2 = 1420.8 =  approx. 1.42Ghz). You can put any number you want, just don’t go over 74/1.42ghz or the phone will most likely crash.

7. Enjoy! And remember, rebooting will force you to have to redo these steps.

Source

Join 90k others & subscribe to my weekly, not annoying newsletter for more tech!

* indicates required
  • Pingback: Tweets that mention T-Mobile G2 Overclocked to 1.42Ghz (How To: Overclock Your T-Mobile G2) | TheUnlockr -- Topsy.com()

  • motobackflipper

    can this b done to any phone this would b great if many phones can do this

    • Any rooted phone this can be done to 🙂 You just need the appropriate kernel for your specific phone.

  • motobackflipper

    we need this for the backflip on j-rodd preclair if so pls post how to im wondering way thelis phone can really do

  • brian

    i cant install the adb drvers…

  • jonathan

    adb driver wont install??

  • louis

    TY, Ty

  • K.B

    Not installing when doing it each and every way for the ADB Drivers
    Shows nothing for list of devices
    Did Step 1 & 3 for “How To: Set Up ADB/USB Drivers for Android Devices” and still no list of devices showing upppppp

    Help Please

    • K.B

      For G2

      • Read the rest of the step. It says if you have issues, google pdanet and install it. That should manually install the drivers for you.

  • hungfut

    when i opened the sdk there was no exe . there was a adb winapi.dll
    the serial number came up the sdk didn’t match what was in the video where did i go wrong

    • It should be in the tools folder in the sdk. Try to redownload it and make sure to follow the how to setup adb steps properly.

  • Matheus

    i get to the last step in cmd where u put “su” and it then says “insmod/permission denied”
    ???

    • You type su then hit enter. Then type the insmod line. So after which line do you get permission denied? If its right after the su then your rooting didn’t work, uninstall superuser permission and then reboot the phone and then reopen the Visionary rooting app and let it reroot the phone. Then try again.

  • wayde

    I made it all the way to the insmod line and it sais insmod: cant open ‘/data/local/vision_oc.ko’ Please help, i have had nothing but trouble trying to follow these how to’s. I have been messing with a g1 as well. i just want to overclock my g2 and be done for a little while because i cant even read the words on my computer anymore without using the stupid magnifying glass thing. I jump out of airplanes and shoot people in the face, not too advanced with this tech stuff but would like to get better. Followed the how to’s to a t. thanks for your time.

    • Did you root the phone first? did you type su and get superuser permissions up on the phone and hit allow? etc.
      If not, do the How To Root the G2 procedure again, then this one again.

      • wayde

        i did everything. i have visualize and the superuser icon in the apps section of my phone. i allowed superuser permissions when su was typed in. just the very last line that sets to 1ghz failed to execute.

      • wayde

        Thank you for the help but i figured it out. somewhere in the command lines i made a typo i guess. i went back through very carefully and it worked like a charm. could you steer me toward some kind of mods i can to to the g1 to make it run a little faster, move apps to sd, possibly install froyo, and possibly free up some internal memory. thank you

  • marcus

    Command will tell me “insmod Permission deined” HELP! ( It will tell me that even when i dont hit “enter”)

  • Sam

    Hello Unlockr..

    Ive done all the steps few times to make sure ive got everything correctly.. but when I get to the cmd part, I enter all the codes and when i get to “su” I get message..”Permission denied” then takes me bask to the “$” sign to enter su again I suppose!!

    HELP

    • Sam

      forgot to mention.. I never got that “superuser permissions” message that u stated on the video!!!

      • Did you do the How To Root the G2 procedure linked at the beginning of this post? You must do that first. Basically go to the Market and download Visionary and open it. That should root the phone automatically. Once that is done, redo this procedure.

        • Sam

          Yes I have.. twice..i did check for the new icon and it was there.. when i tried to re-root the phone again after restarting it first i would get the message that the phone has been rooted already!..
          also did that with uninstalling first! its confusing, im not quite sure what to do or why that message is coming up.. basically i took my time and did everything step by step..
          1. Rooting
          2, ADB
          3.Overclock

          • 1. Go to Settings then Applications then Manage Applications.
            2. Uninstall superuser permissions first. Then uninstall visionary.
            3. Reboot the phone.
            4. Go to the Market and reinstall Visionary and open it. Once it closes, go to the market and download Terminal Emulator for free.
            5. Once it installs, open hit and type su then hit enter. Superuser permissions should pop up, click allow.

            Now you know you have root (so long as you do not reboot the phone, if you do, you need to redo the steps in this comment) so you can redo the procedure. Good luck!

  • OMFG

    everytime i enter cd
    “cd c:\androidsdk\tools” I get

    “The system cannot find the path specified”

    • That would mean you didn’t follow the How To Setup ADB procedure correctly… It has you rename the Android SDK folder to AndroidSDK and put it on the C: drive. OR when you extracted the Android SDK in that procedure, it created an android sdk folder inside your android sdk folder (so the path would be c:\androidsdk\anotherfolder\tools). Good luck!

  • Sam

    worked out great!!

    thanks

  • hungfut

    here i am again . how are you all well i hope . i did it . i managed to over clock the g2 to 1.0ghz but when i try to bump it up to 1.4 i get the message no such file exist i repeated steps 1 through 5 and then nothing where did i foul up . if i never said it before i want thank you all your help and patience .
    warmest regards hungfut

  • g2usr

    “insmod/data/local/vision_oc.ok: not found” any ideas?

    • You need to have proper spacing… there is a space between insmod and /data

      • g2usr

        new issue…

        insmod /data/local/vision_oc.ko
        insmod: can’t open ‘/data/local/vision_oc.ko’

        • jj

          I get the same thing. Help anyone?

  • g2usr

    attention to detail is a B*itch, I got it. the intinial push did not happen due to spacing. Thanks for you help.

  • Check out this link guys, it has a way to use Gscript in setting up your overclocking.

    http://forum.xda-developers.com/showthread.php?t=814672

  • I wish these instructions were for Ubuntu 🙁

  • LazyAndriod

    hey i am a newb but can u skip the last step and just put in the 1.4ghz line first?

    • Hello,

      Yes. Actually you have to skip it and put in that last line first if you want the 1.4ghz speed. Otherwise if you put in the line without the 1.4ghz modification you would have to reboot the phone (to undo the process) then start over and replace the line with the 1.4ghz line.

  • Adamogardner

    Any directions for Ubuntu users?

  • Bostorican

    ok now that a permant Root has been found how can i make this OC work after rebooting? it doesnt stick it goes back to the original CPU speeds

  • Pingback: How To: Root the T-Mobile G2 / HTC Vision (Visionary Method) (UPDATED 11.03.10) | TheUnlockr()

  • Phaktra

    it is saying that it failed on the last line, ive tryed both the 1ghz and 1.4ghz both failed, everything else worked great until the last line, any help?

    • Odeshom

      hey you gotta look at your phone for the superuser to ask you to access or deny

  • Tonyperla

    I got alot of this down. The one thing I’m missing is getting a serial number. I could never get that using any method. I go to the overclocking and the step where you enter “su” I get error message “device not found” haaallpp

  • Tonyperla

    I got alot of this down. The one thing I’m missing is getting a serial number. I could never get that using any method. I go to the overclocking and the step where you enter “su” I get error message “device not found” haaallpp

  • Dan cioloca

    Ok, so I feel as if everything was done right. All the files are in the right location, I get the serial number when I check adb devices, I know about the space before /data. It wont get sent the final cmd prompt in. The final one that changes the numbers. It says (Exec format error), someone pls help!!

  • caleb

    I type in commands as shown. The last chain I get is the adb shell and it turns in to the $. I type su and it says

    su: permission denied
    $
    Is their anyhelp? I’ve worked for weeks to overclock my g2 and I just can’t seem to get it. And this seems soooo close. Usb storage and debugging are both on. Visionary + (r14) rooted. Pda net is installed on phone and computer. I’m on vista just did updates earlier today. And I believe I have the visionary oc in the tools sub file of android sdk. Please help. Reach me here or at my email cbullard3@gmail.com. thank you

    • Dan cioloca

      Make sure ur phone is connected to the computer and when u type SU, phone should light up and superuser will be asking permission. Grant it permission and all should be well. The phones denying permission.

    • i got that a couple times, just make sure you have the phone screen on. first time you do it its going to ask for supersuer access. you will just tap the allow and voila.

  • You got 2265?! I just did it on brand new G2 and got 1865. huge difference,wonder why.

  • Did u overclock to 1.42? Or just 1ghz?

  • Andrey

    keep getting an error message saying insmod: cant open /data/local/vision_oc.ko

    • Are you perm rooted or temp rooted and are you running a custom ROM? Which one?

      • Threeminuteramen

        I have the same problem, it says (Exec format error) I followed your temp root steps and adb steps as well. Please help!

        • Are you perm rooted or just temp rooted? If you are perm rooted then this wont work. It only works if you have not perm rooted your phone.

          • Steadfast24

            I have the same problem, it says (Exec format error) I followed your temp root steps and adb steps as well. Please help!

            I am having this same problem. I am temp rooted using visionary. I followed all instructions. What should I do?

  • Djstudiant

    I JUST PERM ROOT MY G2 AND NOW I CANT OVERCLOCK MY PHONE……. HELP..!!!

    • Dont use the original method here. Just find an overclocked kernel, flash it via recovery and download SetCPU and your good to go.

      • Djstudiant

        where i can find a overclocked kernel to flash it via recovery……..? please help..!

  • Djstudiant

    I JUST PERM ROOT MY G2 AND NOW I CANT OVERCLOCK MY PHONE……. HELP..!!!

  • Factory reset and start over. Also you can perm root and then flash an overlooking kernel instead.

  • Patrickg2

    Hey Unlockr ive been trying to do the command procedures for two days now and it has not been working. My first issue was i didnt realize this could not be done with a permanent root so i went back to the temp root and i got to the last line about a hundred times now and i get the same error
    ( insmod: init_module ‘/data/local/vision_oc.ko’ failed (Exec format error)) I have accepted the super user permissions and everything so i know its rooted but it still wont work…. please help!

  • If you are permanent root, just do our how to overclock your permanent rooted G2 procedure – http://theunlockr.com/category/howto/android_how_tos/htc-g2-how-tos/

  • If you are permanent root, just do our how to overclock your permanent rooted G2 procedure – http://theunlockr.com/category/howto/android_how_tos/htc-g2-how-tos/

    • patrickg2

      I have already went back to the temp root but im still getting the same error message after I type in the # insmod /data/local/vison_oc.ko and it says- insmod: init_module ‘/data/local/vision_oc.ko’ failed (exec format error

  • Lumberjack40

    help please. i can get through everything just fine, no problems. but when i get to the very last line, the “insmod /data/local/vision_oc.ko” line, i get “insmod: init_module ‘/data/local/vision_oc.ko’ failed (Exec format error)”.

    • Do you have permanent root? If so you need to do the other overclocking procedure (the one that says for perm rooted devices). Click on how tos then android then g2 and you’ll see it.

    • Do you have permanent root? If so you need to do the other overclocking procedure (the one that says for perm rooted devices). Click on how tos then android then g2 and you’ll see it.

      • Lumberjack40

        im sorry… i didnt realize i downloaded the wrong bionary file. i got the stock rom file but needed the OTK file. i have it all fixed now. thanks!
        PS: great guide

      • Lumberjack40

        im sorry… i didnt realize i downloaded the wrong bionary file. i got the stock rom file but needed the OTK file. i have it all fixed now. thanks!
        PS: great guide

      • Lumberjack40

        im sorry… i didnt realize i downloaded the wrong bionary file. i got the stock rom file but needed the OTK file. i have it all fixed now. thanks!
        PS: great guide

  • Lumberjack40

    help please. i can get through everything just fine, no problems. but when i get to the very last line, the “insmod /data/local/vision_oc.ko” line, i get “insmod: init_module ‘/data/local/vision_oc.ko’ failed (Exec format error)”.

  • when I run the last command using gs script method btw i get “failed (exec format error)” any insight?

  • Excizzel

    I’m def getting this same exec format error on the last command….has there been any response anywhere?

  • Jmcginn2

    got all the way to the su line. It says permission denied. Have no Idea. Would really love some help.

  • Jmcginn2

    got all the way to the su line. It says permission denied. Have no Idea. Would really love some help.

  • Nick

    I am having a problem with the cmd protocol. I have done everything in getting temp root, and have followed the steps in overclocking. but when i type “insmod /data/local/vision_oc.ko” and press enter it comes back stating
    “insmod: init_module ‘/data/local/vision_oc.ko’ failed (Exec format error)”

    Please help me in this matter. I have included the entire protocol from cmd for double checking to see if i happen to have missed anything.

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:Documents and SettingsOwner>cd

    C:>cd c:androidsdktools

    C:androidsdktools>adb push vision_oc.ko /data/local
    359 KB/s (0 bytes in 5752.000s)

    C:androidsdktools>adb shell
    $ su
    su
    # insmod /data/local/vision_oc.ko
    insmod /data/local/vision_oc.ko
    insmod: init_module ‘/data/local/vision_oc.ko’ failed (Exec format error)
    #
    C:androidsdktools>

    • I’m assuming you are permanently rooted. Please use this procedure instead:

      http://theunlockr.com/2010/12/14/how-to-overclock-your-perm-rooted-s-off-t-mobile-mytouch-4g-or-t-mobile-g2/

      • Leed

        I am having the exact same error and I am definitely not perm rooted. I rebooted, tried to su and got permission denied, then ran Visionary to temp root and am still getting the same error

      • Sgsanch

        G2 not permanently rooted. Same error code as above “Exec format error”. Everything else was ok.

      • Sgsanch

        G2 not permanently rooted. Same error code as above “Exec format error”. Everything else was ok.

      • Sgsanch

        In the video it shows “daemon started successfully”. We are not getting that on our TEMP Rooted G2. Please Help.

      • Sgsanch

        In the video it shows “daemon started successfully”. We are not getting that on our TEMP Rooted G2. Please Help.

  • Billy

    # insmod /data/local/vision_oc.ko pll2_i_val=74
    insmod /data/local/vision_oc.ko pll2_i_val=74
    insmod: init_module ‘/data/local/vision_oc.ko’ failed (no such file or directory)

    but if i run the script without the “pll2” stuff, it will overclock to 1 GHz just fine.

    Visionary temp root, t mobile g2, android 2.2
    help

  • I temprooted my phone, installed adb, can see the serial number, got the binary and placed in sdktools folder.

    When I type su I don’t get a permission box from superuser, but do get a blank link to enter the next line. I copied and pasted the command line to avoid typos, but this is the message I’m getting:

    $ su
    su
    insmod /data/local/vision_oc.ko
    insmod /data/local/vision_oc.ko
    Permission denied
    $ insmod: init_module ‘/data/local/vision_oc.ko’ failed (Operation not permitted
    )

  • I don’t know if it’s my computer, but the video and the sound are not synched. The video plays back quickly like it’s in fast forward mode, but the sound is normal (just 10 to 20 seconds behind the video)

  • Nstesta

     im perm rooted and i followed the directions exactly, but when i get to the last command line ( insmod/data/local/vision_oc.ko with or without the pll2 thing ) it says “nsmod/data/local/vision_oc.ko: not found”so i checked set cpu just in case and im still at 806 mhz?

    • Nstesta

       i mean im NOT perm rooted sorry

  •  hay there , is this steps can unlock the sim for t-mobile g2 ?

  • Legendx

    seriously….WTF IS THE EXEC FORMAT ERROR….gtfo so annoying everything works except for last line? i see there are others with this problem and ffs stop saying if ur perm rooted go to the other link. were not freakin perm rooted so can one of you work this out and tell us why its saying this error? im temp rooted on a g2. what is this exec format error crap?

  • Legendx

    whats exec format error?

  • Ronbloo

    I cant seem to get the vision file copied to the device. When i run the insmod command it says “file not found”! what did i do wrong?

  • Spike_j

    Did anyone get this (Exec Format error) problem on the last line resolved yet? I am soooo close to making this work and I have no idea why its not working. I temp rooted and everything!!!