[Guide][HOW TO] Create Xperia 5.0+ themes using Apktool. topic

SOCIALIZE IT ⇨

Hello Friends,

I want to present a simple guide to create your own themes for Xperia running 5.0+. Lets get started.:)




Requirements:
  1. Advanced ApkTool v4.1.0 By BDFreak. Click here to download Advanced ApkTool

  2. Java Installed on your computer.

  3. Text Editor (Notepad++ recommended)

  4. Image Editing Software (Photoshop recommended).


Installing Framework files:
  1. Extract Advanced ApkTool.rar. Copy and Paste the contents of Framework.rar (download from below) in “2-In” folder.

  2. Run Advanced ApkTool.exe file and enter 1, to install framework-res and SemcGenericUxpRes.


Note: You need not install the framework files, everytime you decompile or recompile. This should be only done once.


Start working with your themes:

i) Decompiling the theme:

1. Copy Stock_lollipop.apk and paste it in “2-In” folder.
2. Run Advanced ApkTool.exe file and enter 2, to decompile the theme file.
3. Once decompiling is finished, you will find all the files in “3-Out” folder.
4. Now to go to 3-Out > Stock_lollipop.apk > assets folder and copy all four zip files from that folder and paste it in “2-In” folder.
5. Now rename all the zips files from .zip to .apk. Decompile all four .apks.

ii) Modifying the theme images and colors:

Note: Images must be of same resolution.

1. After decompiling, you will see 5 folders.
2. To modify go to res of each folder and change the images you want to modify and for colors open “Colors.xml” and change the colors. (Only change the last six underlined code, for example #ffffffff)
3. Once done modifying, the final step is to recompile the theme.

iii) Recompiling the theme:

1. Recompile all four .apks excluding the main theme file (here Stock_lollipop.apk).
2. To recompile, Run Advanced ApkTool.exe file and enter 3. Recompile all four apks one by one (select “Recompile and then sign” option).
3. All the recompile files will be in “4-Done” folder.
4. Now rename all four files back to .zip from .apk
5. Next copy all four zip files and paste it is in assets folder of stock_lollipop.apk folder (which is in 3-Out folder).
6. Now open the AndroidManifest.xml (from Stock_lollipop.apk) with text editor and change the underlined name - "com.session.stocklollipop" everytime you create a new theme. If you are updating the theme, then there is no need to change the underlined name.
7. Finally recompile all stock_lollipop.apk and you are done.

I'm not a developer and do not know coding. Any tips from the developers are welcomed, so that this guide can be improved. :) I hope new themers will like this guide.














Attached Files





File Type: rar Framework and theme.rar -
[Click for QR Code]
(6.95 MB)





xda-developers


  1. [Q] Xperia Z3 memory access issue. topic
  2. [Q&A] KEXEC for Sony Xperia Go topic
  3. xperia c not turning after installing cmw recovery help! topic
  4. Verizon Xperia Z2 Tablet will not update. Help, please. topic
  5. xperia z4 topic
  6. [Q] can't write bootloader and i not have network Xperia Z topic
  7. How to root Sony Xperia Z3 Tablet Compact SGP611 topic
  8. root sony xperia z1 compact android 4.4.4 topic
  9. [Guide][HOW TO] Create Xperia 5.0+ themes using Apktool. topic
  10. [Q] apktool error topic
  11. [Q] apktool Recompile Problem (LGSystemUI.apk) topic
  12. [Q] Create a game mod ? topic
  13. [Q] Create a .img file of the system partition topic
  14. Can I create ftf through phone update topic
  15. [Q] Is it already possible to create a pre-rooted flashable zip? topic
  16. Cannot create additional accounts on S6 Edge topic
  17. [Q] how can i create cwm recovery img for my zen ultrafone101 topic
  18. [Q] Pls Help me to create colouring app for my daugter topic
  19. [Q] Howto create a prerooted rom topic
  20. [Q] Why the "ndownloads" folder always create by itself topic

0 commentaires:

Enregistrer un commentaire