[Samsung Infuse 4G] xDa.Fun:
[FONT=&quot]

[/FONT]​

[FONT=&quot]Hi All,

[/FONT]​

[FONT=&quot]This little mod discovered by me after following the Nun’s guidance (how to remove option from Settings Menu), so credit goes to him. [/FONT]​

[FONT=&quot]

[/FONT] [FONT=&quot]This mod can be useful to users who wants to arrange contents of “Settings” alphabetically or according to their preference.[/FONT]

[FONT=&quot]

[/FONT]

[FONT=&quot][/FONT]
​

[FONT=&quot]

[/FONT]​

[FONT=&quot]You need :[/FONT]

[FONT=&quot]

[/FONT]​

[FONT=&quot]1 Nuns Apk Tool with knowledge to decompile and recompile. [/FONT]

[FONT=&quot]2 Notepad ++.

3. 7 Zip or equivalent. [/FONT]

[FONT=&quot]3 Java run time installed on PC.[/FONT]

[FONT=&quot]4. A good brain and a silent place.

[/FONT]​

[FONT=&quot]How to Do it:[/FONT]

[FONT=&quot]

[/FONT]​

[FONT=&quot]1. [/FONT][FONT=&quot]Decompile Settings.apk [/FONT]​

[FONT=&quot]2. [/FONT][FONT=&quot]Open file \res\xml\Settings.xml in Notepad++

[/FONT]​

[FONT=&quot]From following example you can have idea which code line relates to the various options under the "Settings".

[/FONT]​

[FONT=&quot]Code lines related to option “About Phone” are

[/FONT]

<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>

[FONT=&quot]

And Code line related to option “Display” are[/FONT]

<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>

So if you arrange the pare of codes in the following manner you will get the items alphabetically.

[FONT=&quot](Some ROMs may have “Quick Panel Settings” “Lock screen Settings” and “Software Update” option under the Settings, so there can be extra lines of codes. I have already removed Software Update option from my ROM.) [/FONT]

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.sec.android.app.callsetting" android:action="android.intent.action.MAIN" android:targetClass="com.sec.android.app.callsetting.CallSetting" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dock_settings_title" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>

[FONT=&quot]

[/FONT][FONT=&quot]

Save the file and recompile Settings.apk.[/FONT]

[FONT=&quot]Place the Settings.apk (after backing up original for safety) in system\app through Root explorer and set the permission Rw-r-r. (Reboot the phone if you are not getting “Settings” under “Applications”) .[/FONT]

Attached Settings.apk arranged alphabetical is working for me on Aeon v1.3.
​