Wednesday, 13 July 2016

[GUIDE][LP,MM] How To Add Image In About Phone Menu!!



Welcome everyone!!!

Here i Guide You to How to add image in about phone menu

Requirements

Apktool
Knowledge of decompiling/recompiling
Settings.apk
notepad++
an image

VIDEO GUIDE








For more guides join our offical facebook group
Subscribe to my youtube channel here

Firstly setup apktools on your windows after that extract framework-res.apk,Mediatek-res.apk and SystemUI.apk
Now install all these above apk in your apktool by using following commands


framework

Code:


apktool if framework-res.apk

mediatek-res

Code:


apktool if mediatek-res.apk

systemui

Code:


apktool if SystemUi.apk

after that extract your settings.apk from your rom and decompile it using
Settings

Code:


apktool d settings.apk

after decompilition is sucessful locate to settings folder and go to path

Code:


res/layout

here create a new xml file with any name for example i create a xml with name paras.xml
now add this code to your new xml file or jus copy paste the code

Code:


<?xml version="1.0" encoding="utf-8"?>
<ImageView android:layout_gravity="center" android:paddingBottom="6.0dip" android:layout_width="480.0px" android:layout_height="147.0px" android:src= Drawable/pg" android:scaleType="fitXY"
  xmlns:android="http://schemas.android.com/apk/res/android" />


now if you look at above code there is height and width is mention now you have to create or resize your image with same height and width also in Drawble/ name of your image
now save it with extention (.xml)
after that
open path

Code:


res/xml/device_info_settings.xml

here you have to add code

Code:


    <PreferenceCategory android:layout="layout/paras" android:title="" android:key="blah" />

now look at code there is layout/paras "paras" should be same name as u create a new xml in res/layout
now at last
open path

Code:


res/drawble

and add a image of your choice which u want to add in your about phone settings.
all done if u getting confused watch my video guide above
at last save yor xmls and recompile your settings apk
using

Code:


APKTOOL B SETTINGS

push your apk to your phone replace this with your original ,all done

THANX FOR READ :)

Dont forget to hit thanks








Attached Thumbnails


Click image for larger version<br/><br/>Name:	Screenshot_2016-06-18-12-48-31.png<br/>Views:	N/A<br/>Size:	76.0 KB<br/>ID:	3811871
 














No comments:

Post a Comment