+ Reply
Results 1 to 11 of 11

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Can I make the processor run faster?

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
I have a jailbroken iPhone 2G and want to know if I can clock my processor to a higher speed. The phone has a 620 mhz processor but it is
...
  1. #1
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can I make the processor run faster?
    I have a jailbroken iPhone 2G and want to know if I can clock my processor to a higher speed. The phone has a 620 mhz processor but it is underclocked to 412 mhz. Does anyone know if it is possible to use SSH or something to overclock the processor?

  2. #2
    What's Jailbreak? gamejunkie13's Avatar
    Join Date
    Nov 2009
    Location
    Big Sandbox
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts

    An interesting question, so it got me to searching.
    You might try this:

    how to overclock iphone processor - Google Search

    NOTE: modmyi comes up #1.

  3. #3
    iPhone? More like MyPhone
    Join Date
    Nov 2009
    Location
    Cranberry Twp, PA
    Posts
    193
    Thanks
    4
    Thanked 15 Times in 15 Posts

    no you cant overclock the iphone. apple has it locked down in the firmware. prior to 2.0 i believe you could use the sysctl -w hw.cpufrequency=[insert desired frequency] in terminal. but then apple locked it down. currently the only way to speed up your iphone, and these methods are so so at best is the

    Virtual memory mod discussed here:
    iPhone locking up after swap file plist mod

    Edit Poseidon: The reason it keeps blocking the website is because it links and hosts cracked apps. Discussion and references of warez are prohibited on this forum.

    or you can remove launch daemons, or things that start up when your iphone does (kinda like running msconfig on windows):Speed Up Your iPhone/iPod by Removing Launch Daemons

    btw, you may come across this...it is FAKE i have personally tired it. IT DOES NOT WORK!

    [ame=http://www.youtube.com/watch?v=u3e6xIsxgQo]YouTube - Overclock iPhone 3G[/ame]

    you do these at your own risk...with like i said. so so results
    Last edited by Poseidon79; 12-02-2009 at 08:26 PM.
    I made it ra1n...again

    'Reloading Data' - Ive spent the majority of my life seeing this

  4. The Following User Says Thank You to pwntbywombat For This Useful Post:

    gamejunkie13 (12-01-2009)

  5. #4
    What's Jailbreak? gamejunkie13's Avatar
    Join Date
    Nov 2009
    Location
    Big Sandbox
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Yeah, I posted the Google link before I read all the BS that was out there.

    I am going to try some of these suggestions from the links above.

    Thanks.

  6. #5
    iPhone? More like MyPhone
    Join Date
    Nov 2009
    Location
    Cranberry Twp, PA
    Posts
    193
    Thanks
    4
    Thanked 15 Times in 15 Posts

    you're welcome. like i said... there really isnt a noticeable difference in performance. infact it just likes to crash a lot..haha
    I made it ra1n...again

    'Reloading Data' - Ive spent the majority of my life seeing this

  7. #6
    Green Apple
    Join Date
    Aug 2009
    Posts
    57
    Thanks
    2
    Thanked 12 Times in 6 Posts

    I personally use the plist virtual RAM, as I often have a couple apps backgrounded, and I suffer from a lack of RAM. Works for me so far

  8. #7
    iPhone? More like MyPhone
    Join Date
    Nov 2009
    Location
    Cranberry Twp, PA
    Posts
    193
    Thanks
    4
    Thanked 15 Times in 15 Posts

    that pisses me off. i didnt post that link to make reference to cracked apps. its a good article and i would totally recommend reading it.
    I made it ra1n...again

    'Reloading Data' - Ive spent the majority of my life seeing this

  9. #8
    iPhone? More like MyPhone rugbrn's Avatar
    Join Date
    Jul 2007
    Location
    Denton, TX
    Posts
    156
    Thanks
    15
    Thanked 8 Times in 8 Posts

    No one has figured out a way to overclock the processor yet...yet being the keyword...

    However, I have tried the virtual memory tirkc on my old 2g iphone and with winterboard and a couple of backgrounded apps it sits at about 55MB free. with no winterboard or backgrounded apps its constantly at 70MB free...

    I'm not touting the repository though because of all the cracked apps and warez, so if you want to find out any info on it, search yourself...

  10. #9
    iPhone? More like MyPhone
    Join Date
    Nov 2009
    Location
    Cranberry Twp, PA
    Posts
    193
    Thanks
    4
    Thanked 15 Times in 15 Posts

    repository for what? the plist VM mod? just download this: com.apple.dynamic_pager.plist
    and put it in your launch daemons folder via SSH or iphonebrowser.
    I made it ra1n...again

    'Reloading Data' - Ive spent the majority of my life seeing this

  11. #10
    Livin the iPhone Life Poseidon79's Avatar
    Join Date
    Jan 2008
    Location
    Austin, TX
    Posts
    8,265
    Thanks
    819
    Thanked 1,681 Times in 1,159 Posts

    Quote Originally Posted by pwntbywombat View Post
    that pisses me off. i didnt post that link to make reference to cracked apps. its a good article and i would totally recommend reading it.
    The merits of the article are not being called into question. The fact that it's posted on a pirate forum is the issue. You are welcome to cut and paste the article but you are not allowed to make any direct references to that site as they host illegal software.
    [SIGPIC][/SIGPIC]

  12. #11
    iPhone? More like MyPhone
    Join Date
    Nov 2009
    Location
    Cranberry Twp, PA
    Posts
    193
    Thanks
    4
    Thanked 15 Times in 15 Posts

    "Virtual Memory: Both Chinese and .plist Versions + Info / Risks
    OK, first off, I realize this is a long post, but Its better than reading through 50+ pages of both of the VM threads to see which works better / what are the side effects or possible risks of using them. Thats why I made this thread. I have read through the posts in the other threads and have tried to pull out the useful information so I can put it in one place so people can easily read and understand.

    If you really don't care about what people have been saying or what the risks/etc are and just want to download the one you want, then just scroll down to the DOWNLOADS section in this post. Otherwise, continue reading.

    If you would like to read through the other Threads, here they are.
    Original Chinese Version Thread here: removed
    Original .plist Thread here: removed


    What is VM?
    Virtual Memory, or VM, is exactly what it sounds like. Its virtual memory. Instead of using just the internal RAM, both of these methods create Swap Files on your Flash Drive (your iPhone "hard drive") and uses that file as extra RAM. To read more about VM, click here: Virtual_memory
    What are the Risks?
    The risks that I and others see are that eventually both methods may cause your iPhone's Flash Memory to fail due to the excessive read/write. Below is some info that others have posted.


    Originally Posted by who
    it WILL decrease the life of the flash memory. you see, ram was designed to be abused (frequent i/o writes and so on), but the memory that holds your data wasnt really designed to do the same. it was make to store the data for long periods of time. eventually, some sectors WILL give out, but i doubt it would be anytime soon.
    Originally Posted by who
    it will kill it, but only within, what, FIVE years? just get it. if you have it, use it. it's my saying. you could die tomorrow, for all you know. i've flashed so many different firmwares, im pretty suprised its' not even slowing down yet. it's built rigidly, so dont be afraid to go outside the box. apple builds quality products.
    Originally Posted by chung15673
    Yup, I am skeptical myself because if it is that simple then why didn't Apple do this? It is very easy to dedicate a block of flash memory for this specific purpose without harming the rest of the user's flash memory.

    Virtual memory is not exactly a novel idea and most older technologies are trying to move away from it.
    Originally Posted by SecretSociety
    I dont think creating a virtual memory will harm any hardware, this technique was formulated to make the computer or in this case your phone not to crash by creating extra memory.

    The logic on "killing your hard drive faster by using this mod" is just the same with how frequent you use your car. The more often you use your car, the faster it wears down. If you dont use it, then where's the fun in that?

    All im saying is that our hardwares are built to take a beating, so go ahead and enjoy it, take it to the fullest and just have fun playing with your toy. Im doing it.
    Originally Posted by antonioj
    The new nokia n900 uses the same kind of process. It has 256mb of RAM plus a 1gb swapfile (virtual RAM). So all that talk about damaging the flash...well...
    Originally Posted by briviao
    Wikipedia says that a NAND Flash memory can be overwritten more than 1.000.000 times (should be even more on new flash memories).
    Now the problem is to estimate the frequency of memory-overwriting on the iPhone. This is a tricky part!


    Which One is For Me / Whats the Difference Between the Two?
    That's your choice...
    The chinese version creates one large swap file ( 256MB ) and uses that space as needed.
    The .plist version creates a smaller swap file ( 64MB ) and creates / deletes the swap files as needed. Below is some info on the differences


    Originally Posted by stinky1
    Here's the answer! (how do you like that for pompous!!)

    *****************

    After a little more digging I've confirmed the chinese version is nothing special. It has two plists and two other files

    The file vm is actually the dynamic pager file in sbin. I did a binary compare, no difference
    The file fm is actually bigboss's freemem file from sbsettings. Rude to steal with no notice.

    The other two plists are no big whoop, they've been discussed.

    In sum: just tweak the plist and install it. There is nothing dangerous in the chinese package, but nothing that you need either.

    *************************
    Originally Posted by MultiplicatePorDevNull
    So the chinese method use an auto "freememory tweak" (very useful, but pretty sure that its execution is the "lag moments" that some people said on chinese method) and this plist method not? But this plist method "cleans" the memory then? Or simply it doesnt need it? Why?
    Originally Posted by stinky1
    i THINK that is what's happening - it runs a freememory cycle which causes a lag and also isn't necessary. also having the OnDemand key set to true MAY cause a lag as well.

    I do not KNOW what is happening. just guessing. I just use my plist, load up mail, safari, ipod, run freemem through sbs.

    I then have mail, phone, safari and ipod all running in the background with 70MB shown free. There are occasional brief lags, but when it's not lagging it seems faster. On the whole, very happy with this tweak.


    Originally Posted by devein
    they are really the same commands, but used with different options:

    1) chinese method
    package iphonevm from http://repo.beyouriphone.com/ repository

    this package has:
    dpkg -L com.beyoip.iphonevm

    /sbin/fm
    /sbin/vm
    /System/Library/LaunchDaemons/com.apple.fm.plist
    /System/Library/LaunchDaemons/com.apple.vm.plist

    invoking the /vm file from shell
    /sbin/vm --help
    /sbin/vm: illegal option -- -
    usage: dynamic_pager [-F filename] [-L low water alert trigger] [-H high water alert trigger] [-S file size] [-P priority]

    this really is a dynamic_pager command. this file exists already in /sbin/dynamic_pager

    diff /sbin/dynamic_pager /sbin/vm - doesnt show any differences so this is exactly the same file

    contents of /System/Library/LaunchDaemons/com.apple.vm.plist

    <key>Label</key>
    <string>com.apple.vm</string>
    <key>Program</key>
    <string>/sbin/vm</string>
    <key>ProgramArguments</key>
    <array>
    <string>/sbin/vm</string>
    <string>-S</string>
    <string>268435456</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>OnDemand</key>
    <true/>

    so, this method calls /sbin/vm vm -S 268435456 at startup.


    there is also the /bin/fm command its function is unknown, im calling anyone who can identify this binary

    im /System/Library/LaunchDaemons/com.apple.fm.plist

    <key>Label</key>
    <string>com.apple.fm</string>
    <key>Program</key>
    <string>.//sbin/fm</string>
    <key>ProgramArguments</key>
    <array>
    <string>.//sbin/fm</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>OnDemand</key>
    <true/>

    running this command:
    ~ root# /sbin/fm asd
    2009-10-02 13:50:17.154 fm[1221:903] Processing 51277824 bytes

    it has created swap file:
    ls -lh /private/var/vm/swapfile0
    -rw------T 1 root wheel 64M Oct 2 13:43 /private/var/vm/swapfile0


    2) "plist" method

    using plist editor: main part of file:

    <array>
    <string>/sbin/dynamic_pager</string>
    <string>-F</string>
    <string>/private/var/vm/iphone_swap</string>
    </array>

    so it calls /sbin/dynamic_pager -F /private/var/vm/iphone_swap
    (-F option specifies swap file name)

    -------------------------------------------------------

    documentation of this command:

    http://developer.apple.com/mac/libra...c_pager.8.html



    ive also found this interesting bit of information, it is about macosx system where this command is also used:
    http://www.omnigroup.com/mailman/arc...er/042021.html

    so, "chinese" method calls for a fixed size swap, and "plist" method uses the same command, but the swap file size is created dynamically.

    IMHO this dynamic method is more "modern", but which method is better?
    im testing second method now (i've had installed chinese package and just edited /System/Library/LaunchDaemons/com.apple.vm.plist to remove "-S" argument )

    so to summarize:

    "chinese" method calls dynamic_pager with static swap
    "plist" method calls dynamic_pager , by default the swap is dynamic
    Further more, stinky1 has modified the .plist to this:

    Originally Posted by stinky1
    The only major difference I see between the chinese and plist only versions (aside from the vm and fm files, whatever they are is this:

    Chinese:
    <key>OnDemand</key>
    <true/>

    Other:
    <key>OnDemand</key>
    <false/>

    I do wonder how the Chinese one would operate with this key changed, but I'm just using the plist one for simplicity.


    I read here that this command is deprecated, so I added this:
    http://developer.apple.com/mac/libra...d.plist.5.html

    <key>KeepAlive</key>
    <true/>

    I also turned off encryption to enhance speed, giving me this:


    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>com.apple.dynamic_pager</string>
    <key>KeepAlive</key>
    <true/>
    <key>OnDemand</key>
    <false/>
    <key>ProgramArguments</key>
    <array>
    <string>/sbin/dynamic_pager</string>
    <string>-F</string>
    <string>/private/var/vm/iphone_swap</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>UseEncryptedSwap</key>
    <false/>
    </dict>
    </plist>



    Works nicely for me. Creates/destroys 64mb swap files as needed. No need for Safari quitter or manually killing my mail app anymore if I want to play a big game. Occassional lags, but nothing major. SBSettings "Free Up Memory" works just fine; I can load up mail, safari, ipod, and then free up memory to be left with around 75mb showing and very snappy performance.

    Overall, very nice. If it kills my ram, oh well, I have applecare.
    The choice on which one to use is yours. Try them both if you like (I would suggest not using both at once tho). If you want my opinion, I would suggest the .plist version. From what I have been reading, most people are switching from the chinese one to the .plist one. Also, check my "Personal Experience" below to read why the .plist is currently the choice for me.


    Personal Experience / What Others Say:
    My personal experience (im running an iPhone 3G on 3.1 - I didn't do any extra backgrounding/testing, this is all just everyday use):

    Originally tried the chinese version. Was liking it but didn't see great improvements when at idle (maybe got up to high 40's - low 50's). Although it did never seem to drop below 30 so it was working for me. Occasionally it did lag, but nothing too bad

    After reading more about the .plist version, it seemed people were getting rid of the chinese one and switching to the .plist one so I decided to do that. After install and reboot, I was sitting around low 50's and i've been running and just using it normally and again, it has not dropped below 30 yet which tells me its working. However, I have only just installed this so I have no yet impressions and cant really compare to the chiineese one bc i used the chines one for two days. I will post more after some more usage. After idle for a few minutes, up to low 60's

    UPDATE 10/7:
    So after using the .plist version for a couple days now, i have noticed my iphone is starting to lag a little bit, especially with Cydia. Others have also posted lag issues using both Chinese and plist versions so the lag doesnt come from one or the other (esp since the each version is almost exactly the same). I did notice improvements initially but lately debating whether its worth to use or not. I tried a hard reset (holding down power and home button) to reboot my iphone to see if it will go back to lag free... ill let you know if it goes back to being snappy.

    UPDATE 10/7-Part 2:
    Nope, still lagging so decided to uninstall and now im back to default and it seems snappier again. i wont have the increased size in ram but i think im goin without the VM for a few days...

    Other's views:
    from .plist thread

    Originally Posted by brentbizzle
    Ok, so I did some basic benchmarking with my iPhone. If you have any questions about my base setup I can address those later, but for the purpose of my testing it really doesn't matter. Here's some quick data I collected.

    Launch time for SMS app:
    3.101
    3.048
    2.997

    SBS free memory between each launch:
    7.050
    9.981
    8.614

    Backgrounding weather, facebook, safari, solitaire app; SMS app launch time:
    4.416
    3.599
    3.523
    3.587

    Backgrounding w/ free memory between each launch:
    9.077
    8.499
    8.348
    9.065

    That was all before installation. Now here's post install results

    base launch:
    2.971
    3.035
    3.021
    2.910

    same backgrounding:
    3.033
    3.085
    3.047
    2.995
    3.021

    Heavy backgrounding (added zenbound and space shuttle simulator):
    12.983
    8.196
    8.548
    17.034
    9.327

    I could not test freeing memory between because it takes so long to do so, and the iphone would not be responsive for a while after doing so. Plus sometimes the ram wouldn't drop below 50 so it wouldn't allow me to do it.

    Looking at the data, with mild backgrounding the VM tool helps! It took the average backgrounding time before install of 3.781 and dropped it to 3.036, which is really the launch time with no backgrounding. Once you do some heavy backgrounding though, performance is not enhanced and is quite irregular.

    Visually the slight lag seen with backgrounding under normal circumstances didn't appear to be there after VM was installed and with the same backgrounding.
    from the .plist thread:

    Originally Posted by phassat
    I've tried the chinese one for several days and don't like it too much.... It is laggy and my games were not smooth as before.
    It could make sure that I can launch my games (previously when my memory was low, the games sometimes crashed when it started) but it's slower....

    I use the modified one by stinky1.... and put bitesms, phone, mail, contact, clock in background then I free my mem using sbs... it goes back to 70MB and all the above apps still in background.

    It seems that it run smoother compared to the chinese. I will give it a try to my games and report the result... I'm using geochallenge and slugger as the test (geochallenge is quit sometimes without enough mem which was happened before I use the chinese one or this modified one.... Slugger is always run even with smaller memory, but it was laggy using the chinese one)

    ---------- Post added at 11:07 AM ---------- Previous post was at 11:00 AM ----------

    I've tried to run home slugger and it starts very smooth compared to the chinese one.... also when I play the game I couldn't see a difference with when I run without VM.

    So this one is actually much better.... thanks stinky1...
    I can't say about the original plist since I installed stinky1's to replace the chinese one

    Also, after I quit home slugger, memory was 25MB for a second then it goes back to 53MB... and stable in 53MB.....
    from the .plist thread:

    Originally Posted by mattress
    With this virtual memory/swap file plist, I'm able to run all my mobile substrate plugins without the fear of memory intensive apps crashing.

    It has made my phone much more stable, and I'm able to keep 'phone' 'mail' and 'messages' app always running in the background, without the fear of cydia or safari or whatever crashing when I need to use it.

    I've added a few more mobile substrate plugins (Backgrounder, ClockHide, DimDelay, Lockinfo, MailtoAttachment, Popupblocker, preference loader, privacy, reflective dock, rotationinhibitor, winterboard, yourtube, quick reply, libhide), and my phone is still very stable. nothing has crashed on me, and I'm not seeing any hit on performance.

    This is the best hack to my phone I've done since jailbreaking. I feel apple should have included this from the beginning.



    DOWNLOADS
    Finally. Enough with the info already...

    Here is the Chinese Version:
    Download the .deb file here: Download iPhoneVM.deb from Sendspace.com - send big files the easy way
    SSH and place the .deb file into directory of choice (i usually use /tmp)
    Open terminal and navigate to where .deb file is stored on iPhone (ex, use command cd /tmp)
    Install using command dpkg -i iPhoneVM.deb
    REBOOT iPhone (turn power off, then back on)

    Enjoy


    Here is the .plist version (modified by stinky1):
    Download the .plist here: com.apple.dynamic_pager.plist
    SSH into your iPhone and place the .plist in /System/Library/LaunchDaemons/
    REBOOT your iPhone (turn power off, then back on)

    Enjoy.

    Uninstall
    Chinese Version
    Open Cydia and uninstall it. (Should be at the very bottom of packages)
    Now SSH into your iPhone and navigate to var/vm/ and delete the swap files inside. (DO NOT JUST DELETE THE ENTIRE var/vm DIRECTORY - ONLY DELETE THE FILES INSIDE)
    Now navigate to System/Library/LaunchDaemons and delete the com.apple.dynamic_pager.plist file
    REBOOT iPhone.
    Done.

    .plist Version
    SSH into your iPhone and navigate to var/vm/ and delete the swap files inside. (DO NOT JUST DELETE THE ENTIRE var/vm DIRECTORY - ONLY DELETE THE FILES INSIDE)
    Now navigate to System/Library/LaunchDaemons and delete the com.apple.dynamic_pager.plist file
    REBOOT iPhone.
    Done.


    Originally Posted by GunHo198
    Go to cydia and uninstall the Chinese one. It should be at the bottom of packages. Then ssh and delete the swap file in var/vm. Only delete the swap file. Then go into system/library/launchDaemons and delete the com.apple.dynamic_pager.plist. And reboot.


    Sum it all up:
    To sum it all up, both methods work but the .plist seems to be the better approach (in my opinion) bc it creates smaller swap files and removes/creates more when needed. I do not think it is wise to use both at the same time. But this is not because I have knowledge about why, only from what I have been reading. (but yet others have used both - so really, im not sure) So pick one and enjoy a little extra boost to your iphone

    Most say the VM works, and they see improvements. Few say nothing happens or it causes more lag. My vote goes in the first, I see improvements"

    Copied from the site...recommend reading^^
    I made it ra1n...again

    'Reloading Data' - Ive spent the majority of my life seeing this

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts