[Samsung Galaxy Mega] sitifire:
Noob wanna share how to modified SystemUI on Galaxy Mega GT-I9152. For others,please compare it with yours.maybe this guide would help you...

I'd made mistake about how to remove Sim Icon on Statusbar,statusbar Expanded & enable Navigation bar. So I update the Guide...

REQUIREMENT: !!!

- BRAIN

- Patient

- experience

- Know how to decompile/recompiling Apk file

- notepad++

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

A. HOW TO FIX ERROR WHEN RECOMPILE SYSTEMUI.APK​

Decompile SystemUI.apk

Go to System/res/value/style.xml

add this line in the end of the line above "</resources>"

<style name="SystemBarNotificationText">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">#ff999999</item>
</style>
<style name="SystemBarPanelSettingsRow">
<item name="android:orientation">horizontal</item>
<item name="android:background">?android:listChoiceBackgroundIndicator</item>
<item name="android:paddingRight">16.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">64.0dip</item>
</style>
<style name="SystemBarPanelSettingsIcon">
<item name="android:layout_width">64.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:scaleType">center</item>
</style>
<style name="SystemBarPanelSettingsContents">
<item name="android:textSize">18.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:layout_gravity">left|center</item>
<item name="android:layout_width">0.0dip</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="SystemBarPanelSettingsPanelSeparator">
<item name="android:background">@*android:drawable/divider_horizontal_dark</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">1.0dip</item>
<item name="android:layout_marginRight">0.0dip</item>
</style>

B. HOW TO FIX ERROR WHEN RECOMPILE FRAMEWORK-RES.APK​

Decompile framework-res.apk

go to framework/res/layout

open all this xml :

keyguard_screen_password_landscape.xml
keyguard_screen_password_portrait.xml
keyguard_screen_tab_unlock.xml
keyguard_screen_tab_unlock_land.xml
keyguard_screen_unlock_landscape.xml
keyguard_screen_unlock_portrait.xml

find this in all that xml :

@id/transport

in that line you will see :

layout="@layout/keyguard_transport_control"

change to :

layout="+@layout/keyguard_transport_control"

do it for all xml I'd mentioned above

try to recompile systemui & framework without modifying anything.if succeed you can try to modifying...

Now,lets modifying...

1. Center Clock​

Decompile systemUI.apk

go to SystemUI.apk\res\layout\status_bar.xml

find this line & delete it:

<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />

then find this :

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

add this below it :

<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff339bc1" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" />

2. Remove Icon Sim on Status Bar​

go to SystemUI.apk\res\layout\signal_cluster_view.xml

Find this :

<ImageView android:id="@id/sim_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" />

replace all that line with this :

<ImageView android:id="@id/sim_icon" android:layout_width="0.0dip" android:layout_height="0.0dip" />

3. Remove Icon Sim on Status Bar Expanded​

go to SystemUI.apk\res\layout\status_bar_expanded.xml

Find this :

@id/quickpanel_dualsim_layout

change 0dip android:layout_height with to :

0.0dip

4. 1% battery & Animation charging​

download attached files and copy files to corresponding folders in SystemUI

5. Enable Navigation Bar​

download attached files and copy files to corresponding folders in SystemUI if folder does not exist(drawables-xhdpi) create it. then add ic_lock_power_off.png to system/res/drawable hdpi...

Go to system/res/value/ids.xml

add this above </resources>

<item type="id" name="quick_launch">false</item>

Go to system/res/value/strings

add this above </resources>

<string name="accessibility_capture">Power toggle</string>

YOU MUST EDIT YOUR "build.prop" in folder /system too. if not your SystemUI will fc....

ADD THIS IN THE END OF YOUR "build.prop" :

qemu.hw.mainkeys=0

Remove Text and Toggle Status :​

download attached files and copy files to corresponding folders in SystemUI

Thanks To :

- Allah SWT

- My beloved wife & childs

- [MENTION=5064082]joehanh88[/MENTION]

- [MENTION=4619873]gharrington[/MENTION]

- [MENTION=5204709]Adi Aisiteru Reborn[/MENTION]

- [MENTION=4324557]barikke74[/MENTION]

- Budi SemogaDermawan

- XDA forum