+ Reply
Page 11 of 20 FirstFirst ... 910111213 ... LastLast
Results 201 to 220 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;
Japanese language is not needed for emoji - it's only needed if you speak Japanese....
...
  1. #201
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,290
    Thanks
    139
    Thanked 917 Times in 832 Posts

    Japanese language is not needed for emoji - it's only needed if you speak Japanese....
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  2. #202
    Green Apple notovich's Avatar
    Join Date
    Nov 2007
    Location
    London
    Posts
    46
    Thanks
    73
    Thanked 1 Time in 1 Post
    when i select keyboard it alowe to svich to yes but no keyboard apear, is it because of languages?

  3. #203
    My iPhone is a Part of Me ekidd's Avatar
    Join Date
    Nov 2007
    Posts
    564
    Thanks
    9
    Thanked 40 Times in 34 Posts

    Quote Originally Posted by notovich View Post
    when i select keyboard it alowe to svich to yes but no keyboard apear, is it because of languages?
    Im assuming your doing the iaccess keyboard mod? If you are, then the language packs have nothing to do with the mod.

  4. #204
    Green Apple notovich's Avatar
    Join Date
    Nov 2007
    Location
    London
    Posts
    46
    Thanks
    73
    Thanked 1 Time in 1 Post
    OK, just to clarify, I've instaled custom with only Engl and Russ (some one removed all language packs) so now in Settings-General-keyboard-Int. keyboards i see all languages, but unable to activate any, but only ENG&RUS, but i need JAP/Emoji. thank you in advance.

  5. #205
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    28
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Ok, what code do I input into MobileTerminal to remove EVERY language pack (expect english, or course) from my iphone? I'm on a 2G, running 3.1.2, btw.

  6. #206
    iPhone? More like MyPhone duceduc's Avatar
    Join Date
    Sep 2007
    Location
    Saitama, Japan
    Posts
    241
    Thanks
    2
    Thanked 10 Times in 9 Posts

    Quote Originally Posted by malcx View Post
    Ok, what code do I input into MobileTerminal to remove EVERY language pack (expect english, or course) from my iphone? I'm on a 2G, running 3.1.2, btw.
    This code works for me using winscp terminal(leave out the quotes) . It leaves english and japanese.

    "find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -exec rm -rf {} \;"

  7. #207
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    28
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by duceduc View Post
    This code works for me using winscp terminal(leave out the quotes) . It leaves english and japanese.

    "find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -exec rm -rf {} ;"
    I got 2 questions:

    1) Does this code include the quotes in the beginning and end of it?

    2) How can I copy and paste in MobileTerminal?

    Quote Originally Posted by duceduc View Post
    This code works for me using winscp terminal(leave out the quotes) . It leaves english and japanese.

    "find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -exec rm -rf {} ;"
    Your code didn't work at all. It didn't remove any language pack files at all. I get an error message saying something like: "... spanish (or french) .iproj no such file or directory exists..."
    Last edited by malcx; 11-25-2009 at 01:16 PM. Reason: Automerged Doublepost

  8. #208
    iPhone? More like MyPhone duceduc's Avatar
    Join Date
    Sep 2007
    Location
    Saitama, Japan
    Posts
    241
    Thanks
    2
    Thanked 10 Times in 9 Posts

    Sorry, don't know what to tell you. When I started doing this for the first time, I had to find the correct code myself. It seems some codes that work for others doesn't work for me. After a couple of tries, I found this to work.

    I also noticed when I use winscp to run the code, I cannot do other things on my desktop or I get a timeout error. It takes about a minutes and after that it gives you a list of files that is deleted.

    The error you see was it during the script in terminal? Have you rebooted the phone and verify the folders have been deleted?

  9. #209
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    21
    Thanks
    3
    Thanked 0 Times in 0 Posts

    I believe the first '.' means find from here down i.e. from the current directory and subdirectories so where do you need to be to run it? Is there any harm in changing this to '/' to find ALL occurrences from root down?

    Quote Originally Posted by duceduc View Post
    This code works for me using winscp terminal(leave out the quotes) . It leaves english and japanese.

    "find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ja*.lproj" -exec rm -rf {} ;"

  10. #210
    My iPhone is a Part of Me hollow0's Avatar
    Join Date
    Jun 2008
    Location
    Tampa, FL
    Posts
    671
    Thanks
    49
    Thanked 49 Times in 39 Posts

    Thanks for these great instructions i'm going to try it soon. I must first make a backup!

  11. #211
    Green Apple
    Join Date
    Feb 2009
    Posts
    96
    Thanks
    1
    Thanked 7 Times in 3 Posts

    Here are the complete instructions:

    On a PC:
    Type in "
    for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ru*.lproj" -exec echo {} \; | sed -e 's/\.\///'`; do rm -vr ./$file ; done
    "
    into WinSCP, and you're done (this will leave english and russian languages, change the "ru" to whatever language you want or just delete " -not -iname "ru*.lproj" " if you only want English)

    For a Mac:
    This was a bit trickier, Cyberduck wasn't being an intelligent program.

    You ssh into your iphone, then type
    "
    cd /
    "
    this will bring you to the root directory

    then
    "
    for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ru*.lproj" -exec echo {} \; | sed -e 's/\.\///'`; do rm -vr ./$file ;
    "
    this will initiate the search and deletion, but nothing is going to be changing if you look into the directories while it's going on. Just wait it out for a good hour or so so that it finds everything.

    It should look like this:

    Ruslan-iPhone:~ root# cd /
    Ruslan-iPhone:/ root# cd Applications
    Ruslan-iPhone:/Applications root# for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ru*.lproj" -exec echo {} \; | sed -e 's/\.\///'`; do rm -vr ./$file ;
    >

    at this point you wait for an hour or so to let it do its business

    after an hour you type "done" into the sub command

    Ruslan-iPhone:/Applications root# for file in `find . -type d -name "*.lproj" -not -iname "en*.lproj" -not -iname "ru*.lproj" -exec echo {} \; | sed -e 's/\.\///'`; do rm -vr ./$file ;
    > done
    removed `./AppStore.app/Dutch.lproj/Localizable.strings'
    removed directory: `./AppStore.app/Dutch.lproj'
    removed `./AppStore.app/French.lproj/Localizable.strings'
    removed directory: `./AppStore.app/French.lproj'
    removed `./AppStore.app/German.lproj/Localizable.strings'
    removed directory: `./AppStore.app/German.lproj'
    ....... (the rest of the directories)

    I hope this cleared up a lot of confusion

  12. #212
    Green Apple fubaya's Avatar
    Join Date
    Nov 2009
    Posts
    55
    Thanks
    0
    Thanked 22 Times in 18 Posts

    You could cut the execution time down by skipping all the files and deleting only the directories by piping through grep -E proj$, then instead of the for loop, pipe the find output to while read file; do rm -rf "$file"; done and it should catch all the filenames with spaces. That is basically what I did upthread and it only took a couple minutes to find and remove everything.

  13. #213
    Green Apple Dorkington's Avatar
    Join Date
    Jul 2009
    Location
    Washington, DC
    Posts
    91
    Thanks
    5
    Thanked 0 Times in 0 Posts

    I went through and started deleting manually since I had a problem with the script on the first page.

    I am going to give undertow's script a shot tonight and see how that goes.

    Just going through manually a few of the things definitely increased the speed and available ram a bit (like 10mb more or so). So thank you for the tips.

    I did the Launch Daemon's last night as well.

    And am considering the swap space, but it seems most have problems with it?

  14. #214
    What's Jailbreak?
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help
    Im a newbie at this. can someone help me out on the first 3 steps. what do i need to? as in cd means? please help. i would appreciate it.

  15. #215
    The King Melech518's Avatar
    Join Date
    Feb 2009
    Location
    NYC
    Posts
    4,704
    Thanks
    107
    Thanked 1,140 Times in 586 Posts

    cd is the command "change directory" I call it copy to directory
    Last edited by Melech518; 12-02-2009 at 06:50 PM.
    If I helped you, hit the button or be Banned!

    Download Macbook 3.1 for Winterboard-Now LIVE on Cydia-Macbook Final, Macbook Final Widget,Macbook SBSettings
    Need Hardware Repair Support?: PM ME

  16. #216
    Green Apple
    Join Date
    Feb 2009
    Posts
    96
    Thanks
    1
    Thanked 7 Times in 3 Posts

    I'm not sure what it stands for but it's definitely not "copy directory," it tells the program to go to a certain directory.

    Say I'm in the first directory, root (/)
    I'm then at /
    Let's say there are five directories. If they are a, b,c,d, and e, and I type in "cd a"
    I'l be in /a
    then there are three, g,h,c in that directory (folder)
    If I type "cd h", it takes me to
    /a/h
    It's basically a step by step "go to directory"
    To find out what directories (folders) are available, you can type in "dir"

    @psi4pwr:
    What system are you using? Mac or PC?
    Last edited by ruslan120; 12-02-2009 at 06:47 PM. Reason: Automerged Doublepost

  17. #217
    What's Jailbreak?
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    im on a pc. so do i do that in winscp or in the terminal is my main confusion. or do i do it all in the terminal. i found the folder on the first step just in winscp. do i use that as commands in terminal or what?

    i need like a video demo.lol do i run basically all the steps in terminal or where do i start first step? first time using ssh. always use iphonebrowser
    Last edited by psi4pwr; 12-02-2009 at 07:14 PM. Reason: Automerged Doublepost

  18. #218
    iPhoneaholic Ichwohneinloche's Avatar
    Join Date
    Feb 2009
    Location
    La
    Posts
    469
    Thanks
    7
    Thanked 18 Times in 18 Posts

    OT: I was thinking about this earlier when doing it to my friends 3gs and I still don't see how this decreases ram usage. I can understand quicker starting of a program because there are less files to load, but not the increase in ram. Except for the launch daemons which from what I understand are like processes on a windows machine and run in the background? Correct if I'm wrong. Sorry for going off topic but it was bugging the crap out of me lol.

  19. #219
    Green Apple fubaya's Avatar
    Join Date
    Nov 2009
    Posts
    55
    Thanks
    0
    Thanked 22 Times in 18 Posts

    I spent a couple hours writing a script that is interactive, hopefully newbie friendly, verbose and hopefully makes it hard to delete the wrong things. Would a couple people volunteer to test it? I've tested it on my computer with dummy lproj directories and tested it on my phone. Seems to work great, and like I said, it makes it hard to delete the wrong things.

    I tried to use bash builtin commands or basic non-builtins so I think it should run on any jailbroken phone. But I'm not entirely sure, so it would be nice to make sure it works for someone who has a fresh jailbreak.

    So, volunteers, PM me and I will PM you the script. I use Linux so I have no clue how to use it with winscp, cyberduck or any of those tools, but it will run on the phone with MobileTerminal and should run by sshing in to the phone. If you can figure out how to get it on the phone, make it executable and run it, the script will do the rest. Then, as long as everything works, I'll post it here in a day or two.

  20. #220
    What's Jailbreak?
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hello People can anyone please upload the whole /System/Library/PrivateFrameworks/AddressBook.framework I deleted it . Please Please.
    It would be very help ful.
    Last edited by Dayanan; 12-03-2009 at 10:34 AM.

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