[XPERIA X8 Themes and Apps] petrukgrinder:
Original thread : http://xdaforums.com/showthread.php?t=1900505

​

FAQ :

Q : Why u create a new thread here?

A : It just for u for CM7 user and i make it to easy tutorial

What u need :

- Apk tool/Apk Manager

- Framework-res.apk and Settings.apk

First Step :

- You need to If framework before decompile settings.apk

- Decompile settings.apk and extract my zip file to ur decompiled directory

- Open strings.xml and add this :

<string name="personal_settings_tab">Actions</string>
<string name="settings_ics_actions">APPLICATIONS</string>
<string name="program_settings_tab">Google</string>
<string name="settings_ics_google">GOOGLE APPS</string>

- Now, open ids.xml and add this :

<item type="id" name="tabHost">false</item>
<item type="id" name="tabsLayout">false</item>
<item type="id" name="tabsText">false</item>

- Compile your settings.apk and decompile again.

Second Step :

- Open TabbedSettings.smali and public.xml

- Find and replace with your ID on public.xml

[B]Find ------------------- Replace with ID of name[/B]

[B]IN smali/com/android/settings/TabbedSettings.smali[/B]
0x7f0c0002 ------------------- slide_out_left (anim)
0x7f0c0003 ------------------- slide_out_right (anim)
0x7f03005c ------------------- type="layout" name="tab_indicator"
0x7f0b011b ------------------- type="id" name="tabsText"
0x7f03005b ------------------- type="layout" name="tab_content"
0x7f0b0119 ------------------- type="id" name="tabHost"

[B]IN smali/com/android/settings/TabbedSettings$1.smali[/B]
0x7f0c0001 ------------------- type="anim" name="slide_in_right"
0x7f0c ------------------- type="anim" name="slide_in_left" (Only first 4 digits)

[B]IN smali/com/android/settings/PersonalSettings.smali[/B]
0x7f040039 ------------------- type="xml" name="personal_settings"
0x7f03005a ------------------- type="layout" name="speed_container"

[B]IN smali/com/android/settings/ProgramSettings.smali[/B]
0x7f04003a ------------------- type="xml" name="program_settings"
0x7f03005a ------------------- type="layout" name="speed_container"

Third Step :

- Open androidmanifest.xml and find this line :

<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabbedSettings" 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>

- Now replace it with these line :

<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabbedSettings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="bottom">
<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:name="PersonalSettings" />
<activity android:name="ProgramSettings" />
<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>

- Compile your project and sign it with the same key of rom.

- Push to your /system/app directory and you got it! :good: