PC World - The processor of the iPhone 3G is 600MHz, and the processor for the iPhone 3GS is 833MHz, but they are underclocked by Apple at 412MHz and 600MHz respectably. But a hacker discovered that you can overclock your iPhone in no time by simply renaming a file.

Source