[Sony Xperia P, U, Sola, Go] zie.do2y:
this is me first posting in xda...

The first opportunity .. I try to share a little trick to modify SystemUI.apk (ICS)

Requirement:

-understand how to decompile and compile using apktool or something

how to MOD????

read carefully the text below

previously downloaded this as a complement:

https://www.dropbox.com/s/xlv0r4cmg6fe2ko/SmaliTB_2.zip

https://www.dropbox.com/s/s2teuqzpz2qtbrl/carrier_logo.png

I use apktool

pull systemUI.apk in the folder system / app and framework-res.apk and SemcGenericUxpRes.apk in system / framework

to u folder apktool

open apktool..

instal framework-res.apk and SemcGenericUxpRes.apk

apktool if framework-res.apk (enter) and apktool if SemcGenericUXPRes.apk (enter)

again... decompile SystemUI.apk

apktool d SystemUI.apk

open folder SystemUI/res/layout/Status_bar.xml

Compare this... code to u xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/statusbar_costum_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:gravity="left|center" android:id="@id/carrier_logo_id" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/carrier_logo" android:scaleType="fitCenter" android:adjustViewBounds="true" />
<LinearLayout android:orientation="vertical" android:paddingLeft="6.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="right" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.IconPartitioner android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.statusbar.phone.IconPartitioner>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="16.0dip" android:gravity="left|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<LinearLayout android:gravity="right" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:background="@drawable/stat_sys_no_sim" android:paddingLeft="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:singleLine="true" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<TextView android:layout_gravity="left|center" android:id="@id/name_carrier_id" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/carrier_name_abal" android:singleLine="true" style="@style/StatusBarNotificationText" />
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:visibility="gone" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:id="@id/battery" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>

next..

open folder SystemUI\smali\com\android\systemui\statusbar\policy

copy and paste

Traffic$1.smali

Traffic$2.smali

Traffic$3.smali

Traffic$SettingsObserver.smali

Traffic.smali

next...

open open ids.xml in folder SystemUI/res/value/ids.xml

add this code

<item type="id" name="traffic">false</item>
<item type="id" name="carrier_logo_id">false</item>
<item type="id" name="name_carrier_id">false</item>

The above </resources>

like this

<item type="id" name="traffic">false</item>
<item type="id" name="carrier_logo_id">false</item>
<item type="id" name="name_carrier_id">false</item>
</resources>

next...

open strings.xml in folder SystemUI/res/value/strings.xml

add this code

<string name="carrier_name_abal">Paboya</string>

text Paboya you can replace up to you

The above </resources>

like this

<string name="carrier_name_abal">Paboya</string>
</resources>

again...

open styles.xml in folder SystemUI/res/value/styles.xml

add this code

<style name="TextAppearance.StatusBar.Traffic" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>

The above </resources>

like this

<style name="TextAppearance.StatusBar.Traffic" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
</resources>

next..

open folder SystemUI\res\drawable-hdpi add carrier_logo.png

finish.......

and recompile...

apktool b SystemUI

next step...

decompile framework-res.apk and open dimens.xml

find this code:

<dimen name="status_bar_height">25.0dip</dimen>

change dpi to...:

<dimen name="status_bar_height">40.0dip</dimen>

next find again this code:

<dimen name="status_bar_icon_size">25.0dip</dimen>

change dpi to...:

<dimen name="status_bar_icon_size">30.0dip</dimen>

can you adjust the dip changes

finish.........

recomnpile again...

apktool b framework-res

done..........

push SystemUI.apk and framework-res.apk

SystemUI.apk to system/app

framework-res.apk to system/framework.

reboot.....

download For ICS:

for who want to try here I am using stock ics 54 if you want to try on the next or previous version ....

I am not responsible if there bootlop :D

but the possibility systemUI.apk can be used in all the rom.

tested b.10/54/89

https://www.dropbox.com/s/p5ej8hoxz7dw438/flymelikeUI.zip

flash on cwm...

flymelikeUI.zip

wipe cache n dalvic if any problem

download For FXP:

https://www.dropbox.com/s/w8n2lhg51gz76qe/FXPflymelikeUI.zip

flash on cwm...

FXPflymelikeUI.zip

wipe cache n dalvic if any problem

Dowload for JB:

Soon :D

ss ICS:

ss FXP:

may be useful if there is a mistake you can tell me :highfive: