FORUMS
Remove All Ads from XDA

[GUIDE] [MOD] Add Custom Banner in "about phone" section in Galaxy y

652 posts
Thanks Meter: 973
 
By MuSaddiq, Senior Member on 11th September 2013, 01:20 PM
Post Reply Email Thread
Here is my custom banner


What we need:

1) ApkTool
2) Notepad++
3) 7zip
4) Root Explorer

Files we need to add custom banner:

1) Transparent Banner Template, modify it with Photoshop or any other image editor to add ur preferred logos, writings, etc etc. (PLEASE REFER HERE)
2) logo_banner.xml, which u will put in res/layout LINK
3) Settings.apk and framework-res.apk from ur ROM

Lets start:

1) First we install framework-res.apk with apktool using this code
Code:
apktool if framework-res.apk
2) Decompile Settings.apk with apktool using this code
Code:
apktool d Settings.apk
3) after u have modified ur banner, go to decompiled settings folder then go to res/drawable then copy and paste the banner(banner.png) there

4) now go to res/layout then copy and paste the logo_banner.xml file there

5) now go to res/xml folder, there open device_info_settings.xml file with Notepad++

6) Copy and paste this line after the third line in device_info_settings.xml
Code:
<PreferenceScreen android:layout="@layout/logo_banner" android:key="od_logo" />
7) Now compile settings with apktool using this code
Code:
apktool b Settings
8) Once compiled, open decompiled Settings folder then go to build/apk, there u will find AndroidManifest.xml file

10) Now open original Settings.apk using 7zip then copy the META-INF folder and AndroidManifest.xml file

11) paste both the files in build/apk folder, if asked to replace, click yes

12) now go to a folder in settings folder named dist, there u will find Settings.apk which u compiled

13) now delete it. We never use the first Settings.apk that we compile, because we need to add the META-INF and AndroidManifest.xml files for signing purposes. Once you have deleted the 1st compiled Settings.apk, return to the command prompt and again compile the Settings using this code
Code:
apktool b Settings
14) After it is compiled go to dist folder there u will find new and fresh compiled Settings.apk which u can use it.

15) Using Root Explorer push it into system/app folder and set permissions to rw-r-r-

16) That's it!

Credits:
enricocid


I'd like to see Your works also, if any, feel free to post here
The Following 28 Users Say Thank You to MuSaddiq For This Useful Post: [ View ] Gift MuSaddiq Ad-Free
 
 
11th September 2013, 01:46 PM |#2  
CharsiBabu's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 320
 
More
Nice!

Will try this now.

I need to deodex my rom though
15th September 2013, 04:48 AM |#3  
Sanjay's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 394
 
Donate to Me
More
Good work keep it up..
I used this for my rom...
Thanks...
15th September 2013, 06:54 AM |#4  
MuSaddiq's Avatar
OP Senior Member
Thanks Meter: 973
 
More
Quote:
Originally Posted by Sanjay Kumar

Good work keep it up..
I used this for my rom...
Thanks...

Dont tell thanks just press it..
15th September 2013, 11:27 AM |#5  
TheFixItMan's Avatar
Senior Member
Flag London
Thanks Meter: 3,791
 
More
In step 3 you say name the png logo_banner.png but in your xml file it points to @drawable value of banner

therefore you either need to call your png banner.png or change the value in the xml file to match what you have called the png


All works good and added my banner to my evo-x4 settings
15th September 2013, 11:35 AM |#6  
MuSaddiq's Avatar
OP Senior Member
Thanks Meter: 973
 
More
Quote:
Originally Posted by marcussmith2626

In step 3 you say name the png logo_banner.png but in your xml file it points to @drawable value of banner

therefore you either need to call your png banner.png or change the value in the xml file to match what you have called the png


All works good and added my banner to my evo-x4 settings

Oh, yes u r right, I m very sorry.
I will change it asap.

EDIT: Done!
15th September 2013, 02:20 PM |#7  
Senior Member
Flag Banjarmasin
Thanks Meter: 21
 
Donate to Me
More
Just share mine lol
15th September 2013, 02:23 PM |#8  
MuSaddiq's Avatar
OP Senior Member
Thanks Meter: 973
 
More
Quote:
Originally Posted by Akhyarrh

Just share mine lol

lol.......nice one
15th September 2013, 10:00 PM |#9  
TheFixItMan's Avatar
Senior Member
Flag London
Thanks Meter: 3,791
 
More
heres what iv done with mine

16th September 2013, 07:17 AM |#10  
MuSaddiq's Avatar
OP Senior Member
Thanks Meter: 973
 
More
Quote:
Originally Posted by marcussmith2626

heres what iv done with mine

cool
14th October 2013, 12:19 PM |#11  
this will be work on all GB or ICS ?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes