[GUiDE][CM9][MODS]Transparent StatusBar, Center Clock, Carrier Logo..

Search This thread

mastershefis

Senior Member
Mar 16, 2011
756
920
Amsterdam
Transparent - SemiTransparent Statusbar
screenshot2012070421301.png

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to
/SystemUI/smali/com/android/systemui/statusbar/StatusBar.smali
5. Search this line:

Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
6. Above this line, change :
Code:
const/16 v16, 0x4
To:
Code:
const/16 v16, -0x3
7. Save the file
8. Navigate to your decompiled folder and go to
SystemUI/res/values/drawables.xml
9. Search this line:

Code:
<item type="drawable" name="status_bar_background">#ff000000</item>

10. Change the value of status_bar_background

Completely transparent:
Code:
<item type="drawable" name="status_bar_background">#00FFFFFF</item>
50% transparent:
Code:
<item type="drawable" name="status_bar_background">#7f000000</item>
11. Save the file
12. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
13. Sign the new apk and rename back to: SystemUI.apk
14. Push the new SystemUI.apk to your phone
15. Enjoy



Custom carrier logo in status bar

sb02.png

How to add as a feature to CM9/AOKP like MIUI:
1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to

SystemUI/res/layouts/status_bar.xml

5. Find the line that starts with this:
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
6. Replace the new line with this line:
Code:
<LinearLayout android:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:orientation="horizontal" android:background="@drawable/carrier_logo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />

Now you can just add any .png's what you want, name it carrier_logo.png and place it in the /res/drawable-mdpi folder. But be carreful about size of image maximum size is around 60x40 pixels)

7. Save the file
8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
9. Sign the new apk and rename back to: SystemUI.apk
10. Push the new SystemUI.apk to your phone
11. Enjoy


Center Clock:
sb01.png

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to

SystemUI/res/layouts/status_bar.xml
5. Find the line that starts with this:
Code:
<com.android.systemui.statusbar.policy.Clock
5. Delete the whole line but only between brackets
6. Next go to the top of your status_bar.xml and place your cursor at the end of this line:
Code:
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
7. Press Enter to create an empty line
8. Place cursor at the beginning of that empty space and paste this line:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
    </LinearLayout>
9. The next thing is to find this line:
Code:
 <LinearLayout android:orientation="horizontal" android:id="@id/ticker"
10. After "@id/ticker" yiuo have to add this drawable (is not neccesary to create image is already exist):
Code:
android:background="@drawable/status_bar_bg_tile"
7. Save the file
8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
9. Sign the new apk and rename back to: SystemUI.apk
10. Push the new SystemUI.apk to your phone
11. Enjoy


Center Date:
screenshot2012060618515.png

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to

SystemUI/res/layouts/status_bar_expanded.xml
5. Find the line that starts with this:
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
5. Replace whole line by this one
Code:
  <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
                <com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            </LinearLayout>
6. Save the file
7. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
8. Sign the new apk and rename back to: SystemUI.apk
9. Push the new SystemUI.apk to your phone
10. Enjoy


Fix for small space between WiFI and Signal icon:

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk

4. Navigate to the
SystemUI/res/layout/signal_cluster_view.xml
5. Find the line started
Code:
<FrameLayout android:id="@id/wifi_combo"

6. Replace whole line by this one:

Code:
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="1.0dip">
7. Save the file
8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
9. Sign the new apk and rename back to: SystemUI.apk
10. Push the new SystemUI.apk to your phone
11. Enjoy


Whole this MOD's looks like in status_bar.xml:

Code:
<?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" android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
    </LinearLayout>
    <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:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:orientation="horizontal" android:background="@drawable/carrier_logo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
            <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">
            <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" layout="@layout/signal_cluster_view" />
            <include android:id="@id/signal_cluster_text" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_text_view" />
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
            <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </LinearLayout>
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" 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>
 
Last edited:
D

dhruv.always

Guest
Hey master, can you attach the systemui with center date and center clock ONLY from tinystream?
 

jeetBLswami

Senior Member
Jan 5, 2012
252
325
Transparent - SemiTransparent Statusbar
screenshot2012070421301.png

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to
5. Search this line:

Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
6. Above this line, change :
Code:
const/16 v16, 0x4
To:
Code:
const/16 v16, -0x3
7. Save the file
8. Navigate to your decompiled folder and go to
9. Search this line:

Code:
<item type="drawable" name="status_bar_background">#ff000000</item>

10. Change the value of status_bar_background

Completely transparent:
Code:
<item type="drawable" name="status_bar_background">#00FFFFFF</item>
50% transparent:
Code:
<item type="drawable" name="status_bar_background">#7f000000</item>
11. Save the file
12. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
13. Sign the new apk and rename back to: SystemUI.apk
14. Push the new SystemUI.apk to your phone
15. Enjoy



Custom carrier logo in status bar

sb02.png

How to add as a feature to CM9/AOKP like MIUI:
1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to



5. Find the line that starts with this:
Code:
<LinearLayout android:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.phone.CarrierLabel
6. Add a new line above that line and insert this:
Code:
<LinearLayout android:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:orientation="horizontal" android:background="@drawable/carrier_logo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />

