[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lm_kevin:
Good day (first thread yay)

Im kind of ashamed to post this first thread because I always try to resolve my problems by myself (im a huge lurker)

But this problem i just can't ! and i bet for someone reading , is a easy thing to do

I really like ThilinaC Jelly Bean Theme for stock .431.

http://xdaforums.com/showthread.php?t=1840580

In particular this one that i use.

Stock AOSP Full Black

http://xdaforums.com/attachment.php?attachmentid=1272022&stc=1&d=1345488053

Its almost perfect except for one thing , like the title says it doesnt have the clock on the status bar and I've been trying for a while to get used to it but i cant!

So as a noob i searched all over XDA to try to add the status bar. And i actually (or i think) know how to do it !

Decompile SystemUI.apk

Add this line of code to tw_status_bar.xml (ive checked tw_status_bar.xml and it doesnt have this line so i think this is the problem)

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="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">
<LinearLayout android:orientation="horizontal" 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="@dimen/status_bar_icon_size" 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="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/ims_icon" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<TextView android:textSize="12.0dip" android:textStyle="bold" android:textColor="#ffa6a6a6" android:layout_gravity="bottom|left|center" android:id="@id/battery_text" android:paddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
[COLOR="Red"]<com.android.systemui.statusbar.policy.Clock android:textSize="19.0dip" android:textColor="#ffa6a6a6" 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" />[/COLOR]
</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="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</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:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" 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.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>

And recompile!

Simple enough !

But i dont know if im doing something wrong (I really dont think so XDA instructions are quite easy) but every program i use to compile and decompile fails me!

So far ive tried tools to decompile like tickle my android http://xdaforums.com/showthread.php?t=1633333

And x-Tools http://xdaforums.com/showthread.php?t=2020060&highlight=tool

Among others

So my request is can someone do me a favor and add that goddamned clock in the cmw flash package or mod the SystemUI.apk for me?

I really hope someone can do it.

Thanks in advance

My phone is a Xperia Mini Pro Stock ICS .431