Hi!
I figureout how to set transparent background color in CM10
1. Decompile SystemUI.apk (I'm using apktool 1.4.9)
2. Go to: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone
3. Open in text editor file: PhoneStatusBar$FastColorDrawable.smali
4. replace whole line:
with
6033b5e5 => aarrggbb (a=alpha, r=red, g=green, b=blue) => this is semi-transparent ICS-blue color 
After this method draw looks like:
4a. For 'HighEndGfx' devices (like HTC One X) need to make something more:
4aa. Open file: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali
4ac. Replace tree lines of code ( do not copy numbers!!):
wiht one line of code ( do not copy numbers!!):
4ad. Now fragment of method makeStatusBarView() looks like:
5. Open SystemUI.apk with WinRAR or 7zip.
6. Compile SystemUI folder and go to %apktool_folder%\SystemUI\build\apk
7. Copy only classes.dex to SystemUI.apk.
8. Move SystemUI.apk to /system/app in phone.
9. Reboot.
10. Set permissions to rw-r-r (644)
11. ... and be happy to have transparent notification drawer.
---------------------------------------------------------------------------------
If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor -> change
with
---------------------------------------------------------------------------------
This is 100% working in CM10, don't know what about others JB roms.
I figureout how to set transparent background color in CM10
1. Decompile SystemUI.apk (I'm using apktool 1.4.9)
2. Go to: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone
3. Open in text editor file: PhoneStatusBar$FastColorDrawable.smali
4. replace whole line:
Code:
iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I
Code:
const v0, 0x6033b5e5
After this method draw looks like:
Code:
.method public draw(Landroid/graphics/Canvas;)V
.locals 2
.parameter "canvas"
.prologue
.line 2632
const v0, 0x6033b5e5
sget-object v1, Landroid/graphics/PorterDuff$Mode;->SRC:Landroid/graphics/PorterDuff$Mode;
invoke-virtual {p1, v0, v1}, Landroid/graphics/Canvas;->drawColor(ILandroid/graphics/PorterDuff$Mode;)V
.line 2633
return-void
.end method
4aa. Open file: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali
4ac. Replace tree lines of code ( do not copy numbers!!):
Code:
1. invoke-static {v0}, Landroid/app/ActivityManager;->isHighEndGfx(Landroid/view/Display;)Z
2.
3. move-result v0
Code:
1. const v0, 0x0
Code:
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplay:Landroid/view/Display;
const v0, 0x0
if-nez v0, :cond_0
6. Compile SystemUI folder and go to %apktool_folder%\SystemUI\build\apk
7. Copy only classes.dex to SystemUI.apk.
8. Move SystemUI.apk to /system/app in phone.
9. Reboot.
10. Set permissions to rw-r-r (644)
11. ... and be happy to have transparent notification drawer.
---------------------------------------------------------------------------------
If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor -> change
Code:
<item android:state_pressed="false" android:drawable="@android:drawable/input_method_fullscreen_background" />
Code:
<item android:state_pressed="false" android:drawable="@android:color/black" />
This is 100% working in CM10, don't know what about others JB roms.
Last edited: