[MOD/GUIDE] How to change the system backgrounds


  1. ShinySide

    ShinySide Disabled

    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

    Are you over locked? Lol
  3. blaxican25

    blaxican25 Well-Known Member

    thanks for sharing mr shinyside .
  4. ShinySide

    ShinySide Disabled

  5. ShinySide

    ShinySide Disabled

    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

    holy shit dude this is a great find!! just when i sold my esteem too :(
  7. mrpnut

    mrpnut THE WORLD IS YOURS Guide

    I see ur rolling shinyside nice work bud...
  8. Fuzzy13

    Fuzzy13 Well-Known Member

    Im getting force close on settings, rom toolbox, etc.....

    What am I missing?
  9. Fuzzy13

    Fuzzy13 Well-Known Member

    Never mind. Like i've said. 9 times out of 10 its user error. SMH
  10. horsecharles

    horsecharles Well-Known Member

    This oughta be a stickie.
  11. Killah1994

    Killah1994 Well-Known Member

    wait nvm i found another way
  12. Dr0idWhisperer

    Dr0idWhisperer Well-Known Member

    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

    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]
  14. RomWiz

    RomWiz Member

    Nothing??
Loading...

Share This Page