[GUIDE]How To Make Rom Transparent

Search This thread

Himan Boro

Senior Member
Jul 31, 2013
540
68
26
Guwahati
Hey Guys Today M Going To Show You How To Make Your Rom[Any Rom] Transparent
I Tried Many Tutorials But None Of Them Was Succesful....So I Compared Stock Framework-res.apk
With Custom Rom's Framework And I Got Succes

#I WONT BE RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR PHONE..SO TRY AT YOUR OWN RISK

WORKED ON----
GALAXY Y DUOS GT-S6102


So Here We Go::::::::::

REQUIREMENTS===
1.DECOMPILING/RECOMPILING KNOWLEDGE+TOOL
2.FRAMEWORK-RES.APK
3.NOTEPAD++


STEP 1
Decompile Your Framework-res.apk[With No Error]

Go To Decompiled Folder In
res/values/styles.xml

Open Styles.xml With Notepad ++ And Do This

Find <style name="Theme">
And Below <style name="Theme"> Line Find Colorbackground & Windowbackground


There May Be Some Line Like This:

Code:
[COLOR=RED]<item name="colorBackground">@color/background_dark</item>[/COLOR]
      [COLOR=BLUE]<item name="windowBackground">@drawable/screen_background_dark</item>[/COLOR]

Replace Them With

Code:
[COLOR=RED]<item name="colorBackground">@color/transparent</item>[/COLOR]
[COLOR=BLUE]<item name="windowBackground">@color/background</item>[/COLOR]

And Add This Line Below Window Background Or Anywhere You Like,But It Should Lie Under <style name="Theme"> & </style>
Code:
<item name="windowShowWallpaper">true</item>

=========================================================
Find <style name="Theme.Black" parent="@style/Theme">

And Replace

Code:
[COLOR=RED]<item name="colorBackground">@color/black</item>[/COLOR]
        [COLOR=BLUE]<item name="windowBackground">@color/black</item>[/COLOR]
With


Code:
[COLOR=RED]<item name="colorBackground">@color/background</item>[/COLOR]
[COLOR=BLUE]<item name="windowBackground">@color/background</item>[/COLOR]
=========================================================

Find <style name="Theme.Dialog" parent="@style/Theme">

Add The Following Line In It

Code:
<item name="windowShowWallpaper">false</item>
=========================================================

Find <style name="Theme.Light" parent="@style/Theme">

Add This line In It

Code:
<item name="windowShowWallpaper">false</item>
========================================================
Now Do The Above Step In The Followig Line Also

I MEAN::::::::::::::::::::Find The Following Line One By One

Code:
<style name="Theme.Translucent" parent="@style/Theme">

<style name="Theme.Translucent.NoTitleBar" parent="@style/Theme.Translucent">

<style name="Theme.NoDisplay" parent="@style/Theme">

<style name="Theme.Panel" parent="@style/Theme">

ADD This Line
Code:
<item name="windowShowWallpaper">false</item>
For Each Of The Codes Given Above REMEMBER-----ONE BY ONE
========================================================

Find <style name="Theme.Wallpaper" parent="@style/Theme">

ADD THESE LINE IT

Code:
<item name="windowShowWallpaper">true</item>



STYLES.XML WORK IS FINISHED HERE NOW LETS START WITH COLOR.XML
It will Be Located In Decomiled Folder Of Framework-res.apk
res/values/colors.xml

Open Colors.xml With notepad++
And Add This Line
Code:
<color name="background">#7f000000</color>
Above
Code:
</resources>
I Like 50% Transparency So I Gave
Code:
#7f0000000

TRANSPARENCY CODES
100% #00000000
70% #3F00000000
50% #7F000000
25% #BF000000



All Done Save Recompile And sign And Install It Via Flashable Zip To Avoid Restarts
And After Flashing You May Loose Your statusbar So Have A Backup Of Your SystemUI And Flash It After The Installation Of Framework-res.apk


OR ELSE
Put Your SystemUI(& lidroid-res.apk) In flashable zip along with framework-res.apk


I PROVIDED MY STYLES.XML FOR YOUR REFERENCE


PRESS THANKS IF YOU LIKED MY WORK





Here Are Some SS

attachment.php
 
Last edited:

Himan Boro

Senior Member
Jul 31, 2013
540
68
26
Guwahati
Gey bro it will not @Color/background u have to give @Color/transparent

hmm thanks bro..but as i told that i compared styles from different rom so the rom which i compared it had background in some some codes instead of transparent....
if u give everywhere everywhere transparent then u will have some bugs like u wont b able to see the taskmanager to clear ram and My files black bug etc etc..this is working try n see once
 

Lemon_Lime`s

Senior Member
Jan 27, 2014
202
35
wow nice guide for u bro . insert too (#bf - 25% trans) code . it will much cooler if u bg 25% trans .

Sent from my GT-S5360 using Tapatalk 2
 
  • Like
Reactions: Himan Boro

Lemon_Lime`s

Senior Member
Jan 27, 2014
202
35
ahh okey:D but hey . just focus on u skool not u smartphone:p

Sent from my GT-S5360 using Tapatalk 2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hey Guys Today M Going To Show You How To Make Your Rom[Any Rom] Transparent
    I Tried Many Tutorials But None Of Them Was Succesful....So I Compared Stock Framework-res.apk
    With Custom Rom's Framework And I Got Succes

    #I WONT BE RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR PHONE..SO TRY AT YOUR OWN RISK

    WORKED ON----
    GALAXY Y DUOS GT-S6102


    So Here We Go::::::::::

    REQUIREMENTS===
    1.DECOMPILING/RECOMPILING KNOWLEDGE+TOOL
    2.FRAMEWORK-RES.APK
    3.NOTEPAD++


    STEP 1
    Decompile Your Framework-res.apk[With No Error]

    Go To Decompiled Folder In
    res/values/styles.xml

    Open Styles.xml With Notepad ++ And Do This

    Find <style name="Theme">
    And Below <style name="Theme"> Line Find Colorbackground & Windowbackground


    There May Be Some Line Like This:

    Code:
    [COLOR=RED]<item name="colorBackground">@color/background_dark</item>[/COLOR]
          [COLOR=BLUE]<item name="windowBackground">@drawable/screen_background_dark</item>[/COLOR]

    Replace Them With

    Code:
    [COLOR=RED]<item name="colorBackground">@color/transparent</item>[/COLOR]
    [COLOR=BLUE]<item name="windowBackground">@color/background</item>[/COLOR]

    And Add This Line Below Window Background Or Anywhere You Like,But It Should Lie Under <style name="Theme"> & </style>
    Code:
    <item name="windowShowWallpaper">true</item>

    =========================================================
    Find <style name="Theme.Black" parent="@style/Theme">

    And Replace

    Code:
    [COLOR=RED]<item name="colorBackground">@color/black</item>[/COLOR]
            [COLOR=BLUE]<item name="windowBackground">@color/black</item>[/COLOR]
    With


    Code:
    [COLOR=RED]<item name="colorBackground">@color/background</item>[/COLOR]
    [COLOR=BLUE]<item name="windowBackground">@color/background</item>[/COLOR]
    =========================================================

    Find <style name="Theme.Dialog" parent="@style/Theme">

    Add The Following Line In It

    Code:
    <item name="windowShowWallpaper">false</item>
    =========================================================

    Find <style name="Theme.Light" parent="@style/Theme">

    Add This line In It

    Code:
    <item name="windowShowWallpaper">false</item>
    ========================================================
    Now Do The Above Step In The Followig Line Also

    I MEAN::::::::::::::::::::Find The Following Line One By One

    Code:
    <style name="Theme.Translucent" parent="@style/Theme">
    
    <style name="Theme.Translucent.NoTitleBar" parent="@style/Theme.Translucent">
    
    <style name="Theme.NoDisplay" parent="@style/Theme">
    
    <style name="Theme.Panel" parent="@style/Theme">

    ADD This Line
    Code:
    <item name="windowShowWallpaper">false</item>
    For Each Of The Codes Given Above REMEMBER-----ONE BY ONE
    ========================================================

    Find <style name="Theme.Wallpaper" parent="@style/Theme">

    ADD THESE LINE IT

    Code:
    <item name="windowShowWallpaper">true</item>



    STYLES.XML WORK IS FINISHED HERE NOW LETS START WITH COLOR.XML
    It will Be Located In Decomiled Folder Of Framework-res.apk
    res/values/colors.xml

    Open Colors.xml With notepad++
    And Add This Line
    Code:
    <color name="background">#7f000000</color>
    Above
    Code:
    </resources>
    I Like 50% Transparency So I Gave
    Code:
    #7f0000000

    TRANSPARENCY CODES
    100% #00000000
    70% #3F00000000
    50% #7F000000
    25% #BF000000



    All Done Save Recompile And sign And Install It Via Flashable Zip To Avoid Restarts
    And After Flashing You May Loose Your statusbar So Have A Backup Of Your SystemUI And Flash It After The Installation Of Framework-res.apk


    OR ELSE
    Put Your SystemUI(& lidroid-res.apk) In flashable zip along with framework-res.apk


    I PROVIDED MY STYLES.XML FOR YOUR REFERENCE


    PRESS THANKS IF YOU LIKED MY WORK





    Here Are Some SS

    attachment.php
    1
    wow nice guide for u bro . insert too (#bf - 25% trans) code . it will much cooler if u bg 25% trans .

    Sent from my GT-S5360 using Tapatalk 2
    1
    I try, but can't recompile

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

    Which Apktool did u use...
    use Advanced Apk tool by @BDFreak
    it doesnt give any error...