Tools you will need
-the original apk u want to modify +plus backup of it :P (framework apk & system ui.apk)
-system ui.apk located in system/app folder of any gb rom!!!!
-framework apk located in /system/framework folder any rom including cm7 -froyo miui ics so on lol...
-you will also need this zip which will be attached to the bottem of the post.
-also java sdk- properly setup will not go into this on this thread as it goes over -the scope of what im trying to show this is for people that already know and or -have some understanding of how to thme / modify a rom
-notepad++ for windows users
First off yor going to want to copy the contents of said zip into your framework apk
the location they need to be copied is /res/drawable-hdpi
all 3 files this will give u a transparent glass effect which will be what we are using :P
second off you will need apktool or equivalent but for this guide ill be going over how to use apktool to decompile and recompile it :P
copy your system ui to your apktool directory then open a command prompt in windows and navigate to that directory please refer to windows if you do not know how to change directories :P
apktool d systemui.apk ./systemui
you will see the progress
baslmaking.... copying resources xmls smali etc
you may get some ping 9 errors thats ok as we wont be using the modified apk just some of the files out of it once done :P
ok now you have your new shinny folder
navigate to res/layout
the file that needs modification is
status_bar.xml---OPEN THIS IN NOTEPAD++ OR YA MANY SPECIAL THINGS WILL HAPPEN
the second line should read or something similar
com.android.systemui.statusbar.StatusBarView androidrientation="vertical" android:background="#F0000000" android:focusable="true" android:descendantFocusability="afterDescendants"
you need to change it to this
com.android.systemui.statusbar.StatusBarView androidrientation="vertical" android:background="#77000000" android:focusable="true" android:descendantFocusability="afterDescendants"
most notably the #77000000
that will make your statusbar transparent
save your work!!!!!
take your systemui.apk and make a copy of it somewhere just in case :P
actually make 2 :P
then rename the systemui.apk thats in the apkfolder to systemui.bak so it does not get overwritten!!!
then from your command prompt type this:
apktool b ./systemui systemui.apk
hit enter :P
it should now say smaling... rebuilding resources bla bla bla
and then after you have a shinny new apk :P
adb push that back to your device or flash via cwm :P
wala!!! if you loose your status bar after this happens lol it can happen
take the status_bar.xml out of the new systemui.apk and copy it into res/layout on one of the backups :P (hence why i said make a backup lol :P and flash that!!!
wala you should now have transparent status bar in your rom once its booted
(also note you may not see it if your launcher does NOT SUPPORT transparent status bars!!!!!) ADW IS NOTORIOUS FOR THIS....
|Thread Tools||Search this Thread|