Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,194 Members 41,987 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 3713
Posts: 1,323
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, 43 views)

Device History

Galaxy S2 Galaxy S3

LG G2 ( D802 )

Project

S2 ( Turkbey Rom Team ) S3 ( Pardus HD RoMô )

LG G2 Pardus HD RoMô
The Following 6 Users Say Thank You to pendroz For This Useful Post: [ Click to Expand ]
 
AyDee
Old
#2  
AyDee's Avatar
Senior Member
Thanks Meter 789
Posts: 1,247
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 4
Posts: 71
Join Date: May 2012
Thanks bro

LG_G2 32GB Karaşimşekô
 
core720
Old
#4  
core720's Avatar
Senior Member
Thanks Meter 1241
Posts: 1,191
Join Date: Feb 2012

 
DONATE TO ME
work in 4.4.2?
EPSILON PROJECT - Motorola Atrix - Motorola Razr - Samsung Galaxy S2 - Samsung Galaxy Note - Samsung Galaxy S3 - HTC One X - Galaxy Note 2 - Motorola Razr HD - LG Optimus G - Nexus 4 - Samsung Galaxy S4 - Nexus 5

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Remove Unnecessary WhatsApp Elements with Xposed

In modern life, you can’t underestimate the power ofthe dark sidemessaging … more

MaR-V-iN to Talk Google and Android APIs at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of September … more

But First, Let Me Take a #Selfie

“Today while browsing XDA,I’m going tocheck to seeif my favorite ROM has been updated–but … more