[TUTORIAL] Complete and Comprehensive Guide for Creating 4.3 Themes - Xperia Z1 Themes and Apps

Comprehensive Guide for Beginners to Create 4.3 Xperia Themes
Hello Friends!
As we all know Android 4.3 brought for us the capability to customise our Xperias with soothing themes and adding custom flavor to it
I am creating this tutorial to teach you how to create your own themes
{
"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"
}
​
Click to expand...
Click to collapse
Pre Requisites--
NotePad++
7Zip/Winrar or equivalent zip manager
Apktool or Virtuous Ten Studio or equivalent apk decompiler
Paint.net tool for editing pngs or equivalent editor
Java JDK installed
Sign++ for signing themes (only applicable if you use other than vts)
Basic windows knowledge
A creative Mind
​
Click to expand...
Click to collapse
So lets start!
STEP 1 - DECOMPILING AND SETUP
Download this 4.3 theme apk and decompile it using apktool
(Dont worry, visit this thread if you dont know how to decompile apks)
STEP 2 - ADDING WALLPAPERS
Go to res/values/drawable-xxhdpi folder
Here you will find the images which are the default wallpapers for lockscreen and launcher
Also change the preview of your theme as desired
Replace them according to your desired theme
Repeat the same for res/values/drawable-sw720dp-hdpi folder (these are wallpapers for tablet theme users)
STEP 3 - CHANGING THE NAME
Open the AndroidManifest.xml
Here you will find this in 2nd line
Code:
<manifest android:versionCode="1" android:versionName="1.0" package="[COLOR="Red"]somc.theme.xxx.xxxx[/COLOR]"
Change the package name as desired
Now go to res/values/strings.xml using Notepad++
And edit the theme name as desired
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="semc_theme_title">Xperia Example™</string>
</resources>
STEP 4 - ADDING/REMOVING/CREATING ASSETS
-> What are assets?
Well they are the resources (pngs, xmls and other things which make your themes beautiful)
These can be found in assets folder in zip format
-> How to create assets?
Assets are basically the apks itself
To create assets I am giving you an example for Settings.apk
1. First decompile your Settings.apk
2. Go to res folder inside decompiled Settings and delete all the folders except the drawable-xxhdpi and values folder (as icon pngs are present in it)
3. Delete the smali and assets folder inside the decompiled Settings
4. Go to drawable-xxhdpi folder and delete the unwanted pngs which you do not wish to theme
5. Edit the pngs as desired using Paint.net or equivalent advanced png editor
6. Now go to values folder and and delete all the xml files except public.xml
7. Now open the public.xml in Notepad++ and paste the following code-
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
</resources>
8. Now open the AndroidManifest.xml of the Settings
Select all and paste the following code-
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1" android:versionName="1.0" package="com.sonymobile.dummy"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:label="None" />
</manifest>
9. Now recompile the Settings folder
10. Open the recompiled apk and delete the MATA-INF folder (if present)
11. Now rename the recompiled Settings.apk to its package name i.e. com.android.settings.zip
12. Now paste the com.android.settings.zip to assets folder of the theme
13. Scroll down to learn how to add your newly created asset in the theme
The above steps can be used for any of the apk you wish to create assets for
-> How to add the assets?
I recommend you to add more and more custom assets to make your theme unique
For example you wish to add Settings.apk assets
1. Create the asset zip as explained above
2. Open the AndroidManifest.xml of the theme
and add this code-
Code:
<asset path="com.android.settings.zip" target="com.android.settings">
<laf-version-filter from="1" to="1" />
</asset>
between these tags
Code:
<runtime-skin version="1">
....
....
....
</runtime-skin>
So new code will look like this
-> How to remove specific app assets?
You need to do this when you do not wish any resource to be modified
For example if you do not want the modifications to statusbar in your theme
Then go to assets folder and delete the com.android.systemui.zip
Then open the AndroidManifest.xml of the theme
and find this code-
Code:
<runtime-skin version="1">
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1" />
</asset>
[COLOR="Red"]<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="1" to="1" />
</asset>[/COLOR]
<asset path="com.sonyericsson.home.zip" target="com.sonyericsson.home">
<laf-version-filter from="1" to="1" />
</asset>
</runtime-skin>
Delete the highlighted code ONLY
So new code will look like this
STEP 5 - MODIFYING THE EXISTING (DEFAULT) ASSETS OF THEME
In my example theme I have 4 basic assets (SystemUI, Android, Home and SemcGeneric Accent)
So I am explaining one by one
1. The SystemUI and Home assets
Firstly go to assets folder of theme and copy the asset zip to main folder from where you can decompile it
Rename the com.sonyericsson.home.zip to com.sonyericsson.home.apk
Then decompile it using apktool or vts
Modify the decompiled folder pngs as desired using Paint.net or other and recompile it
Open the recompiled apk with winzip, 7z and delete the META-INF folder if present
Now rename the com.sonyericsson.home.apk to com.sonyericsson.home.zip
Paste it to assets folder of the decompiled theme
The above procedure can be repeated for systemui asset too
2. The Android assets
These are the most important assets of the theme
These decide the most of the UI as they are framework-res resources
To modify these-
Firstly go to assets folder of theme and copy the asset zip to main folder from where you can decompile it
Rename the android.zip to android.apk
Then decompile it using apktool or vts
Modify the decompiled folder pngs as desired using Paint.net or other and recompile it
Open the recompiled apk with winzip, 7z and delete the META-INF folder if present
Now rename the android.apk to android.zip
Paste it to assets folder of the decompiled theme
3. The Theme Accent assets
These decide the theme accent of the Sony Apps
To change the theme accent-
-> Firstly go to assets folder of theme and copy the asset zip to main folder from where you can decompile it
-> Rename the com.sonyericsson.uxp.zip to com.sonyericsson.uxp.apk
-> Then decompile it using apktool or vts
-> Go to res/values/colors.xml
And modify the highlighted hex code ONLY!
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="somc_theme_accent_color_dark">#ff[COLOR="Red"]4038ff[/COLOR]</color>
<color name="somc_theme_accent_color_light">#ff[COLOR="Red"]4038ff[/COLOR]</color>
<color name="somc_accent_color_neutral">#ff[COLOR="Red"]4038ff[/COLOR]</color>
</resources>
I recommend you to keep the hex code according to theme wallpapers and framework-res assets color
To know the hex codes of the different colors visit ColorHexa website
More information about hex codes of colors
-> After finishing this edit recompile the asset
-> Open the recompiled apk with winzip, 7z and delete the META-INF folder if present
-> Now rename the com.sonyericsson.uxp.apk to com.sonyericsson.uxp.zip
-> Paste it to assets folder of the decompiled theme
STEP 6 - RECOMPILE THE THEME APK
Recompile the theme apk and sign it using Sign++
STEP 7 - TEST ON YOUR PHONE
Install your theme apk like normal app or push it to system/app
Make sure you have SuperUser Mod installed!
Enjoy and do share your themes with us
​

Thanks to @funky0308 for his Guides- This and This
And @saqib nazm
FAQ Soon!
Press thanks and rate my thread 5 stars if you liked it ​

Nice one Ayush !

Great work man

Very nice mate...
I thought you will repeat stuff we already said but you did awesome job.
Great new things - very nice.
One thing only, it's not necessary to rename assets for decompiling.
Apk and Zip files are similar packages and you can easily decompile and recompile zip files.
But that's not important, it'll work in both ways.
One question, have you tried to add that line I was talking about in mine thread in systemUI asset?
I found one line in drawable.xml and we could easily add status bar transparency through whole OS.
I'll have more free time today to try again, I tried yesterday and got some errors in decompiling systemUI so couldn't check that.
My plan was to edit systemUI for all guys who can't use custom theme but want to have transparent status bar.
Sent from my C6903 using Tapatalk

Great work bro.. Nice explanations... Keep it up

I think I could add transparency to whole status bar (in all apps) but can't decompile systemui.zip.
I found line in systemUI\res\values\drawables.xml line #ff000000>/item>
I think if we change ff00000 to #00000000 we could get transparency in all apps.
(#00000000 is for 100% transparency,
50% transparency is #80000000 and full opaque is #ff00000000)
But as I just said - can't decompile properly.
Click to expand...
Click to collapse
We should try to make this...
I'm at work now but if you have time, PM me and we could talk (maybe to join and create our little group on hangouts) and work on some projects together...
We could build nice things for everyone...
Or you try that...
If you delete that line drom systemUI and add it in drawable.xml in systemUI assets it could work in themes as well...
Sent from my C6903 using Tapatalk

funky0308 said:
We should try to make this...
I'm at work now but if you have time, PM me and we could talk (maybe to join and create our little group on hangouts) and work on some projects together...
We could build nice things for everyone...
Or you try that...
If you delete that line drom systemUI and add it in drawable.xml in systemUI assets it could work in themes as well...
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Yes I had tried this once
But the results arent good
It appeared like this for a second
and then again goes back to its normal state
I have exams at my school, will carry on this later, I will try to add kitkat like systemui gradient soon!

Ayush Singh said:
Yes I had tried this once
But the results arent good
It appeared like this for a second
and then again goes back to its normal state
I have exams at my school, will carry on this later, I will try to add kitkat like systemui gradient soon!
Click to expand...
Click to collapse
Are you sure you had deleted that line from systemUI?
SystemUI have advantage over themes and it probably change color back.
If you got transparency for a sec, that's it.
Sent from my C6903 using Tapatalk

Could I carry out step one using a theme apk of my own? ( some of it is already how I want it so it would mean less work ) could I get apk using romtool box and then move it to my pc?
Sent from my C6903 using Tapatalk

Zippy1 said:
Could I carry out step one using a theme apk of my own? ( some of it is already how I want it so it would mean less work ) could I get apk using romtool box and then move it to my pc?
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
That's the whole purpose of all TUTs, to create your own themes or apk.
You can, of course, just use your systemUI.
Sent from my C6903 using Tapatalk

A very nice & definitive explanation
+1 vote for this thread for portal :good:

Nice Tutorial Brother. Will Nominate it for the Portal.
Cheers!

Hi mate...
One more thing.
When someone is changing/editing theme it shoud edit smali and in apktool.yml as well (name and path)
Smali files should be edited for "telling" system new path (if you changed path for smali files)
And apktool.yml to add here new name so it'll compile new theme with right name and won't overwrite in themes (if you have previouse version)
It's easy to change names there too (name of theme)
So , maybe to add that to OP as well in step "chaniging name"..
see ya

Nice tutorial; perhaps an idea to share themes in a thread with all the 4.3+ users?

Does This Method Work With CyanogenMod?
I am wondering if this theming method works with custom ROMs with theming engines, such as CyanogenMod.

nicholician said:
I am wondering if this theming method works with custom ROMs with theming engines, such as CyanogenMod.
Click to expand...
Click to collapse
No, they won't work on tmobile themes engine.
Sent from my C6903 using Tapatalk

funky0308 said:
No, they won't work on tmobile themes engine.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I'm not wondering about tmobile, just cyanogenmod in general

nicholician said:
I'm not wondering about tmobile, just cyanogenmod in general
Click to expand...
Click to collapse
That's tmobile theme engine.
I know what you want to say.
But, unfortunately, no, they won't work.
Sent from my C6903 using Tapatalk

So this method only works with Xperia 4.3 Devices?

Related

[Guide][MOD] How to Mod Espier Launcher

{
"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"
}
After receiving many questions on how I modded my Espier Launcher.apk I decided to write this tutorial. Many thanks to Taine0 for inspiration and initial instructions!
WHAT THIS GUIDE IS FOR:
-How to change icons in espier launcher
-How to change page indicators
-How to change dock
-How to change notification bubble
-How to add custom icons (for apps not natively themed by espier launcher) RECENTLY EDITED
-How to install onto phone
A. Preliminary Steps:
1. Install apktool
2. Create a directory called Espier launcher mod
3. Download Espier Launcher and rename to launcher.apk
4. Place Espier Launcher into that directory.
5. Open terminal.
6. Change terminal directory to your Espier launcher mod folder.
E.G. I ran this:
Code:
cd /home/gaurav/Desktop/Espier launcher mod
7. Decompile the apk.
Code:
apktool d launcher.apk
B. Changing basic icons.
**UPDATE**
Now, to prevent icons from being edited (in a bad way) by Espier Launcher, download this icon and place it in drawable-(h/m/l)dpi. This is crucial to prevent your icons from getting a weird white glow around them!
1. Open res/drawable-(hdpi/ldpi/mdpi/xhdpi) *depending on what screen size your phone is. I have an mdpi so i will go into drawble-mdpi
2. Change the desired icon
For example, the file
Code:
ic_com_android_camera_preparecamera.png
can be replaced by an image of the same (or similar) size. when you're done, it should look like:
Screenshot
3. Refer to Section G
C. Changing page indicators
1. Open res/drawable-mdpi
2. Find the file:
Code:
ic_screen_level_focus.png
ic_screen_level_normal.png
3. Replace these two files with desired ones
4. Open res/drawable-hdpi
5. Replace these files with desired images.
Code:
ic_screen_level_focus
ic_screen_level_normal.png
ic_screen_level_search_focus.png
ic_screen_level_search_normal.png
ic_screen_level_widget_focus.png
ic_screen_level_widget_normal.png
6. Refer to Section G.
D. How to change dock
1. Navigate to res/drawable-mdpi (in my case)
2. Find file called
Code:
toolbar.png
3. Replace with desired (make sure the dock image is correct size for your phone)
4. Refer to Section G.
E. How to change notification bubble.
1. Open res/drawable-mdpi
2. Find and replace with desired image
Code:
icon_shuzi1.png
3. Refer to Section G.
F. How to add custom icons
*Warning* This section is a lot more confusing. Please read carefully. *Warning*
1. Navigate to /res/values/arrays.xml
2. Now, it gets tricky.
3. Go this website
4. Search for an app. It should look like this:
Screenshot
5. Now, in arrays.xml, scroll down until you see this type of coding
Screenshot
6. Get to the end of that "chunk" of xml.
7. Let's say we're theming the facebook app. So we add this to xml. (and fill it out with info)
Code:
<item>ACTIVITY_OF_APP</item>
<item>DESCRIPTIVE_ACTIVITY_OF_APP</item>
<item>@drawable/NAME_OF_APP</item>
For example:
Code:
<item>com.facebook.katana</item>
<item>com.facebook.katana.LoginActivity</item>
<item>@drawable/facebook</item>
You get the first line of info like this:
Screenshot
and the second:
Screenshot
in that third line of that xml we add (@drawable/NAME_OF_APP), you can name your app anything you want. i made it "facebook" in this case.
8. Save and exit.
9. Find a desired image for your application (in this case facebook).
10. Rename it to "NAME_OF_APP.png" in this case, "facebook.png"
11. Drop that file into drawable/mdpi
12. Repeat steps 1-11 for as many applications as you want to theme.
13. Refer to Section G.
G. How to install on your phone
1. First, save and close everything you're working on.
2. Open your terminal, and change its directory to the "espier launcher mod" folder
3. Type in
Code:
apktool b 'PATH_TO/espier launcher mod' 1.apk
4. Take that 1.apk, and sign it, using a program like ApkSigner
5. Connect your phone to your computer via USB.
6. Mount it as a mass storage device.
7. Transfer that signed.apk to the root of your sdcard.
8. Now on your phone, uninstall any current version of EspierLauncher you may have.
9. Then, using a file manager, install the signed.apk from your sdcard.
YOU'RE DONE!
Hope everyone finds this guide very useful! If you want to see what it looks like as a completed project Check out my DeviantArt
I've been looking for ways to mod Espier Launcher and recently asked one users from deviantArt to teach me how but didn't get a response and now I saw this. Thanks a lot mate, this is very useful ! :]
Mello^ said:
I've been looking for ways to mod Espier Launcher and recently asked one users from deviantArt to teach me how but didn't get a response and now I saw this. Thanks a lot mate, this is very useful ! :]
Click to expand...
Click to collapse
Yup! I got a lot of requests so I made this guide! Glad you like it!!
Sent from my Liberty using XDA App
I modded this launcher myself removing backdops, icon backgrounds. But changing
the png file with a transparent file. Can you teach doing this by changin code?
Secondly can you teach how to use 2 lines icon names? I do this by changing
a code but i think you already know this.
With all of these it will be a perfect launcher.
mind posting/sharing your modded espier launcher?
This is dope! Great job mate!
Sent from my GT-I9100 using XDA App
yken said:
I modded this launcher myself removing backdops, icon backgrounds. But changing
the png file with a transparent file. Can you teach doing this by changin code?
Secondly can you teach how to use 2 lines icon names? I do this by changing
a code but i think you already know this.
With all of these it will be a perfect launcher.
Click to expand...
Click to collapse
Oh yes, i forgot to include how to get rid of icon backdrops...I do not know how to change the code (regards to the icon backgrounds) nor I know how to make the icon names have 2 lines :/ If you could post those instructions, i will add to OP and give you some credit
roi14 said:
mind posting/sharing your modded espier launcher?
Click to expand...
Click to collapse
Sorry, I wish I could, but the icons i've used in it are NFR. So...no
iekansh said:
This is dope! Great job mate!
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Thanks!!!
super awesome, dude !
thanks! glad you appreciate it!
Why don't you Share your apks ?
Sent from my GT-I9100 using XDA App
why dont you just share you apks dude?
For everyone wondering why he won't share his modded launcher, it's because the icons aren't for release. He made this tutorial, why not just do it yourself?
Really nice and thorough tut! I was waiting over on deviantart but didn't see it until now!
For those not wanting to install apktool, the same can be done with apkmanager much easier. Gaurav, I would actually recommend changing the tutorial to use apkmanager instead. Much easier for the noobs You would only have to change up a couple of steps.
iLauncher is better.
kcls said:
For everyone wondering why he won't share his modded launcher, it's because the icons aren't for release. He made this tutorial, why not just do it yoursellf?
Click to expand...
Click to collapse
That is exactly correct!
kcls said:
Gaurav, I would actually recommend changing the tutorial to use apkmanager instead. Much easier for the noobs You would only have to change up a couple of steps.
Click to expand...
Click to collapse
Sounds good. I will update when I find some free time.
GetPatriotized said:
iLauncher is better.
Click to expand...
Click to collapse
I thought Espier was smoother. And i know how to theme
Sent from my Liberty using XDA App
Mate, I don't use apktool nor apk manager. I just use 7zip for modding apks and I can't seem to find the values folder on the res so I can't add any app activities on array.xml :/
help TT
Mello^ said:
Mate, I don't use apktool nor apk manager. I just use 7zip for modding apks and I can't seem to find the values folder on the res so I can't add any app activities on array.xml :/
help TT
Click to expand...
Click to collapse
You have to use one of the two, they decompile the apks so the XML is readable. Unzipping with 7 zip will result in a bunch of gibberish for XML.
Tapatalkin it from my IHO CM7.1'd, MIUI Themed Optimus V
kcls said:
You have to use one of the two, they decompile the apks so the XML is readable. Unzipping with 7 zip will result in a bunch of gibberish for XML.
Tapatalkin it from my IHO CM7.1'd, MIUI Themed Optimus V
Click to expand...
Click to collapse
I see now, Thanks a lot mate :]
Well, thanks to supetawesomedude and his awesome guide, I moded espier launcher so now it has Suave theme This theme is for MDPI devices only (I dont have HDPI devices so I can't test). Backup your Espier Launcher config, remove it, install the file below and restore the config Enjoy
awesome guide bro, but too complex for me to get my head around it lol, if they just allowed the option that ilauncher has for custom icons this would rock so much more imo, and thanks TMinh for sharing your setup
So can you only add up to 14 icons by editing the public.xml?
I'm up to 8 right now and just realized it only goes up to icbk_color_14

[Tutorial]How to decompile/recompile/Sign Whatsapp.apk

Hi everyone,
Working around in some apk's, I noticed that some apps are more tricky to work with.
I will show you in this tutorial how to decompile/recompile/Sign Whatsapp.apk
Requirements :
My Apktool -Yorzua Kit
Notepad++
I just added a complete KIT including all the tools in one folder.
no need anymore to use Openssl or change/move to another program.
to decompile :
Code:
apktool d <yourwhatsappname>.apk ( can be whatever name you give to your apk )
edit the xml/smali you want :
see my tuto here to give an idea how to edit the xml files and smali files with Notepad++ (Written on C++ and using Win32API, you will be able to easily change, copy, trace, find all the codes you will find in this guide ).
to compile :
Code:
apktool b <yourwhatsappname> ( can be whatever name you give to your apk )
to sign :
Code:
java -jar SignApk.jar testkey.x509.pem testkey.pk8 <yourwhatsappname>.apk <yourwhatsappname>_signed.apk
Those following screenshots are some examples of what you can achieve by decompiling - editing at your taste - compiling - signing an apk like Whatsapp
{
"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"
}
Or even the 1st Whatsapp Transparent in the web !!!
I am quite busy at the moment but if you are interested on my work,
please visit my Whatsapp MODS Thread
Or my new tuto "Create your 9.png !"
http://forum.xda-developers.com/show....php?t=1511537
I thought it is a good addition to this whatsapp tuto, especially for the bubbles.9.png's​
Click on the thanks if it helps you as i do for each of you
If you come by my thread and like my work, i ask nothing more than a little thanks for the effort.
If you dont, then just give me credits if you use it.
Thanks for reading, i wish you a great day ☼​
Thanks bro
Sent from my GT-I9000 using Tapatalk
There is another way to sucessfully sign the apk without use of Open SSL to generate the key.p8 and certificate.pem files and without having to use SignApk.jar.
Auto-sign is another tool that eliminates the use of those steps.
First copy the official WhatsApp.apk into the Autosign folder
Change extension to zip and replace your pngs in the drawable folders
Be sure to delete the META_INF from the apk
Extract the edited and recompiled xmls from the modded apk created in Apk tool (res>layout)
Overwite the xml into the WhatsApp.zip in the Auto-sign folder
Return the Whatsapp extension to apk
Use sign.bat to sign the apk and you are good to go!
Auto-sign generates the key.pk8 and certificate.pem files automatically and applies them automatically to the apk, hence eliminating the necessity for Openssl and SignApk.jar... basically saves an extra step.
Works for me well
Easy Kit
cybermessiah said:
There is another way to sucessfully sign the apk without use of Open SSL to generate the key.p8 and certificate.pem files and without having to use SignApk.jar.
Auto-sign is another tool that eliminates the use of those steps.
First copy the official WhatsApp.apk into the Autosign folder
Change extension to zip and replace your pngs in the drawable folders
Be sure to delete the META_INF from the apk
Extract the edited and recompiled xmls from the modded apk created in Apk tool (res>layout)
Overwite the xml into the WhatsApp.zip in the Auto-sign folder
Return the Whatsapp extension to apk
Use sign.bat to sign the apk and you are good to go!
Auto-sign generates the key.pk8 and certificate.pem files automatically and applies them automatically to the apk, hence eliminating the necessity for Openssl and SignApk.jar... basically saves an extra step.
Works for me well
Click to expand...
Click to collapse
Way more simple than that >
I just added a complete KIT including all the tools in one folder
no need anymore to use Openssl or change/move to another program
I also includes Command.shell file which will allow you to directly type the commands from the folder directory ( very easy even if you are a noob )
Just follow the OP
Verba volant, scripta manent !!!!
More crap for this piece of s....
cybermessiah said:
@ Morrancos ... maybe read the actual posts prior to his comment.
One screenshot of the decompiling tool he uses and one screenshot of a successfuul modification AFTER I told him exactly what xmls needed modifying make him responsibile for me gaining a deeper comprehension of theming?
Click to expand...
Click to collapse
YOu told me which xml ? is it a ****ing joke ?
Since when i need you to know which xml to edit ?
I posted my screenshot here = 30th January 2012, 04:43 PMway before your post about xml ... here = 30th January 2012, 05:03 PM
And you wrote "told him exactly" ?
cybermessiah said:
FINALLY.
I was correct about it being those xmls!
Used APKtool to decompile and recompile with edits to those two xmls I suspected.
Click to expand...
Click to collapse
Here is my BLACK Whatsapp which required not less than 34 xmls in layout/drawable hdpi/values and 4 smalis to make it
YOU ARE TRULLY PATHETIC INSULTING ME AGAIN AS your "girlfriend" ....
I HOPE MODS WILL SEE THAT YOU ARE NOT HERE TO SHARE BUT ON YOUR OWN SELFISH ....
=====================================
just kept as we never know with those guys ...
how to use your easy manager package?
because in tutor you type "apktool d whatsapp.apk"
but in zip, no apktool.exe beside apktool.jar
I use "apktool.jar d whatsapp.apk" and it works..new folder created with res and smali inside it
But how to compile ?
Using "apktool.jar b whatsapp.apk" nothing happened
thanks
More clear
j1po said:
how to use your easy manager package?
because in tutor you type "apktool d whatsapp.apk"
but in zip, no apktool.exe beside apktool.jar
I use "apktool.jar d whatsapp.apk" and it works..new folder created with res and smali inside it
But how to compile ?
Using "apktool.jar b whatsapp.apk" nothing happened
thanks
Click to expand...
Click to collapse
We can always improve OP updated to be more clear for everyone
to decompile :
Code:
apktool d <yourwhatsappname>.apk ( can be whatever name you give to your apk )
edit the xml/smali you want :
see my tuto here to give an idea how to edit the xml files and smali files with Notepad++ (Written on C++ and using Win32API, you will be able to easily change, copy, trace, find all the codes you will find in this guide ).
to compile :
Code:
apktool b <yourwhatsappname> ( can be whatever name you give to your apk )
to sign :
Code:
java -jar SignApk.jar testkey.x509.pem testkey.pk8 <yourwhatsappname>.apk <yourwhatsappname>_signed.apk
Thanks, I got it
can you share, which xml that handle "group bubble" color in group chat?
which your black mod show grey
and also gradient bubble border (red-blue) ?
thanks
j1po said:
Thanks, I got it
can you share, which xml that handle "group bubble" color in group chat?
which your black mod show grey
and also gradient bubble border (red-blue) ?
thanks
Click to expand...
Click to collapse
Do you mind to point me what you need by a screenshot, please ??
Would be more easy for me
recent changes
Yorzua said:
Do you mind to point me what you need by a screenshot, please ??
Would be more easy for me
Click to expand...
Click to collapse
Where can I change contact list background color to black like picture above ?
1. Group chat "group bubble" color --> public/colors.xml ??
2. Bubble border gradient color -->forget it, found it on high-res/
thanks a lot man
Please ignore.......
j1po said:
Where can I change contact list background color to black like picture above ?
1. Group chat "group bubble" color --> public/colors.xml ??
2. Bubble border gradient color -->forget it, found it on high-res/
thanks a lot man
Click to expand...
Click to collapse
Thanks for the screenshot.
Both are 9.png files _ you cannot change the background of the group bubble with an xml, same story for the border of the bubble
I did from scratch those bubbles.9.png ( nightmare of some themers )
I will have to publish in xda a real, clear, short, illustrated TUTO "how to create 9.png files" but i am missing time actually.
Maybe i can change them for you tomorrow if you post your wishes
example of my last work
Recent work on the latest version : WhatsApp_DARKYorzua_2-7-3169
thanks
people asked me for more panoramic view of my dark theme so here it is
Thanks guys for your support _ feel free to post your questions in my tuto to make benefit all the coming members
Yorzua said:
Recent work on the latest version : WhatsApp_DARKYorzua_2-7-3169
Click to expand...
Click to collapse
Man, you've gotta good thing going overhere, (Carbon Fibre look) went to your site this is realy, realy awesome finally some great explanation about theming and such.
Dude you just rocked my world and i'll be reading and trying now for a while.
thanks for your effort and please go on doing what you do.
Thanks
DirkTeur Velserbroncx said:
Man, you've gotta good thing going overhere, (Carbon Fibre look) went to your site this is realy, realy awesome finally some great explanation about theming and such.
Dude you just rocked my world and i'll be reading and trying now for a while.
thanks for your effort and please go on doing what you do.
Click to expand...
Click to collapse
Thanks a lot for your appreciation
Feel free to ask me any help you need.
I am living in Delft actually so if we meet in the trains, could share my dark mod with you ( screenshot updated just below )
I like to share my recent work screenshots
Fijne dag meneer ☼
Thank you very much for the tutorial!
seimu said:
Thank you very much for the tutorial!
Click to expand...
Click to collapse
Glad i could help you
amazing theme, a very good job.
as you do to change the background and font color of your chat list ¿? also with the xml ¿?
I applaud you
xml code
seimu said:
amazing theme, a very good job.
as you do to change the background and font color of your chat list ¿? also with the xml ¿?
I applaud you
Click to expand...
Click to collapse
thanks for your appreciation but no need to applaud me, your themes are good too
You can edit few xml in order to set the background as a unique color :
android:background="#<hexadecimal color code you want to display>"
or as a png you create and place in drawable-hdpi :
android:background="@drawable/<the png name you want>"
or as a predefined style :
android:background="@style/<name of your style>"
For the font color of the chat list, just edit the color in :
conversation_text_row_left
conversation_text_row_right
date/name/font color of you/answering contact can be setup as well in the same section
Hope it helps you and unfortunately those bastards who are now enjoying my tuto and insulting my name at the same time

[GUIDE][2.2+]How to change Setting's background

If this thread helped then rate this thread 5stars and click onTip Us
Hey Guys i am back with my new guide:victory:
I searched a lot to find a method to chnage the bclack background of the menu and settings but sorry i didn't got any!
Software needed :
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
3.)Apktool (search on XDA)
Difficulty level: Medium
For 2.2+ based ROMs
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
<item name="windowBackground">@drawable/mybackground</item>
9. Create a png of size according to your resolution(like 320*480 for mdpi) to your liking, name it mybackground.png and place it in drawable-hdpi folder
9. Recompile framework-res.apk
{
"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"
}
For 4.0+ based ROMs
1.) Open the framework-res.apk via 7zip and navigate to the following directory
"framework-res.apk\res\drawable-nodpi\", you will see a file called "background_holo_dark.png". Delete the image and dont close the 7zip.
2.)Preparing your own image:
Now use any png image you want to set as background , resize it to 512 x 512 via mspaint or any other image editing software and rename the file to "background_holo_dark.png".
3.)Drag the newly created image file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
4.)Replace the framework-res.apk(that you edited now) with the your ROM's using and Root Browser like Root Explorer and reboot.
For 4.2+ Based ROMs
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_selector_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>
6. Create a png of size according to your resolution(512*512 most common) to your liking, name it mybackground.png and place it in drawable-nodpi folder
7. Recompile framework-res.apk
For users who know how to use root explorer can use the same to copy/paste the framework-res.apk before and after editing.​
Click to expand...
Click to collapse
Those who don't have the above mentioned pngs please upload your styles.xml to pastebin and kindly post in the thread i will look into it and solve it!

			
				
i will take this one also
and this one hahah:silly:
Great work dude (Y)
You rocked man....really rocked.....now we can do ultimate theming
Thanks for posting this bro
Nicely explained
Can u make a guide how to edit System
Png's and Framework.apk pngs
Re: [TUTORIAL][ICS][GB]How to change Android's black background
How to add new ones to the existing???
Sent from my Micromax A110 using Tapatalk 2
Great tut. But will u plz tell me- which tool is best for compile/decompile apk files??
Re: [TUTORIAL][ICS][GB]How to change Android's black background
2020shyboy said:
Thanks for posting this bro
Nicely explained
Can u make a guide how to edit System
Png's and Framework.apk pngs
Click to expand...
Click to collapse
There's no need of tutorials for editing pngs....
I'll tell you now...
Copy systemUI or framework-res from your mobile to pc. Extract it.
Now check the dimensions of the PNG you want to replace and remember the folder.
Now chose your image...change it's dimensions....rename it to the same name as of original file.
Drag your new files into the new folder directly in the apk using 7zip or winrar.
Replace your apk with default one in the system and you are done
Using XDA premium through A5
---------- Post added at 06:43 AM ---------- Previous post was at 06:42 AM ----------
himaloyee said:
Great tut. But will u plz tell me- which tool is best for compile/decompile apk files??
Click to expand...
Click to collapse
Use apktool....here is the detailed tutorial how to use it... http://forum.xda-developers.com/showthread.php?t=1989533
Using XDA premium through A5
Re: [TUTORIAL][ICS][GB]How to change Android's black background
Nice, I am going to give this a try and report back.
Sent from my Nexus 7 using Tapatalk HD
UPDATED THE OP
with edited first step it is
. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
viijay4b7 said:
How to add new ones to the existing???
Sent from my Micromax A110 using Tapatalk 2
Click to expand...
Click to collapse
haven't you read the post throughly i have corretly mentioned that replace the existing backgroun_holo_dark.png with your any favourite wallpaper bu make sure that it has same attributes of the existing one.
done exactly the same in my micromax a110, but stuck on boot logo any help ????
pankycool123 said:
done exactly the same in my micromax a110, but stuck on boot logo any help ????
Click to expand...
Click to collapse
first see the original size of the pic(in pixels) then use an resizer and resize your photo(which you want to resize) to that size and in png format rename it to original one and replace the photo and then replace the framework-res.apk and reboot i have tested on a110 also it is working 100%
Re: [TUTORIAL][ICS][GB]How to change Android's black background
pankycool123 said:
done exactly the same in my micromax a110, but stuck on boot logo any help ????
Click to expand...
Click to collapse
Which file explorer did you use??
Using XDA premium through A5
Re: [TUTORIAL][ICS][GB]How to change Android's black background
The Droid Master said:
haven't you read the post throughly i have corretly mentioned that replace the existing backgroun_holo_dark.png with your any favourite wallpaper bu make sure that it has same attributes of the existing one.
Click to expand...
Click to collapse
I have read it. But I have understood wrongly may be.
I am looking to add new wallpapers to the existing, I.e when you press and hold on the home screen, add Wallpaper's--> new one's here..
So your guide is to just to avoid dark black ground r8?:what:
Sent from my Micromax A110 using Tapatalk 2
viijay4b7 said:
I have read it. But I have understood wrongly may be.
I am looking to add new wallpapers to the existing, I.e when you press and hold on the home screen, add Wallpaper's--> new one's here..
So your guide is to just to avoid dark black ground r8?:what:
Sent from my Micromax A110 using Tapatalk 2
Click to expand...
Click to collapse
ya u can say but it is actually to change the background to any wallpaper
Excellent! Working perfectly on Galaxy Mini (cm7.2)!
Thank you! :good:
MagModBR said:
Excellent! Working perfectly on Galaxy Mini (cm7.2)!
Thank you! :good:
Click to expand...
Click to collapse
Link this thread to your phone's forum so that others can also enjoy

[TUT] How to MOD 4.3 themes

Hi guys...
In 290 firmware (Android 4.3) we have new and nice theme engine which we can use to easily MOD our devices and make it more personal.
For now, we have only few themes (on market) and it's time that we buil/MOD our own...
It's very easy to do that...
You can change
* navigation bar
* status bar
* icons (Home launcher, nav bar)
* system backgrounds (in settings)
...and many other things...
I'll do some MOD after Xmas but for now (as I don't have free time) I give you this fast and easy "How to".
1.Download themes from XDA
DOWNLOAD 4.3 THEMES
2. Decompile theme
* you'll get 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"
}
3. Now go into the folder "assets"
* you'll see few zip files
#. android.zip - system buttons, checkbox and other png's
#. android.systemUI.zip - png's for systemUI change (here you can see png's for navigation bar)
#. com.sonyericsson.home.zip - well...this isn't hard to figure out - in this folder you can find icons and png's for Home launcher.
* like this :
4. Extract zip file - the one you wanna change...
For example, let's say, we want to change icons on navigation bar.
- Extract file to you apktool folder (com.android.systemUI.zip),
Rename com.android.systemUI.zip to com.android.systemUI.apk and decompile it like you decompiled main apk (theme)
go to folder res/drawable-xxhdpi, change or replace png's (back, home, menu...) save files (you must use same name and resolution)
5. Change png's you want to change
(it's just to show how to do it, don't use Paint for editing )
6. Recompile com.android.systemUI
and rename it back to com.android.systemUI.zip
6a. Copy com.android.systemUI.zip back to assets folder (delete old one first)
6b. Recompile theme
7. Install apk on your device like any other apk file.
If you can't install app and you get errors - ~ DO THIS
FOLLOW ME
And that's it....
It's easier than built theme from a scratch...
You can change settings background (android.zip/res/drawable-xxhdpi/semc_bg.jpg and semc_bg_light.xml) and many other things....
Be creative and when you build something - share here
As I said, I'll make something as soon as Xmas past....
don't forget to install new framework and semcgeneric apk on your PC - we have changed Android version and you could bump into compiling errors if you use framework from 4.2.2
Extract framework and semcgeneric apk from system/framework to your Apktool folder and
In CMD you have to write :
Apktool if framework-res.apk
Apktool if semcgenericuxpres.apk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IMPORTANT
For now we are only succeeding to MOD and use MODed themes on stock based, rooted devices.
You'll need root - that's most important.
I'm developing/patching services.jar to bring this awesome themes for all - stock and stock based ROMs.
So try to use patched services.jar from second post on stock rooted 4.3 and please report.
If you like my work and would like to support me - link is here
CLICK TO DONATE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Credits:
@Mazellat (for giving themes for download) @niaboc79 (for helping me and teaching me many great things)
@Metallijim (for great MODs and work)
Sent from my Z1
How to mod themes without apktool
-----------------------------------------------------------------------------------------------------------------------------------
SUPERUSER MOD
O.K guys - it's here...
Use if you like it or need it and if you find it's O.K for your ROM (for building your ROM) feel free to use it.
DOWNLOAD
Sent from my Z1
This is great news..kindly make it for Xperia z..
Sent from my C6602 using Tapatalk
sonyfan45 said:
This is great news..kindly make it for Xperia z..
Sent from my C6602 using Tapatalk
Click to expand...
Click to collapse
If you have same or similar theme engine on XZ - then it's very simple to use that on your device...
Sent from my Z1
Great, i'll try..
Sent from my C6603 using XDA Premium 4 mobile app
hhlong89 said:
Great, i'll try..
Sent from my C6603 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Make sure you share your work with us
It's very simple to do that MODing, only thing you need is time, plenty of time - to change every png.
It's time for Z1 to have more stuff...
And it's not important how small MOD is - please, share it.
I know I will as soon as I find some free time (and that will ne soon, very soon)
Sent from my Z1
@niaboc79 bro Is this tutorial helpful to port new theme engiene to 4.1.2 exitenz rom??just an inquery..
Sent from my LT28h using XDA Premium 4 mobile app
Chocklety Boyee said:
@niaboc79 bro Is this tutorial helpful to port new theme engiene to 4.1.2 exitenz rom??just an inquery..
Sent from my LT28h using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Mate, believe me, I can't write tutorial for Niaboc
Sent from my Z1
funky0308 said:
Mate, believe me, I can't write tutorial for Niaboc
Sent from my Z1
Click to expand...
Click to collapse
Hehe
Nice tutorial my friend
After my hollydays, I will also do some theming, in fact we are now able to theme and change everything in the rom with the theme
Sent from my C6603 using Tapatalk
Yeah...Sony did nice job this time
Sent from my Z1
funky0308 said:
Yeah...Sony did nice job this time
Sent from my Z1
Click to expand...
Click to collapse
@funky0308 can u help me??
With your turorial we can only edit png BUT .9.png cant => must decompiling #. android.zip OR #. android.systemUI.zip OR #. com.sonyericsson.home.zip for which we want to mod!
So use apktoll for that => edit .9.png => recompiling Zip => recompiling apk => everything OK => but when put to phone => cant install anymore => replace => cant use
I dont know why??
thanhhii said:
@funky0308 can u help me??
With your turorial we can only edit png BUT .9.png cant => must decompiling #. android.zip OR #. android.systemUI.zip OR #. com.sonyericsson.home.zip for which we want to mod!
So use apktoll for that => edit .9.png => recompiling Zip => recompiling apk => everything OK => but when put to phone => cant install anymore => replace => cant use
I dont know why??
Click to expand...
Click to collapse
You can edit 9.png - just check tutorials online...
HOW TO EDIT 9.png"
If your decompilig and recompiling process went well - it must work.
What you can do, if you can't install apk, install app called zipsigner
ZIPSIGNER MARKET LINK and sign your edited app to your framework.
Then try to install it
Edit : you can use this tutorial for zipsigner app
TUTORIAL ZIPSIGNER
Sent from my Z1
Ok thanks u so much! I will try Zipsigner
By the way i have already know how to edit. 9.png. My problem that is after recompiling ok i cant use this apk anymore!
And another question!
Have u try to mod stock Z1 4.3 theme?
I have try and the color.xml not in res/value. It in the zip inside asset folder => decompiling this zip and will get color.xml => Change the color code such as Red to Yellow => recompiling zip => recompiling apk => put to system/app => restart ==> color not change, JUST LIKE STOCK => I dont know why?
Can u try and tell me?
Sent from my C6903 using XDA Premium 4 mobile app
thanhhii said:
Ok thanks u so much! I will try Zipsigner
By the way i have already know how to edit. 9.png. My problem that is after recompiling ok i cant use this apk anymore!
And another question!
Have u try to mod stock Z1 4.3 theme?
I have try and the color.xml not in res/value. It in the zip inside asset folder => decompiling this zip and will get color.xml => Change the color code such as Red to Yellow => recompiling zip => recompiling apk => put to system/app => restart ==> color not change, JUST LIKE STOCK => I dont know why?
Can u try and tell me?
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
@niaboc79 will know better but I'll try to explain.
Color.xml is only for signing the color not for using it.
You have to set color in color.xml and than you have to "call" this color in style.xml, layout or manifest...
You could change already assigned color in color.xml - but I'm not sure it'll work. (I'm guessing you tried that)
Android use only two modes for colors - dark and light, not colors - themes.
All other colors (in settings, taskmanager or systemUI) we can change by changing png's or editing smali files.
Sent from my Z1
i suggest if some one can make stock theme with full 100% transparent navbar and state bar
i think is so awesome
funky0308 said:
@niaboc79 will know better but I'll try to explain.
Color.xml is only for signing the color not for using it.
You have to set color in color.xml and than you have to "call" this color in style.xml, layout or manifest...
You could change already assigned color in color.xml - but I'm not sure it'll work. (I'm guessing you tried that)
Android use only two modes for colors - dark and light, not colors - themes.
All other colors (in settings, taskmanager or systemUI) we can change by changing png's or editing smali files.
Sent from my Z1
Click to expand...
Click to collapse
1. I have try Zipsigner and it work perfect => thanks u so much!
2. Ok i will try! But in 4.2.2 i just decompiling theme such as Pinktheme.apk => change the color code in res/value/color.xml => recompiling => put to system/app and it work well => 4.3 is complex!!! Hichic :crying::crying:
thanhhii said:
1. I have try Zipsigner and it work perfect => thanks u so much!
2. Ok i will try! But in 4.2.2 i just decompiling theme such as Pinktheme.apk => change the color code in res/value/color.xml => recompiling => put to system/app and it work well => 4.3 is complex!!! Hichic :crying::crying:
Click to expand...
Click to collapse
You are welcome...nice to see someone is building something.
When you make something interesting please share.
We have here many users that doesn't have skills to do that and it would be nice if we all help them.
- Basically, that should work but yeah, 4.3 is a bit different and we'll have to find a way to MOD that in some other way...
Sent from my Z1
funky0308 said:
You are welcome...nice to see someone is building something.
When you make something interesting please share.
We have here many users that doesn't have skills to do that and it would be nice if we all help them.
- Basically, that should work but yeah, 4.3 is a bit different and we'll have to find a way to MOD that in some other way...
Sent from my Z1
Click to expand...
Click to collapse
I'm sure what i have done is exactly but dont know why it dont work??
Just the Androidmanifest.xml but i have check and no thing difference! It just call the color from the zip inside asset folder! And i have change the color code!
Hic how??
Is it possible to use this tutorial to remove the battery percentage on the status bar ?
Sent from my C6902 using xda premium
Josh.L.Wang said:
Is it possible to use this tutorial to remove the battery percentage on the status bar ?
Sent from my C6902 using xda premium
Click to expand...
Click to collapse
Uh.. You can already do that in power management section of settings.

[HOW TO MOD THEMES] using only WINZIP

O.K guys...
l'll give you "shell" - theme apk file and easy tutorial for editing and adjusting
your device to be more personal.
It is optimized and written to be easy and user friendly.
Only thing you'll need it WINZIP (or similar program) and , of course, yours pictures and icons.
You can easily create icons for navigation bar in PhotoShop , you just need to follow simple rules.
1.DIMENSIONS
Icons must be created in dimensions :
* FOR PORTRAIT - 144*240 (pixels)
* FOR LANDSCAPE - 240*144 (pixels)
* FOR MENU ICON USE - 141*144 (pixels)
(you can experiment with a dimensions but this tutorial is here to be exact and
that you could follow every step (for beginners).
2. NAMING THE FILES
This is very importing part!
All files must have proper name, if you don't follow this rule you'll end in a bootloop or
systemUI FC.
3. USE "STORE MODE" IN COMPRESSION METHOD (WINZIP)
O.K...let's begin.
*** PREPARATION ***
Find (online) or create (PhotoShop) wallpapers - dimensions should be 1080*1920.
Resize one and save as copy for landscape.
(Just resize it to 1920*1080)
Find or create icons for status bar (you can find great icons on "themes and apps" section
Save all that in one folder - we'll need that later.
*** DOWNLOAD "shell" apk ***
We will use this apk file for our base.
It's basically, my KitKat theme but slightly modified.
DOWNLOAD LINK
DOWNLOAD SHELL.APK
Open shell.apk with WinZip
{
"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"
}
You'll see few folders and files, what we need is folder called "assets"
So go to folder "assets" and you'll see four ZIP files
Let's explain what is what...
1. com.sonyericsson.home.zip
In this ZIP we have all png's (pictures and icons) for editing Xperia Home Launcher (stock!)
So, we can change few thing there, trash bin, trash lid, app drawer icon...
2. com.android.systemui.zip
In this ZIP we have all png's (pictures and icons) for editing SYSTEMUI.
So, we can change few things here too.... navigation bar icons or navigation bar color (transparency...)
3. android.zip
I modified this ZIP and deleted files we don't need.
It'll be used for changing settings, email, sms, call.... background picture.
Only thing what you need now, when you have pictures and icons already downloaded is
to :
* open shell.apk in WINZIP.
* decide what you want to change (lets say it's settings background)
* go to folder android.zip
* go to subfolder "res" , then "drawable-xxhdpi"
* you'll see two jpg files there, one is for dark mode and one for light.
we use light theme on our Z1 but we'll change them all.
* open your folder where you downloaded your 1080*1920 pictures
* choose one and make exact copy of it (right click copy or CTRL+C and paste (CTRL+V)
* now rename those two files to "semc_bg.jpg" and "semc_bg_light.jpg"
* do same thing for that picture you resized for lanscape (you'll have four files total- two with a name semc_bg.jpg (portrait and landscape) and two with a name semc_bg_light.jpg ( portrait and landscape)
* go back to your WINZIP and delete two files from "drawable-xxhdpi"
* now you can use drag and drop or add files through menu, I'll show you second method
* click "add" and find yours jpg files (semc_bg and semc_bg_light PORTRAIT)
* "say" O.K and be sure to select STORE MODE from compression method
*repeat same thing in folder "drawable-sw720dp-hdpi
* repeat same thing in folder "drawable-sw720dp-land- (add LANDSCAPE pictures here)
* close this (second) WINZIP windows and you'll get prompt "File "android.zip was modified.......
* Click "YES" and close WINZIP
Copy your modified shell.apk , you can rename it , of course to your device and
install like any other apk.
If you get error in install process, just sign apk file using ZIPSIGNER (MODE platform or media)
And that's it...
RESULTS COULD BE AWESOME
When you MOD other folders and files in theme (shell.apk) do same steps.
Only change will be in file names.
But if you are changing navigation bar icon "back" you'll go to com.android.systemui.zip ,
in folder res/drawable-xxhdpi and check what's original name of that png file.
For this icon is "ic_sysbar_back.png" (portrate) and "ic_sysbar_back_land" (landscape) so
you'll need to copy your icons (to have two same icons) and rename them to that names.
Also, don't forget to resize icon if it's not O.K
TIP ~ BONUS ~ EXTRA
If you wanna add wallpapers to your theme
Use same procedure and change. png or.jpg files in shell.apk/res/
As you can see you are able to set lockscreen background, wallpaper and preview picture (I'll show icon in settings/personalisation/themes)
If you need any help, ask here, on this thread.
That's why it's here - and remember, there's no stupid questions (only stupid answers)
So..if I helped you - SAY TNX -
Reserved
One more
Sent from my C6903 using Tapatalk
How do I change the theme colour (you know the main colour for settings tiles etc)
Sent from my C6903 using Tapatalk
Zippy1 said:
How do I change the theme colour (you know the main colour for settings tiles etc)
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Yes, I know, but that's not subject in this topic.
What I wanna say is - this is tutorial for beginners (I hate word "noobs") and xml editing is a bit harder.
...but...
You have to decompile theme.apk, then decompile com.sonyericsson.uxp.zip
Open res/values/colors.xml using Notepad++ and change values
Sent from my C6903 using Tapatalk
UCould I start with a theme that has a colour I already like, as apposed to using your shell? If so how would I do that.
Sent from my C6903 using Tapatalk
Zippy1 said:
UCould I start with a theme that has a colour I already like, as apposed to using your shell? If so how would I do that.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I believe you can, I'm not 100% sure but try.
Copy public and color.xml from folder/zip I just said to shell.apk and try...
Sent from my C6903 using Tapatalk
Whats the best programme I can use on my pc for resizing images.
Sent from my C6903 using Tapatalk
Zippy1 said:
Whats the best programme I can use on my pc for resizing images.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Belive me or not - Paint will do the job
Especially if you need to resize from 1080*1920 to 1920*1080.
Sent from my C6903 using Tapatalk
Thank u very much
Good guide. How can i set a full trasparent status bar?
fer2503 said:
Good guide. How can i set a full trasparent status bar?
Click to expand...
Click to collapse
Not using WINZIP, that's for sure
I'm working on systemUI with full transparency (status bar) and it'll be out soon.
In a MOD - for all 290 ROMs (rooted) and theme for ones who can use custom themes.
Sent from my C6903 using Tapatalk
Thank you but I do not understand the paragraph:
" now rename those two files to "semc_bg.jpg" and "semc_bg_light.jpg"
* do same thing for that picture you resized for lanscape (you'll have four files total- two with a name semc_bg.jpg (portrait and landscape) and two with a name semc_bg_light.jpg ( portrait and landscape)"
Please explain! Are the pic wallpapers, right? I created 2 pics (portrait and landscape). But you say four. I do not understand
hwithv said:
Thank you but I do not understand the paragraph:
" now rename those two files to "semc_bg.jpg" and "semc_bg_light.jpg"
* do same thing for that picture you resized for lanscape (you'll have four files total- two with a name semc_bg.jpg (portrait and landscape) and two with a name semc_bg_light.jpg ( portrait and landscape)"
Please explain! Are the pic wallpapers, right? I created 2 pics (portrait and landscape). But you say four. I do not understand
Click to expand...
Click to collapse
You did all O.K.
The reason why do you need four jpg/png files is this :
If you open android.zip from assets, you'll see three folders:
And you need to replace files in all folders.
So...
You'll basically need six picture files but we are using same files in drawable-xxhdpi and in drawable-sw720dp-hdpi (portrait files).
In folder drawable-sw720dp-land-hdpi you add semc_bg_light.jpg and semc_bg.jpg (landscape)
And in drawable-sw720dp-hdpi you should add semc_bg_light.jpg and semc_bg.jpg (portrait)
In drawable-xxhdpi should add same files you added to folder drawable-sw720dp-hdpi
Sent from my C6903 using Tapatalk
Also, it'll work if you skip replacing files in folder drawable-sw720dp-land-hdpi.
If you need anything else,- ask again
Sent from my C6903 using Tapatalk
Hi!
How to decompile a system apks?
SirAlx said:
Hi!
How to decompile a system apks?
Click to expand...
Click to collapse
Really don't know how to respond on this?!
What you mean by that - how to?
Using APKtool...
Member of Recognized MoonBreakers
funky0308 said:
Really don't know how to respond on this?!
What you mean by that - how to?
Using APKtool...
Member of Recognized MoonBreakers
Click to expand...
Click to collapse
I want to recompile the settings.apk. It´s a system app.
SirAlx said:
I want to recompile the settings.apk. It´s a system app.
Click to expand...
Click to collapse
Really don't understand what's problem, you have to explain better...
Decompile
Apktool d settings.apk
Recompile
Apktool b settings.apk
Member of Recognized MoonBreakers
funky0308 said:
Really don't understand what's problem, you have to explain better...
Decompile
Apktool d settings.apk
Recompile
Apktool b settings.apk
Member of Recognized MoonBreakers
Click to expand...
Click to collapse
I tried to decompile the settings.apk, but I get a error message: "Can´t find framework resources for package of id: 2. You must install proper framework files"
What shall I do?

Categories

Resources