[Android Themes] Adi Aisiteru Reborn:
OKE NEXT STEP IS STEP 4

Decompile the Newly recompiled Settings.apk again

go to

smali/com/android/settings/MainSettings.smali, open with Notepad++ MainSettings.smali, keep it open

AND

go to

res/values/public.xml

REPLACE ALL red ids in MainSettings.smali with your new ids in new public.xml

[B]MainSettings.smali[/B] new [B]public.xml[/B]

[COLOR="Red"]0x7f08022a[/COLOR] -> <public type="id" name="vPager" id="[COLOR="Red"]0x????????[/COLOR] " />

[COLOR="Red"]0x7f080229[/COLOR] -> <public type="id" name="cursor" id="[COLOR="Red"]0x????????[/COLOR] " />

[COLOR="Red"]0x7f080168[/COLOR] -> <public type="id" name="app_tab" id="[COLOR="Red"]0x????????[/COLOR] " />

[COLOR="Red"]0x7f080228[/COLOR] -> <public type="id" name="device_tab" id="[COLOR="Red"]0x????????[/COLOR] " />

[COLOR="Red"]0x7f080227[/COLOR] -> <public type="id" name="personalized_tab" id="[COLOR="Red"]0x????????[/COLOR] " />

[COLOR="Red"]0x7f040090[/COLOR] -> <public type="layout" name="mainsetting" id="[COLOR="Red"]0x????????[/COLOR] " />

NEXT

in public.xml

find

<public type="xml" name="settings_headers" id="[COLOR="Red"]0x????????[/COLOR]" />

KEEP IT OPEN, AND GO TO :

smali/com/android/settings/

and open with Notepad++

AppSettings.smali, DeviceSettings.smali, PersonalSettings.smali

and find settings_header ids , 0x???????? in all that 3 smali, so it's gonna be like this

[COLOR="Red"]0x????????[/COLOR] in AppSettings.smali

[COLOR="Red"]0x????????[/COLOR] in DeviceSettings.smali

[COLOR="Red"]0x????????[/COLOR] in PersonalSettings.smali

of course, the ids in all that three will be same, because all that three smali is copied of setting.smali,.

now we must change all red ids, with new ids in public.xml

[B]replace the Red Ids in AppSettings.smali, DeviceSettings.smali, PersonalSettings.smali, with new ids in public.xml :[/B]

in PersonalSettings.smali -> replace with <public type="xml" name="personal_settings_headers" id="[COLOR="Magenta"]0x????????[/COLOR]" />

in DeviceSettings.smali -> replace with <public type="xml" name="device_settings_headers" id="[COLOR="Green"]0x????????[/COLOR]" />

in AppSettings.smali -> replace with <public type="xml" name="app_settings_headers" id="[COLOR="Blue"]0x????????[/COLOR]" />

NEXT

go to res/xml/

app_settings_headers.xml

device_settings_headers.xml

personal_settings_headers.xml

open with Notepad++ all that xml, and chnge the line from

<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android" />

chnge to :

<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">

</preference-headers>

NEXT

manage your settings shortcut in settings_header.xml copy it and paste it to the 3 empty xml

go to this page, and read my eplanation for adding 3 empty xml http://xdaforums.com/showpost.php?p=41082390&postcount=46

NEXT

open up 'AndroidManifest.xml' of your decompiled settings.apk in a text editor./Notepad++

-Find a section similar to the below....

<activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

The important parts you are looking for are 'name="Settings" and the 'android.intent.category.LAUNCHER' lines, there *should* only be a single section with these.

Change this section to the below:

<activity android:label="@string/settings_label_launcher" android:name="Settings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

Directly above that section copy/paste the following

<activity android:name="MainSetting" android:theme="@android:style/Theme.NoTitleBar" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="PersonalSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="DeviceSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="AppSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

Recompile your settings.apk and sign it

You can try using any of the keys that come with whatever apk signing tool you use, but you will more then likely end up with a Settings.apk that wont show as being installed, you must sign it with platfrom keys from CyanogenMod's android_build github https://github.com/CyanogenMod/android_build/tree/jellybean/target/product/security

I usually use ApkMultitools for Decompiling, Recompiling, and signing apk, so if you use ApkMultitols, you can use my signer keys that I've modified included CM signer,

Download this, : http://d-h.st/mGS

exstract it, and merge it your ApkMultitolls/other/here