[Optimus One, P500, V Themes and Apps] mastershefis:
Transparent - SemiTransparent Statusbar

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:

invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V

6. Above this line, change :

const/16 v16, 0x4

To:

const/16 v16, -0x3

7. Save the file

8. Navigate to your decompiled folder and go to

9. Search this line:

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

10. Change the value of status_bar_background

Completely transparent:

<item type="drawable" name="status_bar_background">#00FFFFFF</item>

50% transparent:

<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

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:

<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:

<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:

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:

<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:

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:

<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:

<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):

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:

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:

<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

<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

<FrameLayout android:id="@id/wifi_combo"

6. Replace whole line by this one:

<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:

<?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>