[G2 and Desire Z General] KShatzkes:
First off, a big thanks goes out to coolbho3000 and paulobrien for coming up with the overclock module and VISIONary, respectively. And also a big thanks to mcp2009 for first suggesting the use of GScript.

I put this in the other method thread, but I thought it might need it's own topic since a bunch of people found this helpful in the development forum. I think it may be a good guide for some people here. Why is this method nice? Because it streamlines the way the overclock works using VISIONary. I'm new to Android but I've been learning pretty fast, and I want to give back to the community that has helped me come along.

1. Obtain Root through VISIONary

The first thing you need to do is gain root on your phone. To do this, download and install VISIONary from Android Market. The first time you run it, make sure to allow it to run-on-boot from now on. Run it, and you'll have root. Easy as pie.

2. ADB Push to /data/local

Next, you'll need to adb push the vision_oc.ko file to the /data/local folder using my desktop computer. How do you adb push? Cyanogen Wiki has a good guide on how to get this going on your computer. A caveat with the G2 is you may run into driver issues. If this happens, download PdaNet onto your computer, and it will install all the drivers you need for adb. There is also another solution to the driver issues that was solved on this thread. I believe everyone should learn to use adb at some point or another, since it is an invaluable tool and opens up a world of possibilities, which is why I advocate it as the route of choice in this method.

Once you have adb installed, go download the vision_oc.ko file in the original thread. Make sure you put it into the folder on your computer that your command prompt is directed to at the time (most likely your Document and Settings folder). Enable USB debugging on your phone, connect it to your computer, open the command prompt and type:

adb push vision_oc.ko /data/local

This should copy the file to your /data/local folder on your phone. One more file you should adb push to the /data/local folder is a file you will name visionary.sh. Open up Notepad, and put in there:

su
insmod /data/local/vision_oc.ko

Make sure you name it visionary.sh, and push it the same way you did the other file using the following code in the command prompt:

adb push visionary.sh /data/local

There is a lot more to do with adb, so I encourage you to learn it, but for now, we are done with it!

3. Set Scripts up in GScript Lite

Download and install GScript Lite from the Android Market. I then set up 5 scripts to control the overclock:

1. 1017.6 MHz Default

rmmod vision_oc.ko
insmod /data/local/vision_oc.ko

2. 806.4 MHz Factory Setting

rmmod vision_oc.ko
insmod /data/local/vision_oc.ko pll2_l_val=42

3. 1209.6 MHz Overclock

rmmod vision_oc.ko
insmod /data/local/vision_oc.ko pll2_l_val=63

4. 1305.6 MHz Overclock

rmmod vision_oc.ko
insmod /data/local/vision_oc.ko pll2_l_val=68

5. 1420.8 MHz Overclock

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

Basically with these scripts, I can control everything. You can always change the values to make it more suitable to your phone, but I think these values give you a nice range.

4. SetCPU

I highly recommend you buy SetCPU from the Android Market. It will help you have complete control over your overclock and power settings. So go do it!

At this point, you are done! I suggest you reboot the phone so you can see all of this in action! So for example, when I reboot my phone, and everything gets wiped, VISIONary runs, my phone gets rooted, and the visionary.sh script runs automatically to give me the 1017.6 MHz Default script to start the overclock, meaning, you are overclocked already at 1017.6 MHz at boot! The reason I used the default 1017.6 MHz in my visionary.sh script (the vision_oc.ko file is set to overclock your phone at that speed by default without adjusting the value), is because it is definitely stable enough for every G2 to handle, so people won't be locking themselves out because of setting an overclock too high at boot. From there, I can just simply click any other overclock script in GScript to change the CPU to my desired speed at the time.

Hopefully this helps some people out!