[Guide] How to add banner in "About Phone" | Noob friendly

Search This thread

abo hani

Senior Member
Jan 30, 2013
2,121
4,580
St. Wendel
syriantc.com
Hello folks .... I’ve backed to xda after a looong time :p because exams :(
My new TUT for adding logo in "About Phone" .

Inspired by this THREAD

Credits :

@gravtec for inspiring :) big thanks for you bro .

What you need ? :

  • Latest APKTOOL package .
  • A brain .
  • PC :p .
  • Knowledge in decompiling and recompiling .

Lets start the GUIDE ! :D

Resources

  • APKTOOL here .
  • Image Resolution : 700*215 .

Guide​

First Part​

  • Decompile Settings
  • Go to res/Layout folder
  • Download this file
  • paste it in Layout folder

Second Part​




Third Part​

  • Go to res/xml
  • open device_info_settings.xml
  • Add this
    <PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
    after this line
    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
    EX :

    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
    <PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />

SAMPLE

wfiph.png

IF you see this Guide useful ... Hit thanks ;)
 

Childofthehorn

Inactive Recognized Developer
Jun 6, 2010
260
185
DFW, Texaaas
Umm... this is basically the same as making ANY layout change in any Android application .

You don't have to do this in just Settings! This can be done in ANY app.

However, this resolution will be different in different devices like XXHDPI, XHDPI, and the XXXHDPI on the uber resolution devices. You really should just look at the border sizes (typically 10-20px per edge, depending on the resolution of the device.).

Oh, and don't forget to RESIGN the apk. Some devices may not play nice with an Altered Settings application that isn't signed with system-level keys.

That is all.
 
  • Like
Reactions: redtrk

Vkas Raj

Senior Member
Aug 9, 2013
142
28
New Delhi
Hello folks .... I’ve backed to xda after a looong time :p because exams :(
My new TUT for adding logo in "About Phone" .

Inspired by this THREAD

Credits :

@gravtec for inspiring :) big thanks for you bro .

What you need ? :

  • Latest APKTOOL package .
  • A brain .
  • PC :p .
  • Knowledge in decompiling and recompiling .

Lets start the GUIDE ! :D

Resources

  • APKTOOL here .
  • Image Resolution : 700*215 .

Guide​

First Part​

  • Decompile Settings
  • Go to res/Layout folder
  • Download this file
  • paste it in Layout folder

Second Part​


  • Copy the image to res/drawable folder
  • Rename it to logo and it must be "PNG" !


Third Part​

  • Go to res/xml
  • open device_info_settings.xml
  • Add this after this line
    EX :



SAMPLE

wfiph.png

IF you see this Guide useful ... Hit thanks ;)

i followed your steps and modified my setting.apk but when i replace original settings.apk
it gave me bootloops........
Sir .. plsssssssss help me....
 

abo hani

Senior Member
Jan 30, 2013
2,121
4,580
St. Wendel
syriantc.com
Does this works only in Sony Devices ?

I am wondering about that to

No, it can works perfectly on another devices as well. That thread was created on Sony forum, but can be usable on you Galaxy s3. Cheers!

Wow, this seems surprisingly simple enough. Can't wait to try this.

Friend did not understand the tutorial ... can add some images!

Is supposed to work in all devices just becouse it is android CODE for all phone


Its layout changes ... so it must work on all android devices :)

For the photo here you go :
http://xdaforums.com/showthread.php?t=2560726
See examples :)
 
  • Like
Reactions: yazax

Top Liked Posts

  • There are no posts matching your filters.
  • 66
    Hello folks .... I’ve backed to xda after a looong time :p because exams :(
    My new TUT for adding logo in "About Phone" .

    Inspired by this THREAD

    Credits :

    @gravtec for inspiring :) big thanks for you bro .

    What you need ? :

    • Latest APKTOOL package .
    • A brain .
    • PC :p .
    • Knowledge in decompiling and recompiling .

    Lets start the GUIDE ! :D

    Resources

    • APKTOOL here .
    • Image Resolution : 700*215 .

    Guide​

    First Part​

    • Decompile Settings
    • Go to res/Layout folder
    • Download this file
    • paste it in Layout folder

    Second Part​




    Third Part​

    • Go to res/xml
    • open device_info_settings.xml
    • Add this
      <PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
      after this line
      xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
      EX :

      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
      <PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />

    SAMPLE

    wfiph.png

    IF you see this Guide useful ... Hit thanks ;)
    6
    Reserved for future ;)

    More things will add for this feature :)
    2
    A problem: I don't have the red line in my settings

    Help?

    If you dont have it ... so no need to for it ... past the code after the first line :)
    1
    Does this works only in Sony Devices ?
    1
    What resolution (image size) should be used in a note 3? (1080x1920) 480 dpi. THANX

    Use the same device's width, and for the height, it's up to you. if you want to make it 20% of the screen, then take 20% of 1920 and make it as the height.