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

Mohitash

Senior Member
Aug 8, 2012
2,142
4,539
203
Panchkula, Chandigarh
mohitashkumar.xyz
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\phone

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">#[COLOR="Red"]xxxxxxxx[/COLOR]</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">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close

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


Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</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">#[COLOR="red"]xxxxxxxx[/COLOR]</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="#[COLOR="red"]xxxxxxxx[/COLOR]" 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.xml


Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" 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! :good: ;)

And Dont Forget To Press Thanks :good: Button :D ;)


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

;)
 
Last edited:

Mohitash

Senior Member
Aug 8, 2012
2,142
4,539
203
Panchkula, Chandigarh
mohitashkumar.xyz
Isn't it too .... complicated for a simple user?
Can't you make a simple zip and we ll flash through cwm :rolleyes:
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 :D
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
 
Last edited:

pavankiran56

Senior Member
Mar 6, 2013
80
22
0
hyderabad
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\phone

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">#[COLOR="Red"]xxxxxxxx[/COLOR]</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">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close

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


Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</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">#[COLOR="red"]xxxxxxxx[/COLOR]</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="#[COLOR="red"]xxxxxxxx[/COLOR]" 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.xml


Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" 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! :good: ;)

And Dont Forget To Press Thanks :good: Button :D ;)


;)
You rock man...:D keep gng...!!!

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

einst31n

Senior Member
Feb 5, 2013
264
213
0
gurgaon
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 :D


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

Mohitash

Senior Member
Aug 8, 2012
2,142
4,539
203
Panchkula, Chandigarh
mohitashkumar.xyz
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 :D


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
 
  • Like
Reactions: Taraash1996

einst31n

Senior Member
Feb 5, 2013
264
213
0
gurgaon
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 :p
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
 
  • Like
Reactions: Mohitash