Post Reply

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

23rd April 2012, 12:28 PM   |  #371  
el_liberator's Avatar
OP Senior Member
Flag Vexin
Thanks Meter: 1,156
 
1,124 posts
Join Date:Joined: Apr 2011
Donate to Me
Quote:
Originally Posted by cracou111

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
The Following 2 Users Say Thank You to el_liberator For This Useful Post: [ View ]
23rd April 2012, 03:51 PM   |  #372  
Junior Member
Thanks Meter: 1
 
25 posts
Join Date:Joined: Oct 2011
Thanks, but both dont works.
Now i have no Statusbar anymore?!
23rd April 2012, 04:16 PM   |  #373  
Member
Singapore
Thanks Meter: 9
 
61 posts
Join Date:Joined: Nov 2010
More
Tried the 100% on CM9 04/22 Nightly
and the status bar became like this.


While nothing changes with 50%.
I attached the clean systemui here.
Perhaps anyone would help?
Attached Files
File Type: apk SystemUI.apk - [Click for QR Code] (761.9 KB, 3 views)
File Type: apk framework-res.apk - [Click for QR Code] (4.57 MB, 1 views)
Last edited by MrHome; 23rd April 2012 at 07:35 PM.
23rd April 2012, 04:46 PM   |  #374  
cracou111's Avatar
Senior Member
Flag Malmedy
Thanks Meter: 14
 
211 posts
Join Date:Joined: Aug 2007
More
Quote:
Originally Posted by el_liberator

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


Works perfectly! Both worked.
thanks a lot

Fabien
23rd April 2012, 04:57 PM   |  #375  
Junior Member
Thanks Meter: 1
 
25 posts
Join Date:Joined: Oct 2011
Quote:
Originally Posted by cracou111

Works perfectly! Both worked.
thanks a lot

Fabien

Cant understand it.
I use the same ROM?!

Would you make it with 50% and 100% for me too, please?

http://www.mediafire.com/?a23g64i8xhvhhid
23rd April 2012, 05:44 PM   |  #376  
cracou111's Avatar
Senior Member
Flag Malmedy
Thanks Meter: 14
 
211 posts
Join Date:Joined: Aug 2007
More
Smile
Quote:
Originally Posted by Mitch24680

Cant understand it.
I use the same ROM?!

Would you make it with 50% and 100% for me too, please?

http://www.mediafire.com/?a23g64i8xhvhhid

Hello

I just followed the steps of the moderator and after reboot, it worked!

-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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-04-23-17-06-52.jpg
Views:	118
Size:	29.1 KB
ID:	1020777  
23rd April 2012, 05:54 PM   |  #377  
Junior Member
Thanks Meter: 1
 
25 posts
Join Date:Joined: Oct 2011
Quote:
Originally Posted by cracou111

Hello

I just followed the steps of the moderator and after reboot, it worked!

I followed the steps, too and i know what i do, but it dont works.
I installed an different battery-mod. Maybe thats the problem...
23rd April 2012, 08:20 PM   |  #378  
D4rKn3sSyS's Avatar
Recognized Developer
Flag Monteria
Thanks Meter: 15,999
 
3,774 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by el_liberator

-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, 0x4
TO

Code:
const/16 v16, -0x3

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 by D4rKn3sSyS; 23rd April 2012 at 08:26 PM. Reason: typos
23rd April 2012, 08:54 PM   |  #379  
el_liberator's Avatar
OP Senior Member
Flag Vexin
Thanks Meter: 1,156
 
1,124 posts
Join Date:Joined: Apr 2011
Donate to Me
Quote:
Originally Posted by D4rKn3sSyS

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

I will still put your explanation in OP
The Following 2 Users Say Thank You to el_liberator For This Useful Post: [ View ]
23rd April 2012, 10:54 PM   |  #380  
craizzz's Avatar
Member
Flag Devon
Thanks Meter: 7
 
40 posts
Join Date:Joined: Sep 2011
More
Quote:
Originally Posted by craizzz

Hope this works better

http://www.mediafire.com/?3ta33irudz...lml7xdnt3dw499

Cheers!

Hi el_liberator, you made me a translucent status bar a couple days ago for this rom, works great but noticed one thing that when in lock screen your home screen wallpaper shows through and not the lock screen wallpaper.
Can you help Cheers!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S II Themes and Apps by ThreadRank