[Samsung Galaxy W I8150] Adi Aisiteru Reborn:
PORTING GUIDE - MOD 4.2 STATUSBAR

( TABS, Slider, Flip button with Flip Anim, )

FOR CM10 / JB 4.1

This is been requested so many times, so here I made the guide

I will write the guide is basically for CM10, and for other base rom/devices should adapt / compare it.

But don't use it on ICS 4.0/JB 4.2/JB 4.3.

Credit & Thanks to

- Recognized Themer [MENTION=3989065]serajr[/MENTION], coz this mod will be impossible without his amazing work 4.2 style statusbar for Xperia ICS devices,.

and me for porting it to CM9 & CM10 ;)

- Senior Member legend [MENTION=4054594]lidroid[/MENTION] for his toggle code

- Recognized Developer [MENTION=3562083]wanam[/MENTION] for his JB lidroid code & LidroidSettings.apk

- Recognized Developer [MENTION=3044346]arco68[/MENTION] for giving our device GT-I8150 Galaxy Wonder CyanogenMod rom, coz without him, I will never have JB or ICS on my device

- My hometown Tanjung Karang,. Api kabarr ?? LOlss :p

- PM me if I've missed someone/something

ok lets go to Guide:

first of all need some requirement for this MOD-GUIDE

REQUIREMENT:

- BRAIN

- Patient

- experience

- Know how to decompile/recompiling Apk file

- notepad++

- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else

STEP -1

Decompile Settings.apk, we are going to remove CM PowerWidget settings and add Lidroid settings.

Settings.apk\res\xml\system_settings.xml and remove the red code :

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/system_interface_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:title="@string/combined_status_bar_title" android:key="status_bar" android:fragment="com.android.settings.cyanogenmod.StatusBar" />
[COLOR="Red"]<PreferenceScreen android:title="@string/notification_drawer_title" android:key="notification_drawer" android:fragment="com.android.settings.cyanogenmod.PowerWidget" />[/COLOR]
<PreferenceScreen android:title="@string/notification_drawer_title" android:key="notification_drawer_tablet" android:fragment="com.android.settings.cyanogenmod.TabletPowerWidget" />
<PreferenceScreen android:title="@string/wallpaper_settings_title" android:key="wallpaper" android:fragment="com.android.settings.WallpaperTypeSettings" />
<ListPreference android:entries="@array/entries_font_size" android:title="@string/title_font_size" android:key="font_size" android:summary="@string/summary_font_size" android:dialogTitle="@string/dialog_title_font_size" android:entryValues="@array/entryvalues_font_size" />
<PreferenceScreen android:title="@string/power_menu_title" android:key="power_menu" android:fragment="com.android.settings.cyanogenmod.PowerMenu" />
<PreferenceScreen android:title="@string/navigation_bar_title" android:key="navigation_bar" android:fragment="com.android.settings.cyanogenmod.NavBar" />
<PreferenceScreen android:title="@string/hardware_keys_title" android:key="hardware_keys" android:fragment="com.android.settings.cyanogenmod.HardwareKeys" />
</PreferenceScreen>

- Settings.apk\res\xml\settings_headers.xml and add the blue code

<header android:title="@string/header_category_interface" />
<header android:icon="@drawable/ic_settings_cmlauncher" android:id="@id/launcher_settings" android:title="@string/launcher_settings_title" />
<header android:icon="@drawable/ic_settings_lockscreen" android:id="@id/lock_screen_settings" android:title="@string/lock_screen_title" android:fragment="com.android.settings.cyanogenmod.LockscreenInterface" />
<header android:icon="@drawable/ic_settings_themes" android:id="@id/themes_settings" android:title="@string/themes_settings_title">
<intent android:targetPackage="com.tmobile.themechooser" android:action="android.intent.action.MAIN" android:targetClass="com.tmobile.themechooser.ThemeChooser" />
</header>
<header android:icon="@drawable/ic_settings_system" android:id="@id/system_settings" android:title="@string/system_settings_title" android:fragment="com.android.settings.cyanogenmod.SystemSettings" />
[COLOR="Blue"]<header android:icon="@drawable/ic_settings_advanced" android:id="@id/adi_buttons" android:title="@string/adi_buttons_title">
<intent android:targetPackage="com.lidroid.settings" android:action="android.intent.action.MAIN" android:targetClass="com.lidroid.settings.Settings" />
</header>[/COLOR]
<header android:title="@string/header_category_device" />
<header android:icon="@drawable/ic_settings_sound" android:id="@id/sound_settings" android:title="@string/sound_settings" android:fragment="com.android.settings.SoundSettings" />
<header android:icon="@drawable/ic_settings_display" android:id="@id/display_settings" android:title="@string/display_settings" android:fragment="com.android.settings.DisplaySettings" />
<header android:icon="@drawable/ic_settings_storage" android:id="@id/storage_settings" android:title="@string/storage_settings" android:fragment="com.android.settings.deviceinfo.Memory" />
<header android:icon="@drawable/ic_settings_battery" android:id="@id/battery_settings" android:title="@string/power_usage_summary_title" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" />

Settings.apk\res\values\strings.xml

<string name="gestures_action_menu">Emulate Menu key</string>
<string name="gestures_action_search">Invoke search</string>
<string name="gestures_action_recent">Recent applications</string>
[COLOR="Blue"]<string name="adi_buttons_title">Power Widget</string>[/COLOR]
</resources>

Settings.apk\res\values\ids.xml

<item type="id" name="action_delete">false</item>
<item type="id" name="action_select_all">false</item>
<item type="id" name="storage_usb">false</item>
<item type="id" name="wifi_wps">false</item>
[COLOR="Blue"]<item type="id" name="adi_buttons">false</item>[/COLOR]
</resources>

download attached ic_settings_advanced.zip, unzip it and

put it to Settings.apk\res\drawable-hdpi

done and recompile your settings.apk

NEXT

Download attached LidroidSettings.apk and push to System/App with right permission

CONTINUE THE GUIDE IN POST #2