Page 12 of 20 FirstFirst ... 21011121314 ... LastLast
Results 221 to 240 of 384

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


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

  1. #221
    Just do a restore - it will be far less painful.
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  2. #222
    Quote Originally Posted by gadgetguy View Post
    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?
    the problem with this script is you will delete all language packs called english.lproj which are inportant, too arent they?
    If i helped, don't be afraid to hit the thanks button. It won't bite!!!!

    How may I hack you?

  3. #223
    No volunteers. Oh well, I'm pretty sure this is foolproof. Use it if you want, don't if you don't. Don't knock my code, I tried to keep it simple, restricted to basic tools, and verbose.

    Tech support is limited to script problems, I can't help you get it on your phone or execute it.

    EDIT: hang on, this board screws up anything posted in code tags like "$var" and screwed up some of the variables in my script. I posted the script here
    Last edited by fubaya; 12-03-2009 at 09:50 PM.

  4. The Following User Says Thank You to fubaya For This Useful Post:

    geo411m (01-10-2010)

  5. #224
    Just wanted to say I ran the "remove everything thats not english" script, and it worked amazingly. In this post:

    Quote Originally Posted by undert0w View Post
    I can't for the life of me figure out what some people are deleting that is causing the endless reboot loop.. what commands are you running? I found the ones posted earlier to be a bit cludgy and redundant.

    I use the following:
    Code:
    find / -type d -name "*.lproj" -not -iname "en*.lproj" -exec rm -rf {} ;
    Now, keep in mind the above command will run in your root ('/'), so your ENTIRE PHONE will be affected. So far *I* personally have not experienced any adverse effects, however, your mileage may vary.

    If you wish to run it in a specific directory, simply replace ('/') with the absolute pathname.
    Thank you very much!

    It feels like a new phone, and I can run Pandora in the background during normal use and not have it crash. And Navigon is much more stable now.

  6. #225
    Quote Originally Posted by Dayanan View Post
    Hello People can anyone please upload the whole /System/Library/PrivateFrameworks/AddressBook.framework I deleted it . Please Please.
    It would be very help ful.
    Here you go!
    Attached Files Attached Files
    If i helped, don't be afraid to hit the thanks button. It won't bite!!!!

    How may I hack you?

  7. #226
    it might be a little different; i have an ipod touch 2g; you might not have the same model. try it anyways its your best bet other than restoring though
    If i helped, don't be afraid to hit the thanks button. It won't bite!!!!

    How may I hack you?

  8. #227
    Question... can this stuff be run directly from mobile terminal?

  9. #228
    Retired Moderator stlcaddie's Avatar
    Join Date
    Jul 2007
    Location
    Saint Louis, MO
    Posts
    1,088
    Thanks
    140
    Thanked 128 Times in 90 Posts

    Yes, just did it yesturday and it really helped. Just make sure u turn off autolock.

  10. #229
    Quote Originally Posted by stlcaddie View Post
    Yes, just did it yesturday and it really helped. Just make sure u turn off autolock.
    Which script did you use... any problems yet?

  11. #230
    Can someone make a .deb file to much work lol

  12. #231
    Quote Originally Posted by stlcaddie View Post
    Yes, just did it yesturday and it really helped. Just make sure u turn off autolock.
    Hmm, I got
    Code:
    find: missing argument to '-exec'
    When running in mobile terminal

    This is the process I did:

    Code:
    iPhone:~ mobile$ login root
    Password: (entered password)
    iPhone:~ root# cd /
    iPhone:/ root# find / -type d -name "*.lproj" -not -iname "en*.lproj" -exec rm -rf {} ;
    find: missing argument to '-exec'
    Any suggestions?

    Also, is there any way to copy/paste in Terminal? I don't get the normal pop up boxes...

    Edit:

    Ok, it appears there needs to be a back slash '\' in this code on Mobile Terminal, before the ';'.

    Code:
    find / -type d -name "*.lproj" -not -iname "en*.lproj" -exec rm -rf {} ;
    But the VBB 'code' doesn't seem to like it

    ---

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

    ---
    Last edited by Dorkington; 12-09-2009 at 07:49 AM. Reason: Automerged Doublepost

  13. #232
    Quote Originally Posted by Dorkington View Post
    Hmm, I got
    Code:
    find: missing argument to '-exec'
    When running in mobile terminal

    This is the process I did:

    Code:
    iPhone:~ mobile$ login root
    Password: (entered password)
    iPhone:~ root# cd /
    iPhone:/ root# find / -type d -name "*.lproj" -not -iname "en*.lproj" -exec rm -rf {} ;
    find: missing argument to '-exec'
    Any suggestions?

    Also, is there any way to copy/paste in Terminal? I don't get the normal pop up boxes...

    Edit:

    Ok, it appears there needs to be a back slash '\' in this code on Mobile Terminal, before the ';'.

    Code:
    find / -type d -name "*.lproj" -not -iname "en*.lproj" -exec rm -rf {} ;
    But the VBB 'code' doesn't seem to like it

    ---

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

    ---


    is it supped to say "no such file found" for each fil it finds during the process?

  14. #233
    Guys guys guys... just follow these instructions that I posted earlier:
    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 half an 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)

  15. #234
    Quote Originally Posted by ruslan120 View Post
    Guys guys guys... just follow these instructions that I posted earlier:
    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 ./ ; 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 ./ ;
    "
    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 half an 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 ./ ;
    >

    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 ./ ;
    > 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)
    this guide is really confusing for newbies like me, as u said ( Type in " for file in `find ) type in ? type in where ? i'm using winscp and have no idea what u mean lol. any help ? Anyone confirm this work on iphone 2g 3.0 os ?
    Last edited by x3x; 12-14-2009 at 08:20 PM.

  16. #235
    Launch terminal by going to Commands > Open Terminal
    Copy and paste the following code into the terminal:


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

    Wait about ten minutes, and you're done.

  17. #236
    i cant run the script in terminal , winscp said connection has been u unexpectedly closed , server sent command exit status 2 ?

    i did this find / -type d -name "*.lproj" -not -iname "en*.lproj" -exec rm -rf {} \; and it said permission denied ?
    Last edited by x3x; 12-15-2009 at 11:34 AM. Reason: Automerged Doublepost

  18. #237
    When you start it does it give you a pop saying something along the lines of "Host unresponsive for more than 15 seconds?" Don't click on anything after you initiate the process, it should finish on its own, and don't click on this popup, it should all finish on its own.

  19. #238
    Quote Originally Posted by ruslan120 View Post
    When you start it does it give you a pop saying something along the lines of "Host unresponsive for more than 15 seconds?" Don't click on anything after you initiate the process, it should finish on its own, and don't click on this popup, it should all finish on its own.


    that is what i got

  20. #239
    so ALL i need is just english.lproj? i can delete all the other .lproj's?

  21. #240
    I ran undertow's script and now have the following problems:

    -no date on calendar icon
    -"AWAY_LOCK..." on my lock screen slider screwed up text on all other slider texts

    I have iPhone 3G 3.1.2...maybe not a good idea for those folks?

Page 12 of 20 FirstFirst ... 21011121314 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •