Post Reply Subscribe to Thread Email Thread

[TUTORIAL][KK/JB 4.3][STOCK_ROM] Transparent Framework

8th February 2014, 08:16 PM   |  #1  
kalel2012's Avatar
OP Senior Member
Thanks Meter: 370
200 posts
Join Date:Joined: Sep 2012
Donate to Me
Transparent framework for Xperia KK/JB 4.3 Stock Rom (Update For Theme.Holo.Light)

This mod affect to Settins.apk, Conversations.apk and SemcPhone.apk

Tested work on:
- Sony Xperia SP (JB 4.3)
- Sony Xperia Z (KK)
- Sony Xperia Z1 (KK)
I get the basic tutorial of thread by ZduneX25

- Advance Apktool, you can get it here
- Notepad++
- 7zip
- Root Explorer
- A deodex rom
- Framework-res.apk

1. Decompile Framework-res.apk
2. Open /res/value/drawable.xml with Notepad++ add the following lines:
    <item type="drawable" name="kalel_background_white">#a6ffffff</item>
    <item type="drawable" name="kalel_background">#80000000</item>
Save drawable.xml

3. Open /res/value/styles.xml with Notepad++
a. Find : <style name="Theme.Holo" parent="@style/Theme"> edit line
<item name="windowShowWallpaper">false</item>
To :
<item name="windowShowWallpaper">true</item>
do the same for
<style name="Theme.Holo.Light" parent="@style/Theme.Light">
b. Find: <style name="Theme.DeviceDefault" parent="@style/Theme.Holo"> edit:
<item name="windowBackground">@drawable/kalel_background</item>
find : <style name="Theme.DeviceDefault.Light" parent="@style/Theme.Holo.Light"> edit:
<item name="windowBackground">@drawable/kalel_background_white</item>
c. Add this code
<item name="windowShowWallpaper">false</item>
under this lines:
- <style name="Theme.NoTitleBar" parent="@style/Theme">
- <style name="Theme.Black" parent="@style/Theme">
- <style name="Theme.Light" parent="@style/Theme">
- <style name="Theme.Translucent" parent="@style/Theme">
- <style name="Theme.NoDisplay" parent="@style/Theme">
- <style name="Theme.Panel" parent="@style/Theme">
- <style name="Theme.WallpaperSettings" parent="@style/Theme">
- <style name="Theme.Holo.Dialog" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.Dialog" parent="@style/Theme.Holo.Light">
- <style name="Theme.Holo.Panel" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.Panel" parent="@style/Theme.Holo.Light">
- <style name="Widget.ListPopupWindow" parent="@style/Widget">
- <style name="Widget.Holo.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.Holo.Spinner" parent="@style/Widget.Spinner.DropDown">
- <style name="Widget.Holo.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Widget.Holo.Light.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.Holo.Light.Spinner" parent="@style/Widget.Holo.Spinner">
- <style name="Widget.Holo.Light.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Theme.Holo.Light.NoActionBar" parent="@style/Theme.Holo.Light">
- <style name="Theme.Holo.Light.DarkActionBar" parent="@style/Theme.Holo.Light">
- <style name="Theme.DeviceDefault.Dialog" parent="@style/Theme.DeviceDefault">
- <style name="Theme.DeviceDefault.Panel" parent="@style/Theme.DeviceDefault">
- <style name="Theme.DeviceDefault.Light.Panel" parent="@style/Theme.DeviceDefault.Light">
- <style name="Widget.DeviceDefault.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.DeviceDefault.Spinner" parent="@style/Widget.Holo.Spinner.DropDown">
- <style name="Widget.DeviceDefault.ListPopupWindow" parent="@style/Widget.Holo.ListPopupWindow">
- <style name="Widget.DeviceDefault.Light.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.DeviceDefault.Light.Spinner" parent="@style/Widget.DeviceDefault.Spinner">
- <style name="Widget.DeviceDefault.Light.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Widget.WebTextView" parent="@style/Widget">
- <style name="Widget.GenericQuickContactBadge" parent="@style/Widget">
- <style name="Widget.QuickContactBadge.WindowSmall" parent="@style/Widget.QuickContactBadge">
- <style name="Widget.QuickContactBadge.WindowMedium" parent="@style/Widget.QuickContactBadge">
- <style name="Widget.TextSuggestionsPopupWindow" parent="@style/Widget">
- <style name="Widget.Holo.PopupWindow.ActionMode" parent="@style/Widget.Holo.PopupWindow">
- <style name="Widget.Holo.Light.PopupWindow.ActionMode" parent="@style/Widget.Holo.Light.PopupWindow">
- <style name="Widget.DeviceDefault.PopupWindow.ActionMode" parent="@style/Widget.Holo.PopupWindow.ActionMode">
- <style name="Theme.Dialog.NoFrame" parent="@style/Theme.Dialog">
- <style name="Theme.ExpandedMenu" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.CompactMenu" parent="@style/Theme.Holo.Light">
- <style name="Theme.Toast" parent="@style/Theme.Dialog">
- <style name="Theme.Holo.Dialog.NoFrame" parent="@style/Theme.Holo.Dialog">
- <style name="Theme.DeviceDefault.Dialog.NoFrame" parent="@style/Theme.DeviceDefault.Dialog">
For sample:

