Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,563 Members 44,969 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][MOD] How to change settings background image on Jellybean 4.2.x

Tip us?
 
nathanjp
Old
(Last edited by nathanjp; 17th January 2014 at 01:18 PM.) Reason: Thread Updated. Try it now
#1  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Default [GUIDE][MOD] How to change settings background image on Jellybean 4.2.x

This is how you can change all the system backgrounds plain colors (settings, contacts, etc) to an actual image instead of a color

The how to:

1. Decompile the framework-res.apk using Android Multitool

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

change:
Code:
<item name="colorBackground">@color/background_dark</item>

to this
Code:
<item name="colorBackground">@color/transparent</item>

then change:
Code:
<item name="windowBackground">@drawable/screen_background_dark</item>

to this one to use a png for the background:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>

3. Locate <style name="Theme.Black" parent="@style/Theme">

and change this line:
Code:
<item name="colorBackground">@color/black</item>

to this:
Code:
<item name="colorBackground">@color/transparent</item>

then change:
Code:
<item name="windowBackground">@color/black</item>

to this for the png image:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>

4. Use a 512x512 png , name it "backgroundftw" and place it in drawable-nodpi folder

5. Recompile the framework-res.apk and replace it with the old framework-res.apk in system/framework

6. Enjoy


Things required for this tutorial:
1. Android Miltitool to decompile and replace image
2. notepad++ for the coding
3. Your brain
4. You have to know where to obtain the framework-res.apk from on your phone. Just go to system/framework using root explorer
5. Make a backup of ur ROM or a flashable of your old framework-res.apk just incase if you make a mistake while coding. So that you dont encounter a bootloop
6. Find a video on youtube to learn how to compile and decompile your framework-res.apk

Difficulty for this tutorial: medium
The Following 13 Users Say Thank You to nathanjp For This Useful Post: [ Click to Expand ]
 
nathanjp
Old
#2  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
For images CLICK HERE
The Following User Says Thank You to nathanjp For This Useful Post: [ Click to Expand ]
 
Avenger4droid
Old
#3  
Avenger4droid's Avatar
Senior Member
Thanks Meter 490
Posts: 426
Join Date: Aug 2013
Location: Ahmedabad
good but wrong way bro......
ur steps are correct but method is wrong....


u cannot obtain styles.xml or find value folder with 7 zip....
u need apktool for that....

n just adding images or edited styles.xml ...to framework-res.apk
bootloops n fcs.....


i
 
nathanjp
Old
#4  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Quote:
Originally Posted by Avenger4droid View Post
good but wrong way bro......
ur steps are correct but method is wrong....


u cannot obtain styles.xml or find value folder with 7 zip....
u need apktool for that....

n just adding images or edited styles.xml ...to framework-res.apk
bootloops n fcs.....


i
Will update the thread tomorrow
 
gaurav247star
Old
#5  
gaurav247star's Avatar
Senior Member
Thanks Meter 310
Posts: 930
Join Date: Jun 2013
Location: Android.. Droid

 
DONATE TO ME
Quote:
Originally Posted by nathanjp View Post
will update the thread tomorrow
update the thread then i will try for sure don't want bootloop
"HIT THANKS"
'Be Bold or Italic. Never Regular'
 
happy789
Old
#6  
Junior Member
Thanks Meter 2
Posts: 25
Join Date: Feb 2013
Location: mumbai
Thumbs up upload video bro

awesome workk bro but if u upload a video step by step then its very useful to every one or if not possible then plzz upload a image bro
 
nathanjp
Old
#7  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Thread updated try it now
 
nathanjp
Old
#8  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Quote:
Originally Posted by gaurav247star View Post
update the thread then i will try for sure don't want bootloop
Bro i updated the thread a couple days ago. Try it now
 
djrkb24
Old
#9  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Jan 2014
Thumbs up great work and helpful guide

Quote:
Originally Posted by nathanjp View Post
This is how you can change all the system backgrounds plain colors (settings, contacts, etc) to an actual image instead of a color

The how to:

1. Decompile the framework-res.apk using Android Multitool

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

change:
Code:
<item name="colorBackground">@color/background_dark</item>

to this
Code:
<item name="colorBackground">@color/transparent</item>

then change:
Code:
<item name="windowBackground">@drawable/screen_background_dark</item>

to this one to use a png for the background:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>

3. Locate <style name="Theme.Black" parent="@style/Theme">

and change this line:
Code:
<item name="colorBackground">@color/black</item>

to this:
Code:
<item name="colorBackground">@color/transparent</item>

then change:
Code:
<item name="windowBackground">@color/black</item>

to this for the png image:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>

4. Use a 512x512 png , name it "backgroundftw" and place it in drawable-nodpi folder

5. Recompile the framework-res.apk and replace it with the old framework-res.apk in system/framework

6. Enjoy


Things required for this tutorial:
1. Android Miltitool to decompile and replace image
2. notepad++ for the coding
3. Your brain
4. You have to know where to obtain the framework-res.apk from on your phone. Just go to system/framework using root explorer
5. Make a backup of ur ROM or a flashable of your old framework-res.apk just incase if you make a mistake while coding. So that you dont encounter a bootloop
6. Find a video on youtube to learn how to compile and decompile your framework-res.apk

Difficulty for this tutorial: medium


Good work keep it up
 
nathanjp
Old
#10  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Quote:
Originally Posted by djrkb24 View Post
Good work keep it up
Have u tried the tutorial??

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes