[MOD][CM10] Transparent Status Bar UPDATED to CM10 ALPHA-7 (18 March 2013)

Search This thread

Adi_aishiteru

Senior Member
Apr 21, 2012
558
688
Bandar Lampung
Last edited:

SpadaBoss

Inactive Recognized Themer
Jun 26, 2012
708
617
Rimini
twitter.com
thank you very much!! some time ago i tried to do this but with no result :) can you tell me what must be modified for this mod? thank you again :D
 

Adi_aishiteru

Senior Member
Apr 21, 2012
558
688
Bandar Lampung
thank you very much!! some time ago i tried to do this but with no result :) can you tell me what must be modified for this mod? thank you again :D

Enjoy Boss :D

here you go Boss

decompile SystemUI/res/values/drawable.xml
<drawable name="status_bar_background">#ff000000</drawable>

#ff000000 change to #00000000 (100% transparent), #88000000(75% Transparent), #7f000000 (50% Transparent), #d8000000 (25% Transparent)compile

decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line in your PhoneWindowManager.smali paste the whole my line
 
Last edited:

SpadaBoss

Inactive Recognized Themer
Jun 26, 2012
708
617
Rimini
twitter.com
Enjoy Boss :D

here you go Boss

decompile SystemUI/res/values/drawable.xml
<drawable name="status_bar_background">#ff000000</drawable>

#ff000000 change to #00000000 (100% transparent), #88000000(75% Transparent), #7f000000 (50% Transparent), #d8000000 (25% Transparent)compile

decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line in your PhoneWindowManager.smali paste the whole my line

thank you bro :D what apktool do you use for decompiling systemui? i lost the one that i used for cm10 transparent notification bar :)

EDIT: found :D
 
Last edited:

i.wahyudi

Senior Member
Dec 5, 2011
65
15
Pandaan - Indonesia
Enjoy Boss :D

here you go Boss

decompile SystemUI/res/values/drawable.xml
<drawable name="status_bar_background">#ff000000</drawable>

#ff000000 change to #00000000 (100% transparent), #88000000(75% Transparent), #7f000000 (50% Transparent), #d8000000 (25% Transparent)compile

decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line in your PhoneWindowManager.smali paste the whole my line

Nice share bro

Could you give more details what kind of line/script are you changed

Thank you
 

hecvalve

Member
May 18, 2012
24
2
VALLADOLID
Enjoy Boss :D

here you go Boss

decompile SystemUI/res/values/drawable.xml
<drawable name="status_bar_background">#ff000000</drawable>

#ff000000 change to #00000000 (100% transparent), #88000000(75% Transparent), #7f000000 (50% Transparent), #d8000000 (25% Transparent)compile

decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line in your PhoneWindowManager.smali paste the whole my line

hi

this changes are available for other devices like Galaxy s plus gti9001

thank you
 

hecvalve

Member
May 18, 2012
24
2
VALLADOLID
hello again

Sorry for this question, maybe is a stupid question but i´m noob
when i come to this step:

"decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line in your PhoneWindowManager.smali paste the whole my line"

I have to change a line in concretly or everything in my archive PhoneWindowManager.smali

thank you so much
 

LuisFNet

Member
Jan 25, 2013
29
6
Lisbon
Hello,

This MOD works perfect but when I apply one of Cobalt Themes MOD doesn't apply, looks like Theme has a black status bar background...

Can you help me?

Thank you in advance!
 
Last edited:

Adi_aishiteru

Senior Member
Apr 21, 2012
558
688
Bandar Lampung
Hello,

This MOD works perfect but when I apply one of Cobalt Themes MOD doesn't apply, looks like Theme has a black status bar background...

Can you help me?

Thank you in advance!

ekstrak you theme, go to ekstakted folder/res/here, find png called status_bar_background.png and replace it transparent.png

if the png doesn't exist, you must decompile the theme & go to decompiled folder/res/values/drawable.xml/ edit status_bar_background colour to "#88000000"
 
  • Like
Reactions: LuisFNet

frogerra

Senior Member
Jun 11, 2012
542
449
Cianjur
Re: [MOD][CM10] Transparent Status Bar

Sir, can you help me make a transparent status bar for Xperia Ray?!
Makasih sebelumnya.

Sent from my Xperia Ray using Tapatalk 2
 

adrianom

Senior Member
Oct 14, 2011
487
2,547
Florianópolis
Enjoy Boss :D

here you go Boss

decompile SystemUI/res/values/drawable.xml
<drawable name="status_bar_background">#ff000000</drawable>

#ff000000 change to #00000000 (100% transparent), #88000000(75% Transparent), #7f000000 (50% Transparent), #d8000000 (25% Transparent)compile

decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line
in your PhoneWindowManager.smali paste the whole my line

Adi_ai****eru,

You mention in the instructions:

Code:
decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line in your PhoneWindowManager.smali paste the whole my line

What line are you talking about? I do not understand this part.

I appreciate if you can help.

Thanks.

UPDATE:

I found the location in source code and build from there. For those who want to build from source code, edit the PhoneWindowManager.java at:

framework/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

And remove the lines:

Code:
if (mStatusBar! = null) return mStatusBar.getSurfaceLayer ();
if (mNavigationBar! = null) return mNavigationBar.getSurfaceLayer ();
 
Last edited:

rodman01

Inactive Recognized Contributor / Themer
Apr 25, 2012
5,770
9,564
Allgäu
Adi_ai****eru,

You mention in the instructions:

Code:
decompile my android.policy.jar
com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

and delete the whole line in your PhoneWindowManager.smali paste the whole my line

What line are you talking about? I do not understand this part.

I appreciate if you can help.

Thanks.

UPDATE:

I found the location in source code and build from there. For those who want to build from source code, edit the PhoneWindowManager.java at:

framework/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

And remove the lines:

Code:
if (mStatusBar! = null) return mStatusBar.getSurfaceLayer ();
if (mNavigationBar! = null) return mNavigationBar.getSurfaceLayer ();

Thanks for that additional information, that helped a lot to understand the howto
above :). But: i do not have that lines in my phonewindowmanger.smali :(.
I want to have the transparent statusbar on CM10.1 and cannot find these lines in the smali...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    CM10 TRANSPARENT STATUS BAR



    SCREENSHOTS & DOWNLOAD

    SCREENSHOT >> click here <<
    DOWNLOAD : CM10_ALPHA-7_TRANSPARENT_STATUS_BAR

    UNINSTALL MOD : UNINSTALL_CM10-ALPHA-7_TRANSPARENT_STATUS_BAR

    CWM
    WIPE CACHE
    INSTALL ZIP
    REBOOT

    wallpaper in screenshot : Blown Dandelion


    CREDIT & THANKS TO

    Arco
    Evilisto
    (Unofficial Community) Galaxy Wonder Cyanogen Mod Indonesia



    if you like this mod, just prees the THANKS BUTTON:good::cowboy::good:​
    11
    thank you very much!! some time ago i tried to do this but with no result :) can you tell me what must be modified for this mod? thank you again :D

    Enjoy Boss :D

    here you go Boss

    decompile SystemUI/res/values/drawable.xml
    <drawable name="status_bar_background">#ff000000</drawable>

    #ff000000 change to #00000000 (100% transparent), #88000000(75% Transparent), #7f000000 (50% Transparent), #d8000000 (25% Transparent)compile

    decompile my android.policy.jar
    com/android/internal/policy/impl/PhoneWindowManager.smali COPY the whole line

    and delete the whole line in your PhoneWindowManager.smali paste the whole my line
    2
    Hello, thank you for the awesome transparency mod. Can you make it 50% transparent and post it here.

    Thanks

    post your Requesting in here : http://xdaforums.com/showthread.php?t=2245405
    2
    What exactly did you change in the smali? Could you just post the exact lines please. I want to use the transparent statusbar in my new ROM, based on CM10.1 4.2.2. I will give you some credit in my opening post, and give you a 'thanks' :fingers-crossed:

    To anyone trying to change the SMALI files in framework.policy.jar - You need to replace 3 files, not just one line
    The files that need replacing are:

    PhoneWindowManager$22.smali
    PhoneWindowManager$5.smali
    PhoneWindowManager.smali


    I have attached the transparent versions in the file below. Just copy and replace them, no need to edit.

    As a full guide, to get the transparent status bar framework you need to do the following:

    1. Download the attached zip and extract to a new folder
    2. Open your framework.policy.jar using 7zip (or similar) and extract classes.dex to the "smali" folder in the new location
    3. Open CMD and change to the directory where you pasted the classes.dex
    4. Type java -jar baksmali-1.3.3.jar -o classout/ classes.dex
    5. This should extract the dex to a classout folder
    6. Browse to com\android\internal\policy\impl\
    7. Copy the all the files from the "new files" folder (from the extracted zip)
    8. This should overwrite three files
    9. Delete your old classes.dex file and run java -jar smali-1.3.3.jar classout -o classes.dex From CMD
    10. This should build a new classes.dex file which you can copy back into your framework.policy.jar using 7zip
    1
    thank you bro :D what apktool do you use for decompiling systemui? i lost the one that i used for cm10 transparent notification bar :)

    EDIT: found :D

    I don't use ApkTool Boss..:)

    My tools :
    Apk. : Apk Multitools
    Jar.apk. : Jar Decompiler

    Sent from my GT-I8150 using xda app-developers app