1. Download our Official Android App: Forums for Android!

Root How to remove extra language packs?

Discussion in 'Android Devices' started by BrianJB, Jan 12, 2012.

  1. BrianJB

    BrianJB Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    78
    Posts:
    503
    Joined:
    Jun 19, 2010

    Jun 19, 2010
    503
    88
    78
    Does anyone know how to remove certain language packs from a rom?
     

    Advertisement

  2. Rxpert83

    Rxpert83 Dr. Feelgood
    Rank:
     #12
    Points:
    1,953
    Posts:
    17,922
    Joined:
    Aug 30, 2011

    Aug 30, 2011
    17,922
    13,145
    1,953
    Male
    Graduate Student
    MN
    Yep, done it a few times myself.

    You need to use APKTool to decompile the .APK's in the ROM and then remove the language files manually. Then use APKTool to compile the new .APK and your good to go.
     
    BrianJB, ocnbrze and andygu3 like this.
  3. Rxpert83

    Rxpert83 Dr. Feelgood
    Rank:
     #12
    Points:
    1,953
    Posts:
    17,922
    Joined:
    Aug 30, 2011

    Aug 30, 2011
    17,922
    13,145
    1,953
    Male
    Graduate Student
    MN
    You can always PM me if you run into a snag
     
    BrianJB, ocnbrze and andygu3 like this.
  4. By language files,do u mean those values folders u see when decompiling framework. Like "values-es"??

    Cuz I have tried removing all but English but once I try to compile after removing them,I get error,check log.

    ??? Any idea why?
     
  5. Rxpert83

    Rxpert83 Dr. Feelgood
    Rank:
     #12
    Points:
    1,953
    Posts:
    17,922
    Joined:
    Aug 30, 2011

    Aug 30, 2011
    17,922
    13,145
    1,953
    Male
    Graduate Student
    MN
    Yes, the values folders.

    You generally dont wanna go playing around in the framework itself. The language files that need to be removed are in the applications themselves.

    For example, the choices of languages during setup are within the setup.apk file itself.
     
    ocnbrze, mikekelso421 and andygu3 like this.
  6. So what about all the languages that are in the values inside framework? ? There's no way to remove them too? I've tried a couple different ways with no luck.
     
  7. Rxpert83

    Rxpert83 Dr. Feelgood
    Rank:
     #12
    Points:
    1,953
    Posts:
    17,922
    Joined:
    Aug 30, 2011

    Aug 30, 2011
    17,922
    13,145
    1,953
    Male
    Graduate Student
    MN
    I'm building my ROM now, after I flash it I'll play around in the framework to see what can be done.


    EDIT
    Theres LOTS of stuff to remove in the framework-res.apk, but upon removal I get a bunch of errors when trying to recompile.

    Whatevers in there is past my knowledge.
     
  8. a290

    a290 Lurker
    Rank:
    None
    Points:
    6
    Posts:
    5
    Joined:
    Jan 29, 2012

    Jan 29, 2012
    5
    1
    6
    anyone know ?
     
Tags:

Share This Page

Loading...