How To Remove and Backup Unneeded Language Packs

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

  1. JailbreakHelp Well-Known Member

    Member Since:
    Oct 28, 2011
    Message Count:
    5,668
    Device:
    4G iPod touch
    Works on friends iPad 2
  2. miguelpinheiro Member

    Member Since:
    Mar 7, 2009
    Message Count:
    44
    Device:
    4G iPod touch
    It doesn't matter which device it is ran on, as the filesystem is the same and all the script does is move the language files and .deb them. Have you tried the fixed version pandaa posted? It worked for me.
  3. Hammerhead New Member

    Member Since:
    Jan 24, 2012
    Message Count:
    6
    [MENTION=510866]pandaa[/MENTION]

    SO
    I did a clean install of iOS 5.0.1 to my iPhone 4, installed iFile and tested your Danish language package in Cydia again because i wanted the automated feature from you of leaving future languages out instead of having to remove through the Terminal as i did yesterday.

    As i previously mentioned there was no indication of witch file to use of the two in your source/repo but my logic tells me it was the one downloaded the least that contained the Danish package file. In the cydia install activity i saw i have got the right package: "com.myrepospace.pandaa.danishlanguagepacksremoval (1.0.2)..."

    I rebooted my iPhone. Cold start boot time is 40 sec (same as before removal pack was installed).

    I checked with iFile /var/stash/... but no sign of Language Packs/Language Packs.deb in here.

    I did a cold boot again (still 40 sec cold start) and the same result in iFile. I refreshed the iFile file list just to make sure and got "show invisible files" active but still no sign of any new .deb file...

    So i reinstalled the same package in Cydia - cold start 40 sec - but still no sign...

    I removed the package and your source/repo and reboted the phone.

    Then i installed Dolphing browser from AppStore and downloaded your zip file from here. I unzipped lproj_danish.zip and installed lproj_danish.deb with iFile and did a cold start again.

    Would you know... still no .deb file or language folder inside the stash folder.

    I then tried to reinstall in iFile and noted what the install log said
    quote:

    "
    Executing Command: /usr/bin/dpkg -i "/var/mobile/Documents/lproj_danish.deb"

    (Reading database ... 1354 files and directories currently installed)

    Preparing to replace
    com.myrepospace.danishlanguagepacksremoval 1.0.2
    (using .../Documents/lproj_danish.deb) ...
    Unpacking replacement
    com.myrepospace.danishlanguagepacksremoval ...
    launchctl: Error unloading:
    com.myrepospace.LanguagePacksRemoval
    Setting up
    com.myrepospace.pandaa.danishlanguagepacksremoval (1.0.2)
    ...
    launch_msg(): Socket is not connected

    Finished with Result Code: 0
    "

    Either there is some case sensitive errors when "danishlanguagepacksremoval" also is written "LanguagePacksRemoval" (??)

    ...or the ending message that say "Socket is not connected" tells that myrepospace suddenly is not online even when just downloaded from Cydia minutes ago...???


    This is what i have got i have you can enlighten me of what to do ;)
    Thanks fro you effort!

    PS: i found your LaunchDaemon witch reads:

    <?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.myrepospace.LanguagePacksRemoval</string>
    <key>LaunchOnlyOnce</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/bin/lproj</string>
    <string>start</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>Standard Error Path</key>
    <string>/dev/null</string>
    <key>UserName</key>
    <string>root</string>
    </dict>
    </plist>
  4. SkinnyMethods Member

    Member Since:
    Jan 22, 2012
    Message Count:
    34
    Device:
    iPhone 3GS (Black)
    After I removed my languages the device went waaaaay slower. 3 minutes to boot up and before doing this i had 290 score in geekbench now i have 210. I dont know what i did wrong.
  5. pandaa Banned

    Member Since:
    Nov 7, 2011
    Message Count:
    7,438
    Device:
    4G iPod touch
    Try a couple more reboots.
  6. SkinnyMethods Member

    Member Since:
    Jan 22, 2012
    Message Count:
    34
    Device:
    iPhone 3GS (Black)
    i did that, but i got stucked at the apple logo and did power+home buttons reset for it to work. i dont know what the hell went wrong. even when scrolling to pages it gets very laggy.

    Edit: I think my 3gs just hit the world record for the lowest score in geekbench(160). I will do a restore and try to delete them 1 by 1 with iFile, or don't delete them at all. It seems my iphone just shows me "the finger" when i try to get rid of those languages.
  7. pandaa Banned

    Member Since:
    Nov 7, 2011
    Message Count:
    7,438
    Device:
    4G iPod touch
    It wasn't caused by this tweak, there's no way it could be. :confused:
  8. SkinnyMethods Member

    Member Since:
    Jan 22, 2012
    Message Count:
    34
    Device:
    iPhone 3GS (Black)
    Oh no... youre tweak is good.. although when I'm downloading your repo it doesn't prompting me to restart. maybe thats the reason?:confused: . And it may seem like a retarded question, but how do you restart the device?by turning it off and then on?(maybe thats the reason too..)
  9. pandaa Banned

    Member Since:
    Nov 7, 2011
    Message Count:
    7,438
    Device:
    4G iPod touch
    Just click the restart button?
  10. SkinnyMethods Member

    Member Since:
    Jan 22, 2012
    Message Count:
    34
    Device:
    iPhone 3GS (Black)
    haven't actually installed sb settings. but its probably the same thing..