4. Save styles.xml
5. edit file (semc_ab_solid_light_holo.9.png) this setings header transparency with photoshop or other program. (sample on attachment)
6. Recompile and sign Framework-res.apk
7. Copy Framework-res.apk to /system/framework zip installer (sample on attachment)
8. Install Zip in Recovery

Thanks To; (if I forgot someone, please remember me)
- BDFreak
- Frogy Furnetral
- ZduneX25
- dickey
- All android users

Do With Your Own Risk
Attached Thumbnails
Click image for larger version

Name:	2.drawable.png
Views:	25758
Size:	18.6 KB
ID:	2567280   Click image for larger version

Views:	7916
Size:	5.6 KB
ID:	3049846   Click image for larger version

Name:	SS.jpg
Views:	8080
Size:	51.6 KB
ID:	3049898  
Attached Images
Attached Files
File Type: zip - [Click for QR Code] (245.8 KB, 444 views)
Last edited by kalel2012; 5th December 2014 at 08:56 PM.
The Following 33 Users Say Thank You to kalel2012 For This Useful Post: [ View ]
8th February 2014, 08:27 PM   |  #2  
ronii ahmad's Avatar
Senior Member
Flag Malang
Thanks Meter: 233
229 posts
Join Date:Joined: Jun 2013
Donate to Me
Thumbs up
awesome kk.... nice guide....
The Following 2 Users Say Thank You to ronii ahmad For This Useful Post: [ View ]
8th February 2014, 11:24 PM   |  #3  
kalel2012's Avatar
OP Senior Member
Thanks Meter: 370
200 posts
Join Date:Joined: Sep 2012
Donate to Me
Originally Posted by ronii ahmad

awesome kk.... nice guide....

9th February 2014, 06:09 AM   |  #4  
SlikToxic's Avatar
Flag Borås
Thanks Meter: 85
95 posts
Join Date:Joined: May 2013
Useful tutorial. I want to ask why everytime I want to decompile or compile framework it's always error. Framework from stock rom.
14th February 2014, 06:55 PM   |  #5  
can i use this for other devices, like Samsung, LG, etc ?
14th February 2014, 07:04 PM   |  #6  
danlivesey's Avatar
Senior Member
Flag blackburn
Thanks Meter: 120
570 posts
Join Date:Joined: Dec 2010
Awsome I'll try this on my xperia z

Sent from my C6603 using XDA Premium 4 mobile app
14th February 2014, 07:35 PM   |  #7  
Senior Member
Thanks Meter: 65
282 posts
Join Date:Joined: Apr 2013
Donate to Me
Whenever i enter the command in command prompt i get this error "java is not recognized as internal or external command,operable program or batch file"
How to fix this?
14th February 2014, 09:11 PM   |  #8  
R.A.B's Avatar
Thanks Meter: 36
80 posts
Join Date:Joined: Apr 2013

Thanks a lot. Working fine on my L.
14th February 2014, 10:34 PM   |  #9  
Account currently disabled
Flag Kepler-34b
Thanks Meter: 5,672
15,002 posts
Join Date:Joined: Oct 2007
I'll wait for the Xposed module

Sent from my C6833 using Tapatalk
15th February 2014, 02:11 AM   |  #10  
Flag Mexico
Thanks Meter: 13
57 posts
Join Date:Joined: Jul 2010
fails to compile

Xperia Z

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes