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

Search This thread

kalel2012

Senior Member
Sep 27, 2012
226
486
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:
attachment.php

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://xdaforums.com/showthread.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
attachment.php

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:
attachment.php

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
 

Attachments

  • 2.drawable.png
    2.drawable.png
    18.6 KB · Views: 31,760
  • 01.style.png
    01.style.png
    5.6 KB · Views: 13,821
  • semc_ab_solid_light_holo.9.png
    semc_ab_solid_light_holo.9.png
    2.5 KB · Views: 14,807
  • ZIP_INSTALLER.zip
    245.8 KB · Views: 1,104
  • SS.jpg
    SS.jpg
    51.6 KB · Views: 14,177
Last edited:

SlikToxic

Senior Member
May 31, 2013
109
107
Borås
Useful tutorial. I want to ask why everytime I want to decompile or compile framework it's always error. Framework from stock rom.
 

Rzr92

Senior Member
Apr 5, 2013
287
65
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?
 

mukulsoni

Senior Member
Aug 16, 2013
721
4,790
Bangkok
Could you please be more clear on step 6. it seems a bit confusing. Thanks for tutorial

Edit: OK got the answer myself. need to push new build folder things to original Framework-res.apk
 
Last edited:

zhalx

Senior Member
Nov 10, 2012
298
454
Visit Indonesia
bit.ly
+1 Thanx.
it works on my MT6589 Cross a88

will wait another great tutorial from you suhu. _/|\_
 

Attachments

  • photostrip-2014-02-15-1.jpg
    photostrip-2014-02-15-1.jpg
    242.4 KB · Views: 487

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    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:
    attachment.php

    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://xdaforums.com/showthread.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
    attachment.php

    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:
    attachment.php

    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
    2
    awesome kk.... nice guide....
    1
    Congratulations!!! Now on Xda portal
    1
    How can i make a version with less / high transparency?
    less is more important

    thanks

    edit <item type="drawable" name="kalel_background">#80000000</item>