How To Remove and Backup Unneeded Language Packs

Discussion in 'iOS Jailbreak & Cydia' started by pandaa, Jan 18, 2012.

  1. pandaa Banned

    Member Since:
    Nov 7, 2011
    Message Count:
    7,438
    Device:
    4G iPod touch
    Language Pack Removal Package Summary:
    Another tutorial by pandaa! :)

    Previously, I had posted a way to delete unneeded language packs from off of your iDevice using Terminal commands. While this way is great, it was more complicated than necessary, and it required the user to use a Terminal, which is unnecessary. Also, I thought, what if the end user wanted to get those language packs back somewhere down the road? So, without further ado, I present to you a package, called Language Packs Removal.

    How it Works:
    Language Packs Removal finds every language pack on your iDevice (except for English), compiles them into a .deb archive, and stores this in /var/stash/Language Packs (folder is created automatically). It also runs off of a launch daemon, so that if any new language packs are added to your iDevice, they are added into this archive as well. This happens every time you boot your iDevice, and it requires no effort on the user's part!

    How to Use Language Pack Removal:
    Here are four options you can do, do not use more than one of them at a time.
    • Add my repo to Cydia (http://cydia.myrepospace.com/pandaa/), or (http://hatgeek.com/repo) if MyRepoSpace is down, and install "Language Packs Removal". It will prompt you to reboot, do so. After your reboot, you language packs will be backed up in /var/stash/Language Packs/Language Packs.deb, and they will be removed from the rest of your filesystem.
    • Download the .zip attached below. Unzip it, and place it into the filesystem on your device. Enter a Terminal. Use the following command after logging in as root and CD'ing to the directory containing 'lproj.deb':
      Code:
      dpkg -i lproj.deb
      After this, reboot your iDevice.
    • Download the .zip attached below. Unzip it, and place it into the filesystem on your device. Using iFile, tap on the .deb, and choose install. Then reboot your iDevice.
    • Download the .zip attached below. Unzip it, and place it /var/root/Media/Cydia/AutoInstall directory. Reboot your device twice.

    While this will save space and RAM, it will do even more so if you move the backed up .deb to a safe location off of your device. Do this at your own risk, because if you want these back and have lost it, no member can provide it for you.


    What If I Want My Language Packs Back?
    This is quite simple. Simply install the .deb archive stored in /var/stash/Language Packs using any of the four methods mentioned above, except this time, the .deb's name will be "Language Packs.deb".

    By the way, if you are curious on how this actually works, read this post.

    Thank you for supporting me on this project, any comments, feedback, and suggestions are welcome!!! :)

    Credits:
    • JailbreakHelp- Being my beta tester. ;)
    • tw23 and xXrkidXx- Answering some of my dumb questions.
    • Indestructible- Giving me the idea of running as a launch daemon.

    Attached Files:

    JailbreakHelp likes this.
  2. kona314 Banned

    Member Since:
    Feb 25, 2011
    Message Count:
    3,481
    Device:
    iPad 3
    Is this what you were making?? Awesome!!!
  3. pandaa Banned

    Member Since:
    Nov 7, 2011
    Message Count:
    7,438
    Device:
    4G iPod touch
    Yup, it took me wayyy too long though, it's simple BASH and yet it took me three days! D:
  4. kona314 Banned

    Member Since:
    Feb 25, 2011
    Message Count:
    3,481
    Device:
    iPad 3
    Hey, I can't do any of this (yet)
  5. ValleyForge Head of Community Development Team

    Member Since:
    May 25, 2011
    Message Count:
    10,807
    Device:
    5G iPod touch
    I'd love some package-making help from you sometime :p
  6. JailbreakHelp Well-Known Member

    Member Since:
    Oct 28, 2011
    Message Count:
    5,668
    Device:
    4G iPod touch
  7. JiPod Touch 4G Member

    Member Since:
    Jan 15, 2011
    Message Count:
    236
    Device:
    iPhone 5 (Black)
    I've read three guides (including this one) on how to remove language packs, but this one has to be the best. Well done!
  8. JailbreakHelp Well-Known Member

    Member Since:
    Oct 28, 2011
    Message Count:
    5,668
    Device:
    4G iPod touch
    I would like to say i gladly BETA'd it :D Before it said it was a Pre-Alpha BETA
  9. RileyBen Member

    Member Since:
    Mar 5, 2008
    Message Count:
    260
    Device:
    iPhone 4 (Black)
    How much space do the backed up language packs take up?
  10. JailbreakHelp Well-Known Member

    Member Since:
    Oct 28, 2011
    Message Count:
    5,668
    Device:
    4G iPod touch
    [MENTION=102621]RileyBen[/MENTION] It is very minimal