yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device Development Themes and Apps] lordriguez:
Hi [MENTION=5014460]SArnab©®[/MENTION]

Thanks for the guide !

I want to do some theming but i can't disable the cheks in this project ! Can u explain me in deep how to?

Thanks!
[Sony Cross-Device Development Themes and Apps] gamer649:
I was having problems with this yesterday. OP said to click the cursor at the end of a part of the code with the errors and then press Ctrl+Space. That didn't work for me however, I had to click at the end of the code with errors and press Ctrl+1 to bring up the proper menu. If you click Window>Preferences>General>Keys and then search 'Quick Fix' you can see what keys are bound to that option for you.
[Sony Cross-Device Development Themes and Apps] SpaceCaker:
goto properties of project

lint preferences

ignore all
[Sony Cross-Device Development Themes and Apps] C25:
Thanks

Thanks for awesome guide,

Here's my first Xperia Theme

Screenshots :-

Link :-

Lamborghini Aventador Xperia Theme v1.1 - Mediafire
[Sony Cross-Device Development Themes and Apps] Pablosch23:
what do you mean by push android.zip & com.sonyericsson.uxp.zip files with all theme resources to the asset folder.? how do i do that ? i downloaded the zip files, but how do u push them in the asset folder? another question,,i selected the option disable checks in this project but some of them are still there.. :( , sorry i'm just a newbie trying to learn and excuse my english :p
[Sony Cross-Device Development Themes and Apps] arnabJ:
Well to follow up this guide you need to have basic knowledge of Android Developers Tool and you must also know how to decompile and recompile apks..

Else it will be hard for you to follow.

The zip u downloaded contains 2 decomipled apks.

U need to make changes in that and recompile those.

Then rename to Android.zip from Android.apk n same for the second one.

Then copy/cut paste the renamed zip file to your project's aseet folder in Adt.
[Sony Cross-Device Development Themes and Apps] Pablosch23:
Thanks for your response, I'll try to learn more.
[Sony Cross-Device Development Themes and Apps] Chirtagh:
Hello bro...

don't know why, i changed the accent colors to orange..

It show blue color after installing it in my xperia m s...

And wallpapers works welll..

any suggestions how to modify perfectly assets zip? or am i mssing anything?

even your pink doesnt works theme here's the images of it..
[Sony Cross-Device Development Themes and Apps] funky0308:
That's really... Hmmm...what's the word.....wrong to say, you have to be rooted to use custom themes.

There's no way to use it if there's no root.

If you read somewhere something else, forget that - no way ti use it on unrooted devices.

This is great tutorial and it'll work 100%

But if you don't want to root device, then just use themes from market, signed with Sony keys.
[Sony Cross-Device Development Themes and Apps] arnabJ:
He has already flashed the Theme fixer and he is able to use themes downloaded from Google Play.
[Sony Cross-Device Development Themes and Apps] funky0308:
Theme fixer?

That, probably, only for some devices, right?

Could you give me some info about it or link?
[Sony Cross-Device Development Themes and Apps] arnabJ:
Well I have a M Dual n he has got the Single sim M.

I am having no such problem as him.

Check attachment.

His theme is working well n good for me.
[Sony Cross-Device Development Themes and Apps] JanM RS:
Thanks, I know. ;) I already supported TheGreen to make a AOSP theme and included a screenshot. They said they're working at something like that. Maybe they'll make themes we want soon...
[Sony Cross-Device Development Themes and Apps] funky0308:
But that's still permission xml file you have to change and you need administrative rights to change it.

In one word - root...
[Sony Cross-Device Development Themes and Apps] arnabJ:
I meant that he has root and he has flashed that runtimeskin zip.

We M/M Dual users do not have Custom Theme support by default. Sony didn't added that.

Our 4.3 firmware is a mixture of 4.1/4.2 and 4.3

Like we dont' have the new quick toggles as in T2 Ultra n other 4.3 firmwares. We don't have the clear all button in Recents app by default.

But after flashing that zip all themes are working well.
[Sony Cross-Device Development Themes and Apps] funky0308:
Yeah, I know...

But... All I said is:

If you want to use custom themes, no matter what firmware or device you have you have to have root ;)
[Sony Cross-Device Development Themes and Apps] Chirtagh:
Permission xml what needs to be changed in that??
[Sony Cross-Device Development Themes and Apps] funky0308:
No, it's already in package.
[Sony Cross-Device Development Themes and Apps] Chirtagh:
I ve root, installed fixer like him.

But the issue is accent colors changes only to blue if i install any custom theme..

But in arnab's phone it work how i excpected it to be!!

Something is missing right? It work in his mob, XMDUAL but not in my frnd's mod which is also XMDUAL..

Whats missing?

EDIT: FOUND THE FIX SOMETHING TO DO WITH SERVICES.JAR WHICH WAS AVAILABLE IN SUPERUSER MOD FOR XPERIA M SINGLE SIM.
[Sony Cross-Device Development Themes and Apps] SOEDI:
Animation XMLs

Thanks for this great guide!

I have one question regarding theming the framework-res.apk.

In your tutorial you showed us how to change some icons by placing them into their respective xxdpi folders.

However, I’m also interested in changing some animations, especially because sony screwed up the screenrotate animation in their 4.3 firmware.

Can I place those XMLs into the anim folder, compiling the theme, and sonys themer will do the rest?

Or does this only work for pngs?

Thanks in advance

SOEDI
[Sony Cross-Device Development Themes and Apps] arnabJ:
Yup, I will soon update the guide with pictorial tutorials showing how to change pngs and other parts.
[Sony Cross-Device Development Themes and Apps] arnabJ:
Guide updated mates.

Added how to replace pngs.

Also updated the original guide with 3 new pictorials to make it easier to understand.
[Sony Cross-Device Development Themes and Apps] WEZANGO:
Awesome tutorial. Thanks! It would be great if you will add something about com.sonyericsson.home and com.sonyericsson.systemui
[Sony Cross-Device Development Themes and Apps] arnabJ:
I think you didn't went through the guide thoroughly.

Its same as themeing framework.
[Sony Cross-Device Development Themes and Apps] chimnino:
Where can I change the color of the text? I would like to recreate 4.1/4.2 look. With black background for settings. Can't stand this white!!
[Sony Cross-Device Development Themes and Apps] arnabJ:
Well I hvnt tried this before but you may try this :

Decompile settings.apk with dark theme as in 4.2.2

Navigate to settings/res/values/

Copy styles.xml n paste it to com.android.settings folder

Please note - you need to create this folder.

Place a dummy Android-manifest.xml

In its root.

Then create a new folder named res.

Inside res folder create values folder.

Paste the stylea.xml inside this values folder and recompile com.android.settings

Then rename com.android.settings.apk to com.android.settings.zip

Now move this zip file to assets folder of your project.

Add code in Android-manifest.xml so that theme recognizes this zip file.

Install in mobile and try.
[Sony Cross-Device Development Themes and Apps] chimnino:
Wow, ok... Text color isn't defined in any of the theme files then?? I'll sit for it when I get home. Had done some de/recompiling back.in.the day with xperia arc s. Lets see if anything comes back to mind
[Sony Cross-Device Development Themes and Apps] arnabJ:
Text colour are set according to theme in most of the cases until and unless explicitly changed by the app developer.
[Sony Cross-Device Development Themes and Apps] C25:
Dude,what bit-depth should be used for pngs?

Currently using 32 with paint.net
[Sony Cross-Device Development Themes and Apps] SirAlx:
Hi!

Thanks for a great tutorial. :)
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
I don't see this option anywhere.. Where exactly is this option? I tried double clicking on red underlined ones, red crossed icons on the left.. Everywhere.. Same options as in my SS.. But i didnt get the option that's in OP's SS.. Can anyone help?

https://imagizer.imageshack.us/v2/706x397q90/845/b9fn.png
[Sony Cross-Device Development Themes and Apps] arnabJ:
The pic you gave with the menu opened has an option as : Quick fix.

That's the option you need to perform.
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
I checked tat option.. It does nothing.. Errors still stay the same.. :(
[Sony Cross-Device Development Themes and Apps] arnabJ:
Place your cursor Inbetween the error code n press ctrl+space

Then click on disable check as in pic.
[Sony Cross-Device Development Themes and Apps] dipesh1502:
Better add it in the OP
[Sony Cross-Device Development Themes and Apps] arnabJ:
This guide is not meant for people with no knowledge of adt nad eclipse.

I made a guide and not a spoonfed detailed demonstration.
[Sony Cross-Device Development Themes and Apps] dipesh1502:
Wont be a harm to add that single instruction line though....anywas your thread :)
[Sony Cross-Device Development Themes and Apps] arnabJ:
Actually its a harm as each operating system has different key combination. Also the key combination changes as per adt setup.

