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 – https://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

93 thoughts on “T-Mobile G2 Overclocked to 1.42Ghz (How To: Overclock Your T-Mobile G2)”

  1. 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

  2. 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

  3. 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

    1. 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.

  4. 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.

    1. 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.

      1. 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.

      2. 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

  5. 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

      1. 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.

        1. 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. 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!

    1. 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!

  6. 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

    1. 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.

  7. 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

  8. 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?

  9. 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

  10. 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

  11. 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!!

  12. 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

    1. 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.

    2. 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.

      1. Threeminuteramen

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

          1. 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?

  13. 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!

    1. 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

  14. 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)”.

    1. 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.

    2. 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.

      1. 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

      2. 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

      3. 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

  15. 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)”.

  16. 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>

      1. 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

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

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

  17. # 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

  18. 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
    )

  19. 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)

  20.  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?

  21. 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?

  22. 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?

  23. 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!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.