+ Reply
Results 1 to 4 of 4

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

Thread: Xslimmer & iPhone Apps: Free Up Some Space, Increase Performance

is a discussion within the

OS X Specific Modding Discussion

forums, a part of the

Computer Modding Software

So I was cleaning up my apps and getting back some wasted space from Xslimmer and decided to try it for my iPhone apps. And what do you know, it
  1. #1
    iPhone? More like MyPhone skeredmobile's Avatar
    Join Date
    Jun 2007
    Thanked 95 Times in 22 Posts

    Default Xslimmer & iPhone Apps: Free Up Some Space, Increase Performance
    So I was cleaning up my apps and getting back some wasted space from Xslimmer and decided to try it for my iPhone apps. And what do you know, it works!

    For those of you who do not know what Xslimmer is/does:
    "Xslimmer, the friendly way to right-size your apps without losing functionality.

    * Remove unnecessary code from fat binaries. Xslimmer determines which code your machine needs and removes the rest. This is achieved by removing the code inside the Universal Binaries that does not fit with your machine's architecture, a code that never gets executed and just wastes your disk space.
    * Strip out unneeded languages. Safari is available in more than a dozen languages, Adium in more than 20. This is great, but how many of those do you need? Xslimmer allows you to select how many languages you want to preserve in your apps and will remove the rest, recovering lots of precious free space from your disk.

    Xslimmer not only frees space wasted by unused code, it can even increase your Mac's performance. Some of our users have reported applications loading in almost half the time, because OS X does not need to analyze Xslimmed applications in search for the most suitable version of the code. "

    So I downloaded all my apps from my iPhone and reclaimed about 2MB of space and all apps work just as they did before, slimmed apps even load faster!

    If you want to try it yourself, here are the steps I did:

    1. Download and install Xslimmer (if you only want to use demo version, it allows up to 50MB which should def be enough)
    2. SSH to your iPhone
    3. Navigate to '/Applications/' and select ALL apps (read info on Installer.app first*) and download them into a folder on your desktop (or anywhere else). I called my folder 'iPhoneAppBackup'
    4. After download, navigate to where you downloaded apps and copy the entire folder to another location (or rename the copied folder to something else). This is now your backup just in case something goes wrong (which it shouldnt but just in case)
    5. Run Xslimmer and drag all your iPhone apps that on now on your Mac into the pane.
    6. Let Xslimmer examine the apps and then click 'Slim!' in the bottom right hand corner
    7. SSH back to your iPhone
    8. Navigate to '/Applications/' and drag the newly slimmed down apps to your iPhone (overwrite all)
    9. Power cycle your iPhone (turn off, turn back on)
    10. Enjoy your apps just as you did before but now with more free space (and possibly faster load times).

    Although yes I only freed up about 2MB of space, its better than nothing. Also, I only have 48 apps installed (including the stock apps) so people with more apps can probably reclaim more space. Also, I can definatley see improvements on the load times for my apps, esp the game apps.

    The apps that were slimmed down in my case and still funciton 100% were:
    - Calculator
    - Customize
    - iMemory
    - Installer* (read below)
    - Maps
    - Mobileaddressbook
    - Mobilecal
    - Mobilemusicplayer
    - Mobilenotes
    - Mobilephone
    - Mobilesafari
    - Mobileslideshow
    - Mobilesms
    - Mobilestore
    - Mobiletimer
    - Preferences
    - Snapture
    - Twistedfingers
    - Weather
    - Youtube

    *Installer info:
    After you SSH Installer.app back to your iPhone it will give you a permission error. To fix this, do the following:

    Use Terminal and enter the following commands:

    chown -R root:wheel /Applications/Installer.app/
    chmod 4755 /Applications/Installer.app/Installer

    If you do not have Terminal on your iPhone, you can SSH to your iPhone within the Mac OSX Terminal app:

    Open Terminal
    type ssh root@(insert you ip address here)
    Hit 'Return'
    Type 'alpine' as password
    Now type the above commands

    After that, Installer worked perfectly.

    Hope this helps, and dont forget to hit the 'Thanks' button
    Last edited by skeredmobile; 05-23-2008 at 03:05 PM.

  2. The Following 2 Users Say Thank You to skeredmobile For This Useful Post:

    jdineshk (07-24-2009), theHighLife (07-24-2009)

  3. #2
    Green Apple
    Join Date
    Aug 2007
    Thanked 5 Times in 4 Posts

    Saw the exact same tutorial on xsellize...

    IN B4 bashing xsellize. We all know they are crackers, but they're good at modding the iphone too
    Last edited by jguest; 07-24-2009 at 09:50 AM. Reason: NB$

  4. #3
    Theme Creator SnowLeo's Avatar
    Join Date
    Aug 2009
    Thanked 921 Times in 574 Posts

    PLEASE HELP!!!!!!!!! I tried this out and got it working with a bunch of apps... and then i opened cydia and i get "error database: could not open lock file /var/lib/lists/lock (13 permissions denied)"
    Then I tried using installerapp on my computer to install packages..... one of them being a mobile substrate upgrade... NOW MY IPHONE KEEPS BOOTING INTO SAFE MODE!!
    I tried using the above command except replacing Installer with Cydia..... but that made Cydia crash on open.
    Rock also doesnt work.... crashes on open

    I dont know what to do..... i dont want to restore..... but i need to get out of safe mode

    Last edited by SnowLeo; 12-26-2009 at 08:54 AM. Reason: need help!

  5. #4
    iPhone? More like MyPhone
    Join Date
    Nov 2009
    Southern California
    Thanked 40 Times in 37 Posts

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