So its better to let user find a working solution for his/her setup than to confuse him with something that changes now and then. Like someone pointed to pressing 0 or something like that for the fix.
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
Chillax fellas.. There's no need to fight.. Your thread is helpful Sarnab, i appreciate the effort.. We all are learners at one stage or the other.. Thanks for clearing out my doubt.. Peace out.. :angel:
[Sony Cross-Device Development Themes and Apps] dipesh1502:
Not a fight.Just a small opinion...:)...
[Sony Cross-Device Development Themes and Apps] arnabJ:
Dipesh is my good friend brotha....

We were not fighting...
[Sony Cross-Device Development Themes and Apps] numskull:
So if i follow this guide am i right in thinking i can create an xperia theme, change all 270 (or whatever it is) ui elements, then use it on my non rooted xperia z2???? It seems so, gonna try it anyway
[Sony Cross-Device Development Themes and Apps] SirAlx:
Hi!

How do I write a androidmanifest.xml file to com.android.systemui.zip

Please help!

BTW Thanks for this awesome guide!!!!!!!!
[Sony Cross-Device Development Themes and Apps] arnabJ:
Copy paste from the android folder from attachment.
[Sony Cross-Device Development Themes and Apps] tom282f3:
Thank you for your kindness and all your efforts, sir.

Really thanks. I am going to try this out later.:good:
[Sony Cross-Device Development Themes and Apps] SirAlx:
Problem

Hi!

When I recompile the folder I will get another android.zip.

How do I recompile it to a systemui.zip?
[Sony Cross-Device Development Themes and Apps] arnabJ:
No it will not.

You need to copy tge androidmanifest.xml only

Let me explain you in details.

Goto your apktool folder.

In its root create a new folder and name it com_android_systemui

Copy AndroidManifest.xml from android folder that you downloaded and paate inside com_android_systemui folder.

Make a new folder inside com_android_systemui folder and name it res.

Open res folder and add another new folder named drawable-yourdevicedpi (don't ask me what I mean by yourdevicedpi)

Add yoir desired resources in drawable.

If you want to change colour then add values folder inside res folder. Create color.xml file and add color code.

Recompile, sign and rename to zip.

If you are not familiar with Android App Development then this will be hard for you.

Yet Best Of All.

Sent from my XT1022
[Sony Cross-Device Development Themes and Apps] arnabJ:
Guide updated.

Check out #3 post for how to make systemui.zip and appname.zip

Sent from my XT1022
[Sony Cross-Device Development Themes and Apps] DooMLoRD:
great work [MENTION=5014460]SArnab©®[/MENTION]

i have tipped the portal staff!

this deserves to go on XDA portal!

regards,

DooMLoRD
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
Hi.. I managed to complete the theme.. All works fine except one thing.. I have changed home_apptray_icon and made a few changes to the home related things and none of them seem to change.. Systemui is changing, wallpapers are, even slider buttons, checkboxes and everything is working.. But nothing related to Home works.. Can anyone help? :confused:
[Sony Cross-Device Development Themes and Apps] arnabJ:
Did you added home theme support in Android-manifest.xml of the theme?
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
Yes..
[Sony Cross-Device Development Themes and Apps] arnabJ:
Can you post wat you added in Android-manifest.xml for home?

Also check that package name is correct.
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
Ya checked the name and there was a typo error somewhere else on the manifest.. Fixed it.. Thanks.. :)

EDIT: Bro, changes to home aren't still happening.. :confused:
[Sony Cross-Device Development Themes and Apps] lordriguez:
Kitkat!

[MENTION=5014460]SArnab©®[/MENTION] I have a problem with kitkat ! theme won't install can u help me?
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
Have u signed the apk?
[Sony Cross-Device Development Themes and Apps] arnabJ:
Am sorry..

I have been buzy lately...

I don't have a Kotkat device to confirm each and every mod.

If you can provide me with a stock theme apk from Kitkat then I would be able to help.

But I won't be able to help fully befor the last week of this month as am Out Station...

Thanks [MENTION=4921331]tOrNadO™[/MENTION] for posting and helping others in my absence.
[Sony Cross-Device Development Themes and Apps] lordriguez:
Yes i have already try both (signed and nod signed)

---------- Post added at 02:49 PM ---------- Previous post was at 02:48 PM ----------

Ok i will PM you the link!
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
Anytime bro.. Although i was not of help much on the last occassion.. :P
[Sony Cross-Device Development Themes and Apps] shehabskull:
the location of themeProject > values > strings.xml

Hello Guys could someone tell me the location of themeProject > values > strings.xml I can't find it :crying::confused:
[Sony Cross-Device Development Themes and Apps] arnabJ:
The project that you made in Eclipse contains a folder named res.

You will find values folder in this res folder.

The string.xml is present in this values folder.
[Sony Cross-Device Development Themes and Apps] androidfreak70:
You are the best!!!!!!!

[MENTION=5014460]SArnab©®[/MENTION]

you know what?

when i saw this at first time.... i thought its hard AND will take up to 1 week to make 1 theme :eek: but when i tried it... it was SO easy!!!!:D

Thanks alot for the guide! :)
[Sony Cross-Device Development Themes and Apps] arnabJ:
Am happy that my guide is easy enough to make the work consume less time.

have fun.

Do share link here for others to enjoy your imagination.
[Sony Cross-Device Development Themes and Apps] arnabJ:
Hello fellow Xda users.

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
[Sony Cross-Device Development Themes and Apps] androidfreak70:
Hi again!

I have few questions because im totally stuck at somethings:eek:

How i make my own android.zip??

"You will need to push android.zip & com.sonyericsson.uxp.zip files with all theme resources to the asset folder" WHERE IS THOSE ZIP FILES???

"Now when you think you are ready to create the theme use Apktool" WHAT I SHOULD RECOMPILE?????

"Once you are ready with all the pngs continue with rest of the guide in post #1" WHAT??? I SHOULD OPEN ADT AGAIN AND MAKING NEW ANDROID APP PROJECT OR WHAT??????

How do i add the theme wallpapers??

HELP!!!!! I ALREADY MAKED 100 PNG AND NOW IM STUCK AT THIS:crying:
[Sony Cross-Device Development Themes and Apps] tOrNadO™:
1. android.zip is an asset which contains UI elements of your theme.. Like Slider buttons, check boxes, system apps' background.. You need to make your own asset or you can use someone's asset as base with their permission.. To recompile, u can always right click on your project and select "Export-> Android application-> Create a new keystore(Only for the 1st time, rest of the times u can use the same) -> Finish..

2. Make the png's needed for those particular stuff and rename them accordingly. But no need to open ADT and make a new project again coz u already have in the first place.. :silly:

3. Theme wallpapers go into your theme destination -> res -> drawable**hdpi(xxhdpi - 1080p, xhdpi - 720p whichever res ur device is)..

Follow the OP instructions and u will be fine.. Good luck theming.. :good:
[Sony Cross-Device Development Themes and Apps] androidfreak70:
oh ok man thanks:o

i'll try my "luck" again:fingers-crossed:
[Sony Cross-Device Development Themes and Apps] arnabJ:
If you read my guide correctly then you will find that I have already attched a zip file in the op with android folder inside that zip.

You need to add framework related pngs to that android folder and then use apktool to compile that android folder into android.apk

Then rename this android.apk to android.zip and move to asset folder.

You need adt only for creating a new project.

Adding codes in manifest and compiling that project into an apk.

All rest of the work need to be done in windows explorer like creating pngs.

Moving them to respected folder.

Using apktool and everything else.

Then when you are ready with your android.zip, com.android.systemui.zip and all other zips copy paste them to the asset folder of your android app project.

Why will you close adt anyway? Minimize it. Simple.

Hope this helps you.

Best of all for Theming...
[Sony Cross-Device Development Themes and Apps] androidfreak70:
:crying::crying::crying: its seems i never success making the theme:crying: when i select export then android application then create new keystore and put all the needed, after i select the place that i want the apk go for, i click finish then after few seconds i get failed create app error:crying::crying::crying:

bad luck everywhere:crying:

---------- Post added at 08:23 PM ---------- Previous post was at 08:16 PM ----------

everything is seems bad for now:(

i placed my PNGs in the drawable folder in android folder, then when i go for apktool to recompile i get none has been extracted error:( and i tried the use the android version of apktool which its work fine with me, then i get no resources found error :crying::crying:

im so sad:(:(:crying:
[Sony Cross-Device Development Themes and Apps] Pablosch23:
Did you copy the apktool.yml file to the folder you are trying to compile?
[Sony Cross-Device Development Themes and Apps] arnabJ:
What are you exporting?

Where in guide did I wrote to export anything from ADT?
[Sony Cross-Device Development Themes and Apps] androidfreak70:
"Right click on the project in ADT then click export"

That what [MENTION=4921331]tOrNadO™[/MENTION] said in post #89

If you saying that not needed, ok as you wish its NOT needed! But what about the apktool error i get??

---------- Post added at 04:55 AM ---------- Previous post was at 04:49 AM ----------

No

Is that needed?? The OP didnt mentioned this
[Sony Cross-Device Development Themes and Apps] Pablosch23:
Of course is needed bro otherwise you won't be able to compile any apk.
[Sony Cross-Device Development Themes and Apps] androidfreak70:
ok i did that and im still getting the same error :(
[Sony Cross-Device Development Themes and Apps] arnabJ:
You are getting Apktool error due to png file.

Check cmd window for error.

No need to copy any apktool.yml as my attached files already have that.

If you have no knowledge of app making and apktool it will be really hard to follow.

So please search and try to learn the basics first.

There a good number of guides throughout the internet which can help you in starting with Android App Development and apktool too.

Once you get success in that then follow the guide.
[Sony Cross-Device Development Themes and Apps] androidfreak70:
I give up... I will not make my theme because i know i cant :(

And yes i dont know enough about making apk files :(

Im so sad now :(
[Sony Cross-Device Development Themes and Apps] arnabJ:
Never ever loose hope.

You never know when you can do something totally unexpected.

If I would have been like you then this guide would never exist.

Always believe in yourself.
[Sony Cross-Device Development Themes and Apps] Rumman Shaikh:
Hey, this thread will help you, for getting started with your Android projects,and will cover all its basics(decompile, recompile, sign using apktool) and hopefully your doubts :D

It helped me a lot ;)
[Sony Cross-Device Development Themes and Apps] androidfreak70:
Thanks buddy!

I'll try (not today, still bad feeling about it) :/

Thanks again :)
[Sony Cross-Device Development Themes and Apps] Dickey Kid'deviel:
hoe to add styles.xml on android.zip?
[Sony Cross-Device Development Themes and Apps] arnabJ:
Copy styles.xml from any app.

Remove all contents within

<resources>...</resources>

And add your required style codes.

But I think it won't work as I have tried doing so in Settings app but in vain.
[Sony Cross-Device Development Themes and Apps] Dickey Kid'deviel:
thanks i'll try it, i just want to switch DeviceDefault.Holo.Light to DeviceDefault.Holo.dark using themes :D
[Sony Cross-Device Development Themes and Apps] arnabJ:
Best of all and hope it works for you.

But I would prefer changing theme of the particular app for which you want to have Holo.DeviceDefault.Dark theme.

Cuz few apps use device default themes and then add few additions to it according to the theme used.

So if you change light to dark in framework then all apps will have dark theme and this may break ui of few apps.

This is a rare case yet there are chances.
[Sony Cross-Device Development Themes and Apps] Dickey Kid'deviel:
okay, thanks for your information :D
[Sony Cross-Device Development Themes and Apps] androidfreak70:
I have a question because i moved little :D

After i put my assets in the asset folder in project, should i recompile the whole project folder or what?

Xperia™ Z (C6602) with Tapatalk
[Sony Cross-Device Development Themes and Apps] arnabJ:
If you have moved the zips to asset folder and you are ready to try the theme then use eclipse to test the app.

You can't recompile a project simply as you have not decompiled an apk but made a new app project in eclipse and you need eclipse to build an apk of that app.

For testing follow :

Select and right click on App Project in Eclipse

Select Run As > Android App.

Keep your Sony Xperia Device connected to pc and then choose it from the new popup.

For Building an Apk

Select and right click on App Project in Eclipse

Select Android tools > Export signed app

Follow on screen instruction

At the end you will get signed apk which you can share with others.
[Sony Cross-Device Development Themes and Apps] androidfreak70:
Now its great thanks alot :)

Xperia™ Z (C6602) with Tapatalk
[Sony Cross-Device Development Themes and Apps] shehabskull:
how to disable cheack ?

so in fixing errors in AndroidManifest we should click on a button called disable errors in this project so I can not find this button any where !

and should I make the asset folders ( android - com.sonyericsson.uxp - com_android_systemui ) apk files first ! I CAN MAKE THEM ZIP FILES DIRECTLY ! and how to build my theme into an apk file !
[Sony Cross-Device Development Themes and Apps] arnabJ:
(Left)Click in between the error text.

Then Right Click n choose quick fix.

Then you will find the options shown in picture in op.

Sorry I didn't got you for the 2nd part.
[Sony Cross-Device Development Themes and Apps] arnabJ:
Guide updated.

Made it easier to follow.

Added new attachment so that new comers can make Xperia themes more easily.
[Sony Cross-Device Development Themes and Apps] shehabskull:
THANKS u re my hero :D
[Sony Cross-Device Development Themes and Apps] arnabJ:
Feel free to post any help you need.