Friday, 4 March 2016

Notification Panel Permanent Transparency

Requirements:

1) Apktool version 1.5.2
2) 920 editor or NOTEPAD++
3) Root Explorer

Procedure:

1. Decompile SystemUI.apk

2. Goto to SystemUI_src/smali/com/android/systemui/statusbar/phone/HERE

3. Open PhoneStatusBar$FastColorDrawable.smali

4. Search for code:

.parameter "canvas"

5. You'll then see a code which look like this (this may vary per device)

    iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I

6. Replace it with

    const v0, 0x00000000

for 100% Transparency

7. for 60% transparency uss this code:

    const v0, 0x5a000000

8. Save it and go to /res/layout/tw_status_bar_expanded.xml or tw_status_bar_expanded_dual.xml

9. Open it and search for code:

@drawable/notification_panel_bg

10. Change it's hex code according to the one you used in PhoneStatusBar$FastColorDrawable.smali but this time, include hashtags.

    example:

    #00000000 - For 100% transparency
    #5a000000For 60% transparency

11. Save it.

10. Recompile SystemUI_src

11. Don't forget to copy the original Android Manifest and Meta-INF from the original .apk

12. Permission = rw,r,r

13. Push to /system/app

14. Reboot

Note: Please don't copy (reguide or relink) this guide without my permission.