[Guide/Tutorial][JB 4.3+]Create Your Own Xperia Theme - Sony Cross-Device Development Themes and Apps

Create your own Xperia™ Theme
[Now no need to wait for new themes to come up. Have a look/colour in your mind? Want to have a special theme for yourself? Then why to be dependent upon others? Do it all by yourself with the help of my guide.]
Hello,
I made this guide because there was no official documentation or how to about this. I have gone through the official themes + few other themes from market and got the idea from them.
I have myself tested this guide before posting so its 100% working. I have Stock Xperia Google Android 4.3.
If you just want to change System Accent Colours and/or App BG, Navigation Bar BG, etc. then try this Xposed Module of mine.
Xperia Themes - Xposed Module
​
Note :
Code:
At the time of writing this guide I assume that you have a basic knowledge of Android Developers Tool[ADT]. I also assume that you are familiar with Android apps and their development process.
What things you gonna need to follow my tutorial :
A computer / laptop [seriously speaking it's one of the most important thing lol. ]
Java installed and added to environment path[if you are windows user like me]
ADT + Eclipse [I recommend ADT bundle]
Theme files [check attachment for these]
My guide for sure.
Time and Brain.
FOR FAQ'S PLEASE READ POST #3 BEFORE ASKING THE ALREADY ANSWERED QUESTIONS AGAIN.
The guide / tutorial starts now :
PART ONE : CREATE XPERIA THEME, CHANGE SYSTEM COLOURS.
Start/open ADT
Go to File > New > Android Application Project
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Give your desired name to the Theme, The Android Application Project.
Give your desired package name to the app.
Set Minimum Android Requirement to Android Jelly Bean 4.3 and Maximum to Android Kitkat 4.4/4.4.2
In the next screen un-tick the option to add app icon and Activity
Choose the workspace folder else tick to set the default one.
Now open AndroidManifest.xml and add this Permission :
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN" />
Now replace the <Application ...></application> Node with this code :
Code:
<application
android:label="@string/semc_theme_title"
android:icon="@drawable/semc_theme_lockscreen_wallpaper"
android:allowBackup="false">
<uses-library android:name="com.sonymobile.runtimeskinning" />
<meta-data
android:name="com.sonymobile.runtimeskinning.core.image_wallpaper"
android:resource="@drawable/semc_theme_wallpaper" />
<meta-data
android:name="com.sonymobile.runtimeskinning.core.lockscreen_background"
android:resource="@drawable/semc_theme_lockscreen_wallpaper" />
</application>
Please note : You may change the theme icon.
Now just after
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN" />
Add this block of code :
Code:
<runtime-skin version="1">
<asset path="android.zip" target="android">
<laf-version-filter from="1" to="1" />
</asset>
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1" />
</asset>
</runtime-skin>
Please note : You will need to push android.zip & com.sonyericsson.uxp.zip files with all theme resources to the asset folder.[You can find these two in attachments]
Note :You can add asset reference for more apps as you extend the theming support.
For Example you can add this to add support for theming SystemUI.apk :
Code:
<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="1" to="1" />
</asset>
Also note that you will need to push com.android.systemui.zip file with all theme resources to the asset folder.
Now save AndroidManifest.xml
You will get errors. Nothing to worry. Its known and easy to fix.
Open themeProject > values > strings.xml
Change
Code:
<string name="[COLOR=Red]app_name[/COLOR]">Pink</string>
To
Code:
<string name="[COLOR=Red]semc_theme_title[/COLOR]">Pink</string>
Save and close the file.
Now Reopen AndroidManifest.xml
Left Click in between the texts underlined with red, then Right Click and press "Quick Fix" in the pop-up menu. Then You will see a new pop-up menu as in the pic below. Then click on "Disable Check in This Project"
To correct the errors in Application node move Wallpaper and icon pictures to drawable-xxdpi according to your need.
Now download "XperiaThemesApktoolbySArnab©®" zip file from the attachments below and extract it at your desired location.
I specially made this Apktool set folder for Xperia™ Themes.
Inside the extracted folder you will find Apktool files for Windows OS[Linux and MAC users you need to replace Windows specific files with your OS's files.] along with Xperia™ Apps specific folders for making Xperia™ Themes.
All you need to do is add assets to this folders and use provided Apktool to recompile them. They will be automatically get compiled as .zip file instead of .apk file as .zip file is needed for Xperia™ Themes.
In android folder :
You need move theme png resources if you want to change the look, into respective drawable folders.
FOR THIS FOLLOW THE PART TWO OF THE GUIDE IN POST #2
In com.sonyericsson.uxp folder :
You need to edit res > values > colors.xml as per your theme colour preference.
Now when you think you are ready to create the theme use Apktool[Or your desired tool] to recompile android, com.sonyericsson.uxp and all other app specific folders from "XperiaThemesApktoolbySArnab©®".
[*]Now Move all the zip files from specific folders to the assets folder of your project.
[/LIST]
When everything is set your theme project tree should be like this to great extent.
Test the theme through Eclipse else export by signing and share your masterpiece with others.
GUYS AM ATTACHING MY THEME SOURCE SO THAT YOU ALL CAN GO THROUGH THAT IF YOU FELL INTO SOME PROBLEM.
PLEASE RATE THE THREAD WITH 5 STARS IF YOU THINK MY GUIDE IS HELPFUL.
ALSO CLICK ON TIP US SO THAT THIS GUIDE CAN COME UP ON XDA PORTAL.
ADD A LINK TO THIS THREAD IN YOUR SIGNATURE TO EXTEND THE NEWS OF THIS THREAD AND ALSO TO SHOW YOUR SUPPORT.
THANK-YOU.
Update 1 : I have updated the guide at places where users were having problem following it.
I have also added special Xperia Themes ready apktool folder with app specific folders to make it easier to create Xperia Themes.
CREDITS :
@funky0308 [IT WAS HE WHO GAVE ME THE IDEA TO EDIT ASSETS FILES THROUGH HIS GUIDE OF EDITING XPERIA THEMES]
SONY FOR THIS AWESOME OPTION TO THEME OUR MOBILE. @SArnab©® [THAT'S ME] FOR CREATING THIS WHOLE GUIDE.

Adding Image and drawable resources into your Xperia theme.
PART TWO : ADDING DRAWABLE PNGS AND JPEGS TO YOUR XPERIA THEME.
THIS PART OF MY GUIDE WILL HELP YOU IN ADDING IMAGES TO YOUR THEME TO CHANGE THE LOOK TO THE GREATEST POSSIBLE WAY.
BEFORE I START, I WANT YOU ALL TO KNOW ONE SIMPLE THING. IN THIS GUIDE HERE I WILL BE SHOWING YOU HOW TO ADD THEMED IMAGES IN FRAMEWORK APK. THE SAME PROCEDURE WORKS FOR XPERIA HOME AND SYSTEM-UI APK. SO PLEASE DO NOT ASK SILLY QUESTIONS AS HOW TO THEME STATUS-BAR ICONS AND ETC. , ETC.
FOLLOW UP FROM HERE AND SOON YOU WILL BE MAKING PROFESSIONAL THEMES ON YOUR OWN.
STEPS :
De-compile "framework-res.apk"
Open up framework-res/res/drawable-hdpi/ [Or whatever dpi your device supports]
NOTE : HERE I WILL SHOW YOU HOW TO CHANGE :
APPS BACKGROUND
VOLUME BAR SCRUBBER
You can replace any drawable present in this folder. But we are going to change the background images only for this time.
If you go down you will find two pngs named : "semc_bg" & "semc_bg_light". These are the Pngs that we need to replace to replace the App's background.
Now download/create/paint or do whatever you want and get hands on two different pngs, one for Dark Theme [ Like Settings in Android 4.1.x/4.2.x in Sony ] and another for Light Theme [ Like Settings in Android 4.3 in Sony ] and rename them to "semc_bg" & "semc_bg_light" respectively.
Move the two newly renamed pngs to the respective drawable-xxdpi folder of the android folder that you had previously downloaded from the above post : apktool/android/drawable-hdpi/here
NOTE : YOU NEED TO PLACE ALL YOUR DESIRED IMAGES INTO RESPECTIVE DRAWABLE-FOLDERS.
Now you need to do the same thing to theme Scrubbers.
Once you are ready with all the pngs continue with rest of the guide in post #1.

FAQ'S :
Q. HOW TO THEME SYATEMUI?
ANS. FOLLOW THESE STEPS :
Download and extract "XperiaThemesApktoolbySArnab©®" zip file from the attachments in 1st post [You don't need to do it again if you have already done so while following Post #1.].
Open com.android.systemui folder.
Add your desired resources in res/drawable-yourdevicedpifolder.
If you want to change colour then add values folder inside res folder. Create colors.xml file and add color code.
Recompile and copy paste the newly created .zip file from "XperiaThemesApktoolbySArnab©®/com.android.systemui/dist/here" to the assets folder of your Theme Project.
Q. HOW TO THEME ANY OTHER SYSTEM APP?
ANS. FOLLOW THE ABOVE STEPS WITH FEW CHANGES SUCH AS :
I have added options to theme other system apps in my new attachment named "XperiaThemesApktoolbySArnab©®.zip" in 1st post.
Q. HOW TO ADD SUPPORT FOR DIFFERENT APPS THEMEING?
ANS. YOU CAN THEME ALL THE APPS INSTALLED IN YOUR DEVICE. TO DO THAT YOU NEED TO PERFORM 2 ACTIONS.
1. ADD THIS BLOCK OF CODE TO THE MANIFEST FILE SO THAT THE THEME MANAGER KNOWS WHICH APPS ARE SUPPORTED BY YOUR THEME APP :
Code:
<asset path="[COLOR="Red"]com.android.systemui.zip[/COLOR]" target="[COLOR="red"]com.android.systemui[/COLOR]">
<laf-version-filter from="1" to="1" />
</asset>
THE ABOVE CODE ADDS SUPPORT FOR SYSTEMUI THEMEING.
TO SUPPORT OTHER APPS JUST CHANGE THE TEXTS IN RED.
FOR EXAMPLE FOR SETTINGS APP :
Code:
<asset path="[COLOR="Red"]com.android.settings.zip[/COLOR]" target="[COLOR="red"]com.android.settings[/COLOR]">
<laf-version-filter from="1" to="1" />
</asset>
FOR THIS YOU NEED TO KNOW THE PACKAGE NAME OF THE APP YOU WANT TO THEME.
2. YOU NEED TO CREATE A APP.PACKGANE.NAME.ZIP FILE WITHH ALL THEME RESOURCES FOR THAT CONCERNED APP AND MOVE THE ZIP FILE TO ASSETS FOLDER OF YOUR PROJECT.
PLEASE NOTE THE NAME OF ZIP FILE MUST BE SAME AS STATED IN MANIFEST.

Well done bro
Going to try it asap

dipesh1502 said:
Well done bro
Going to try it asap
Click to expand...
Click to collapse
Sure, go forward and do share whatever you come up with.
I will update the guide very soon to show how to add resources and add more apps support.
Sent from my C2004 using Tapatalk

great one!!
nice
---------- Post added at 12:28 PM ---------- Previous post was at 12:23 PM ----------
SArnab©® , can u help me find a link for starting cm9/10 themes for galaxy devices ? am intrested in theming

Wow, THIS is a guide, many thanks for that. I downloaded the theme for my wife - she loves pink.

Awsm work arnab!! thanks for creating such a comprehensive guide.

nice guide
btw to be able to install theme do we still need root (superuser mod etc???)????

Sahaab said:
nice guide
btw to be able to install theme do we still need root (superuser mod etc???)????
Click to expand...
Click to collapse
No special requirements.
If your device supports third party theme downloading then the themes you make will also run easily.
Xperia M was not able to install any 3rd party themes.
Used theme fixer and now I can install any number of theme without superuser mod.

SArnab©® said:
No special requirements.
If your device supports third party theme downloading then the themes you make will also run easily.
Xperia M was not able to install any 3rd party themes.
Used theme fixer and now I can install any number of theme without superuser mod.
Click to expand...
Click to collapse
whats theme fixer??
Edit: oh ok found it, sorry
Edit 2: it looks like it needs root?
Edit 3: haha too many edits, and yep a post says root needed so still to no help :-/

Sahaab said:
whats theme fixer??
Edit: oh ok found it, sorry
Edit 2: it looks like it needs root?
Edit 3: haha too many edits, and yep a post says root needed so still to no help :-/
Click to expand...
Click to collapse
Yeah if your device is not able to install 3rd party themes by default then you need to root it and then enable theme installation.

This didnt really worked.
i used you're Pink theme source but when i only edited the colors from Pink to red nothing changed after applying the theme.
ofcourse i used a NON rooted Xperia phone so i couldnt logcat that .
the Android version used was 4.4.2 on a xperia z1.

SpaceCaker said:
This didnt really worked.
i used you're Pink theme source but when i only edited the colors from Pink to red nothing changed after applying the theme.
ofcourse i used a NON rooted Xperia phone so i couldnt logcat that .
the Android version used was 4.4.2 on a xperia z1.
Click to expand...
Click to collapse
Try the pink theme once if that works or not.
If not then provide me any stock theme of kk n I assure you to make it work for kk.
Sent from my C2004 using Tapatalk

SArnab©® said:
Try the pink theme once if that works or not.
If not then provide me any stock theme of kk n I assure you to make it work for kk.
Sent from my C2004 using Tapatalk
Click to expand...
Click to collapse
thanks will try
Sent from my S500 using xda app-developers app

More guides the better. :good:

That’s to take one’s hat off !!
This is definitely the kind of thread we want to see... Leaves us hungering for more knowledge!!!
Thank you!

Awesome
Awesome job. Tutorial is very good and helpful to everyone.
Kudos to OP and XDA. All the best!!! :good:

Great TUT mate...don't know how I didn't see it earlier but never mind.
Easy to follow and it's actually something new - not copy/past old TUT...
Great
?
Sent from my C6903 using Tapatalk

Related

[Tutorial]-ICS-AOKP/CM9-UPDATED-Miscellaneous MODS[Nav bar,Notification header etc]

Hi guys!
After getting a lot of requests by various users of Resurrection Remix and RootBox,I finally decided to do a tutorial on how to make certain kinds of mods.I have been modding for Resurrection Remix for quite some time now and have learnt a lot in the process.I will keep updating this thread as and when i learn new stuff.
What this tutorial teaches and guides you to do:
-ANIMATED NOTIFICATION DROPDOWN BACKGROUND
-NAVIGATION BAR BACKGROUND MOD
-TOGGLES BACKGROUND MOD
-PULLDOWN BAR MOD
-SYSTEM+DIALER BACKGROUND MOD
-LOCKSCREEN HANDLER MOD
MORE MODS WILL BE ADDED AS AND WHEN I GET TIME AND ALSO DEPENDING ON THE INTEREST OF THE USERS.
DISCLAIMER :
> Please be careful.The methods here are totally tested so if anything goes wrong it is probably your fault that you didn't do something correctly.I will give my support but I am not responsible for anything unfortunate that may happen.Don't forget to do a BACKUP before trying anything!
>This is a tutorial to help the daily user in making mods.It might not be the most perfect way to do things,so if you are competent enough and technically sound to build from source please go ahead and read Entropy512's post here to get an idea on the same.My tutorial is aimed at helping everyone make their own mods.
Firstly,I will give the credits of my learning curve to :
GaboWinter (For his EXCELLENT tutorials and awesome FAQ)
Westcrip (For giving us an excellent ROM that changed the way i looked at things)
Yorzua (For his excellent tutorials on theming)
MyLifeRocks10 (For teaching me how to use UFT)
Vreestyle (For being one of the main inspirations and letting me use his zip files as a base whenever required!)
Bajee11 (For guiding me on how to mess around with smali files)
Tigiy (Whose first Hulk mod was the one that triggered my curiosity)
Sun90,Faseeh,LegendZenefy,Kroz,Kicker09 (For being awesome!)
Neerajganga (For forcing and encouraging me to write this tutorial)
To all the others who helped me during this transition of mine.You know who you are!Also a huge thanks to all the developers without whom this wouldn't have been possible.
I'll try to cover all the mods that I have done so far gradually and I'll start with the easier ones.
Some of the tutorials may or may not already be available on the internet but I have been getting too many requests so I'll put everything together here.Remember that i am also NEW here so please dont flame me if i do things differently.However constructive criticism is always welcome!
I would appreciate a Thanks for all this as it took a lot of my time and effort.
So let's get started.
What you need to have installed on your PC :
-Android SDK - Get it here.
-Java Runtime Environment (APKtool needs at least ver. 1.6) - Get it here.
-Notepad++ or Adobe Dreamweaver for editing XMLs.
-Draw9patch.bat [Included in the Android SDK]
-Apktool - Get it here. - I use ICS Apktool to recompile and Original Apktool to decompile.Works great with SystemUI.apk
-Photoshop or GIMP - Get GIMP here (It is a free software).
-APK Multitool v 1.0.5/APK Manager 5.0.2. Get them here. (You can use Apktool for the same functions i think,however I use them both depending on my needs)
-7zip or Winrar.
Please don't ask me questions on how to set up the above as the tutorial is not for that and you will find many tutorials/guides on XDA and elsewhere which explain the same.
What you need to know before doing some of these mods:
-Decompiling and compiling APKs-
There are many tutorials on XDA for this.And it's pretty straightforward.I will just try to explain how to decompile the tricky SystemUI.apk.
I modified TVTV's post for HTC Desire,threw in my bits and wrote the way to do this :
Step 1 (installing the tools):
- Download and install the latest Java Runtime Environment (APKtool needs at least ver. 1.6);
-Download Apk Tool(both Original and ICS Apktool.I linked you to both above.)
Step 2 (preparing to decompile):
- In order to properly decompile/compile SystemUI.apk, you need to install the framework with Apktool.
- Open your root explorer of choice and navigate to /system/framework;
- Copy "framework-res.apk" and "SystemUI.apk" to the SD card, then move them to your PC either via cable or via a software of your choosing.
- Put both "framework-res.apk" and "SystemUI.apk" into the folder where you've extracted Original Apktool;
- Open command prompt (Windows button + R then type "cmd") and navigate to the folder where you have Original Apktool and the framework apk;
- Type "apktool if framework-res.apk". Your file will be processed and the required bits will be "installed" in "C:/Users/<yourusername>/apktool/framework";
Step 3 (proper decompilation):
-For decompiling we will use the Original Apktool.
- Copy your SystemUI.apk from "/system/app" to the folder where you've installed the Original Apktool or copy the SystemUI.apk you wish to mod to the folder where you've extracted Original Apktool;
- Open a command prompt, navigate to the Original Apktool folder, type "apktool d SystemUI.apk" and wait till the original apktool has finished. You should get no errors whatsoever and your apk should now be decompiled into "readable format" in "<yourOriginalAPKtoolfolder>/SystemUI".
Step 4 (proper compilation):
- After making the desired changes in the decompiled apk, it's now time to compile it.
-For compilation we will use the ICS Apktool
-Copy the changed SystemUI folder,SystemUI.apk and framework-res.apk to the folder of ICS Apktool
- Open a command prompt, navigate to the ICS Apktool folder then type "apktool b SystemUI". Your apk will now be compiled to "<yourICS Apktoolfolder>/SystemUI/dist" (again, you should get no errors whatsoever). DON'T USE IT YET!
- Being a system app, SystemUI.apk must first be signed with the proper keys else odds are it won't work. To do that, you need to rename the SystemUI.apk you're editing (the original one) into SystemUI.zip, open it with an archive manager then extract META-INF and AndroidManifest.xml to the "<yourICS APKtoolfolder>/SystemUI/build/apk" folder, then run the "apktool b SystemUI" command again. Your APK will now be built with the proper keys included, and is now fully functional. You may "pick it up" from the "<yourICS APKtoolfolder>/SystemUI/dist" folder;
- You can now flash the resulting (modded) apk to your device either via ADB or via a way of your choosing (.ZIP from recovery etc.).
Have fun and remember to always do a nandroid backup before messing with system files!
-A general idea of what 9.PNG images are.
READ this to know what they are and how to use draw9patch.bat.
For patching 9.PNGs go to Yorzua's thread HERE.
Note: You can either follow all the steps in his tutorial for creating the image and then use the drag and drop(7zip,winrar) method OR skip step 3 of his tutorial and compile the image along with the previously decompiled apk.In other words,if you decompile the apk,then skip step 3 and if you want to use the drag and drop method,then follow the entire tutorial of Yorzua.Usually when a simple 9.PNG patch is required,Yorzua's method can be followed,but when we are editing XML files,we need to decompile the apk and then recompile it as otherswise the XMLs wont be editable as they are encrypted).
So now that we are settled with that,let's begin the real stuff starting with the easiest :
NOTE : I ATTACHED AN EMPTY FLASHABLE ZIP FOR YOU GUYS.
After you mod your framework-res.apk, SystemUI.apk etc you need to place
them(drag and drop the modded apk's) inside the flashable file using 7zip or Winrar.
SystemUI.apk and Contacts.apk goes inside /system/app
Framework-res.apk goes inside /system/framework
After flashing any mod,dont forget to fix permissions!
If you are on a kernel other than Siyah kernel do the following steps :
-Reboot to recovery
-Mounts and storage
-Mount /system
-Flash zip
-Fix permissions
-Reboot system
ANIMATED NOTIFICATION DROPDOWN BACKGROUND​
- Decompile your SystemUI.apk
- Navigate to /res/layout/ and open status_bar_tracking.XML
- Use Notepad++ to change the following lines of code.
Now add this line:
Code:
android:background="@drawable/dropanim"
to
Code:
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
-The "dropanim" is basically the name of the XML file that you are gonna create next.So you can name it whatever you want.
-Save the XML file and navigate to /res/drawable
-Inside this drawable folder , make an XML file named "dropanim".
-This XML file will basically point to all your resources(images).The images should be PNG images.Depending on the number of images you use,the code will be accordingly written.From personal experience,i would say don't exceed 30-35 png image files.Also there are ways to make the animation play only once,to make it play once forward and then reverse infinite number of times.More on that a little later.
-The android:drawable="drawable/anim1" syntax points at the images.Here the image name is anim1.
-You can refer the code below for this XML file.Depending on the number of images you use,you will have to edit the code accordingly.
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="150" android:drawable="@drawable/anim1" />
<item android:duration="150" android:drawable="@drawable/anim2" />
<item android:duration="150" android:drawable="@drawable/anim3" />
<item android:duration="150" android:drawable="@drawable/anim4" />
<item android:duration="150" android:drawable="@drawable/anim5" />
<item android:duration="150" android:drawable="@drawable/anim6" />
<item android:duration="150" android:drawable="@drawable/anim7" />
<item android:duration="150" android:drawable="@drawable/anim8" />
</animation-list>
-Here the 'duration' part signifies the time lapse you want between frames in milliseconds.
-The above code is an example for 8 images.Thus there is anim1 to anim8.
NOTE: - If you want the animation to play for only once,then in the code above replace
Code:
<animation-list android:oneshot="false"
with
Code:
<animation-list android:oneshot="true"
.
-If you want the animation to play in reverse once it has reached the end then firstly keep
Code:
<animation-list android:oneshot="false"
set to false
and add the line :
android:repeatMode="reverse" after
Code:
<animation-list android:oneshot="false"
This line will make your animation play in reverse.
-Save this XML file.
-Now navigate to the drawable-hdpi folder and place your images there.
-Recompile your SystemUI.apk
-And then use ADB or a flashable zip to enjoy your newly modded and animated background!
Preview of one that i had done for Resurrection Remix:
NOTIFICATION DROPDOWN BACKGROUND MOD​
So this one is something that i have been getting many requests for and although i had initially implemented it as a theme , I finally learnt how to make it as a flashable zip.Pretty easy once you know what to change.So lets get on with it.
For this particular mod you will again need to know how to compile and decompile the apk.Also needs proper knowledge of 9 PNGs.The 9.PNG concept is pretty important here as unlike the other mods,the stretching of the image takes place to a large extent to cover the entire area of the notification background,so if it not done properly,then you will see white/transparent empty spaces in the area that is hidden behind the toggles.This happens because the image didn't 'stretch' out to cover the empty part.
Here we go..
-Open Photoshop or GIMP and make the image that you want to set as you dropdown background.This must be a PNG image of size roughly around 536x398 pixels.
Ensure that when you finally save the above image,you save it with a 2 pixel transparent border at the left and right and a 2 pixel transparent border at the bottom.This is because when the picture gets stretched later on,we want the transparent bit to get stretched and not the actual picture as it will result in the distortion of the edge pixels then.If the transparent bit is stretched,there is no problem with that.
So finally after saving the image with a 2 pix border everywhere except the top,we'll get an image of 540x400 pixels.This image should be saved as notification_bg.png.
Size is not a very critical issue but if you exceed you may get a clipped picture.
-Having done that, we need to now define the stretching and content parameters using draw9patch.bat tool from the android sdk.
You can use this image as a reference on how the border pixels will have to be.This is totally upto you and you will be able to see the stretching and preview of it in the draw9patch tool.
Reference image :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-Save the 9.PNG as notification_bg.9.png.
Now we need to edit the XML files to point it to our new image.
-For this first decompile SystemUI.apk using the method and tools i explained earlier.
-Navigate to res/layout/status_bar_tracking.xml
-Open it with Notepad++ and change the following code from :
Code:
<FrameLayout android:background="@drawable/notification_tracking_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<com.android.systemui.statusbar.policy.WeatherText android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="40.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</FrameLayout>
to
Code:
<FrameLayout android:background="@drawable/notification_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<com.android.systemui.statusbar.policy.WeatherText android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="40.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</FrameLayout>
-Save the file.
-Now navigate to res/values/drawables.xml and change the line :
Code:
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
to
Code:
<item type="drawable" name="notification_tracking_bg">@drawable/notification_bg</item>
-Save it.Now both your XML files point to the the correct images.
-After this simply recompile the SystemUI.apk and you are done.To flash it you can use my attached flashable zip.
-Enjoy
NAVIGATION BAR BACKGROUND MOD​
-Open up Photoshop or GIMP and make your navigation bar background image that you want to use.It has to be a PNG image of about 540x70 pixels.You can take any image from the net: resize it,crop it,change the tint etc, but it needs to be roughly of that dimension.
-After you are done with that image,you will need to make another image so that it can be used in landcape mode.Now the dimension of the landscape image needs to be 70x540 pixels roughly.Usually once you are done with the portrait background,just rotate it by 90 degrees to get the landscape image.Remember that both need to be PNGs.
-Save the portrait and landscape images with any name.For example i will use "raja_nav_bg.png" for the portrait image and "raja_nav_bg_land" for the landscape image.
-Now,it's time to use those images in our SystemUI.apk.
-To do this first decompile SystemUI.apk using apktool.You will now find a SystemUI folder in your apktool path.
-Copy the two images that you made earlier and paste them in this path:
SystemUI\res\drawable-hdpi
-Now the thing is that we need to edit 3 XML files.All these XML files are located in the layout folder of SystemUI and are related to the navigation bar background.Each of them point to a hexadecimal colour code.We need to change that and make them point to a drawable resource,which in our case are the 2 images that we made.
-To do this first go to SystemUI/res/layout and open the file navigation_bar.xml with Notepad++.
-Change this line :
Code:
<com.android.systemui.statusbar.phone.NavigationBarView android:background="@drawable/nav_bar_bg" android:layout_width="fill_parent"
to
Code:
<com.android.systemui.statusbar.phone.NavigationBarView android:background="@drawable/your_portrait_image" android:layout_width="fill_parent"
Remember that in the @drawable part,we do not have to give the extension of the file.Just the file name.
-Now navigate below in the page near the Frame Layout section that says android:[email protected]/rot90 and add this to the existing code :
Code:
android:background="@drawable/your_landscape_image"
So the existing part becomes something like this after the addition :
Code:
FrameLayout android:id="@id/rot90" android:paddingTop="0.0dip" android:background="@drawable/your_landscape_image" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
-Now save the XML file and close it.
-In a similar and identical manner we need to edit the navigation_bar_naked.xml and navigation_bar_search.xml.
2 edits in each of them.One near the FrameLayout for landscape and the other one at the top for the portrait image.
-After editing all the files,save them and exit.
-Now copy this changed SystemUI folder to ICS apktool folder and recompile it.Follow the steps that i stated earlier on how to recompile and you will have your modded SystemUI.apk
Then either use ADB or a flashable zip file to use the new SystemUI.apk on your phone!
A screenshot of a navigation background mod that i did for Resurrection Remix :
TOGGLES BACKGROUND MOD​
Many users had requested me to put a jet black background behind the toggles instead of the zigzag lines.So here is the way to change them..
- Open up Photoshop or GIMP and make a PNG image/background of 960x180 pixels resolution.If you want it transparent then you can keep it so using Photoshop.Name this image as notify_panel_notification_icon_bg.png.
-Save it somewhere on your desktop
-Now use 7zip or Winrar to open framework-res.apk in view mode.Don't extract it.
-Navigate to framework-res.apk/res/drawable-hdpi and drag and drop the image that you made here, and by doing that you will replace the existing notify_panel_notification_icon_bg.png image of size 14x14.
-Keep the framework-res.apk somewhere safe as we shall be using this one while flashing the mod or with Adb.
So the original image was a 'tile' image of 14x14 pixels and we just replaced it with another image having a dimension of 960x180 pixels.Initially,the tile image was 'repeated' several times using a code in one of the xml files in SystemUI.apk and thus it appeared to be spread out over the area behind the toggles.We need to now disable that as we are using a background of 960x180.
-To do this we need to first decompile SystemUI.apk
-After doing so navigate to the SystemUI\res\drawable folder.
-Open status_bar_ticker_background.xml with Notepad++.
-Change the existing code from :
Code:
<?xml version="1.0" encoding="utf-8"?>
<bitmap android:src="@android:drawable/notify_panel_notification_icon_bg" android:tileMode="repeat"
xmlns:android="http://schemas.android.com/apk/res/android" />
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<bitmap android:src="@android:drawable/notify_panel_notification_icon_bg" android:tileMode="disabled"
xmlns:android="http://schemas.android.com/apk/res/android" />
-Save the XML file.
Note: Incase you want to use a transparent background,then you dont have to edit the XML file as a transparent image of 14x14 pixels in the drawable-hdpi folder of framework-res.apk will give you transparent toggle background.
-After editing the above XML file , recompile SystemUI.apk.
-Now,both your framework-res.apk and SystemUI.apk have been modded and you can use them on your phone and get whatever background you desire.
A screenshot of a purely black toggle background that i made for Resurrection Remix :
PULLDOWN BAR MOD​
This mod is for the bar that we get when we pull down the notification dropdown.This has been done many times before but I will share it nevertheless as some users cannot find what they want.
It is a simple mod that doesn't require editing any XML files.It does however require the patching of a 9.PNG image.
We shall be using Yorzua's method here which will help us in optimizing the 9.PNG image so that the 7zip drag-and-drop method can be used here,rather than going into the lengthy process of decompiling the SystemUI.apk,pasting the unoptimized 9.png in it and recompiling it again). 9.PNG images get optimized on recompiling,but Yorzua's link lets us use a tool which will optimize the image beforehand so that we can just drag and drop it there).
-Firstly open up SystemUI.apk with 7zip or Winrar.
-Navigate inside the drawable-hdpi folder and find the file status_bar_close_on.9.
-Drag it and drop it on the desktop.We will use this file for reference purpose while patching the 9.PNG image.
-Now open up Photoshop or GIMP and make your bar image.It should be a PNG image of around 476x42 pixels(This is variable and the width can be anything within 480 pixels and the height can be within 48 pixels).Save it as status_bar_close_on.png.
-So now we have your PNG ready and we need to make it a 9.png using the draw9patch.bat file in the Android-SDK.Many people prefer to do it with Eclipse but that's just complicated and a miserable way of doing it.
-At this stage,I expect you to have read enough about 9.PNG images from the links i gave at the start of this thread.If you haven't then go and read it as it might be a bouncer otherwise.
-Now open draw9patch.bat and drag the ORIGINAL status_bar_close_on.9.png image that you had taken from the SystemUI.apk and drop it in the tool.
-Observe how the borders of the image are and how the pixels have been drawn at all the borders.Each pixel is important and changing even one of them can result in a big visual difference.These pixels contain the stretching information and changing them can change the whole behaviour of these images.Remember the pattern and the coordinates of these pixels as you will have to need to do the same thing while patching your status_bar_close_on.png.You can change one or two pixels in the left and top border just to see how the image stretches in the right viewing pane of draw9patch tool.
-After you got an idea of these 9.png files,you have to do make the same border so that it stretches properly with your status_bar_close_on.png image.
For reference,you can use this 9.PNG file of mine also :
-After you are done patching the image properly save it as status_bar_close_on.9.png
-Open SystemUI.apk again with 7zip or Winrar and navigate to the drawable-hdpi folder.
-Drag and drop your new 9.png image that you made and overwrite the existing one.
-Close the apk.
-Your modded SystemUI.apk is now ready.
-Use ADB or a flashable zip for getting it on your phone.
A screenshot of the pulldown mod i had made for Rootbox :
SYSTEM+DIALER BACKGROUND MOD​
Most people know this.It is very easy and no XML editing or 9.PNG is required.However you need Contacts.apk for changing the dialer background.
-Simply take your favourite pics of 480x800 resolution.They must be PNG images.
-For the picture that you want to use as the dialer background,name it as
background_dial_holo_dark.png.
-For the picture you want to use as System background(for example Settings background) name it as background_holo_dark.png
-You will need framework-res.apk and contacts.apk for this.
-Using 7zip or winrar open framework-res.apk and navigate to :
framework-res.apk\res\drawable-nodpi
-Drag the background_holo_dark.png that you made and drop it inside this and in doing so you will replace the existing one.
-Close the apk.
-Now open Contacts.apk with 7zip or Winrar and navigate to
Contacts.apk\res\drawable-nodpi
-Drag the background_dial_holo_dark.png that you made and drop it here and replace the existing one.
-Done.Your contacts.apk and framework-res.apk files are now modded and you backgrounds will also change.Simple,isn't it?
Some screenshots of the system+dialer background that i had made for Resurrection Remix :
LOCKSCREEN HANDLER MOD​
This is again an easy mod and no skill required.
-For this mod you will need framework-res.apk
-Make 2 handler icons,one that will be normally be displayed on the lockscreen and the other that it will change to when pressed for unlocking.
-Name the 1st icon as ic_lockscreen_handle_normal.png and the second icon
as ic_lockscreen_handle_pressed.png.
-Remember that both the images need to be PNG images of 162x162 pixels.
-Now open up framework-res.apk with 7zip or Winrar.
-Navigate to framework-res.apk\res\drawable-hdpi and drag and drop the two images above inside this and replace the existing ones.
-Done,you can now close the apk and use your modded framework-res.apk.
You can find some amazing lockrings icon here.Be sure to use the HDPI ones.
A screenshot of these mods :
Nice, great work, mate!
Reserved
Haha thanks legend..forgot to reserve a post there..
SilencerOfLambs said:
Reserved
Haha thanks legend..forgot to reserve a post there..
Click to expand...
Click to collapse
he can actually delete his post
edit: whoopps. mistaken xda for another forum. dont mind me! heh
very well compiled one dude, gr8 work keep it up
Great work mate. Keep it up. :thumbup:
Sent from my GT-I9100 using Tapatalk 2
Thanks all!
You guys were solely responsible for whatever I have learnt!
SilencerOfLambs said:
Reserved
Haha thanks legend..forgot to reserve a post there..
Click to expand...
Click to collapse
Oops, sry about that.. :silly:
When's Part 2 coming?
finally the wait is over .... thanx man
LegendZenify said:
Oops, sry about that.. :silly:
When's Part 2 coming?
Click to expand...
Click to collapse
Weekend mostly
vegeta1 said:
finally the wait is over .... thanx man
Click to expand...
Click to collapse
Thanks mate!
Great tutorial! Keep it up!
I know that a lot of users will use this!
Second, I get less messages to make mods as well. Lol
Now I got more time to explore the rest of XDA
Send from the godfather of smartphones to your face!!
Vreestyle said:
Great tutorial! Keep it up!
I know that a lot of users will use this!
Second, I get less messages to make mods as well. Lol
Now I got more time to explore the rest of XDA
Send from the godfather of smartphones to your face!!
Click to expand...
Click to collapse
Haha honestly..It's much easier to guide people to a tutorial than make mods for everyone as it gets tedious..
And thanks
Fantastic tutorial...exactly what I need and very well explained...this along with Kros tutorial will hopefully help me to theme whatever I see fit! Can't wait for part 2!
Sent from my GT-I9100 using xda app-developers app
somepepe**** said:
Fantastic tutorial...exactly what I need and very well explained...this along with Kros tutorial will hopefully help me to theme whatever I see fit! Can't wait for part 2!
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Pleasure mate
Sent from my GT-I9100 using xda premium
Hi!
I have installed just 4fun a batman's theme. To be honest i dont like it very much. Especially because of that silly bat type icon instead of normal one on lockscreen. How can I turn the default theme back on? I am using RootBox ROM.
Sent from my GT-I9100 using xda app-developers app
Dioktis said:
Hi!
I have installed just 4fun a batman's theme. To be honest i dont like it very much. Especially because of that silly bat type icon instead of normal one on lockscreen. How can I turn the default theme back on? I am using RootBox ROM.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
To get your original look back,you will need to copy your original framework-res.apk,SystemUI.apk and Contacts.apk to the proper places in a flashable zip file and then flash it in CWM recovery.You can get the original files from your ROM zip.You can use the empty flashable zip file i attached in the OP.
framework-res.apk will go in /system/framework
contacts.apk and SystemUI.apk will go in /system/app
Alternatively if you only want to change the lockscreen icons,follow the steps in the OP for the lockscreen mods.
I have attached the default lock rings for you.(Just click on them and you will be able to see it.It's white so it appears invisible..)
Phew Finally
Nice work
Sorry for noob question. How can I run ICS and Original apk tool ?
Arnadel said:
Sorry for noob question. How can I run ICS and Original apk tool ?
Click to expand...
Click to collapse
Ask that question here :
http://forum.xda-developers.com/showthread.php?t=1558171
dude that's great.
could you please make a tutorial about "theme chooser" themes? you know they are really easy to implement and change.

[TUTORIAL] Theming [05/10/13]

Hi guys....
In this thread I'll try to learn you HOW TO MOD framework, settings (backgrounds, icons, colors) and how to use APKtool.
update 05/10/2013 !!!
O.K guys I found for you few excellent guides and tutorials.
Like always, post your questions here and we'll try to solve it together.
Update Zip creator/modifier
Great tool on windows to create and edit elements of updates zips
ADW Themes
If you want to create AWD themes - great tutorial...
I've got many PM from guys who want to theme their apps but dont't know where to look and what to modified so....read this.
this is a excellent way to find out where to look and what to edit.
Wanna learn more about XML files?
Well , here we go...
What is an XML?
Wikipedia link to learn and understand general things and facts about XML files.
you will need:
1) A computer
2) The app you want to edit
3) Latest Java Development Kit (JDK) (Download and Install with default settings Java
4) Notepad++ Notepad++
5) The Framework-res.apk and SemcGenericResUxp.apk from /system/framework
6) ZipSigner (for signe your apps) ZipSigner
So let's start...
Download APKtool from here Click me
Copy/extract APKtool to C:\Android\APK
Copy framework-res.apk and SemcGenericResUxp.apk from your system/framework folder to C:\Android\APK
and follow this tutorial to set your environment so we could proceed "Click me"
So, you set environment and we could proced ; (you'll have to do that from above only one time )
*** FIRST ONE ***
1. How to change settings background to white (or to use light theme - to be precise):
We'll start with this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And end with this:
First copy settings.apk to C:\Android\APK
open cmd prompt ("SHIFT"+right click on empty space and select open command window here
...and write this to decompile settings.apk
apktool d settings.apk
Close cmd window and open newly created folder "settings" (it's in the C:\Android\APK)
Open \settings\res\values\styles.xml (open it with Notepad++)
You'll see this :
So..we have to add ".Light" to our style.xml file(to activate/select white theme) and we MUST change color to our fonts/text
to white (I guess it would be hard to read white text on white backgroung).
We will add ".Light" in every theme style and add ff000000 to set our text to black.
For example - on the left side is black settings and on the right is what we need - compare those two styles.xml.
You'll notice that I add word ".Light" to change this part/style to use light/white theme - we'll do that for every style in this file.
And the most important is third line on selected text - #ff000000.
With "#ff000000" we are telling our device to use black colour for text.
It's not hard at all....just continue to read.
You'll get all when you compare your style.xml to this one:
Here is complete style.xml , download it and compare this one with yours.
Just open both files and add ".Light" and "#ff000000" to every stile you see I've change.
https://app.box.com/s/ezd4k68li6g6f1mqp8u2
After you change all style in style.xml it's time for recompiling.
Again, open cmd prompt ("SHIFT"+right click) and write :
apktool b settings (without ".apk")
If you did all like you should you won't get any error.
Now open c:\Android\APK\dist
and you'll see settings.apk.
Copy it to your device
Wait......
It's not finished
As settings.apk is system app we have to sign it.
Open ZipSigner on your device and :
1.click "Choose In/Out...." - find and select your settings.apk (the one you just copied)
2.click "Key/mode": select "platform"
3.click "Sign The File"
........wait......
...and that's it, now just find your newly MODed and signed file and simple install it like any other app.
Next tutorial : how to change solid background colour to show your picture (any picture) in "calls" "email" "settings" clock" - MOD framework-res.apk....
Something like this:
Or even this...hahaha
update 05/10/2013 !!!
edit .9.png file correctly!
Remember, decompile apk and then edit .9.png files!
If you open the .9.png in the decompiled app and edit it with "Gimp" or "Photoshop" while leaving the pre-drawn boarder there, you'll be able to recompile the apk with a properly edited and themed .9png
How to edit smali files!
This is for advanced users or developers.
I'm still learning and trying to understand smali files so I won't trying to get smart ...
I'll share one great thread (TUTORIAL) and we could learn together.
tnx to @Yorzua for this awesome tutorial.
...and do awesome things like this :
SMALI editing TUTORIAL
Another nice tutorial for smali editing (beginners friendly)
SMALI editing TUTORIAL for beginners
I put this to the end of this thread purposely - editing or even understanding smali files isn't simple.
So go one step by step, don't try to edit smali files immediately after you learned how to decompile apk file - you'll failed and probably quit from any other MODing, theming or editing.
All great developers spent hours and hours to learn all this so you can't expect you'll know everything after 15min.
You'll get errors while compiling and decompiling and that"s perfectly normal, don't get angry...
Read what apktool "said" , fix your mistakes and move on.
It's very important to go step by step , especially when you trying to find bug.
Fix or edit line by line and compile after each part, compile and test app.
That's all for now guys...
see ya later
..............................................................
Tnx to: @niaboc79 (for tips and learning me some tricks) @abo hani (I used his settings.apk for screenshots) @Xda For many stuff
If I helped you - say tnx ...:thumbup:
if you need help...well just ask here
nice funky
GoodJob Funky
Tnx guys
Thanks guys...
It's not much and I hope you could understand what I wrote.
I just wanna give back something to this great community which gave me so much
Really nice tut
Just, please, guys when someone finish editing - let me know is it o.k, should I add something or you completed all without any problems
Tnx
Sent from my LT26i using Tapatalk 4
thanks very much for this easy tutorial, and yeah, it was way easier than others that i saw in some threads....
im bookmarking ur thread for now, and sure one day i'll be back and start up with practice
i love to mess around with the phone as i learned few things until i reach the level of an DEV (why not )
:good:
Tonight I'll post a tutorial for framework editing.
[HOW TO] change all backgrounds to your favourite picture.
In settings, email, clock, call....
Your background will stay there which ever settings or clock you using, you can change your settings.apk but your background will stay...
(as long as you don't change framework).
See ya tonight
Sent from my LT26i using Tapatalk 4
Actually.. Mate, when r u releasing ur work?? I'm looking for a bug free build of Honami settings.. Tried all of em in Themes secion.. Apparently they all have the stuttering when sliding for the fist time(just like in .200 and .211 builds).. Do urs too have it??
Hmm....mine work?
My work, for now , is helping guys in their ROMs.
I don't know that much to BUILD ROM from the sources.
So the question is do we really need one more rom based on stock 96?
I think we don't.
When I learn all stuff I need (and there's plenty stuff to learn - smali for example) I will build something.
But that won't be (most likely) for XS but for Z1.
Swipe settings, modified Home launcher will have all options like we saw in 2.0.5b.
Modified framework and many stuff more.
That's why I prepare everything.
I just don't wanna release clone of a clone...
If I can't make something really different I'll rather skip it for now.
Sent from my LT26i using Tapatalk 4
@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
slink722 said:
@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
Click to expand...
Click to collapse
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4
funky0308 said:
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!
slink722 said:
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!
Click to expand...
Click to collapse
There is no my new ROM guys...
If you heard somewhere something you could only heard that I helped some guys.
There was some plans but as I said - nothing for now.
No sense to release same ROM or copy of the copy...
If I succeed on some things I'm working on - then I'll release something but only if I succeed.
Sent from my LT26i using Tapatalk 4
@funky0308 Im Studying Java and Smali.. I Know maybe 6% Already.. Buy suggestion on your case, if you want to port or to be themer. use Virotus Ten studio. It Can Generate the smali to java class. but you need to edit it on smali.
Tnx mate, very nice
Sent from my LT26i using Tapatalk 4
funky0308 said:
Tnx mate, very nice
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
Mate? Im Getting Dizzyy. could you help me Changing it to white? my Settings// Im getting Crazy with my developments. Kernels + ROM.. Could you help me on my white? Setting
---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------
Nvm.. Im Done.
How you change wifi and bluetooth on off switch????
Which file i need to edit to remove on and off in round switch
Sent from my ST21i2 using xda premium
I want to edit on off switch like you
Help me
AND also how to choose different backround color for on off switch
Sent from my ST21i2 using xda premium
Hello sir plz help me to port ios like on/off switch
I ported by editing framework-res.apk
And i have a problem
1.how to remove on off in round switch
2.how to change backround colour
To red
And how to resize it to correct round shape and small one
Sent from my ST21i2 using xda premium

[Guide] A Comprehensive guide to make APK of Zooper skins

Guys, We often make tons of skins with Zooper and sharing is main concern because when we share .zw file sometimes resources get messed up. So APK has this benefit over standard zw files that resources are stored and work fine (Obviously if file is corrupted no one can help )
Here is well Pictured guide to help you out. I hope you have downloaded Apktool/Tickle my android/Any such kinda tool and Java on your PC/Lappy.
What you will need:
* APK tool/Tickle my android/Auto apk tool
* Notepad++
* and template apk given by me (Attached last).
1. Open the Apktool folder and copy template given by me in that folder. [Please this is not an APK tool thread so I assume that you know how to decompile and recompile. ]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Open your apktool and decompile the Template-ZWskin.apk
3. Now in Decompiled folder there is a new folder of Teplate ZW skin
4. Now copy your Zip of skin exported from Zooper widget app and extract it like this photo [Prcisely known as APKZip inside Zooper app]
5. Now open that extracted folder in new window and copy all folders from extracted zip to "assets" folder of Template APK [IMPORTANT STEP]
6. Now get back to Template APK folder and see if its like this:
7. Now go to res/values/strings.xml and edit it with Notepad++
8. Go back to Template APK folder , and open AndroidManifest.xml to change name of APK.
9. Now Open APKtool and Recompile the apk and sign it. After Signing you rename APK file. At this stage if you use Tickle my android, signing is done immediately and automatically after Recompiling So thats a benefit for new users:good:
TEMPLATE LINK
Any comments, Requests should be here !
Very nice guide Bro!!!!
Sent from my C2104 using Tapatalk 4
Great job, hopefully this will encourage more sharing!
I'm pretty good at this too if anyone needs any help with it.
Thanks for the write-up!
I tried the guide from the original Forums but instructions don't match
I tried the guide from the original Forums but instructions don't match Android Studio anymore. Could never get it to work.
---------- Post added at 05:53 PM ---------- Previous post was at 05:36 PM ----------
Can you do readable images?
I guess I need to to figure out these tools. Noob
paulpoco said:
I tried the guide from the original Forums but instructions don't match Android Studio anymore. Could never get it to work.
---------- Post added at 05:53 PM ---------- Previous post was at 05:36 PM ----------
Can you do readable images?
I guess I need to to figure out these tools. Noob
Click to expand...
Click to collapse
Images are readable. Open them in separate window form PC...
scottx . said:
I'm pretty good at this too if anyone needs any help with it.
Thanks for the write-up!
Click to expand...
Click to collapse
I'm looking for someone that help me with the creation of an APK of Zooper skin, i've followed step by step a couple o guides but i can't make my own apk...
Can someone help me if i show my problem ?
Hi,
I already follow all the steps including the package name in the .xml file
after recompiling, signing and installing it prompt "App not installed"
The guide on Zooper website using Android Studio doesn't match current studio menus.
Sent from my Nexus 4 using Tapatalk
empol87 said:
I'm looking for someone that help me with the creation of an APK of Zooper skin, i've followed step by step a couple o guides but i can't make my own apk...
Can someone help me if i show my problem ?
Click to expand...
Click to collapse
What errors are you getting?
pingu_c660 said:
Hi,
I already follow all the steps including the package name in the .xml file
after recompiling, signing and installing it prompt "App not installed"
Click to expand...
Click to collapse
Sign it properly
paulpoco said:
The guide on Zooper website using Android Studio doesn't match current studio menus.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Sorry dude bt can't help. Haven't even seen Android studio:cyclops:
Java Error!
When I open AutoAPKToolMain (Windows Batch File), I get the following error!
I was hoping for a more noob friendly guide..
Anyways, thanks for sharing. Guess I'll have to spend my whole life figuring this out
skyinfo said:
When I open AutoAPKToolMain (Windows Batch File), I get the following error!
Click to expand...
Click to collapse
So install java no?
Sent from my C2104 using Tapatalk
vermajai93 said:
I was hoping for a more noob friendly guide..
Anyways, thanks for sharing. Guess I'll have to spend my whole life figuring this out
Click to expand...
Click to collapse
Tell me what u didn't understand?... I can elaborate
Sent from my C2104 using Tapatalk
My Doubts
Crytech said:
Tell me what u didn't understand?... I can elaborate
Sent from my C2104 using Tapatalk
Click to expand...
Click to collapse
I have been following both guides one from zooper website and the other one is this. I found the guide on zooper a little more detailed [for noobs] and I have been checking on this guide too to make sure I don't make any mistakes. I am mostly done with the whole process and my apk is ready, all I need is a few clarifications on some doubts so to make sure I haven't missed anything.
•In androidmenifest.xml android version code was 102 by default and version name was 1.02 So I guessed its my app's version and changed it to:
android:versionCode="100"
android:versionName="1.00" is this how it should be if I want to make my app's version 1.0? Also, If I wanted to change my app's version to 0.98 then would I have to change version code to 98??
•There was this <uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" /> by default and I have no idea what it is apart from that sdk tool is a software so I assumed it has to do something about and left it as is. Hope its not a problem.
•I didn't change anything here either do I have to??
<activity
android:name="org.zooper.zwskin.ZooperTemplate"
android:exported="true">
<intent-filter>
<action android:name="org.zooper.zw.TEMPLATES" />
</intent-filter>
</activity>
Hope I'm not asking too much. Forgive me for these noobish questions I just wanna make sure everything goes smooth. Thank You very much!!
vermajai93 said:
I have been following both guides one from zooper website and the other one is this. I found the guide on zooper a little more detailed [for noobs] and I have been checking on this guide too to make sure I don't make any mistakes. I am mostly done with the whole process and my apk is ready, all I need is a few clarifications on some doubts so to make sure I haven't missed anything.
•In androidmenifest.xml android version code was 102 by default and version name was 1.02 So I guessed its my app's version and changed it to:
android:versionCode="100"
android:versionName="1.00" is this how it should be if I want to make my app's version 1.0? Also, If I wanted to change my app's version to 0.98 then would I have to change version code to 98??
•There was this <uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" /> by default and I have no idea what it is apart from that sdk tool is a software so I assumed it has to do something about and left it as is. Hope its not a problem.
•I didn't change anything here either do I have to??
<activity
android:name="org.zooper.zwskin.ZooperTemplate"
android:exported="true">
<intent-filter>
<action android:name="org.zooper.zw.TEMPLATES" />
</intent-filter>
</activity>
Hope I'm not asking too much. Forgive me for these noobish questions I just wanna make sure everything goes smooth. Thank You very much!!
Click to expand...
Click to collapse
For the first two bullet points:
The version code must be numeric and is how the device tells whether the app is older, newer, or the same version. The version name can be whatever you want. It's the user friendly version we see when looking at what version is installed.
The SDK version is the "version code" for Android itself.
Side note: CODE tags preserve formatting.
----
Summon Logcat. It's super effective.
SGS2 - JB 4.1.2 GB27
SGS4 - JB 4.2.2 MF9
vermajai93 said:
I have been following both guides one from zooper website and the other one is this. I found the guide on zooper a little more detailed [for noobs] and I have been checking on this guide too to make sure I don't make any mistakes. I am mostly done with the whole process and my apk is ready, all I need is a few clarifications on some doubts so to make sure I haven't missed anything.
•In androidmenifest.xml android version code was 102 by default and version name was 1.02 So I guessed its my app's version and changed it to:
android:versionCode="100"
android:versionName="1.00" is this how it should be if I want to make my app's version 1.0? Also, If I wanted to change my app's version to 0.98 then would I have to change version code to 98??
•There was this <uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" /> by default and I have no idea what it is apart from that sdk tool is a software so I assumed it has to do something about and left it as is. Hope its not a problem.
•I didn't change anything here either do I have to??
<activity
android:name="org.zooper.zwskin.ZooperTemplate"
android:exported="true">
<intent-filter>
<action android:name="org.zooper.zw.TEMPLATES" />
</intent-filter>
</activity>
Hope I'm not asking too much. Forgive me for these noobish questions I just wanna make sure everything goes smooth. Thank You very much!!
Click to expand...
Click to collapse
1. Yes when you make version 98 will be necessary to make app version 0.98. However No one makes updates in points (Atleast zooper skins are once made, abandoned afterwards..)
2. Min-sdk should not be changed because it shows compatibility of app with Android version. [15 = ICS 4.0+] and Zooper is supporting 4.0+ devices so skin should support the same .
3. No you shouldn't change anything:good:
hi everybody, i have a sort of problem: i created a Zooper .apk and when i try it on my phone it works flawlessly but when i install it on another phone a folder appear instead of the icons, where am i wrong ? can someone help me ? thanks
need erase

[GUIDE] Add 10 Customizable App Launcher on SystemUI

This guide will let you add 10 customizable app launchers on your SystemUI.
Launch any application from your statusbar panel without exiting your current app and going to your launcher..
Features:​
Change launcher text color
Change launcher text size
Change launcher icon size
Change launcher view (4 views to choose from)
Change launcher background (4 backgrounds to choose from)
Remove/Hide launcher slots
Easy to integrate to your SystemUI
Easy to configure and customize
Support up to API 18 (Jellybean 4.3 see Myth2014's posts), I also confirm it running in API 19 (Kitkat 4.4.2) EMULATOR ONLY, If you have KitKat ROM and tried/tested this mod, please tell me or post it, thank you.
Note: Smali files were decompiled using apktool_2.0.0b9, so pls use the same apktool version in decompiling and recompiling your SystemUI.apk, I also upload smali files to be used with apktool_1.5.2.
Steps:
1. Decompile your SystemUI.apk
2. Download the attachment (it contains the needed smali files, use LATEST VERSIONS and APPROPRIATE FOR THE APKTOOL VERSION you are using).
3. Extract the zip file to your decompiled SystemUI.apk folder (/SystemUI.apk/here).
4. Now, open your status_bar_expanded.xml (/SystemUI.apk/res/layout/status_bar_expanded.xml) then add this code after:
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
OR anywhere in your status_bar_expanded layout OR in any free layout/tab if you have, its up to you to layout it as long as it looks like this:
This is the code that you will add:
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" >
<com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Warning: DO NOT MAKE <com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI /> a child of a ScrollView because AppLauncherOnSystemUI already extends ScrollView and YOU CANNOT PUT a ScrollView inside another ScrollView.
Tip: If you want to add more Views around the launcher add the attribute android:layout_weight to specify the space occupied by each view and prevent clutter. I will not discuss about it, just search about the usage of android:layout_weight to allocate spaces for your views.
5. Save your edited status_bar_expanded.xml and that's it.
6. Recompile your SystemUI.apk
7. Push or flash your newly recompiled SystemUI.apk
8. Download the attached application.
9. Install the downloaded application and customize your SystemUI app launcher, you can edit/remove shortcuts and add only what you need.
Settings Instructions:
To customize your App Launcher on SystemUI, Open the SystemUIAppLauncher App.
- To change/assign the app shortcut, tap on the list and select the application you want.
- To remove app shortcut from SystemUI, long press on the app from the list and Delete (you can assign another app later if you want).
v0.1 Initial release:
Screenshots:
App Launcher on SystemUI:
OUTDATED (Check updates below)
App Launcher on SystemUI Settings:
OUTDATED (Check updates below)
Attachments:
Needed files: OUTDATED (Check updates below) v0.1
SettingsApp: OUTDATED (Check updates below) version code: 1
Updates:
v0.2 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.2_use_with_apktool_1.5.2.zip v0.2
USE WITH APKTOOL v2.0.0b9 = View attachment AppLauncherOnSystemUIFilesv0.2.zip v0.2
SettingsApp: View attachment SystemUIAppLauncher_v0.2.apk version code: 2
[ADDED] Resize launcher icons using the SettingsApp.
[FIXED] Inconsistency of icon sizes in the launcher. Now the icons have fixed sizes depending on the settings.
[FIXED] Force close of SettingsApp due to clicking of the application list while the program is still loading the installed applications.
View attachment 2893288View attachment 2893289View attachment 2893290
v0.3 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.3_use_with_apktool_1.5.2.zip v0.3
USE WITH APKTOOL v2.0.0b9 = View attachment 2894395 v0.3
SettingsApp: View attachment 2894415 version code: 3
[ADDED] Resize launcher text label sizes using the SettingsApp.
[NEW] SettingsApp layout.
[FIXED] Gone text label when assigning new app launcher if (icon_size < text_label_size).
View attachment 2894457View attachment 2894458View attachment 2894459View attachment 2894460
v0.4 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.4_use_with_apktool_1.5.2.zip v0.4
USE WITH APKTOOL v2.0.0b9 = View attachment AppLauncherOnSystemUIFilesv0.4.zip v0.4
[FIXED] Support to Android API versions higher than 16 (JELLYBEAN 4.2). Can be applied up to Android KitKat without the "not collapsing statusbar panel bug".
LATEST:
v0.5 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.5_use_with_apktool_1.5.2.zip v0.5
USE WITH APKTOOL v2.0.0b9 = View attachment AppLauncherOnSystemUIFilesv0.5.zip v0.5
SettingsApp: View attachment SystemUIAppLauncher_v0.4.apk version code: 4
[ADDED] New view layout of the launcher.
[ADDED] 4 launcher backgrounds (I used android default drawables ). You can add any background you want with a simple tweak.
[ADDED] Launcher text colors can now be customized.
[ADDED] SettingsApp About menu added.
[FIXED] Application chooser only displays applications that can be launched.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks:
* xda-developers.com
* stackoverflow.com
* Pascal Cans (noobs.com) for his easy to use android-color-picker library (@GitHub)
* Myth2014 for reviewing my work and finding bugs
* and You
Source Codes?
You want to play with the code? Add functions? Explore and Learn? Copy method snippets? You can check it at my GitHub.:good::
Suggestions? Comments? Bugs (I hope none)?
Just post a reply here and I will try to attend to it. (The word "try" always has a "catch" Exception, iykwim.)
How to add all apps in my phone to expanded without SettingsApp?
the_vanya1 said:
How to add all apps in my phone to expanded without SettingsApp?
Click to expand...
Click to collapse
You cant add without the settings app sir, you need the settings app to assign custom apps to launcher and customize its appearance. I programmed it that way so that there is no inconvenience in editing the smali
ale trigoe
73R3WY said:
This guide will let you add 10 customizable app launchers on your SystemUI.
Note: Smali files were decompiled using apktool_2.0.0b9, so pls use the same apktool version in decompiling and recompiling your SystemUI.apk
Steps:
1. Decompile your SystemUI.apk
2. Download the attachment (it contains the needed smali files, use latest version if possible).
3. Extract the zip file to your decompiled SystemUI.apk folder (/SystemUI.apk/here).
4. Now, open your status_bar_expanded.xml (/SystemUI.apk/res/layout/status_bar_expanded.xml) then add this code after:
Code:
xmlns:android="diordna/ser/kpa/moc.diordna.samehcs//:ptth">
Note: I reversed the code above because xda recognizes it as an external link.
OR anywhere in your status_bar_expanded layout OR in any free layout/tab if you have, its up to you to layout it as long as it looks like this:
This is the code that you will add:
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" >
<com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Warning: DO NOT MAKE <com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI /> a child of a ScrollView because AppLauncherOnSystemUI already extends ScrollView and YOU CANNOT PUT a ScrollView inside another ScrollView.
Tip: If you want to add more Views around the launcher add the attribute android:layout_weight to specify the space occupied by each view and prevent clutter. I will not discuss about it, just search about the usage of android:layout_weight to allocate spaces for your views.
5. Save your edited status_bar_expanded.xml and that's it.
6. Recompile your SystemUI.apk
7. Push or flash your newly recompiled SystemUI.apk
8. Download the attached application.
9. Install the downloaded application and customize your SystemUI app launcher, you can edit/remove shortcuts and add only what you need.
Settings Instructions:
To customize your App Launcher on SystemUI, Open the SystemUIAppLauncher App.
- To change/assign the app shortcut, tap on the list and select the application you want.
- To remove app shortcut from SystemUI, long press on the app from the list and Delete (you can assign another app later if you want).
Screenshots:
App Launcher on SystemUI:
View attachment 2889238View attachment 2889239View attachment 2889240View attachment 2889244
App Launcher on SystemUI Settings:
View attachment 2889241View attachment 2889243
Attachments:
Needed files: View attachment 2889235 v0.1
SettingsApp: View attachment 2889245 version code: 1
Click to expand...
Click to collapse
how to make it...because i'm recompil brut on smali's...can you help me sir
aletrigoe said:
how to make it...because i'm recompil brut on smali's...can you help me sir
Click to expand...
Click to collapse
If you want to apply it to your SystemUI, follow the guide above, but if you want to make a mod like this, you will need to program an android application. If you have errors in decompiling/recompiling process, reply and attach a screenshot of the error or attach a log file on the process.
In accordance with the requirements of I can't compile successfully
I: Smaling...
[39,4] Error for input '.param': Invalid directive
[40,4] Error for input '.param': Invalid directive
[39,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /sdcard/apktool/zuiSystemUI_src_src/smali/com/jeremypacabis/statusbarmods/AppLauncherOnSystemUI$1.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Suqi said:
I: Smaling...
[39,4] Error for input '.param': Invalid directive
[40,4] Error for input '.param': Invalid directive
[39,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /sdcard/apktool/zuiSystemUI_src_src/smali/com/jeremypacabis/statusbarmods/AppLauncherOnSystemUI$1.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Click to expand...
Click to collapse
Please specify the apktool version you use, I decompiled the attached smali using apktool_2.0.0b9.jar, so pls use the same version in working with your SystemUI.apk because older version of apktool will output
Code:
.parameter
instead of just
Code:
.param
with apktool_2.0.0b9
To fix this you can use apktool_2.0.0b9, or tell me the apktool version you are using so that I can give you new smali files specific for the apktool version you are using. Thanks
hi,sir,look the pic
this apktool icon is big..
来自我的 vivo Y18L 上的 Tapatalk
Myth2014 said:
hi,sir,look the pic
this apktool icon is big..
来自我的 vivo Y18L 上的 Tapatalk
Click to expand...
Click to collapse
thank you for noticing that sir, i also find some apps that has bigger icon than the others, i will update the smali and the settings app soon.
Sir please use apktool 1.5.2 sir, most of us dont use apktool beta 9 sir. Its because after this tutor, not so many tuts use apktool beta 9 as base :good:
73R3WY said:
thank you for noticing that sir, i also find some apps that has bigger icon than the others, i will update the smali and the settings app soon.
Click to expand...
Click to collapse
yeah,if you update this ,please tell me :fingers-crossed:
Mranggapo said:
Sir please use apktool 1.5.2 sir, most of us dont use apktool beta 9 sir. Its because after this tutor, not so many tuts use apktool beta 9 as base :good:
Click to expand...
Click to collapse
Yes sir, I also noticed that. many smali from guides are decompiled using apktool 1.5.2, I have updated the guide with smali for apktool 1.5.2. Thank you.
Myth2014 said:
yeah,if you update this ,please tell me :fingers-crossed:
Click to expand...
Click to collapse
Update done sir, now you have the option to resize the app launcher icon. I have uploaded latest smali files and settings app (v0.2). Thank you.
73R3WY said:
Update done sir, now you have the option to resize the app launcher icon. I have uploaded latest smali files and settings app (v0.2). Thank you.
Click to expand...
Click to collapse
yeah,nice,thanksir。[emoji16]
来自我的 vivo Y18L 上的 Tapatalk
sir,look this pic[emoji16]
来自我的 vivo Y18L 上的 Tapatalk
Myth2014 said:
sir,look this pic[emoji16]
来自我的 vivo Y18L 上的 Tapatalk
Click to expand...
Click to collapse
Yes sir, i also encounter that problem, this happens when you set the icon size below 36 px (@hdpi) or 24 px (@ldpi/mdpi) because the text size is always fixed at 24.0dip, so when you assign new shortcut, no text is displayed, for now, just set the icon size to be bigger. I will update with new option to customize text size and text color for each launcher.
73R3WY said:
Yes sir, i also encounter that problem, this happens when you set the icon size below 36 px (@hdpi) or 24 px (@ldpi/mdpi) because the text size is always fixed at 24.0dip, so when you assign new shortcut, no text is displayed, for now, just set the icon size to be bigger. I will update with new option to customize text size and text color for each launcher.
View attachment 2894154View attachment 2894155
Click to expand...
Click to collapse
yeah,i waiting:laugh:
Myth2014 said:
yeah,i waiting:laugh:
Click to expand...
Click to collapse
update done sir, check v0.3, Thank you.
73R3WY said:
update done sir, check v0.3, Thank you.
Click to expand...
Click to collapse
yeah,right,work on my android 4.3 ,but have a bug..and your phone version ?:fingers-crossed:
Myth2014 said:
yeah,right,work on my android 4.3 ,but have a bug..and your phone version ?:fingers-crossed:
Click to expand...
Click to collapse
my phone version is still gingerbread, but i have kitkat 4.4 virtual device. just tell me about the bug. is it on the systemui or the settingsapp?

[GUIDE] Make any Icon Pack Compatible with New Xperia Home And Edit IconPack

Hello Friends
After Getting a Lot of PMs and Requests on How to Make so-and-so Icon Pack Compatible with Xperia Home and me Telling Everyone the Same Thing.
So i Thought to make a Guide/tutorial for the same.
So Guys i will be Dividing This Guide into Two Parts, Part-1 will Guide You to Make any IconPack Compatible with Xperia Home and Part-2 will Guide You to Edit IconPack.
So lets Start with Part-1
PART-1
In This Part i will be guiding you to make any icon pack compatible with Latest Xperia Home with IconPack Support.
This is the easiest and quickest way to make any icon pack compatible with Xperia Home it literally take few Minutes
So lest get started....
Things needed :-
PC
Apktool ( i recomed Apktool by Bdfreak)
Icon Pack which is to be edited
Notepad++
STEPS
STEP 1
Decompile Ur Icon Pack using Apktool.
STEP 2
Go to the Decompiled Folder and edit AndroidManifest.xml
and add this code just after </intent-filter> as shown below in the Picture and Save the File.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
<intent-filter>
<action android:name="com.sonymobile.home.ICON_PACK"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
STEP 3
Recompile and Sign the apk using Apktool.
Move to Phone then Install.
Enjoy....:laugh:
[/HIDE]
PART-2
So Guys Here is the Part-2,In This i Will Guide You to Edit Any IconPack Which Includes
Removing an Icon from the Icon Pack
Replacing a Icon with a New Icon
Adding a New Icon in IconPack
In this Part we will assume that u have Decompiled ur Icon pack and you dont like music icon and want to Edit it.
1. Removing an Icon from the Icon Pack
STEP-1
First Find ComponentInfo of the app whose icon u want to remove. you can easily get ComponentInfo of any app by either google or use Application Reader app,its free on playstore and works all the time
STEP-2
Go to Res/xml folder and edit appfilter.xml using notepad++.
STEP-3
Remove the Item Component line which Correspond to the ComponentInfo of the Mucic App whose icon u want to Remove from IconPack and save.
for example: lets say u dont like music icon and u want to remove so u will be deleting " <item component="ComponentInfo{com.sonyericsson.music/com.sonyericsson.music.MusicActivity}" drawable="music" /> " this line.
STEP-4
Recompile and Sign the APK and enjoy..
2. Replacing a Icon with a New Icon
STEP-1
first we will have to find the music icon from the icon pack. you can do this by two ways
Open the Folder where all icons are stored usually it is in res/Drawable-nodpi-v4 folder and find the Music Icon u Want to Replace
Get the CompontInfo of music app and search for it in appfilter.xml. lets say the line u got after search is " <item component="ComponentInfo{com.sonyericsson.music/com.sonyericsson.music.MusicActivity}" drawable="music12" /> " so the icon associated with music app is music12(which is given at the end of the line in drawable="music12")
STEP-2
Now Replace the New Icon with the Old Music Icon and Keep the Name Same Ofcource.
STEP-3
Recompile and Sign the APK nd enjoy...
3. Adding a New Icon in IconPack
Lets Say you Want to Add Music Icon to your Icon Pack.
STEP-1
Paste the Music icon in the folder where all Icons Are placed usually its Drawable-nodpi-v4
STEP-2
Edit Appfiler.xml and the this line at the end
<item component="" drawable="" />
add ur component info after <item component="HERE"
and add the of the icon which u r adding in drawable="HERE" />
STEP-3
Recompile,Sign,install and enjoy...:laugh:
CREDITS
BDfreak for his awesome Apktool.
Developer of Notepad++
Awsom bro. Great tutorial. Simple and easy. Keep up the good work
Rajeev said:
Awsom bro. Great tutorial. Simple and easy. Keep up the good work
Click to expand...
Click to collapse
Thnkx a lot buddy
but will this work on paid icon packs. i think we cant decomple them ?
Dilesh Perera said:
but will this work on paid icon packs. i think we cant decomple them ?
Click to expand...
Click to collapse
Yes buddy,i have tried 3-4 paid apps nd all were decompiled nd modded successful.
vikash1994b said:
Yes buddy,i have tried 3-4 paid apps nd all were decompiled nd modded successful.
Click to expand...
Click to collapse
wow sounds good then. let me try now
btw material Cards is my favo
EDIT
not works . as i said they cant decompile
Input file (C:\TickleMyAndroid\_WorkArea2\_in\Material) was not found or was not readable.
----------------
Decompile Not Successful!
Dilesh Perera said:
wow sounds good then. let me try now
btw material Cards is my favo
EDIT
not works . as i said they cant decompile
Input file (C:\TickleMyAndroid\_WorkArea2\_in\Material) was not found or was not readable.
----------------
Decompile Not Successful!
Click to expand...
Click to collapse
Bro for me its working, nd i successful modded it for xperia home. I wl send the modded apk via pm
Nd btw icon pack is quite good i think iwl be using it for some days now:laugh:
Nd i have used apktool for android bt it should work for advance apktool also.
Btw bro even if the icon pack ia not decompiling u can still make a icon pack for xperia.by extracting the apk nd moving the icons from icon pack to any base icon pack nd replace appfiler.xml nd use it.bt its a long process :silly:
tnx mate, just tried this method and it worked flawlessly....
Daniel_GB said:
tnx mate, just tried this method and it worked flawlessly....
Click to expand...
Click to collapse
Enjoy buddy nd there is a thanks button also:silly:
Jozinek said:
any chance how to get it work for CM themes and icons?
Click to expand...
Click to collapse
Well cm themes cant be made to work with xperia but icons can be extracted from cm theme nd a icon pack can be made for xperia home:laugh:
vikash1994b said:
Hello Friends
After getting a lot of PMs and requests on how to make so-and-so icon pack compatible with Xperia home and me telling everyone the same thing.
So i Thought to make a Guide/tutorial for the same.
This is the easiest and quickest way to make any icon pack compatible with Xperia Home it literally take few Minutes
And Guys if u like i can even extend this tutorial and explain how to add new icon or edit a icon with a new one.
So lest get started....
Things needed :-
PC
Apktool ( i recomed Apktool by Bdfreak)
Icon Pack which is to be edited
Notepad++
STEPS
STEP 1
Decompile Ur Icon Pack using Apktool.
STEP 2
Go to the Decompiled Folder and edit AndroidManifest.xml
and add this code just after </intent-filter> as shown below in the Picture and Save the File.
<intent-filter>
<action android:name="com.sonymobile.home.ICON_PACK"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
STEP 3
Recompile and Sign the apk using Apktool.
Move to Phone then Install.
Enjoy....:laugh:
CREDITS
BDfreak for his awesome Apktool.
Developer of Notepad++
Click to expand...
Click to collapse
Or with Eclipse
Resurgence110 said:
Or with Eclipse
Click to expand...
Click to collapse
?? U quote the whole OP only for telling this ? Ha ?
Resurgence110 said:
Or with Eclipse
Click to expand...
Click to collapse
Dont quote the whole op my friend nd sry i didnt get u
Thanks very much indeed for this, i am quite a novice when it comes to this kind of thing, and it worked flawlessly, quick couple of questions if you dont mind, if i want to remove certain icons from the icon pack, is it an easy thing to do ? and one last one, i know the icons are there but they are not changing to the ones in the icon pack.
Thanks once again.
Schumi 01 said:
Thanks very much indeed for this, i am quite a novice when it comes to this kind of thing, and it worked flawlessly, quick couple of questions if you dont mind, if i want to remove certain icons from the icon pack, is it an easy thing to do ? and one last one, i know the icons are there but they are not changing to the ones in the icon pack.
Thanks once again.
Click to expand...
Click to collapse
Ur wlcme buddy,nd its really easy to edit an icon pack.
Both ur questions can be solved by editing appfilter.xml(which is found in res/xml folder)
Now in first question edit appfilter.xml and delete the componentinfo line which correspond to the icon u want to remove then save and recompile.
Now in second question add the componentinfo line corresponding to app whose icon u want to add.
Hope u get it bro nd i will update the thread tomorrow and add steps to edit icon pack if u didnt understand now dont worry tomorrow after reading the steps u can easily edit icon pack.:laugh::good:
vikash1994b said:
Ur wlcme buddy,nd its really easy to edit an icon pack.
Both ur questions can be solved by editing appfilter.xml(which is found in res/xml folder)
Now in first question edit appfilter.xml and delete the componentinfo line which correspond to the icon u want to remove then save and recompile.
Now in second question add the componentinfo line corresponding to app whose icon u want to add.
Hope u get it bro nd i will update the thread tomorrow and add steps to edit icon pack if u didnt understand now dont worry tomorrow after reading the steps u can easily edit icon pack.:laugh::good:
Click to expand...
Click to collapse
Thanks very much indeed, shall look forward to it, i have checked and the componentinfo line is there, and the icon is also there, but for some strange reason it doesn't change. I have checked another icon pack, the component info line is the same as the other pack and that one is working ?
Schumi 01 said:
Thanks very much indeed, shall look forward to it, i have checked and the componentinfo line is there, and the icon is also there, but for some strange reason it doesn't change. I have checked another icon pack, the component info line is the same as the other pack and that one is working ?
Click to expand...
Click to collapse
Can u share ur icon pack whats the issue
Nd tell the app also whose icon needs to be changed
Thx Bro For The Guide can u Uplade Your ApkTool Ver?
eliasba said:
Thx Bro For The Guide can u Uplade Your ApkTool Ver?
Click to expand...
Click to collapse
Ur wlcm bro,Im using the latest advance apktool v4.2.0
Guys Thread Updated now u can also learn to edit Icon packs @Schumi 01

Categories

Resources