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.
|