Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,773 Members 52,071 Now Online
XDA Developers Android and Mobile Development Forum

[Guide]Theme your framework-res to Xperia style for all AOSP KitKat

Tip us?
 
naheel azawy
Old
(Last edited by naheel azawy; 10th August 2014 at 07:54 PM.)
#1  
naheel azawy's Avatar
Senior Member - OP
Thanks Meter 730
Posts: 567
Join Date: Mar 2012
Location: doha/qatar
Default [Guide]Theme your framework-res to Xperia style for all AOSP KitKat

Hi all, here's how to theme you framework-res to looks like an Xperia device.
Your devices must be running an AOSP Rom or based on AOSP Rom with android 4.4.x
It will fits great on CM11 too.
You can check it for some devices here:
  1. Xperia 2011 devices: http://forum.xda-developers.com/show....php?t=2724091
  2. Galaxy W: http://forum.xda-developers.com/show....php?t=2761964
  3. Moto G: http://forum.xda-developers.com/moto...4-4-4-t2841985
  4. Xperia V: http://forum.xda-developers.com/xper...cm-11-t2830401

Requirements:

The easy way:
 
  • Write a post here with a link of the Rom you're using or only attach framework-res.apk from /system/framework/ and I'll make it for you


The other way:
 



  1. Get your framework-res.apk from /system/framework/ and decompile it.
  2. Make a copy of "res" folder anywhere you can remember so we can use it as a backup in next steps.
  3. Delete "drawable-mdpi" and drawable-xhdpi" from /res if you have them.
  4. Download my resources zip and extract it.
  5. You can delete some useless drawables up to your device. It's optional and you can jump to next step:
     
    • mdpi devices: keep drawable-mdpi and drawable-hdpi and delete drawable-xhdpi and drawable-xxhdpi
    • hdpi devices: keep drawable-hdpi and delete drawable-mdpi, drawable-xhdpi and drawable-xxhdpi
    • xhdpi devices: keep drawable-xhdpi and drawable-xxhdpi and delete drawable-mdpi and drawable-hdpi
    • xxhdpi devices: keep drawable-xxhdpi and delete drawable-mdpi, drawable-hdpi and drawable-xhdpi
  6. Copy the resources inside the extracted folder to /res on the framework which you've just decompiled.
  7. Recompile your framework.
  8. At most you'll get some errors. If recompiled successfully jump to step 17
  9. The errors will be at most around public.xml talking about styles. If there's any other error tell me.
  10. Read the error and it will say that an style in public.xml isn't available and it will give you the line number.
  11. Open public.xml from /res/values/ and go to that line.
  12. Copy the name of that style.
  13. Go back to the old res folder that you've copied in step 2 and open styles.xml from /res/values/
  14. Press Ctrl + F and past the name of that missing style.
  15. Find it and copy it to the new styles.xml.
  16. Recompile and every thing should be OK. If not tell me.
  17. Make a flashable zip or use aroma file manager to copy it to your phone's /system/framework/
  18. Wipe catch and dalvik catch and reboot.
  19. If your device can't boot then you need to format /data (factory reset)
  20. Having any other problems? tell me. Everything is great? Hit thanks and enjoy
If you done this or used any of my resources please add my name to you post.


Attached Files
File Type: zip Xperia_framework_resources_by_Naheel.zip - [Click for QR Code] (17.53 MB, 1061 views)
The Following 34 Users Say Thank You to naheel azawy For This Useful Post: [ Click to Expand ]
 
AdolfoMartinez
Old
#2  
AdolfoMartinez's Avatar
Member
Thanks Meter 14
Posts: 50
Join Date: Nov 2013
Location: Monterrey
Excellent
The Following User Says Thank You to AdolfoMartinez For This Useful Post: [ Click to Expand ]
 
bhavstech
Old
#3  
bhavstech's Avatar
Senior Member
Thanks Meter 222
Posts: 771
Join Date: Aug 2013
cm11 hammerhead http://www.cmxlog.com/11/hammerhead/
If i helped you ,you know where the Thanks button is!
 
soulburnerms
Old
#4  
Member
Thanks Meter 1
Posts: 43
Join Date: May 2012
great news over here!!!!

it will work here - http://forum.xda-developers.com/xper...-4-4x-t2826701 -??? i'd love to use this framework on this rom!!! =)




cheers =)
 
theofanis
Old
#5  
Junior Member
Thanks Meter 2
Posts: 16
Join Date: Jun 2012
This is the framework from stock Rom nexus 5. Hope it can be converted with your method.

Thank you very much in advantage!!!
Attached Files
File Type: apk framework-res.apk - [Click for QR Code] (15.00 MB, 8 views)
 
m0han
Old
#6  
m0han's Avatar
Senior Member
Thanks Meter 497
Posts: 1,170
Join Date: Apr 2012
Quote:
Originally Posted by naheel azawy View Post
The easy way: Write a post here with a link of the Rom you're using or only attach framework-res.apk from /system/framework/ and I'll make it for you......
too bad this is only for kitkat 4.4.x.
if you make this possible for jellybean 4.2.x, please take a look at this:
device: xolo q3000
rom: stock deodexed jb 4.2.1
will post framework-res.apk later.
 
silentscreamer
Old
(Last edited by silentscreamer; 17th August 2014 at 02:52 PM.)
#7  
silentscreamer's Avatar
Senior Member
Thanks Meter 57
Posts: 168
Join Date: Jul 2011
Location: Munich
Great work, mate!


Please, can you transform the framework from " GOOGLE EDITION 4.4.4 by Danvdh, Kryten2k35 & Ktoonsez"
http://forum.xda-developers.com/show...php?p=47755873 too?

Framework: http://mir.cr/MS4P1OYW or below

Thanks in advance,
Regards
Attached Files
File Type: rar framework-res.rar - [Click for QR Code] (6.03 MB, 1 views)
 
adamka13
Old
#8  
adamka13's Avatar
Senior Member
Thanks Meter 60
Posts: 286
Join Date: Jan 2012
Location: Balatonboglar
This is awensome man i completly love it !!!!!4
I tryed with the second method but i didn't suceesed...:/ So i am here to ask you to please convert the latest Mahdi rom( Nexus 5 ) freamwork for me
I also attach the apk

Thank you so much !! )
Attached Files
File Type: apk framework-res.apk - [Click for QR Code] (14.60 MB, 4 views)
Phones:
[*]Google Nexus 5: Android 4.4.4-unlocked-Lates Mahdi-root-xposed-
[*]SE Xperia Arc S: Android 4.0.4-Xperia Ultimate HD 5.0-stock kernel-locked BL-
[*]LG optimus one: Android 2.3.7-CM7-cmkernel-
Tablet:
Myaudio Tablet Series 7 7040 4GB : Android 4.2.2-stock rom-stock kernel-
If my reply was useful please press thanks !!
 
codekidX
Old
#9  
codekidX's Avatar
Senior Member
Thanks Meter 1566
Posts: 1,006
Join Date: Mar 2012
Location: Mumbai

 
DONATE TO ME
What to do with these type of errors? I have highlighted the error in the screenshot below !

 
Error in identifyers
Attached Thumbnails
Click image for larger version

Name:	xdaerror.png
Views:	3108
Size:	135.8 KB
ID:	2900566  
 
matrixzone
Old
(Last edited by matrixzone; 17th August 2014 at 01:57 PM.)
#10  
matrixzone's Avatar
Senior Member
Thanks Meter 760
Posts: 2,408
Join Date: Mar 2012
Pease find framework file for at&t s3 from cm nightly
Attached Files
File Type: zip framework-res.zip - [Click for QR Code] (8.27 MB, 3 views)
If this is helpful or useful, please hit "Thanks" and its free

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes