Post Reply

[Guide][Jb]One minute porting Xperia themes 4.3[updated]

OP yash989

1st September 2014, 03:20 AM   |  #1  
OP Senior Member
Flag jodhpur
Thanks Meter: 1,950
 
2,092 posts
Join Date:Joined: Sep 2012
More

Code:
- Xperia L
- Rooted 
- z2 framework or revolution HD installed
- Mobile Apktool - http://forum.xda-developers.com/showthread.php?t=2659302
- Base theme -  https://docs.google.com/file/d/0BzOOJYPQkmXiU1oyNGdlZnN6MWc/edit?usp=docslist_api
- editing png and hex code - https://play.google.com/store/apps/details?_e_pi_=7%2CPAGE_ID10%2C4769775609
- hex code - http://repo.xposed.info/module/com.mohammadag.colouredstatusbar
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
Code:
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
com.sonyericsson.TriFlat
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/com.android.systemui/res/xxhdpi 
take extract this two pngs 
navigation_bar_transparent_background
and navigation_bar_transparent_background_land
rename them to 
navigation_bar_opaque_background
navigation_bar_opaque_background
-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 5 Users Say Thank You to yash989 For This Useful Post: [ View ]
1st September 2014, 03:21 AM   |  #2  
OP Senior Member
Flag jodhpur
Thanks Meter: 1,950
 
2,092 posts
Join Date:Joined: Sep 2012
More
-now decompile base hktheme or xtheme.apk
-go to decompiled folder and delete values/public.xml
-now edit androidmainfest.xml
search saquib.themer.tri change tri to ur theme name
and than search for
android:label="TriflAt" and change triflat to ur name
- than recompile it(if error not a png than read png name and go to it directory and change it to jpg)
-now open Xperia theme u want to port extract it assets
-now open newly recompiled apk with winrar
- from assets/android.zip
open it and copy full res/xxhdpi folder to new recompiled res folder
- note u have to check in assets
if it has semc_bg.png and semc_bg_bright.png than u have to change it to semc_bg_dark_tile.png and semc_bg_light_tile.png
-now open assets/com.android.systemui and copy xxhdpi folder to newly decompiled apk res folder
- and last yash_opaque_status.png change this to ur theme color as it looks in official theme ss
like triflat orange,woody brown so they are different
-now sign the apk
-and install base hktheme or xtheme.apk normally
-and push base theme system.apk in system/app and reboot and apply and enjoy
Last edited by yash989; 1st September 2014 at 03:56 AM.
The Following User Says Thank You to yash989 For This Useful Post: [ View ]
1st September 2014, 03:21 AM   |  #3  
OP Senior Member
Flag jodhpur
Thanks Meter: 1,950
 
2,092 posts
Join Date:Joined: Sep 2012
More
reserved
1st September 2014, 03:57 AM   |  #4  
OP Senior Member
Flag jodhpur
Thanks Meter: 1,950
 
2,092 posts
Join Date:Joined: Sep 2012
More
by seeing this u might think how it's one minute but once u port 2 3 themes u will get very easy
The Following User Says Thank You to yash989 For This Useful Post: [ View ]
1st September 2014, 12:33 PM   |  #5  
Sparksys's Avatar
Senior Member
Thanks Meter: 210
 
954 posts
Join Date:Joined: Jul 2012
More
One minute ha?

For me this needs 1 hour xD

Anyway great guide..will try it soon

Sent from my C2105 using XDA Premium 4 mobile app
1st September 2014, 12:41 PM   |  #6  
OP Senior Member
Flag jodhpur
Thanks Meter: 1,950
 
2,092 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by Sparksys

One minute ha?

For me this needs 1 hour xD

Anyway great guide..will try it soon

Sent from my C2105 using XDA Premium 4 mobile app

read my fourth comment for first time any guide u read will look hard once u do 2 3 times its lot easy
2nd September 2014, 05:21 AM   |  #7  
sopu446's Avatar
Junior Member
Flag Kolkata
Thanks Meter: 26
 
7 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by yash989

read my fourth comment for first time any guide u read will look hard once u do 2 3 times its lot easy

Ya after doing this regularly It will take 1min only.... Thnx for this yash will be porting themes for ur rom...!!!
10th September 2014, 03:15 PM   |  #8  
Junior Member
Thanks Meter: 9
 
20 posts
Join Date:Joined: Jun 2014
thanks yash bro

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Xperia L Themes and Apps by ThreadRank