Page 1 of 2 12 LastLast
Results 1 to 10 of 11
Discuss sysctl > oid read only. can it be enabled? at the iPhone 3G - Hackint0sh.org; I am trying to run the command: sysctl -w hw.cpufrequency=433000000 on my 3G FW2.2 but ...
  1. #1
    Advanced Array

    Join Date
    Jul 2008
    Location
    USA
    Posts
    45
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default sysctl > oid read only. can it be enabled?

    I am trying to run the command:

    sysctl -w hw.cpufrequency=433000000 on my 3G FW2.2 but i am getting an error saying: oid hw.cpufrequency is read-only

    Does anyone know how to enable this oid so we can change its values?

    Thanks!



  2. #2
    Advanced Array

    Join Date
    Jul 2008
    Location
    USA
    Posts
    45
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Anyone knows?

  3. #3
    Respected Professional Array

    Join Date
    Sep 2007
    Posts
    695
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    55

    Default

    hi, what are you trying to do?

    if you are trying to overclock, that is being worked on. i have ade some kernel patches to make those values writable, but that does not help as it seems to be set by iboot / dt or smthing.

  4. #4
    Advanced Array

    Join Date
    Jul 2008
    Location
    USA
    Posts
    45
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Yes I am trying to change the CPU clock speed.
    I know this was possible at pre 2.0 OS using this command but it seems that sysctl is a read only command now.
    So how do you think we will be able to reactivate this command to a "write" state?

  5. #5
    Respected Professional Array

    Join Date
    Sep 2007
    Posts
    695
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    55

    Default

    a simple kernel patch, again, the issue is taht it is not set by iboot / dt / smth like that, because the kernel patch seems to no longer work.


  6. #6
    Newbie Array

    Join Date
    Mar 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    something else needs to be changed first and i was told it involved using a PIC microcontroller and something about UART - which i really know nothing about, but someone does, and its been done..I wish they would speak up

  7. #7
    Newbie Array

    Join Date
    Nov 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Smile Idea

    It may be an apple firmware restriction so we need to enter those commands right away on boot Before the firmware is loaded. I read somewhere that:
    In /private/ect there is a file called fstab that loads the firmware "drives"
    there are two lines. However maybe try adding this before those:
    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. LOL I'm gonna get an expert mode high score in tap tap revenge by slowing down my CPU lots :-)Keep in mind a fast CPU will more use more power while a slow CPU will use less (ie more battery for a long car trip). Have fun if you have any problems email me at icantrememberthis12 at hotmail.com I replaced the @ symbol with 'at' as I don't want a spam bot getting my address ( this is not my main email, but I still don't want spam). Enjoy and use at own risk but it works for me on 3.1.2!


    su

  8. #8
    Rookie Array

    Join Date
    Feb 2009
    Posts
    18
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Can anyone confirm this working, please?

  9. #9
    Newbie Array

    Join Date
    Sep 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Thumbs down nope

    blackra1n'd[RC3] 3GS running 3.1.2
    followed above post to modify /private/etc/fstab using iFile.
    rebooted. conf'd modified fstab file was not reset (sysctl cmds retained)
    iSystem Info app reports no change (hw.cpufrequency=600000000 regardless of fstab mod)

    this method fails as a substitute for the still non-existent/unreleased kernel patch.

  10. #10
    Respected Professional Array

    Join Date
    Sep 2007
    Posts
    695
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    55

    Default

    that method will not work. the value is hardcoded in the kernel to be read only.


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. iPhone sysctl.conf
    By deus0ww in forum General
    Replies: 2
    Last Post: 09-11-2009, 02:33 PM
  2. Is DFU mode re-enabled in 10.5.7?
    By jxn in forum PwnageTool
    Replies: 8
    Last Post: 06-20-2009, 06:06 AM
  3. AT&T MMS in enabled in 3.0B2
    By mfleigle in forum iOS 3.x (iPhone OS 3.x)
    Replies: 5
    Last Post: 04-09-2009, 07:54 PM
  4. EFI enabled? normal?
    By tyre777 in forum Archiv (Leopard)
    Replies: 6
    Last Post: 10-11-2006, 12:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 08:48 PM.
twitter, follow us!