5,595,339 Members 48,165 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][MOD][4.2.2] Adding Custom ROM image in Settings

Tip us?
 
pendroz
Old
(Last edited by pendroz; 22nd February 2014 at 04:05 PM.)
#1  
pendroz's Avatar
Senior Member - OP
Thanks Meter 2312
Posts: 1,071
Join Date: Jun 2012
Location: Istanbul

 
DONATE TO ME
Default [GUIDE][MOD][4.2.2] Adding Custom ROM image in Settings

Adding custom ROM image in Settings

All information, follow these instructions !

Required tools

* Java
* SDK
* Notepad ++ ( Or another application )
* Deodexed LGSettings.apk
* Download the "Required files"
* APK Tool
* Extract the "LGSettings.apk" from your rom /system/app/


PART 1


* Decompile LGSettings.apk

* Put the "\drawable and \layout" into the extracted "Required files" folder.

-Trick

 
There, you'll see customimage.png Change it to any png of size 400x155 You can change this size description in /res/layout/areebisawesome.xml


* Navigate to \res\xml

* Open device_info_settings with notepad++ and add the following lines after that close and save the changes.


Original Line

Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceScreen android:title="@string/sp_sw_update_capital_NORMAL" android:key="software_update_settings_for_dcm" android:summary="@string/system_update_settings_list_item_summary">
        <intent android:targetPackage="com.nttdocomo.android.fota" android:action="android.intent.action.MAIN" android:targetClass="com.nttdocomo.android.fota.screens.DmcFota" />
    </PreferenceScreen>
    <PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings" android:summary="@string/system_update_settings_list_item_summary">
        <intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
    </PreferenceScreen>
Modified


Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceCategory android:layout="@layout/areebisawesome" android:title="" android:key="blah" />
    <PreferenceScreen android:title="@string/sp_sw_update_capital_NORMAL" android:key="software_update_settings_for_dcm" android:summary="@string/system_update_settings_list_item_summary">
        <intent android:targetPackage="com.nttdocomo.android.fota" android:action="android.intent.action.MAIN" android:targetClass="com.nttdocomo.android.fota.screens.DmcFota" />
    </PreferenceScreen>
    <PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings" android:summary="@string/system_update_settings_list_item_summary">
        <intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
    </PreferenceScreen>
PART 2

* Compile LGSettings.apk file ( APK Tool )

* You can do this with a File explorer ( With root permissions or before you build your rom. )




Thanks @iamareebjamal and @abhi922 original guide and Required files

Soon Other Mods
Attached Files
File Type: zip Requiredfiles.zip - [Click for QR Code] (181.4 KB, 19 views)

My device
Galaxy S2
Galaxy S3
LG G2 ( D802 )

Project
S2 ( Turkbey Rom Team )
S3 ( Pardus HD Rom )
LG G2 Pardus HD Rom
The Following 4 Users Say Thank You to pendroz For This Useful Post: [ Click to Expand ]
 
AyDee
Old
#2  
AyDee's Avatar
Senior Member
Thanks Meter 367
Posts: 952
Join Date: Sep 2010
Location: Mobile

 
DONATE TO ME
Thanks for all of the new tuts! Hopefully more people can learn to do things on their own.
The Following User Says Thank You to AyDee For This Useful Post: [ Click to Expand ]
 
tugrul_27
Old
#3  
Member
Thanks Meter 2
Posts: 51
Join Date: May 2012
Thanks bro

LG_G2 32GB Karaşimşekô
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Add Swipe Utilities to Your App with SimpleFingerGestures Library

Gestures have become an increasingly important element in smartphone UI … more

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more

Motorola Droid RAZR HD and M to Receive KitKat in a “Few More Weeks”

Verizon and Motorola shocked us all back in November when … more