Hi el_liberator, It would be cool if you add this part to op.
The story of how I found this out, was based on your tutorial.
Basically is the same, but when working over sources (slightly easier obviously)
First, navigate at
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/StatusBar.java
This is the fun part. I found out that
0x4 on smali, just means that the constant value that we are using is 0x00000004. So I looked into StatusBar.java, and found that there was an interesting constant: "PixelFormat.RGB_565", so what I did was googling a bit, and found out that the constant value of RGB_565 is actually 0x00000004 ... voilà. Then i searched for a value that corresponds to
-0x3, and found that it was PixelFormat.TRANSLUCENT, wich has a value of 0xfffffffd (-3). So as simple as changing
PixelFormat.RGB_565 to PixelFormat.TRANSPARENT, will do the job on source.
The XML part remains the same:
/frameworks/base/packages/SystemUI/res/values/drawables.xml
Edit values as said in OP, and you are done. Compile and push /out/blablabla/galaxys2/system/app/SystemUI.apk
Great tutorial, pretty well explained. Thanks!