[MOD][ICS - LP*/CM9] Translucent status bar

Search This thread

Hack3rxt

Senior Member
May 22, 2010
89
10
Burgos
I've provided a CWM patch (http://xdaforums.com/showpost.php?p=24999256&postcount=343), extract the file SystemUI.apk and adb updating your phone

adb push /your_directory/SystemUI.apk /system/app/SystemUI.apk
adb reboot

el_liberator, sorry still does not work. I can do? Will this so complicated?

Code:
D:\Android\android-sdk\platform-tools>adb push SystemUI.apk /system/app/SystemUI
.apk
1560 KB/s (1607581 bytes in 1.006s)

D:\Android\android-sdk\platform-tools>adb reboot

D:\Android\android-sdk\platform-tools>
 

drigz08

Senior Member
Jul 31, 2011
190
34
Request for stock XWLP8 Deodexed with some of my mods
100% translucent
75% translucent
50% translucent
25% translucent

Here are my files - SystemUI.apk and framework-res.apk
http://www.mediafire.com/?ao63z626dcs811d

Thanks!

Somehow windows can't decompile SystemUi.apk
Tried wannams apktool for windows and apk multi tool both did not work for decompiling.
 
Last edited:

ximotomin

Member
Oct 26, 2010
24
5
Greatings Liberator I'm really impressed with your work. If is possible I'd like you to make 100 % translucent status bar, and if is possible and easy to you 25% and 75 % (if not is enough only with the first one...).
I'm trying to follow your steps for make it myself, but is too difficult for mi... Thanks my friend ;)
 

Attachments

  • systemui+framework-res.zip
    7.8 MB · Views: 11

m3t4L_m4n

Member
Jan 31, 2011
7
0
Bratislava
Nope not working..

Nice mod but unfortunately its not working for me :( Tried two times exactly as described but when I push SystemUI.apk back to my phone statusbar just dissapears. Im on CM9 0419 nightly. I tried this on Linux and everything went without error messeges. I attached tweaked SystemUI and original. Any advice? :p
 

Attachments

  • SystemUI.apk
    784.1 KB · Views: 4
  • SystemUI_original.apk
    761.9 KB · Views: 5
Last edited:

el_liberator

Senior Member
Apr 13, 2011
1,131
1,159
Collias
Request for stock XWLP8 Deodexed with some of my mods
100% translucent
75% translucent
50% translucent
25% translucent

Here are my files - SystemUI.apk and framework-res.apk
http://www.mediafire.com/?ao63z626dcs811d

Thanks!

Somehow windows can't decompile SystemUi.apk
Tried wannams apktool for windows and apk multi tool both did not work for decompiling.

100% : http://www.mediafire.com/?s2p5xb9wd8f9gwo

50% : http://www.mediafire.com/?a1sxa527pcp7bus
 

el_liberator

Senior Member
Apr 13, 2011
1,131
1,159
Collias
Greatings Liberator I'm really impressed with your work. If is possible I'd like you to make 100 % translucent status bar, and if is possible and easy to you 25% and 75 % (if not is enough only with the first one...).
I'm trying to follow your steps for make it myself, but is too difficult for mi... Thanks my friend ;)

Are you sure that your ROM is a DEODEX ROM ???
 
  • Like
Reactions: ximotomin

Foirzie

Member
Jun 15, 2011
23
0
Originally Posted by kurotte
hello el liberator's possible on the Rom CM9 100% transparent thank you

here : http://www.mediafire.com/?xlj9ied8sdq3iaw

I have not tested, do not forget to make a backup before applying

-1-put zip file on sd card
-2-reboot in recovery
-3-make a backup
-4-wipe cache
-5-wipe dalvik cache
-6-flash zip flile
-7-reboot



Hello el_liberator,

Can you make the same one (as you did for Kurotte) but with 75% and 50% transparency?

The 100% works perfectly, but I want to try the different settings.

Thanks
Foirzie
 

cracou111

Senior Member
Aug 19, 2007
218
15
54
Malmedy
Good morning
I'm using ][XWLP8][Omega v11●●►ICS Rom
Android 4.0.3
XWLP8 Android 4.03 (Date: 03/04/2012)
Modem XXLPS
Rom is Deodexed + Rooted + Zipaligned.



Could someone modify my files to have it 50% and 100% transparent?

Big thanks in advance
 
Last edited:

el_liberator

Senior Member
Apr 13, 2011
1,131
1,159
Collias
Good morning
I'm using ][XWLP8][Omega v11●●►ICS Rom
Android 4.0.3
XWLP8 Android 4.03 (Date: 03/04/2012)
Modem XXLPS
Rom is Deodexed + Rooted + Zipaligned.



Could someone modify my files to have it 50% and 100% transparent?

Big thanks in advance

50% : http://www.mediafire.com/?m4kdsk809rmuh6e

100% : http://www.mediafire.com/?u5s965tj3tkjsz0

I have not tested, do not forget to make a backup before applying

-1-put zip file on sd card
-2-reboot in recovery
-3-make a backup
-4-wipe cache
-5-wipe dalvik cache
-6-flash zip flile
-7-reboot
 

MrHome

Senior Member
Nov 1, 2010
61
9
Singapore
Tried the 100% on CM9 04/22 Nightly
and the status bar became like this.
Screenshot_2012-04-23-23-04-13.png


While nothing changes with 50%.
I attached the clean systemui here.
Perhaps anyone would help? :)
 

Attachments

  • SystemUI.apk
    761.9 KB · Views: 3
  • framework-res.apk
    4.6 MB · Views: 1
Last edited:

cracou111

Senior Member
Aug 19, 2007
218
15
54
Malmedy

Attachments

  • Screenshot_2012-04-23-17-06-52.jpg
    Screenshot_2012-04-23-17-06-52.jpg
    29.1 KB · Views: 122

D4rKn3sSyS

Inactive Recognized Developer
Jan 12, 2011
3,800
16,278
Medellín
-6- Navigate to your decompiled folder and go to ~/works/SystemUI/smali/com/android/systemui/statusbar/StatusBar.smali
-7-Search this line :

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

-8- Above this line, change :
Code:
const/16 v16, [B]0x4[/B]

TO

Code:
const/16 v16, [B]-0x3[/B]

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!
 
Last edited:

el_liberator

Senior Member
Apr 13, 2011
1,131
1,159
Collias
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!

Hi
ok, thanks, but you know, people are already struggling to edit a .smali file, then a .java file :D:D:D

I will still put your explanation in OP ;)
 

Top Liked Posts