+ Reply
Page 1 of 20 123 11 ... LastLast
Results 1 to 20 of 384

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


Thread: [LIST] Language Packages to Delete on 3.0 :: Increased Performance

is a discussion within the

General iPhone Chat

forums, a part of the

iPhone Modding

section;
PLEASE BE CAREFUL AND USE SOME DISCRETION AS THERE HAVE BEEN A FEW ISSUES REPORTED WITH THE LIST. MAKE SURE YOU ARE DELETING THE CORRECT FILES EACH TIME TO AVOID
...
  1. #1
    Livin the iPhone Life ALL DAY's Avatar
    Join Date
    Feb 2008
    Location
    Chit-Chat
    Posts
    2,277
    Thanks
    43
    Thanked 196 Times in 163 Posts

    Default [LIST] Language Packages to Delete on 3.0 :: Increased Performance
    PLEASE BE CAREFUL AND USE SOME DISCRETION AS THERE HAVE BEEN A FEW ISSUES REPORTED WITH THE LIST. MAKE SURE YOU ARE DELETING THE CORRECT FILES EACH TIME TO AVOID THESE PROBLEMS. IT SHOULD STILL BE RELATIVELY SAFE TO DELETE AT LEAST THE FOLDERS FROM /Applications.

    IF YOU REALLY WANT TO SEE AN INCREASE IN MEMORY, IT IS SUGGESTED THAT YOU UNDO ANY LOCKSCREEN THEMING AS THIS DOES SIGNIFICANTLY DECREASE AVAILABLE MEMORY.

    Okay, so until Stealth gets his app done and polished for doing this automatically, I think it would be nice to have a comprehensive list of all the language packs (.lproj files) that can be deleted to increase the performance of firmware 3.0 instead of having them scattered about.

    Deleting the language packs unnecessary for you in these directories will help increase performance on your device and free up that precious memory.

    To delete, simply go through each of these files and get rid of every unnecessary .lproj file (using shift+click is a great method for speed). For English-speaking users, keep only the ones label English.lproj unless otherwise stated.

    As members find more or other things are discovered, I can edit them into this list. Please post if anything here isn't working or if something needs to be changed.

    Credit goes to everyone who has completed this so far and who has come up with new things for this list; mainly everyone in this thread. Especially PSYCH0TIC ONE, Mes, and peteo for their helpful and informative posts. Also, most importantly the credit for the idea and original method/thread goes to StallionM5. Thanks a lot man!

    I have tested with all of these removed at once on my 2G phone and performance is certainly increased, however as my phone may be different than your own proceed at your own risk. Thanks to all that have helped again and I hope this helps some of you who were struggling like myself at figuring out what could and couldn't be deleted.

    -Day

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

    Here's what we have so far:

    /Applications:

    -Calculator.app
    -MobileAddressBook.app
    -Cydia.app
    -MobileSMS.app
    -Maps.app
    -MobileCal.app
    -MobileMail.app
    -MobileMusicPlayer.app
    -MobileNotes.app
    -MobilePhone.app
    -MobileSafari.app
    -MobileSlideShow.app
    -AppStore.app
    -MobileStore.app
    -MobileTimer.app
    -Preferences.app
    -Stocks.app
    -VoiceMemos.app
    -Weather.app
    -Web.app
    -WebSheet.app
    -YouTube.app
    -Icy.app
    -DemoApp.app


    /System/Library/CoreServices/SpringBoard.app


    /System/Library/PreferenceBundles:

    -AccountSettingsUI.bundle
    -AirPortSettings.bundle
    -BluetoothSettings.bundle
    -ManagedConfigurationUI.bundle
    -MusicSettings.bundle
    -VideoSettings.bundle
    -iPodSettings.bundle
    -CarrierSettings.bundle
    -MobilePhoneSettings.bundle
    -MobileSafariSettings.bundle
    -MobileSlideShowSettings.bundle
    -Wallpaper.bundle
    -MobileStoreSettings.bundle
    -VPNPreferences.bundle
    -NotificationSettings.bundle
    -EDGESettings.bundle
    -ScheduleSettings.bundle
    -WirelessModemSettings.bundle


    /System/Library/PreferenceBundles/AccountSettings

    -ContactsSettings.bundle
    -ActiveSyncSettings.bundle
    -CalDAVSettings.bundle
    -LDAPSettings.bundle
    -SubscribedCalendarSettings.bundle
    -MobileCalSettings.bundle
    -MobileMailSettings.bundle
    -MobileWirelessSyncSettings.bundle


    /System/Library/PrivateFrameworks:

    -AccountSettingsUI.framework
    -AccountSettings.framework
    -AppSupport.framework
    -ChatKit.framework
    -CoreTelephony.framework
    -DataAccess.framework
    -ManagedConfiguration.framework
    -Message.framework
    -CalendarUI.framework
    -DAVKit.framework
    -DataDetectorsUI.framework
    -MobileQuickLook.framework
    -PhotoLibrary.framework
    -iTunesStoreUI.framework
    -MusicLibraryDDB.framework
    -ITSync.framework
    -MusicLibrary.framework
    -OfficeImport.framework
    -Preferences.framework
    -TelephonyUI.framework
    -WebKit.framework
    -WebUI.framework
    -YouTube.framework
    -iTunesStore.framework
    -iWorkImport.framework
    -IAP.framework


    /System/Library/SystemConfiguration:

    -WiFiManager.bundle
    -PPPController.bundle


    /System/Library/Frameworks:

    -AddressBookUI.framework
    -AddressBook.framework
    -CFNetwork.framework
    -AudioToolbox.framework
    -CoreLocation.framework
    -Foundation.framework (keep en.lproj)
    -GameKit.framework
    -MapKit.framework
    -MessageUI.framework
    -MediaPlayer.framework
    -Security.framework
    -UIKit.framework
    -SystemConfiguration.framework


    /System/Library/Carrier Bundles:

    -Fido_ca.bundle
    -Softbank_jp.bundle
    -Rogers_ca.bundle

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

    Also, peteo has provided us with a script that he has used and seems to work.
    All credit for this goes to peteo:

    Quote Originally Posted by peteo
    These scripts will back up your language files (except English and Japanese) and will delete all language files except English and Japanese.

    Make Sure you set your iPhone to Never sleep!

    Step 1) SSH into your iPhone with root access (puddy is a good windows ssh program)

    Step 2) mkdir /private/var/stash/langBackup/

    Step 3) cd to your /private/var/stash/Applications.whatever programs dir

    Step 4) Copy and paste this into your ssh program and run it:

    for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -exec echo {} ; | sed -e 's/.///'`; do tar -rf /private/var/stash/langBackup/langBackup.tar ./ ; done

    This will back your languages in a tar file located here /private/var/stash/langBackup/langBackup.tar PLEASE VERIFY THIS FILE BEFORE DOING THE NEXT STEP. (should be around 10-15 megs)

    Step 5)Copy and paste this into your ssh program and run it:

    To back up files:

    for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -exec echo {} ; | sed -e 's/.///'`; do tar -rf /private/var/stash/langBackup/langBackup.tar ./ ; done

    To remove files:
    for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -exec echo {} ; | sed -e 's/.///'`; do rm -vr ./ ; done

    This command will delete all language files except English and Japanese.

    These scripts can also be run in your /private/var/mobile/Applications dir to remove languages from 3rd party app store apps. Please NOTE: some 3rd party programs are using spaces in their directory names. These scripts will NOT work on those apps. (will not back up them, but also should not delete their language files)
    I have also tried these scripts on /System/Library directory. The back up takes a long time around 15-20 minutes. But deleting is Fast! (carrier bundles, quick time and a few other directories are not backed up/deleted do to spaces in the names)

    Please use and modify as you see fit.

    Have fun and be careful.
    Last edited by ALL DAY; 08-26-2009 at 08:43 PM.
    Respect your elders.

  2. The Following 25 Users Say Thank You to ALL DAY For This Useful Post:

    96hondaex (10-02-2009), angiepangie (08-23-2009), anig (03-21-2010), cellmate75 (07-28-2009), coachballfirm (07-28-2009), confucious (07-28-2009), Grassmasta (07-28-2009), hollow0 (11-29-2009), IcyTexx (10-18-2009), iwangots (03-04-2011), joemamawilder (11-03-2009), kennyleeme (08-21-2009), lightmaster (07-30-2010), matthew1111 (02-02-2012), moon#pie (01-21-2010), pen.suhl (01-26-2011), Puka1701 (08-25-2009), sddspence (07-29-2009), siren_acid (09-05-2009), sparaxin (10-29-2009), speddish (11-25-2009), StallionM5 (07-28-2009), StayyyFlyyy (04-29-2011), suezeeq12 (11-02-2009), VeNoMmx (02-19-2010)

  3. #2
    What's Jailbreak? StallionM5's Avatar
    Join Date
    Oct 2007
    Posts
    7
    Thanks
    1
    Thanked 21 Times in 2 Posts

    Thank you for the info and really organized check list it helps a lot

    HEY all credits go to real mods like whom you mentioned But not even a credit for the original starter of the thread ? and actually the original Idea of it ? that hurts

    We will all be happy for an app to have this done automatically
    Happy modding and have a nice day

  4. The Following 6 Users Say Thank You to StallionM5 For This Useful Post:

    1hihum (08-06-2009), aragorn121 (07-28-2009), confucious (07-28-2009), iGuy (07-28-2009), iwangots (03-04-2011), sparaxin (10-29-2009)

  5. #3
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,234
    Thanks
    136
    Thanked 895 Times in 813 Posts

    Just been through all of these deleting them all except English.lproj and uk.lproj (apart from the odd en.lproj)
    Now my phone won't boot!
    Black screen then apple logo for a while then black screen again.
    Oh well, I guess I screwed up somewhere
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  6. #4
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    Good idea Stallion, and I agree totally with you. But your name will always appear at the top of that thread Buddy.

    Now somehow I've removed something that I shouldn't have done and now my iPhone won't kick out of the reboot cycle! Doh! :-)

    Time for a Restore I guess. Hey Ho!

  7. #5
    My iPhone is a Part of Me
    Join Date
    Apr 2008
    Posts
    536
    Thanks
    94
    Thanked 14 Times in 14 Posts

    Thanks for the list. this is great.

  8. #6
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    You & me both Confucious! Maybe "uk" stood for Ukrainian? Or maybe we just got a bit over enthusiastic with the deleting? I was almost at the end too!

  9. #7
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,234
    Thanks
    136
    Thanked 895 Times in 813 Posts

    I was just about to say the same iGuy. It wouldn't matter if we left Ukrainian if that's what uk stands for so I guess we both got a bit enthusiastic!
    I didn't think I had but I got to the end and now reboot loop.Can't SSH in so I guess it's a restore
    Oh well, ne'er mind eh?
    It's all good fun
    Hmm.. Phone is there in iTunes - if I can get in to it I might be OK...
    Last edited by confucious; 07-28-2009 at 07:22 AM.
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  10. #8
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    I just put mine into DFU and (hopefully) it's restoring back to 3.0

    Now how do I JB/UL? Maybe I'll start a new thread.....

  11. #9
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,234
    Thanks
    136
    Thanked 895 Times in 813 Posts

    I tried moving the watchdog bundle but it's not worked. Restore here I come.

    RedSn0w then UltraSn0w - simple.
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  12. #10
    What's Jailbreak?
    Join Date
    Mar 2009
    Posts
    13
    Thanks
    0
    Thanked 2 Times in 1 Post
    I did the delete to all the applications yesterday with no problems, then did the list above today. I too am unable to boot. Beware - there's a deletion above that may be terminal...

  13. #11
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    Maybe if we let the Americans sort out how to rid the iPhone of anything but English we'll be all right? You know, like they did in WWII and beyond? Perhaps? "Special Relationship" counts doesn't it? (unless your name is "Gordon Brown", then I don't think even the wonderful Obama will be putting up with us for much longer!)


  14. #12
    Retired Moderator one1's Avatar
    Join Date
    Sep 2007
    Location
    In my own little world
    Posts
    10,356
    Thanks
    349
    Thanked 1,180 Times in 730 Posts

    Personally I'd stay out of the system files and just do applications until you have a clear understanding of what you are doing.

  15. #13
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    All "Restored" & now Sync'ing again.

    I think I have lost a VERY important text about "meeting for coffee" though. Damn, I've got some explaining to do if I don't turn up! And it would have been good too.

  16. #14
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,234
    Thanks
    136
    Thanked 895 Times in 813 Posts

    Quote Originally Posted by one1 View Post
    Personally I'd stay out of the system files and just do applications until you have a clear understanding of what you are doing.
    If I waited until I had any sort of understanding I'd never do anything. Jump right in I say!

    Quote Originally Posted by iGuy View Post
    All "Restored" & now Sync'ing again.

    I think I have lost a VERY important text about "meeting for coffee" though. Damn, I've got some explaining to do if I don't turn up! And it would have been good too.
    I updated rather than restored - now just got to reinstall everything from cydia

    Now ultraSn0wed, just got to remember what else I had from cydia....
    Last edited by confucious; 07-28-2009 at 08:33 AM. Reason: Automerged Doublepost
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  17. #15
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    Yeah but I was on a "promise"!

    I guess she better get over it - iPhone needed my help.
    Last edited by iGuy; 07-28-2009 at 08:42 AM.

  18. #16
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,234
    Thanks
    136
    Thanked 895 Times in 813 Posts

    You could have got your texts off before you restored - but I guess it's a bit late for that now.
    Can't you contact her any other way?
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  19. #17
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    I think I got the last text about "meeting for coffee" about 2 seconds before I deleted the wrong thing. Story of my life I guess!

    Oh well, at least my iPhone's up & running again, that's the main thing.

  20. #18
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,234
    Thanks
    136
    Thanked 895 Times in 813 Posts

    Even when my phone wasn't booting I could still get in with iphonebrowser so could have copied texts off.

    But you've got your iPhone
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  21. #19
    iPhone? More like MyPhone
    Join Date
    Sep 2007
    Posts
    277
    Thanks
    10
    Thanked 29 Times in 21 Posts

    You guys should use my script. Its allot faster than hand moving the files, backs them up to 1 tar file in once place. Run it in the root of the directory and it does all the sub directories

    The directories I have run it one are:
    /private/var/stash/Applications.whatever
    /private/var/mobile/Applications
    /System/Library

    Give it a try!

    the post is here:
    http://www.modmyi.com/forums/general...ml#post4882267

  22. #20
    My iPhone is a Part of Me iGuy's Avatar
    Join Date
    Feb 2008
    Location
    Hampshire, UK
    Posts
    539
    Thanks
    48
    Thanked 63 Times in 58 Posts

    And I've got OSX rather than Windows 9.

    But then you've probably got at least a coffee whereas I think I might have missed out. Hmmm!

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