Remove All Ads from XDA

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

226 posts
Thanks Meter: 485
By kalel2012, Senior Member on 8th February 2014, 08:16 PM
Post Reply 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

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

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

Name:	SS.jpg
Views:	13982
Size:	51.6 KB
ID:	3049898  
Attached Images
Attached Files
File Type: zip - [Click for QR Code] (245.8 KB, 1048 views)
The Following 34 Users Say Thank You to kalel2012 For This Useful Post: [ View ] Gift kalel2012 Ad-Free
8th February 2014, 08:27 PM |#2  
ronii ahmad's Avatar
Senior Member
Flag Malang
Thanks Meter: 235
Donate to Me
Thumbs up
awesome kk.... nice guide....
The Following 2 Users Say Thank You to ronii ahmad For This Useful Post: [ View ] Gift ronii ahmad Ad-Free
8th February 2014, 11:24 PM |#3  
kalel2012's Avatar
OP Senior Member
Thanks Meter: 485
Originally Posted by ronii ahmad

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

9th February 2014, 06:09 AM |#4  
SlikToxic's Avatar
Senior Member
Flag BorĂ¥s
Thanks Meter: 106
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:04 PM |#6  
danlivesey's Avatar
Senior Member
Flag blackburn
Thanks Meter: 127
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
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: 42

Thanks a lot. Working fine on my L.
14th February 2014, 10:34 PM |#9  
Account currently disabled
Flag Kepler-34b
Thanks Meter: 5,680
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
fails to compile

Xperia Z
15th February 2014, 05:10 AM |#11  
Rajeev's Avatar
Senior Member
Flag Chennai , I N D I A
Thanks Meter: 25,353
Donate to Me
Congratulations!!! Now on Xda portal
The Following User Says Thank You to Rajeev For This Useful Post: [ View ] Gift Rajeev Ad-Free
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes