Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP kalel2012

8th February 2014, 09:16 PM   |  #1  
kalel2012's Avatar
OP Senior Member
Thanks Meter: 342
 
195 posts
Join Date:Joined: Sep 2012
Donate to Me
More
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
Screenshot:

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

REQUIREMENTS:
- Advance Apktool, you can get it here http://forum.xda-developers.com/show....php?t=2639400
- 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:
Code:
    <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
Code:
<item name="windowShowWallpaper">false</item>
To :
Code:
<item name="windowShowWallpaper">true</item>
do the same for
Code:
<style name="Theme.Holo.Light" parent="@style/Theme.Light">
b. Find: <style name="Theme.DeviceDefault" parent="@style/Theme.Holo"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background</item>
find : <style name="Theme.DeviceDefault.Light" parent="@style/Theme.Holo.Light"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background_white</item>
c. Add this code
Code:
<item name="windowShowWallpaper">false</item>
under this lines:
Code:
- <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
Done


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:	20008
Size:	18.6 KB
ID:	2567280   Click image for larger version

Name:	01.style.png
Views:	2206
Size:	5.6 KB
ID:	3049846   Click image for larger version

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

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

9th February 2014, 07:09 AM   |  #4  
SlikToxic's Avatar
Member
Flag Borås
Thanks Meter: 56
 
86 posts
Join Date:Joined: May 2013
More
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, 07:55 PM   |  #5  
can i use this for other devices, like Samsung, LG, etc ?
14th February 2014, 08:04 PM   |  #6  
danlivesey's Avatar
Senior Member
Flag blackburn
Thanks Meter: 120
 
569 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, 08:35 PM   |  #7  
Senior Member
Thanks Meter: 65
 
271 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, 10:11 PM   |  #8  
R.A.B's Avatar
Member
Thanks Meter: 34
 
76 posts
Join Date:Joined: Apr 2013
@kalel2012

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

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



Xperia Z
4.3
10.4.1.B.0.101

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

Advanced Search
Display Modes