Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729
LG Esteem(stock)
LG Esteem- running #2
Carrier: Metro
Thanks: 944
Thanked 2,668 Times in 1,457 Posts
[MOD/GUIDE] How to change the system backgrounds
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)
<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.
Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729
LG Esteem(stock)
LG Esteem- running #2
Carrier: Metro
Thanks: 944
Thanked 2,668 Times in 1,457 Posts
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.
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)
<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.
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