Now you can just add any .png's what you want, name it carrier_logo.png and place it in the /res/drawable-mdpi folder. But be carreful about size of image maximum size is around 60x40 pixels)

7. Save the file
8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
9. Sign the new apk and rename back to: SystemUI.apk
10. Push the new SystemUI.apk to your phone
11. Enjoy


Center Clock:
sb01.png

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to


5. Find the line that starts with this:
Code:
<com.android.systemui.statusbar.policy.Clock
5. Delete the whole line but only between brackets
6. Next go to the top of your status_bar.xml and place your cursor at the end of this line:
Code:
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
7. Press Enter to create an empty line
8. Place cursor at the beginning of that empty space and paste this line:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
    </LinearLayout>
9. The next thing is to find this line:
Code:
 <LinearLayout android:orientation="horizontal" android:id="@id/ticker"
10. After "@id/ticker" yiuo have to add this drawable (is not neccesary to create image is already exist):
Code:
android:background="@drawable/status_bar_bg_tile"
7. Save the file
8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
9. Sign the new apk and rename back to: SystemUI.apk
10. Push the new SystemUI.apk to your phone
11. Enjoy


Center Date:
screenshot2012060618515.png

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to


5. Find the line that starts with this:
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
5. Replace whole line by this one
Code:
  <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
                <com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            </LinearLayout>
6. Save the file
7. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
8. Sign the new apk and rename back to: SystemUI.apk
9. Push the new SystemUI.apk to your phone
10. Enjoy


Fix for small space between WiFI and Signal icon:

1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk

4. Navigate to the

5. Find the line started
Code:
<FrameLayout android:id="@id/wifi_combo"

6. Replace whole line by this one:

Code:
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="1.0dip">
7. Save the file
8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
9. Sign the new apk and rename back to: SystemUI.apk
10. Push the new SystemUI.apk to your phone
11. Enjoy
great work...thnx for sharing some knowledge...with some of us newbies...:good::good::D
 
  • Like
Reactions: snh12

Somyab

Senior Member
Jun 6, 2011
866
76
Mumbai
Can u also add semi transparent status bar with your center clock mod

Sent from my WT19i using xda premium
 

jeetBLswami

Senior Member
Jan 5, 2012
252
325

Custom carrier logo in status bar

sb02.png

How to add as a feature to CM9/AOKP like MIUI:
1. Get SystemUI.apk, framework-res.apk from your phone
2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
4. Navigate to your decompiled folder and go to



5. Find the line that starts with this:
Code:
<LinearLayout android:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.phone.CarrierLabel
6. Add a new line above that line and insert this:
Code:
<LinearLayout android:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:orientation="horizontal" android:background="@drawable/carrier_logo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />

Now you can just add any .png's what you want, name it carrier_logo.png and place it in the /res/drawable-mdpi folder. But be carreful about size of image maximum size is around 60x40 pixels)
i can't find those lines....they are not present there
 

resofty

Senior Member
Nov 1, 2008
79
23
Hi there, i am trying to compile but keep getting the below errors

D:\Patches>apktool b -f systemui systemui2.apk
I: Smaling...
I: Building resources...
invalid resource directory name: D:\Patches\systemui\res/drawable-sw600dp-mdpi
invalid resource directory name: D:\Patches\systemui\res/layout-sw600dp
invalid resource directory name: D:\Patches\systemui\res/values-sw600dp
invalid resource directory name: D:\Patches\systemui\res/values-sw600dp-port
invalid resource directory name: D:\Patches\systemui\res/values-sw720dp
invalid resource directory name: D:\Patches\systemui\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\user\AppData\Local\Temp\APK
TOOL1904243979116572953.tmp, -I, C:\Users\user\apktool\framework\1.apk, -S, D:\Pa
tches\systemui\res, -M, D:\Patches\systemui\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Sky\AppData\Local\Temp\APKTOOL1904243979116572953.tmp, -I, C:\Users\user\apk
tool\framework\1.apk, -S, D:\Patches\systemui\res, -M, D:\Patches\systemui\Andro
idManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

I tried different versions of apktool.

Followed all the steps correctly loaded framework etc.

Any idea?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    Transparent - SemiTransparent Statusbar
    screenshot2012070421301.png

    1. Get SystemUI.apk, framework-res.apk from your phone
    2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
    3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
    4. Navigate to your decompiled folder and go to
    /SystemUI/smali/com/android/systemui/statusbar/StatusBar.smali
    5. Search this line:

    Code:
    invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
    6. Above this line, change :
    Code:
    const/16 v16, 0x4
    To:
    Code:
    const/16 v16, -0x3
    7. Save the file
    8. Navigate to your decompiled folder and go to
    SystemUI/res/values/drawables.xml
    9. Search this line:

    Code:
    <item type="drawable" name="status_bar_background">#ff000000</item>

    10. Change the value of status_bar_background

    Completely transparent:
    Code:
    <item type="drawable" name="status_bar_background">#00FFFFFF</item>
    50% transparent:
    Code:
    <item type="drawable" name="status_bar_background">#7f000000</item>
    11. Save the file
    12. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
    13. Sign the new apk and rename back to: SystemUI.apk
    14. Push the new SystemUI.apk to your phone
    15. Enjoy



    Custom carrier logo in status bar

    sb02.png

    How to add as a feature to CM9/AOKP like MIUI:
    1. Get SystemUI.apk, framework-res.apk from your phone
    2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
    3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
    4. Navigate to your decompiled folder and go to

    SystemUI/res/layouts/status_bar.xml

    5. Find the line that starts with this:
    Code:
    <LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
    6. Replace the new line with this line:
    Code:
    <LinearLayout android:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:orientation="horizontal" android:background="@drawable/carrier_logo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />

    Now you can just add any .png's what you want, name it carrier_logo.png and place it in the /res/drawable-mdpi folder. But be carreful about size of image maximum size is around 60x40 pixels)

    7. Save the file
    8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
    9. Sign the new apk and rename back to: SystemUI.apk
    10. Push the new SystemUI.apk to your phone
    11. Enjoy


    Center Clock:
    sb01.png

    1. Get SystemUI.apk, framework-res.apk from your phone
    2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
    3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
    4. Navigate to your decompiled folder and go to

    SystemUI/res/layouts/status_bar.xml
    5. Find the line that starts with this:
    Code:
    <com.android.systemui.statusbar.policy.Clock
    5. Delete the whole line but only between brackets
    6. Next go to the top of your status_bar.xml and place your cursor at the end of this line:
    Code:
      xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    7. Press Enter to create an empty line
    8. Place cursor at the beginning of that empty space and paste this line:
    Code:
    <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
        </LinearLayout>
    9. The next thing is to find this line:
    Code:
     <LinearLayout android:orientation="horizontal" android:id="@id/ticker"
    10. After "@id/ticker" yiuo have to add this drawable (is not neccesary to create image is already exist):
    Code:
    android:background="@drawable/status_bar_bg_tile"
    7. Save the file
    8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
    9. Sign the new apk and rename back to: SystemUI.apk
    10. Push the new SystemUI.apk to your phone
    11. Enjoy


    Center Date:
    screenshot2012060618515.png

    1. Get SystemUI.apk, framework-res.apk from your phone
    2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
    3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk
    4. Navigate to your decompiled folder and go to

    SystemUI/res/layouts/status_bar_expanded.xml
    5. Find the line that starts with this:
    Code:
    <com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
    5. Replace whole line by this one
    Code:
      <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
                    <com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
                </LinearLayout>
    6. Save the file
    7. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
    8. Sign the new apk and rename back to: SystemUI.apk
    9. Push the new SystemUI.apk to your phone
    10. Enjoy


    Fix for small space between WiFI and Signal icon:

    1. Get SystemUI.apk, framework-res.apk from your phone
    2. Install with apktool your pulled framework-res.apk [apktool if framework-res.apk]
    3. Decompile your SystemUI.apk: apktool d -f SystemUI.apk

    4. Navigate to the
    SystemUI/res/layout/signal_cluster_view.xml
    5. Find the line started
    Code:
    <FrameLayout android:id="@id/wifi_combo"

    6. Replace whole line by this one:

    Code:
    <FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="1.0dip">
    7. Save the file
    8. Recompile SystemUI.apk : apktool.jar b -f SystemUI SystemUI2.apk
    9. Sign the new apk and rename back to: SystemUI.apk
    10. Push the new SystemUI.apk to your phone
    11. Enjoy


    Whole this MOD's looks like in status_bar.xml:

    Code:
    <?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" android:layout_width="fill_parent" android:layout_height="fill_parent"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
        </LinearLayout>
        <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:paddingRight="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:orientation="horizontal" android:background="@drawable/carrier_logo" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
                <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">
                <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" layout="@layout/signal_cluster_view" />
                <include android:id="@id/signal_cluster_text" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_text_view" />
                <TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
                <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
            </LinearLayout>
        </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" 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>
    14
    Download Section:

    Center Clock & Center Date - cm-9.0.0-rc1-tinystream-hephappy-p500
    SystemUI - P500 - CM9

    Center Clock & Center Date - FULL TRANSPARENT - cm-9.0.0-rc1-tinystream-hephappy-p500
    SystemUI - P500 - CM9

    Center Clock & Center Date - SEMI TRANSPAREMT - cm-9.0.0-rc1-tinystream-hephappy-p500
    SystemUI - P500 - CM9
    3
    Hey master, can you attach the systemui with center date and center clock ONLY from tinystream?

    See Download section
    3
    @89dogg

    Try <item type="drawable" name="status_bar_background">#00000000</item>

    For everybody
    as #00000000 sets the opacity

    Scale is from 0-255

    if you want 25% Opacity (75% transparency) Set in Windows Calculator on Programmer mode, select "Dec" and enter value 63 (25% of 255) then select "Hex", it should be 3F so in the file it should be:

    <item type="drawable" name="status_bar_background">#3F000000</item>

    Hope it helps somebody.