[Android Themes] fergie716:
Enable Transparent Statusbar

So I thought I'd write a little guide to help folks experiencing the "Ghosting" issue

These might not work for all devices! Really depends what ROM you have

Ok, so the easiest way to get rid of the ghosting in the statusbar

zdunes patcher

*Download the patcher and follow the instructions to set it up

* Place your framework-res.apk (found in /system/framework/) and your SystemUI.apk (found in /system/app/) in the "files_to_patch" folder

*Start "patcher.bat" and select "Browse Statusbar Tweaks" then "Enable only Transparent Statusbar"

*Follow the instructions and after you make the smali edit thats needed select option 5 then 6

*Put the "statusbar_patch.zip" and "statusbar_undo.zip" on your SD card and flash the patch zip in recovery. If something goes wrong, flash the "undo" zip

-UOT Kitchen

*Go to the kitchen and go to the "File Upload" section

*Upload your framework-res.apk and SystemUI.apk from your current ROM

*After apk's are uploaded, goto the "Status bar" tab and select "Use This Mod"

*Select "Enable transparency in status bar"

*Go to the "Summary" tab, then select "Submit work to kitchen"

*Remember your order number then wait to pick it up

*Download your zip form the kitchen when it's done and flash it in recovery

-apktool

*Download apktool and get it set-up. Make sure you meet all the prerequisites

*place your framework-res.apk and SystemUI.apk in your apktool folder (my path is C:\apktool\ )

*in cmd, cd your path to apktool (ex: cd \apktool)

*now enter this

apktool if framework-res.apk
apktool d SystemUI.apk

*navigate to your decompiled SystemUI folder and go to /res/layout/status_bar.xml

*Open it and scroll towards the bottom. You'll see a line like this

<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

*change this line

android:background="@drawable/statusbar_background

to this:

android:background="@android:color/transparent"

*Now navigate to smali>com>android>systemui>statusbar>StatusBarService.smali

*Open it with a text editor and search for this line

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

*directly above it you will find:

const/4 v5, 0x2

*change this to:

const/4 v5, -0x3

*Save the changes you made. Now back in cmd type

apktool b SystemUI SystemUI-transparent.apk

*Take your newly compiled apk and rename to SystemUI.apk. Sign it using APKManager or something similar

*make a flashable zip out of it or copy/paste to /system/app/ and change permissions to rw-r--r--

*Reboot

The apktool method is basically the same as zdune's patcher. Just thought I'd write that one up in case someone can't download the patcher

other tips

*If using ADW or ADW EX try going to ADW's System Preferences and disable "Wallpaper Hack"

*Try using a Live Wallpaper or MultiPicture Live Wallpaper