Hello guys .I am back again with a new guide.This time again with settings.
Quote:
Things Required. 1.Patience. 2.A good text editor.I recommend Notepad++. 3.A bit knowledge about android modding. |
Quote:
HERE IS WHAT WE ARE GOING TO DO. ![]() |
Quote:
So Lets start. |
Quote:
STEP 1 Decompile your Settings.apk. |
Quote:
STEP 2 Open Code:
smali/com/android/settings/IconPreferenceScreen.smali |
Quote:
STEP 3 Delete this in IconPreferenceScreen.smali Code:
.line 37 |
Quote:
STEP 4 Merge attached files with your Settings.apk |
Quote:
STEP 5 Now open settings.xml in Code:
res/xml/settings.xml |
Quote:
STEP 6 Add this to all icon preferences like this in order. Code:
android:layout="@layout/1" android:summary="@string/1" FOR WIRELESS AND NETWORKS ADD THIS Code:
android:layout="@layout/1" android:summary="@string/1" Code:
android:layout="@layout/2" android:summary="@string/2" |
Quote:
STEP 7 So it will look like this after modding. Code:
<com.android.settings.IconPreferenceScreen android:layout="@layout/1" android:summary="1" android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call"> |
Quote:
STEP 8 For better understanding here is my settings.xml Code:
<?xml version="1.0" encoding="utf-8"?> |
Quote:
STEP 9 Compile back your apk. |
Quote:
STEP 10 Move it to system/app with permissions rwrr or install via systemappsinstaller. |
Quote:
Attached Files SETTINGS MOD BY san122 MODDED CM7 SETTINGS[FOR REFERENCE] |