Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,176 Members 51,572 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL][JB][STOCK] Transparent Framework

Tip us?
 
kalel2012
Old
(Last edited by kalel2012; 9th February 2014 at 01:58 AM.)
#1  
kalel2012's Avatar
Senior Member - OP
Thanks Meter 255
Posts: 153
Join Date: Sep 2012

 
DONATE TO ME
Default [TUTORIAL][JB][STOCK] Transparent Framework

Transparent framework for Xperia JB Stock Rom

Screenshot:
 

Tested work on:
- Sony Xperia L (JB 4.1.2 and 4.2.2)
- Sony Xperia SP (JB 4.1.2)
I get the basic tutorial of thread by ZduneX25

REQUIREMENTS:
- Apktool, you can get it here http://forum.xda-developers.com/show....php?t=2195680
- Notepad++
- 7zip
- Root Explorer
- A deodex rom
- Framework-res.apk
For Xperia 2013 before do this you need to modification framework-res.apk and framework.jar with this guide from erorcun

1. Decompile Framework-res.apk with comand

Code:
apktool if framework-res.apk
apktool d framework-res.apk
 

2. Open /res/value/drawable.xml with Notepad++ add the following lines:
Code:
<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>
 

b. Find : <style name="Theme.NoTitleBar" parent="@style/Theme"> add :
Code:
<item name="windowShowWallpaper">false</item>
 

c. Same with step 3b :
Find : <style name="Theme.Black" parent="@style/Theme"> add:
Code:
<item name="windowShowWallpaper">false</item>
Find : <style name="Theme.Light" parent="@style/Theme"> add:
Code:
<item name="windowShowWallpaper">false</item>
Find : <style name="Theme.Translucent" parent="@style/Theme"> add:
Code:
<item name="windowShowWallpaper">false</item>
Find : <style name="Theme.NoDisplay" parent="@style/Theme"> add:
Code:
<item name="windowShowWallpaper">false</item>
Find : <style name="Theme.Panel" parent="@style/Theme"> add:
Code:
<item name="windowShowWallpaper">false</item>
Find : <style name="Theme.DeviceDefault.Panel" parent="@style/Theme.DeviceDefault"> add:
Code:
<item name="windowShowWallpaper">false</item>
Find : <style name="Theme.DeviceDefault.Light.Panel" parent="@style/Theme.DeviceDefault.Light"> add:
Code:
<item name="windowShowWallpaper">false</item>
Find: <style name="Theme.WallpaperSettings" parent="@style/Theme"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background</item>
Find: <style name="Theme.DeviceDefault" parent="@style/Theme.Holo"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background</item>
4. Save styles.xml

5. Recompile Framework-res.apk with comand

Code:
Apktool b framework-res
 

6. Open your framework-res.apk with 7zip Navigate to framework-res\build\apk
Drag and drop folder res and file resources.arsc to your framework-res.apk

 

7. Use Root Explorer
Copy your new framework-res.apk to /system
Set permission to rw-r--r--
Move to /system/framework
Reboot
Or Use flashable zip via cwm
Done


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

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

Name:	1. decompile.png
Views:	13764
Size:	52.8 KB
ID:	2567279   Click image for larger version

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

Name:	3. styles1.png
Views:	13617
Size:	17.7 KB
ID:	2567281   Click image for larger version

Name:	4. styles2.png
Views:	13552
Size:	6.4 KB
ID:	2567282   Click image for larger version

Name:	5. build-apk.png
Views:	13552
Size:	42.8 KB
ID:	2567283  

Click image for larger version

Name:	6. drag-drop.png
Views:	13488
Size:	37.9 KB
ID:	2567284  
The Following 25 Users Say Thank You to kalel2012 For This Useful Post: [ Click to Expand ]
 
ronii ahmad
Old
#2  
ronii ahmad's Avatar
Senior Member
Thanks Meter 231
Posts: 228
Join Date: Jun 2013
Location: Malang

 
DONATE TO ME
awesome kk.... nice guide....
My Current Device I'Ve Developed :

- Samsung Galaxy Young Duos (sold)
- Smartfren Andromax I (sold)
- iPhone 3G (daily)
- Samsung Galaxy Tab 7 (developing)
- Sony Xperia X8 (developing)
- Sony Xperia Neo L (developing)
- Sony Xperia J (developing)
- Sony Xperia SP (developing)
- Sony Xperia Z LTE (developing)


Please Hit Thanks if my Work Help You
The Following 2 Users Say Thank You to ronii ahmad For This Useful Post: [ Click to Expand ]
 
kalel2012
Old
#3  
kalel2012's Avatar
Senior Member - OP
Thanks Meter 255
Posts: 153
Join Date: Sep 2012

 
DONATE TO ME
Quote:
Originally Posted by ronii ahmad View Post
awesome kk.... nice guide....
 
SlikToxic
Old
#4  
SlikToxic's Avatar
Member
Thanks Meter 45
Posts: 81
Join Date: May 2013
Location: 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.
 
Nasheich Xfiles
Old
#5  
Nasheich Xfiles's Avatar
Recognized Contributor
Thanks Meter 1889
Posts: 1,847
Join Date: Aug 2012
Location: Jakarta Utara

 
DONATE TO ME
can i use this for other devices, like Samsung, LG, etc ?

Indonesian Developer

From Indonesia, to peoples around the world..



My Contributions on XDA
Roms, Guides, Apps, etc


Follow my
Facebook | Twitter | Google+ | Instragram | Blog

NFC destroyer for any roms


Join The Beta Tester for LG OPTIMUS L9
 
danlivesey
Old
#6  
danlivesey's Avatar
Senior Member
Thanks Meter 120
Posts: 565
Join Date: Dec 2010
Location: blackburn
Awsome I'll try this on my xperia z

Sent from my C6603 using XDA Premium 4 mobile app
 
Rzr92
Old
#7  
Senior Member
Thanks Meter 64
Posts: 255
Join Date: 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?
 
R.A.B
Old
#8  
R.A.B's Avatar
Member
Thanks Meter 33
Posts: 73
Join Date: Apr 2013
@kalel2012

Thanks a lot. Working fine on my L.
 
LordManhattan
Old
#9  
Account currently disabled
Thanks Meter 5650
Posts: 15,002
Join Date: Oct 2007
Location: Kepler-34b
I'll wait for the Xposed module

Sent from my C6833 using Tapatalk
 
erick_shadow
Old
#10  
Member
Thanks Meter 12
Posts: 42
Join Date: Jul 2010
Location: Mexico
fails to compile



Xperia Z
4.3
10.4.1.B.0.101

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes