Update Overload: SuperSU Heavily Updated

There are apps and apps out there. Very few can reach the level of popularity required to stay at … more

Lollipop Leak Available for the Sprint Galaxy S5

Since the Android 5.0Lollipop’s official release not too long ago, we’ve seen … more

CPU Spy Gets an Android Lollipop Makeover

At some point in the distant past, you probably heard of CPU Spy for Android by XDARetired … more

Amazon Fire TV Stick vs Chromecast – XDA TV

There is no doubt that Amazon is a huge player in many markets, and they want to be a huge … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE][MOD] How to add custom banner in Settings "About Device"

OP nathanjp

13th February 2014, 03:22 PM   |  #1  
nathanjp's Avatar
OP Senior Member
Karachi
Thanks Meter: 214
 
336 posts
Join Date:Joined: Feb 2013
More


1. Download Settings Files.zip

2. Decompile your Settings.apk

3. Extract custombanner.xml of Settings Files.zip and place it in res/layout in decompiled Settings.apk

4. Open /res/xml/device_info_settings.xml

You'll see several <Preference android:title tags

5.Add this just a line above the first Preference tag:

Code:
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />

6. Save the file and exit

7. Now make a .png banner for your ROM or find one on the internet. It has to be a .png
Resize your banner to 480x300 and rename it to custombanner.png

8. Place the custombanner.png in res/drawable

9. Recompile Settings.apk and Replace the settings.apk in your ROM

10. Enjoy
Last edited by nathanjp; 20th March 2014 at 09:14 AM.
The Following 6 Users Say Thank You to nathanjp For This Useful Post: [ View ]
13th February 2014, 03:23 PM   |  #2  
nathanjp's Avatar
OP Senior Member
Karachi
Thanks Meter: 214
 
336 posts
Join Date:Joined: Feb 2013
More
Reserved for Screenshots
Screenshots
Attached Thumbnails
Click image for larger version

Name:	Yj4Vi4Y.png
Views:	591
Size:	175.9 KB
ID:	2577161   Click image for larger version

Name:	Screenshot_2013_12_10_18_42_49.jpg
Views:	532
Size:	30.0 KB
ID:	2577162  
Last edited by nathanjp; 13th February 2014 at 03:41 PM.
11th March 2014, 10:52 AM   |  #3  
Senior Member
Thanks Meter: 11
 
112 posts
Join Date:Joined: Dec 2013
Hi ...... Can you add theme option in settings ?????
17th March 2014, 10:06 AM   |  #4  
Senior Member
Flag Tanjungpandan
Thanks Meter: 58
 
113 posts
Join Date:Joined: Apr 2013
More
Quote:
Originally Posted by nathanjp



1. Download Settings Files.zip

2. Decompile your Settings.apk

3. Extract custombanner.xml of Settings Files.zip and place it in res/layout in decompiled Settings.apk

4. Open /res/xml/device_info_settings.xml

You'll see several <Preference android:title tags

5.Add this just a line above the first Preference tag:

Code:

Code:
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
6. Save the file and exit

7. Now make a .png banner for your ROM or find one on the internet. It has to be a .png
Resize your banner to 480x300 and rename it to custombanner.png

8. Place the custombanner.png in res/drawable

9. Recompile Settings.apk and Replace the settings.apk in your ROM

10. Enjoy

Thanks bro... it works on my Samsung Galaxy Mega GT-I9152, but I Think there's only one mistake with your guide bro... in step number 5 :
Code:
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
it should be
Code:
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />
Please correct me if I was wrong...Thanks...
Last edited by sitifire; 17th March 2014 at 10:09 AM.
The Following User Says Thank You to sitifire For This Useful Post: [ View ]
20th March 2014, 09:13 AM   |  #5  
nathanjp's Avatar
OP Senior Member
Karachi
Thanks Meter: 214
 
336 posts
Join Date:Joined: Feb 2013
More
Quote:
Originally Posted by sitifire

Thanks bro... it works on my Samsung Galaxy Mega GT-I9152, but I Think there's only one mistake with your guide bro... in step number 5 :

Code:
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
it should be
Code:
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />
Please correct me if I was wrong...Thanks...

Thanks for pointing that when i war writing the xml file i thought of using myawesomerom but instead i used custombanner. Thats why i made a mistake will correct it immediately. Thanks for letting me know
21st March 2014, 06:22 PM   |  #6  
G.M.L's Avatar
Senior Member
Flag Thessaloniki
Thanks Meter: 100
 
522 posts
Join Date:Joined: May 2013
More
It works perfect!!!!!

G.M.L._V2_IcSmoothness
http://pasakalis.blogspot.gr
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1395418933651.jpg
Views:	131
Size:	24.0 KB
ID:	2642472  
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes