Seeing as it seems impossible to run this command at startup, it seems like the only option is to edit a firmware file, and then load it onto your device. This, to my understanding, would require somehow making the oid hw.cpufrequency writable. This seems to entail editing the kernel, though I am not sure on that, as information on this is hard to find
I plan to do some reading up on linux, to see if I can somehow do this.
Subscribe to:
Post Comments (Atom)
Have you thought of decrypting iBoot and patching it manually with bspatch to run the command on startup?
ReplyDeleteI believe the answer is in the kernel...the iPhone OS is based on OSX, which itself is based on FreeBSD. Using the mach kernel, OSX typically loads up a bunch of kexts for the drivers and that's how OSX works. The iPhone OS has most of the drivers hardcoded into the kernel. I found a resource here:
ReplyDeletehttp://code.google.com/p/iphone-elite/wiki/MemoryMap
That is for the 1.0.2 kernel...we need to find the one for a newer kernel so we can dive into it more. I found an article "tuning with sysctl" on freebsd.org that had some nice info about the sysctl command and some read-only workarounds.
Also, a the iphone wiki has a list of the kernel syscalls:
http://www.theiphonewiki.com/wiki/index.php?title=Kernel_Syscalls
As you can see there, __sysctl is # 202.
Therefore, if we can find a memorymap for the newer kernel, we can find out how the kernel is manipulating the sysctl command, and we can patch the kernel to enable modifying that value.
this is so fucking hard we need decrypt the kernel or something i maybe u can talk with "GeoHot" george hotz :P bcuz he know alooot about the system of iphone:)
ReplyDeleteJ'ai hâte que vous trouviez la solution pour OC ce petite iPhone !
ReplyDeleteJ'aimerais vraiment lui redonner un petit coup de boost :D
its so hard to find information on doing this...
ReplyDeletei dont personally have anything to input on the subject idk what im doing but i would like to see it done.
I read this somewhere: any ideas?
ReplyDeleteIn /private/ect there is a file called fstab that loads the firmware "drives"
there are two lines. However maybe try adding this before those:
Quote:
su (super user this must work in terminal application you could try /bin/su if this is useless remember there are no mounted drives)
alpine (this is you root password try loging in in terminal)
sysctl -w hw.cpufrequency_max=?(to avoid errors where the current is more than the max we do this first. Replace '?' with your desired speed. This is in hz not MHz so DO NOT write a three digit number or you iPod will take WEEKS to boot or restore. Write a nine digit. For info on the iPod touches prossesor go to the iPod touch page on wikipedia for clockspeeds)
sysctl -w hw.cpufrequency=? (once again remember it's in hz and ? Is your numerical speed ie. 700000000.
sysctl -w hw.cpufrequency_min=? (remember what I said before)
that's all. if you are lowering the speed remember to swap line three and five to avoid a CPU lower than minimum error. Here are those again:
su
alpine
sysctl -w hw.cpufrequency_max=?
sysctl -w hw.cpufrequency=?
sysctl -w hw.cpufrequency_min=?
(then of course there will be the two ordinary lines of the program)
now this only runs on boot so reboot by holding down menu and home at the same time for ten seconds. Once it boots up the animations and sounds will go slower or faster. Also apps will run slower or faster depending or your speed. Enjoy and use at own risk but it works for me on 3.1.2!
no overclock? rrrrrrrssssssssss
ReplyDelete@gome
ReplyDeleteQuit spreading that stupid rumor. fstab contains the filesystem descriptions. Those two lines in it aren't UNIX commands; they're just used to describe the physical disks. No command is executed from fstab. If that were the case, it would be a major flaw.
Thanks you for stating that. I've been looking around for some more information and that SAME post comes up TIME after time again. It doesn't work and like "Laur" said, they are not commands that are executed. The fstab file just shows what physical disks to mount on boot.
ReplyDelete