Remove All Ads from XDA
Find Your Device:
Or Continue to Thread: [Guide][Jb]One minute porting …
1st September 2014, 03:20 AM |#1  
OP Senior Member
Flag jodhpur
Thanks Meter: 2,230

- Xperia L
- Rooted 
- z2 framework or revolution HD installed
- Mobile Apktool -
- Base theme -
- editing png and hex code -
- hex code -
First download ur Xperia theme which u want to port for download u can use playstore or many themes can get on xda cross device section

So let's start
1- after downloading base theme 
2- now decompile base theme system.apk with apktool 
3- than u will get decompile folder open it 
4 - and no go to values/color.xml and see the ss

1)the top one is accent color it should be always of 8 u can find it in tinted statusbar and edit the codes
2)the second line is approx background mine is white color If u want png than do this delete #ffffffff and add @drawable/apptray_drawer_background and add same png apptray_drawer_background.9.png in xxhdpi folder
3)it is the drawer text in mine it is dark green color u can change to urs for hex code use tinted statusbar
- save that file after editing
- now open values/drawables.xml and see the ss

1)the first one should be same as in colors.xml 
2) it's statusbar background I have kept default full transparent and if u want color u can add color also 
- now save and exit and open values/strings.xml
    <string name="semc_theme_title">Tri Flat</string>
change triflat to ur theme name
- now save and exit
- Open androidmainfest.xml search this
and change triflat to ur theme name 
- now recompile the apk
- Open ur Xperia theme u want to port extract it's asset folder and res/xxhdpi
- and open the newly recompiled apk with winrar or X-plore
- now in assets/com.sonyericsson.home/res/copy all folders to newly decompiled res folder 
- now from assets/ 
take extract this two pngs 
and navigation_bar_transparent_background_land
rename them to 
-last step copying wallpapers open ur Xperia theme u want to port in res/xxhdpi extract it and resize 
semc_theme_wallpaper -480*854
semc_theme_lockscreen_wallpaper - 960*854 
 no need for semc_theme_preview and copy this three files in newly recompiled theme res/xhdpi folder
- half complete now go to second post
Last edited by yash989; 1st September 2014 at 04:50 AM.
The Following 6 Users Say Thank You to yash989 For This Useful Post: [ View ] Gift yash989 Ad-Free