FORUMS
Remove All Ads from XDA

[MOD][HOW TO][GT-S7562] Enabling/modding Transparency

2,061 posts
Thanks Meter: 4,482
 
Post Reply Email Thread
Hi Samsung Galaxy S Duos GT-S7562 users

Many of you asked me questions/helps for regarding transparency in our device.
So, i decided to make a help thread for everyone for GT-S7562 [This is what i did to make transparency in my GT-S7562 ]

This guide will tell you to how to enable transparency and modding transparency levels in your device.

You will need:
1. 7zip
2. Notepad++
3. ApkToolv3 Donwload here (Not any other ApkTool) [For this ApkTool, Credit goes to Kryten2k35]


Now the steps:

1. Extract apktoolv3

2 There will be a 'READ_ME.txt file, with the help of this decompile your SystemUI.apk

3. Now open WORKING folder and go to- SystemUI\smali\com\android\systemui\statusbar

4. Open StatusBar.smali with notepad++ and search for this:


Code:
Landroid/view/WindowManager$LayoutParams;->(IIIII)V
Go to the line above it and change the last value to -0x3

Save it and close

This will enable the transparency for StatusBar



Now for StatusBar Expanded/Notification Background

1. Go to- SystemUI\smali\com\android\systemui\statusbar\phon e

2. Open PhoneStatusBar.smali with notepad++ and search for this:


Code:
const v4, 0x4800068
replace the 2 lines underneath with this:

Code:
const/4 v5, -0x3

move v2, v1
Now search for this:

Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I
Go to the line above it and change the last value to -0x3

Save it and close.

This will enable transparency in your device



Now for making transparency

1. In WORKING folder go to- SystemUI\res\values

2. Open drawables.xml using notepad++ and in this line:


Code:
<item type="drawable" name="status_bar_background">#xxxxxxxx</item>
where 'xxxxxxxx' is some value.

Change xxxxxxxx to as per your need of transparency level:

00000000 - 100% transparency

3F000000 - 75% transparency

7F000000 - 50% transparency

BF000000 - 25% transparency

FF000000 - 0% transparent (No transparency)

Save it and close

3. And do the same with:

(a) SystemUI\res\values-sw600dp\drawables.xml


Code:
<item type="drawable" name="status_bar_background">#xxxxxxxx</item>
Save it and close

(b) SystemUI\res\values-sw800dp\drawables.xml


Code:
<item type="drawable" name="status_bar_background">#xxxxxxxx</item>
Save it and close

This will make your StatusBar transparent as per your values
.


Now for making StatusBar Expanded/Notification Background transparent.

1. In WORKING folder go to- SystemUI\res\values

2 Open drawables.xml using notepad++ and in this line:


Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
Change xxxxxxxx to as per your need of transparency level.

Save it and close

3. And do the same with:

(a) SystemUI\res\layout\tw_status_bar_tracking.xml


Code:
<FrameLayout android:background="#xxxxxxxx" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close

(b) SystemUI\res\layout\tw_status_bar_tracking_dual.xm l


Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#xxxxxxxx" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close.

This will make your StatusBar Expanded/Notification Background transparent as per your values.

Now recompile and sign SystemUI.apk with the help of that READ_ME.txt file.


--------------------------------------------------------------------------------------------------------------------------------------------

Enjoy!

And Dont Forget To Press Thanks Button


IF YOU LIKE MY WORK, PLEASE CONSIDER ANY DONATION FOR CONTINUE DEVELOPMENT

The Following 15 Users Say Thank You to Mohitash For This Useful Post: [ View ] Gift Mohitash Ad-Free
 
 
19th June 2013, 05:58 PM |#2  
saifzahid's Avatar
Senior Member
Thanks Meter: 35
 
More
Isn't it too .... complicated for a simple user?
Can't you make a simple zip and we ll flash through cwm
Anyway thanks for your work for our device.

Sent from my GT-S7562 using xda premium
The Following 2 Users Say Thank You to saifzahid For This Useful Post: [ View ] Gift saifzahid Ad-Free
19th June 2013, 06:07 PM |#3  
Mohitash's Avatar
OP Senior Member
Flag Panchkula, Chandigarh
Thanks Meter: 4,482
 
More
Quote:
Originally Posted by saifzahid

Isn't it too .... complicated for a simple user?
Can't you make a simple zip and we ll flash through cwm
Anyway thanks for your work for our device.

Sent from my GT-S7562 using xda premium

It can be complicated but its a most simple way
You can try it, afterwards may be you will not find this complicated
And its good for learning new thing...
It can help you for many other devices and for making transparencies in many other apps too

Sent from my GT-S7562 using Tapatalk 2
19th June 2013, 07:47 PM |#4  
mohit.bhagat1's Avatar
Member
Flag pathankot
Thanks Meter: 3
 
More
Can i do it on stock rom....nd is this really workss...i mean is there any risk

Sent from my GT-S7562 using xda premium
19th June 2013, 08:18 PM |#5  
Mohitash's Avatar
OP Senior Member
Flag Panchkula, Chandigarh
Thanks Meter: 4,482
 
More
Thumbs up
Quote:
Originally Posted by mohit.bhagat1

Can i do it on stock rom....nd is this really workss...i mean is there any risk

Sent from my GT-S7562 using xda premium

Yes you can do it on stock rom
Yes it works for sure with no risk
Just do the steps clearly
And its better to keep backup of original SystemUI.apk
19th June 2013, 08:28 PM |#6  
pavankiran56's Avatar
Member
Flag hyderabad
Thanks Meter: 22
 
More
Quote:
Originally Posted by Mohitash

Hi Samsung Galaxy S Duos GT-S7562 users

Many of you asked me questions/helps for regarding transparency in our device.
So, i decided to make a help thread for everyone for GT-S7562 [This is what i did to make transparency in my GT-S7562 ]

This guide will tell you to how to enable transparency and modding transparency levels in your device.

You will need:
1. 7zip
2. Notepad++
3. ApkToolv3 Donwload here (Not any other ApkTool) [For this ApkTool, Credit goes to Kryten2k35]


Now the steps:

1. Extract apktoolv3

2 There will be a 'READ_ME.txt file, with the help of this decompile your SystemUI.apk

3. Now open WORKING folder and go to- SystemUI\smali\com\android\systemui\statusbar

4. Open StatusBar.smali with notepad++ and search for this:


Code:
Landroid/view/WindowManager$LayoutParams;->(IIIII)V
Go to the line above it and change the last value to -0x3

Save it and close

This will enable the transparency for StatusBar



Now for StatusBar Expanded/Notification Background

1. Go to- SystemUI\smali\com\android\systemui\statusbar\phon e

2. Open PhoneStatusBar.smali with notepad++ and search for this:


Code:
const v4, 0x4800068
replace the 2 lines underneath with this:

Code:
const/4 v5, -0x3

move v2, v1
Now search for this:

Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I
Go to the line above it and change the last value to -0x3

Save it and close.

This will enable transparency in your device



Now for making transparency

1. In WORKING folder go to- SystemUI\res\values

2. Open drawables.xml using notepad++ and in this line:


Code:
<item type="drawable" name="status_bar_background">#xxxxxxxx</item>
where 'xxxxxxxx' is some value.

Change xxxxxxxx to as per your need of transparency level:

00000000 - 100% transparency

3F000000 - 75% transparency

7F000000 - 50% transparency

BF000000 - 25% transparency

FF000000 - 0% transparent (No transparency)

Save it and close

3. And do the same with:

(a) SystemUI\res\values-sw600dp\drawables.xml


Code:
<item type="drawable" name="status_bar_background">#xxxxxxxx</item>
Save it and close

(b) SystemUI\res\values-sw800dp\drawables.xml


Code:
<item type="drawable" name="status_bar_background">#xxxxxxxx</item>
Save it and close

This will make your StatusBar transparent as per your values
.


Now for making StatusBar Expanded/Notification Background transparent.

1. In WORKING folder go to- SystemUI\res\values

2 Open drawables.xml using notepad++ and in this line:


Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
Change xxxxxxxx to as per your need of transparency level.

Save it and close

3. And do the same with:

(a) SystemUI\res\layout\tw_status_bar_tracking.xml


Code:
<FrameLayout android:background="#xxxxxxxx" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close

(b) SystemUI\res\layout\tw_status_bar_tracking_dual.xm l


Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#xxxxxxxx" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close.

This will make your StatusBar Expanded/Notification Background transparent as per your values.

Now recompile and sign SystemUI.apk with the help of that READ_ME.txt file.


--------------------------------------------------------------------------------------------------------------------------------------------

Enjoy!

And Dont Forget To Press Thanks Button


You rock man... keep gng...!!!

Sent from my GT-S7562 using xda app-developers app
The Following 3 Users Say Thank You to pavankiran56 For This Useful Post: [ View ] Gift pavankiran56 Ad-Free
19th July 2013, 09:56 AM |#7  
einst31n's Avatar
Senior Member
Flag gurgaon
Thanks Meter: 213
 
More
Thanks, this is really what i had been looking for a few days back but gave up due to lack of time. Now this has got me interested


Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
20th July 2013, 02:26 PM |#8  
Mohitash's Avatar
OP Senior Member
Flag Panchkula, Chandigarh
Thanks Meter: 4,482
 
More
Quote:
Originally Posted by einst31n

Thanks, this is really what i had been looking for a few days back but gave up due to lack of time. Now this has got me interested


Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM

Dude, you havent seen this before? My this thread is very old.

Well good luck

Sent from my GT-S7562 using Tapatalk 2
The Following User Says Thank You to Mohitash For This Useful Post: [ View ] Gift Mohitash Ad-Free
20th July 2013, 03:48 PM |#9  
einst31n's Avatar
Senior Member
Flag gurgaon
Thanks Meter: 213
 
More
Man i had really been out of touch with xda because i just got some preparations to do. I just got into my final year and immediately got busy with the placement stuff and all. I didnt upload any themes which i had made either coz of the fact that indian hostels dont provide a fast and reliable net
Will find time to continue my work hopefully

Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
The Following User Says Thank You to einst31n For This Useful Post: [ View ] Gift einst31n Ad-Free
17th March 2014, 04:59 AM |#10  
Senior Member
Thanks Meter: 85
 
More
Superb

Sent from my GT-S7562 using xda app-developers app
Post Reply Subscribe to Thread

Tags
gt s7562, how to, mode, samsung galaxy s duos, transparent

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes