Author Topic: Overclocking Iphone 3g (BRAINSTORM GUYS)  (Read 890 times)

Offline Dameckish

  • Member
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Overclocking Iphone 3g (BRAINSTORM GUYS)
« on: September 07, 2010, 12:10:14 PM »
Now when the iphone 2G and 3G is getting old, i've been trying to find a solution to clock the processor. I know there has been some talk about this already, but i guess with the Openiboot and android ported + several jailbreak solutions, there is not a long way to go.
What i was thinking is that we can localize the core files in the kernel that blocks out the commands to change the processor, we should at least be able to clock inside of Openiboot terminal pre-boot.

Please don't flame, i know there is battery and warranty issues + the fact there is risk of bricking/destroying the phone. But it is getting kind of Old now anyway + i like to experiment (as many others i guess? :) )

Yes, i know you are focusing on android, i just think this would be fun to try.

My english aint the best, but i hope you understand me ;)

Offline ddominator

  • The Dominator
  • Global Moderator
  • Member
  • *****
  • Posts: 957
  • Karma: +11/-0
  • Sold his soul to Google
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: MoJo 1.0.4.1
  • Jailbreak: redsn0w 0.94 FTW!!!
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #1 on: September 07, 2010, 02:37:09 PM »
This is the right place to post (Off-topic) so no one should flame you for posting this.

But yes, you are right... screw the warranty since 2G and 3G are no longer in production...

However, I'm not a tech who knows how Jailbreaks work.  I'm not sure if we can manipulate kernel.  We don't have a BIOS to set the overclock.  But I may be wrong and that bootrom exploits may work...
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!

Offline Dameckish

  • Member
  • Posts: 5
  • Karma: +0/-0
    • View Profile
(No subject)
« Reply #2 on: September 07, 2010, 03:50:13 PM »
Well, since both jailbreak AND Android on the iPhone is possible, i'm pretty sure it's possible. I just hope that more people with interest will show up  :mrgreen:

Offline ppati000

  • Member
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #3 on: November 02, 2010, 07:49:36 PM »
hi guys,
I read that Apple made it read only in a 2.0 beta. Has anyone a 2.0 beta on his iPhone? Probably not. Maybe someone will merge 2.0 and 4.1 so we can all overclock... ;) or we have to ask someone who was with Apple (the guy who lost the iPhone 4 prototype, the iPhone 4 antenna designer..) lol
iPhone 3G iOS (well, iPhone OS at this time) 3.1.3... WHY???? The only good thing: I can install iDroid...;)
Vindoze Wista, 2*2.4 GHz, 2GB RAM, 256 MB Graphics... Not much but enough to play GTA: San Andreas;).
:::::::::: - The END - ::::::::::::

Offline eyoon

  • Member
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #4 on: November 14, 2010, 05:39:01 AM »
Ahhh....
I've done this. Trust me, your heat, battery.... Wait, so you said to disregard that? xD
You could say it's all been a placebo effect, but I think's it not. A guy ran benchmarks, and it proved the overclocking method worked. I don't get disconnected in multiplayer in Modern Combat 2: Black Pegasus anymore on the loading screen.

I ASSUME NO RESPONSIBILITY NO MATTER WHAT!
Instructions:
1) SSH into your device.
2) Go to /private/etc
3) Find "fstab". (no quotes) Backup that file.
4) Right Click>Edit
5) Start a new line ABOVE the part that says /dev/blah blah (you get the point)

Now, copy and paste this on that new line:
su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000

Change alpine to your root password.
The first 3 digits of the long numbers are the Mhz.
The first line is the frequency in Mhz you want the iPhone to run on.
The second line should be same as the first.
The third line is the speed you want the iphone to be when sleeping, etc.

So now, the fstab should look like this:

su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000
/dev/disk0s1 / hfs rw 0 1
/dev/disk0s2 /private/var hfs rw 0 2

NOTE: DO NOT CHANGE THE LAST 2 LINES! DO NOT COPY MY LAST 2 LINES! (dev/blah) THEY MAY VARY- CHANGING THEM WILL NOT LET YOU BOOT YOUR DEVICE!

6) Save.
7) Reboot.
:D

I will upload my fstab if requested.
Karma me if I helped!
« Last Edit: November 14, 2010, 05:57:17 PM by eyoon »

Offline EchoGecko

  • Member
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #5 on: December 05, 2010, 12:38:59 AM »
Ahhh....
I've done this. Trust me, your heat, battery.... Wait, so you said to disregard that? xD
You could say it's all been a placebo effect, but I think's it not. A guy ran benchmarks, and it proved the overclocking method worked. I don't get disconnected in multiplayer in Modern Combat 2: Black Pegasus anymore on the loading screen.

I ASSUME NO RESPONSIBILITY NO MATTER WHAT!
Instructions:
1) SSH into your device.
2) Go to /private/etc
3) Find "fstab". (no quotes) Backup that file.
4) Right Click>Edit
5) Start a new line ABOVE the part that says /dev/blah blah (you get the point)

Now, copy and paste this on that new line:
su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000

Change alpine to your root password.
The first 3 digits of the long numbers are the Mhz.
The first line is the frequency in Mhz you want the iPhone to run on.
The second line should be same as the first.
The third line is the speed you want the iphone to be when sleeping, etc.

So now, the fstab should look like this:

su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000
/dev/disk0s1 / hfs rw 0 1
/dev/disk0s2 /private/var hfs rw 0 2

NOTE: DO NOT CHANGE THE LAST 2 LINES! DO NOT COPY MY LAST 2 LINES! (dev/blah) THEY MAY VARY- CHANGING THEM WILL NOT LET YOU BOOT YOUR DEVICE!

6) Save.
7) Reboot.
:D

I will upload my fstab if requested.
Karma me if I helped!
That will not work since "alpine" is not a command. Plus it seems iBoot may reset the clock speed afterwards. It would be better if someone could make a kernel patch to make more sysctl values writable. Nice try though  ;)

Offline sjorge

  • Member
  • Posts: 19
  • Karma: +1/-0
    • View Profile
  • iDevice: iPhone 3G, iPhone 4
  • iDroid Version: Mojo 1.0.5
  • Jailbreak: PwnageTool
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #6 on: December 05, 2010, 12:07:39 PM »
even if it would work fstab is NOT the place do put those commands.
Your best bet would be to put the sysctl stuff in a launch daemon.

But if manually executing all the sysctl commands over ssh has no effect, making them run at boot won't either.
Not near my 3G to test atm though :(

Offline eyoon

  • Member
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #7 on: December 24, 2010, 06:40:37 PM »
Ahhh....
I've done this. Trust me, your heat, battery.... Wait, so you said to disregard that? xD
You could say it's all been a placebo effect, but I think's it not. A guy ran benchmarks, and it proved the overclocking method worked. I don't get disconnected in multiplayer in Modern Combat 2: Black Pegasus anymore on the loading screen.

I ASSUME NO RESPONSIBILITY NO MATTER WHAT!
Instructions:
1) SSH into your device.
2) Go to /private/etc
3) Find "fstab". (no quotes) Backup that file.
4) Right Click>Edit
5) Start a new line ABOVE the part that says /dev/blah blah (you get the point)

Now, copy and paste this on that new line:
su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000

Change alpine to your root password.
The first 3 digits of the long numbers are the Mhz.
The first line is the frequency in Mhz you want the iPhone to run on.
The second line should be same as the first.
The third line is the speed you want the iphone to be when sleeping, etc.

So now, the fstab should look like this:

su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000
/dev/disk0s1 / hfs rw 0 1
/dev/disk0s2 /private/var hfs rw 0 2

NOTE: DO NOT CHANGE THE LAST 2 LINES! DO NOT COPY MY LAST 2 LINES! (dev/blah) THEY MAY VARY- CHANGING THEM WILL NOT LET YOU BOOT YOUR DEVICE!

6) Save.
7) Reboot.
:D

I will upload my fstab if requested.
Karma me if I helped!
That will not work since "alpine" is not a command. Plus it seems iBoot may reset the clock speed afterwards. It would be better if someone could make a kernel patch to make more sysctl values writable. Nice try though  ;)
alpine is supposed to be your root password

Offline EchoGecko

  • Member
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #8 on: December 25, 2010, 04:20:51 PM »
Ahhh....
I've done this. Trust me, your heat, battery.... Wait, so you said to disregard that? xD
You could say it's all been a placebo effect, but I think's it not. A guy ran benchmarks, and it proved the overclocking method worked. I don't get disconnected in multiplayer in Modern Combat 2: Black Pegasus anymore on the loading screen.

I ASSUME NO RESPONSIBILITY NO MATTER WHAT!
Instructions:
1) SSH into your device.
2) Go to /private/etc
3) Find "fstab". (no quotes) Backup that file.
4) Right Click>Edit
5) Start a new line ABOVE the part that says /dev/blah blah (you get the point)

Now, copy and paste this on that new line:
su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000

Change alpine to your root password.
The first 3 digits of the long numbers are the Mhz.
The first line is the frequency in Mhz you want the iPhone to run on.
The second line should be same as the first.
The third line is the speed you want the iphone to be when sleeping, etc.

So now, the fstab should look like this:

su
alpine
sysctl -w hw.cpufrequency_max=620000000
sysctl -w hw.cpufrequency=620000000
sysctl -w hw.cpufrequency_min=420000000
/dev/disk0s1 / hfs rw 0 1
/dev/disk0s2 /private/var hfs rw 0 2

NOTE: DO NOT CHANGE THE LAST 2 LINES! DO NOT COPY MY LAST 2 LINES! (dev/blah) THEY MAY VARY- CHANGING THEM WILL NOT LET YOU BOOT YOUR DEVICE!

6) Save.
7) Reboot.
:D

I will upload my fstab if requested.
Karma me if I helped!
That will not work since "alpine" is not a command. Plus it seems iBoot may reset the clock speed afterwards. It would be better if someone could make a kernel patch to make more sysctl values writable. Nice try though  ;)
alpine is supposed to be your root password
Yes, I know it is supposed to be the default root password. But it being the password does not make it a valid command.

Offline iPwnUK

  • Member
  • Posts: 206
  • Karma: +1/-0
  • *Insert Witty Comment Here*
    • View Profile
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #9 on: Yesterday at 04:37:40 PM »
blah blah blah, long post which doesn't really need to be quoted again to save space so I'm typing this instead, blah blah blah
That will not work since "alpine" is not a command. Plus it seems iBoot may reset the clock speed afterwards. It would be better if someone could make a kernel patch to make more sysctl values writable. Nice try though  ;)
alpine is supposed to be your root password
Yes, I know it is supposed to be the default root password. But it being the password does not make it a valid command.
Im guessing that he is typing that as when you type 'su' into the command it will ask you for the root password, and you subsequently would need to type in 'alpine' unless you have changed the password, in which case you would type that in instead.
--------------iPhone 3G with--------------
iOS 4.1, Android 2.2.1 & PSFreedom

---iPhone 4 with Jailbroken iOS 4.1----
-------Game Center ID - iPwnUK--------

Follow @iDroidProject on Twitter for latest updates!

Offline ppati000

  • Member
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
« Reply #10 on: Today at 11:06:01 AM »
You can easily check if it worked with MobileTerminal. Just type su, your passwd and then
sysctl -a and look for the three cpufrequency values, or type
sysctl hw.cpufrequency
sysctl hw.cpufrequency_min
sysctl hw.cpufrequency_max
iPhone 3G iOS (well, iPhone OS at this time) 3.1.3... WHY???? The only good thing: I can install iDroid...;)
Vindoze Wista, 2*2.4 GHz, 2GB RAM, 256 MB Graphics... Not much but enough to play GTA: San Andreas;).
:::::::::: - The END - ::::::::::::