FORUMS

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

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

220 posts
Thanks Meter: 455
 
By kalel2012, Senior Member on 8th February 2014, 08:16 PM
Post Reply Subscribe to Thread Email Thread
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:	27864
Size:	18.6 KB
ID:	2567280   Click image for larger version

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

Name:	SS.jpg
Views:	10222
Size:	51.6 KB
ID:	3049898  
Attached Images
 
Attached Files
File Type: zip ZIP_INSTALLER.zip - [Click for QR Code] (245.8 KB, 602 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
 
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 ]
8th February 2014, 11:24 PM |#3  
kalel2012's Avatar
OP Senior Member
Thanks Meter: 455
 
Donate to Me
More
Quote:
Originally Posted by ronii ahmad

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

9th February 2014, 06:09 AM |#4  
SlikToxic's Avatar
Member
Flag Borås
Thanks Meter: 94
 
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, 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
 
More
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
 
Donate to Me
More
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
Member
Thanks Meter: 37
 
More
@kalel2012

Thanks a lot. Working fine on my L.
14th February 2014, 10:34 PM |#9  
Account currently disabled
Flag Kepler-34b
Thanks Meter: 5,682
 
More
I'll wait for the Xposed module

Sent from my C6833 using Tapatalk
15th February 2014, 02:11 AM |#10  
Member
Flag Mexico
Thanks Meter: 13
 
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