iDroid Forum

General => Off topic => Topic started by: Dameckish on September 07, 2010, 12:10:14 PM

Title: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: Dameckish 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 ;)
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: ddominator 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...
Title:
Post by: Dameckish 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:
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: ppati000 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
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: eyoon 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!
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: EchoGecko 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  ;)
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: sjorge 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 :(
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: eyoon 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
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: EchoGecko 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.
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: iPwnUK on December 29, 2010, 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.
Title: Re: Overclocking Iphone 3g (BRAINSTORM GUYS)
Post by: ppati000 on December 30, 2010, 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