1. Check out our app, Forums for Android! Download and leave feedback here!

Root [MOD/GUIDE] How to change the system backgrounds

Discussion in 'Android Devices' started by ShinySide, Jul 17, 2012.

  1. ShinySide

    ShinySide Well-Known Member
    Thread Starter
    313

    Jul 30, 2011
    5,504
    2,680
    313
    Palm Bay, Florida
    This is how you can change all the system backgrounds plain colors (settings, contacts, etc) to an actual image instead of a color (I'll add the lines to change the colors too ;) )

    ATTENTION This changes the background in so many places I havent even found them all. It also changes the background in Root Explorer and other non system apps (Setcpu,ADW settings, Metro web settings, media scanner,Google maps settings, possibly MMS I dont know mines themed and blacked out, any cut, Antutu settings,Lucky P, SD maid, Youtube and god knows what else Ahaha Those are just apps I have)

    First preview:

    http://www.youtube.com/watch?v=ePP4jeqfo8I&feature=plcp





    The how to:

    1. Decompile the framework-res.apk

    2. navigate to the res>layouts>styles.xml and with notepad++ locate <style name="Theme"> and edit these lines:

    change:
    Code (Text):
    1. <item name="colorBackground">@color/background_dark</item>
    to this

    Code (Text):
    1. <item name="colorBackground">@color/transparent</item>
    then change:

    Code (Text):
    1. <item name="windowBackground">@drawable/screen_background_dark</item>
    to this one to use a png for the background:

    Code (Text):
    1. <item name="windowBackground">@drawable/backgroundftw</item>
    or to this if you want to change the color:

    Code (Text):
    1. <item name="windowBackground">@color/name of the color</item>
    3. Locate <style name="Theme.Black" parent="@style/Theme">

    and change this line:

    Code (Text):
    1. <item name="colorBackground">@color/black</item>
    to this:

    Code (Text):
    1. <item name="colorBackground">@color/transparent</item>
    then change:

    Code (Text):
    1. <item name="windowBackground">@color/black</item>
    with this if you are going to use a png:

    Code (Text):
    1. <item name="windowBackground">@drawable/backgroundftw</item>
    or to this if you want to change the color:

    Code (Text):
    1. <item name="windowBackground">@color/the name of the color</item>
    4a. If you are using a png, Create a 480x800 png , name it "backgroundftw" and place it in drawable-hdpi folder

    4b. If you are using a color, you need to look in the res>values>colors xml to see if the color you are wanting to use is defined. If its not defined, just copy any of the lines in there and add it. So if you wanted hot pink you would copy an existing line in the colors xml and change it.

    Example:
    existing line: <color name="white">#ffffffff</color>

    copy it and make your change to hot pink:
    <color name="pink">#ff00ff</color>


    5. Recompile and enjoy. :)
     

    Advertisement

  2. OptiC-ShotS

    OptiC-ShotS Well-Known Member
    93

    Oct 20, 2011
    576
    114
    93
    none :/ but i model!
    Miami Gardens, Florida
    Are you over locked? Lol
     
  3. blaxican25

    blaxican25 Well-Known Member
    213

    Mar 23, 2011
    1,520
    730
    213
    Another planet Far Away
    thanks for sharing mr shinyside .
     
  4. ShinySide

    ShinySide Well-Known Member
    Thread Starter
    313

    Jul 30, 2011
    5,504
    2,680
    313
    Palm Bay, Florida
    Am I over clocked? Nope.
     
  5. ShinySide

    ShinySide Well-Known Member
    Thread Starter
    313

    Jul 30, 2011
    5,504
    2,680
    313
    Palm Bay, Florida
    Added an ATTENTION at the top of the OP with a list of apps I have that this changed backgrounds in. This changes so many back grounds and not only system backgrounds but back grounds in apps.
     
  6. p-bOt

    p-bOt Well-Known Member
    113

    Jul 18, 2011
    908
    262
    113
    holy shit dude this is a great find!! just when i sold my esteem too :(
     
  7. mrpnut

    mrpnut THE WORLD IS YOURS
    413

    Jun 1, 2011
    3,525
    1,783
    413
    Male
    trying to concur the world
    CALI
    I see ur rolling shinyside nice work bud...
     
  8. Fuzzy13

    Fuzzy13 Well-Known Member
    313

    Dec 8, 2011
    7,290
    2,503
    313
    Engineer
    A-T-L-A-N-T-A
    Im getting force close on settings, rom toolbox, etc.....

    What am I missing?
     
  9. Fuzzy13

    Fuzzy13 Well-Known Member
    313

    Dec 8, 2011
    7,290
    2,503
    313
    Engineer
    A-T-L-A-N-T-A
    Never mind. Like i've said. 9 times out of 10 its user error. SMH
     
  10. horsecharles

    horsecharles Well-Known Member
    173

    Dec 14, 2010
    1,189
    309
    173
    NYC
    This oughta be a stickie.
     
  11. Killah1994

    Killah1994 Well-Known Member
    163

    Aug 15, 2012
    1,208
    275
    163
    Male
    wait nvm i found another way
     
  12. Dr0idWhisperer

    Dr0idWhisperer Well-Known Member
    68

    Apr 14, 2012
    289
    168
    68
    Central Florida
    Backgroundftw? LoL! Nice job and good work! This sounds like a great excuse for LD to update again! LoL just kidding...
    :)
     
  13. RomWiz

    RomWiz Member
    16

    Little problem when compiling

    [HIGH]C:\Users\Daniel\apktool\izs>apktool b framework-res framework-res.apk
    W: Could not find sources
    I: Checking whether resources has changed...
    I: Building resources...
    C:\Users\Daniel\apktool\izs\framework-res\res\values\styles.xml:81: error: Resou
    rce entry Theme already has bag item colorBackground.
    C:\Users\Daniel\apktool\izs\framework-res\res\values\styles.xml:46: Originally d
    efined here.
    Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
    ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
    sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Daniel\AppData\Local\Tem
    p\APKTOOL4525109202112720381.tmp, -x, -S, C:\Users\Daniel\apktool\izs\framework-
    res\res, -M, C:\Users\Daniel\apktool\izs\framework-res\AndroidManifest.xml]
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357)
    at brut.androlib.Androlib.buildResources(Androlib.java:282)
    at brut.androlib.Androlib.build(Androlib.java:205)
    at brut.androlib.Androlib.build(Androlib.java:176)
    at brut.apktool.Main.cmdBuild(Main.java:218)
    at brut.apktool.Main.main(Main.java:74)
    Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
    exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:
    \Users\Daniel\AppData\Local\Temp\APKTOOL4525109202112720381.tmp, -x, -S, C:\User
    s\Daniel\apktool\izs\framework-res\res, -M, C:\Users\Daniel\apktool\izs\framewor
    k-res\AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
    a:349)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)
    ... 5 more
    Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
    k-version, 15, --target-sdk-version, 15, -F, C:\Users\Daniel\AppData\Local\Temp\
    APKTOOL4525109202112720381.tmp, -x, -S, C:\Users\Daniel\apktool\izs\framework-re
    s\res, -M, C:\Users\Daniel\apktool\izs\framework-res\AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
    a:347)
    ... 6 more
    [/HIGH]
     
Tags:

Share This Page

Loading...