[Android General] Vidhanth:
Hi, in this tut, ill show you how to add rom banners in about phone settings of your lollipop rom.

Files required-

-Zip in attachments

-DEODEXED rom

-Brain(link?)

Part One-

-Extract the zip

-Copy these files into the folder--->

/system/priv-app/Settings/Settings.apk

And

/system/framework/framework-res.apk

-Run cmd.exe and run this command--->

apktool if framework-res.apk

This will install the framework.

-Then run this command to decompile settings.apk--->

apktool d Settings.apk

Part two-

-In apktool folder goto Settings/res/layout and create a logo.xml file

-Open it, and paste the following lines in it--->

-----------------------------------------------------------------------------------------------------------------------------------

"<?xml version="1.0" encoding="utf-8"?>

<LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content"

xmlns:android="http://schemas.android.com/apk/res/android">

<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/logo" />

</LinearLayout>"

------------------------------------------------------------------------------------------------------------------------------------

-Resize your banner (which should be a PNG file) to 500x123 and rename it to logo.png. Then copy it to Settings/res/drawable

Part Three-

-Navigate to Settings/res/xml and open device_info_settings.xml.

-Add this line--->

------------------------------------------------------------------------------------------------------------------------------------

"<PreferenceScreen android:enabled="false" android:layout="@layout/logo" android:selectable="false" android:key="logo" />

------------------------------------------------------------------------------------------------------------------------------------

Right below this line--->

------------------------------------------------------------------------------------------------------------------------------------

"xmlns:android="http://schemas.android.com/apk/res/android">"

------------------------------------------------------------------------------------------------------------------------------------

-It should look like this--->

-----------------------------------------------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>

<PreferenceScreen android:title="@string/about_settings"

xmlns:android="http://schemas.android.com/apk/res/android">

<PreferenceScreen android:enabled="false" android:layout="@layout/logo" android:selectable="false" android:key="logo" />

------------------------------------------------------------------------------------------------------------------------------------

Part four-

-Now open cmd.exe and type this to recompile--->

apktool b Settings

Part Five and most important!!

-After the last command finishes, goto Settings/original and copy everything inside it to

Settings/build/apk and replace the file if prompted

-Then again run--->

apktool b Settings

-Now you have your settings.apk in Settings/dist/

-Copy it to /system/priv-app/Settings/ and replace the old file, set rw-r-r- permissions and reboot!

NOTE- THIS HAS BEEN TESTED ON AOSP BASED LOLLIPOP ROM. I DO NOT GUARANTEE WORKING ON CUSTOMIZED ROMS LIKE TOUCHWIZ OR LG ROMS. ALL LINES MUST BE ADDED WITHOUT THE "(QUOTES) MARK AT THEIR STARTING AND ENDING.

It should look like this--->

HIT THNX IF IT HELPED!!!