yashsingh1/xdaforums huggingface dataset:
[Android Themes] munnibhai:
Thanks for quick reply my friend. I have checked it by opening in explorer, it is fine, the installed app is actually there in device with the icon I edited "drawable-hdpi" in my case. I am unable to understand. I will post logcat just in case when I get home and yes, I'm using androids 5.0.1, I am not sure if 5.0.1 is also API-21?
[Android Themes] nicholaschum:
Api v21 is 5.0, 5.0.1 and 5.0.2

Api v22 is 5.1
[Android Themes] munnibhai:
Thanks alot for quick support. I rebuilt the whole project and came to know that I was using the wrong apk. I downloaded your gamma apk file and started building from there. It installed and displayed correctly. Currently I am working on UI icons.

Note: I am confused by not having permission to use any of your apks off google play, and I wanted to confirm if I could use your provided apks (alpha, beta, gamma in first post) as a base for my themes? In an event of publishing, I will be crediting you accordingly.

Thanks.
[Android Themes] nicholaschum:
You can take all three if you want, to repost or to resale, from the OP (credit or no credit) it doesn't matter. But I know some people download my "Dark Material - CM12 Theme UI" app from the Play Store and attempted to resell it on the Play Store without changing anything. That's a definite no.
[Android Themes] munnibhai:
Hello.

I wanted to ask that if there is a way to change app drawer color from material white to subverting else? Or a background possibly? I have searched Google and here too but there isn't anything posted about it apart from changing to nova launcher.

I will be very thankful for the help.

**************

edit: nevermind, i figured it out myself
[Android Themes] theistus:
Dude, thank you so much for this. There's a theme a really liked, but just hated the navbar icons. Using this guide, even as a total and complete newb to this, I was able to modify, build, and push a much more pleasing version to my phone. Hmm...this could become addictive....maybe that's not a good thing? lol!
[Android Themes] tpayne2345:
Need some help with the volume panel, buttons should be dark grey not red.. suggestions?
[Android Themes] hagar006:
just thought i'd stop by to say a massive thank you for both the tut and template..

Having themed for years using various Carbide ui for the Nokia scene, i thought this couldn't be worse... I was wrong!

I couldn't get on with Virtuous ten so i changed to apktool..

I changed colours and made icons and carried on , managed to get the apk compiled and to my astonishment, the theme installed!

Nervous as a new father with the wife in the delivery room, i selected the the theme in the chooser and ...

My word, that has got to be the ugliest baby on the planet, poor thing...

I know what went wrong of course.. Me putting colors to things i don't really know what is in the xml's, but i am going to master this..

This theme is now in the process of being ahem re-made but this is the charm of it all i guess..

This might all just end in total oblivion but thanks for taking the time to show morons like me at least in the right direction..

Kudos to not just hardened themer's but to any one who at least gives theming a go..

Thank you :o
[Android Themes] nicholaschum:
It's very addicting.... I've been doing it for years and it's become something from being an addict to someone obsessed to make everything perfect.

Should be secondary color in SystemUI, if not then it should be primary. Unless you used one of CM's new commits that separated it.

As I always say to people, there are always better designers out there in the world. They just don't have knowledge of the codes, if I'm able to get them started and I get to see the community advance in detailed themes whether they know the code or not, it makes me happy ?
[Android Themes] munnibhai:
There are less people like you who know and share the knowledge and actually become happy when they see others growing based on their knowledge. A salute to you my friend :)
[Android Themes] barth2:
Hi

I managed to get the background of Share menu dark, but the text is also dark and I can't set it to light

Before, I had this

<style name="Theme.Material.Light" parent="@android:style/Theme.Material">

</style>

that gets me the light text but causes other problems to crop up. I tried

<style name="Theme.Material.Light.Dialog" parent="@android:style/Theme.Material.BaseDialog">

</style>

But that did not do it either. Help please :)
[Android Themes] aayushgala:
Error

While Setting up VTS, I am getting the error - Error while installing Framework

You mentioned to follow the next step and come again to the previous step after getting another error. I did the same, but I am still getting the error :confused:

What should I do ?
[Android Themes] nicholaschum:
Is this with no theme installed?
[Android Themes] Goddly:
E/AndroidRuntime(26031): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/sms.png from drawable resource ID #0x6202000c<br />

I'd check here in your apk.
[Android Themes] icoolguy1995:
No its installed, but after opening theme chooser it FC

---------- Post added at 11:29 AM ---------- Previous post was at 11:27 AM ----------

Hmm is this type of error caused by some conversion mistake to .PNG format or resolution issue?

PS: I am trying to compile theme from android studio using this https://github.com/cyngn/android_packages_themes_Template
[Android Themes] CN@:
Hey guys.

I've completely followed the guide,but at the end when I try to send or instpall the modified apk into my device,it doesn't.while I have adb set up and the VTS itself show no error.

What to do?
[Android Themes] nicholaschum:
Have you configured it to push only to /data/app?
[Android Themes] CN@:
Push or install?
[Android Themes] nicholaschum:
Install
[Android Themes] CN@:
Yes

---------- Post added at 10:24 PM ---------- Previous post was at 10:11 PM ----------

When I choose to push to data/app it does, but when I choose to install over adb, it doesn't.
[Android Themes] ANKIT RAWAT:
Help :D

hello,

I am facing this problem, checked log but there is not red E there.

Regards
[Android Themes] CN@:
help

Can anybody help me?

The VTS says apk installed successfully but it didn't installed.
[Android Themes] Primokorn:
Record a log during the installation then filter on InstallTheme to find the right errors to fix.

Are u using capital letters in the naming of your icon pack? Did u record a log?
[Android Themes] CN@:
Hey man.

I'm not using any icon pack.

I just themed systemui.

And record log of what?

Tnz
[Android Themes] Primokorn:
Record a log using catlog app when you launch the installation and stop it 2min later. Next, filter on 'InstallTheme'.
[Android Themes] CN@:
Here's the log.

Unfortunately I couldn't recognize the problem.
[Android Themes] Primokorn:
Filter on 'InstallTheme'. That's what I do with Android Studio to identify the errors.

If you do not have entries for 'InstallTheme' then record a new log by starting earlier and stopping later. With CM rom I noticed that the installation is really complete after 1 min approximatively.
[Android Themes] CN@:
After 2 minutes but couldn't find anything related to installtheme or theme or install

Or adb.

What to do?
[Android Themes] nicholaschum:
I saw you pushed a SystemUI.apk through in catlog.....
[Android Themes] CN@:
Exactly I choose install in VTS nothing happen.

But when I choose push it pushes the apk to my device.
[Android Themes] munnibhai:
Hello.

I'm trying to locate the icons (teal colored in screenshot) but I can't find them, I have checked systemui, framework-res, launcher3 but nothing. Can you please help me?
[Android Themes] nicholaschum:
Check your drawable folder for the xml files that relate to the icon context
[Android Themes] munnibhai:
You first need to "build" and then push to device. After installed, wait like 5 seconds for the notification to appear in phone. It can be about success or failure but it must show you the notification. In case of success, manually change the theme ( first time only) or it is already changed and hasn't refreshed, change to default and change back
[Android Themes] CN@:
Tnx.

I build and then push but there is no notification regarding theme installation while in VTS it says transfered successfully(apk installed successfully)!!!!!!!!!!
[Android Themes] munnibhai:
Which device are you using and are you on android 5+ ROM? This is api21 theme engine and theme for any other platform (even 4.4.4) won't work.

Sorry if you know or already but just needed to make sure before I can troubleshoot the problem for you
[Android Themes] barth2:
after build, try installing it manually through the command line and see what happens

adb install -r nameofapk.apk

You need to find where VTS puts the built apk and adb needs to be in your path.
[Android Themes] CN@:
S4 i9500

Cm12

---------- Post added at 10:28 PM ---------- Previous post was at 10:26 PM ----------

Tnx.

I did that.

But it says invalid APK file:systemui.apk
[Android Themes] Primokorn:
Sorry mate but we are on a thread for CM12 theme engine and it seems that you are only modifying SystemUI.apk. The rules are not the same.

If you just want to modify this apk then use ApkTool to decompile and recompile then sign it. Finally, push the modded apk to your phone through adb into /system/priv-app/SystemUI with right permissions.
[Android Themes] CN@:
I know that and have done that many times.

But I want my modified systemui as an installable theme in theme engine.
[Android Themes] Primokorn:
OK so into your assets folder create several folders like that assets > overlays > com.android.systemui > res > here add your modified drawable, color and values folders.

Are you using a tempalte as a base for your theme?

BTW I use Android Studio so I can't help you regarding VTS.
[Android Themes] CN@:
Actually I have android studio installed but I don't know how to use it to create my theme.

BTW I have template for both of them.
[Android Themes] Primokorn:
Cyngn has a guide for Android Studio on Github.

android:targetSdkVersion="21" for CM12 ;)
[Android Themes] munnibhai:
Primokorn is right. The layout should be as in original. If you edited icons from drawable-hdpi/xhdpi etc, it should be same folder in edited and app icons are usually in mipmap-xx folder. Make she the spellings are correct
[Android Themes] CN@:
What should I put in template?
[Android Themes] CN@:
Actually I haven't changed any icon.

I just changed the colors, that's it.
[Android Themes] Primokorn:
Follow the guide from here: https://github.com/cyngn/android_packages_themes_Template#step-2-import-the-theme-template

so you only have assets > overlays > com.android.systemui > res > values > colors.xml?
[Android Themes] CN@:
Last question.

In the gradle there are 2 path:

Theme/..../assets

Example/..../assets

Which one of them should I use?

Tnx
[Android Themes] Primokorn:
Do not use it. As mentioned in the guide: theme > src > main
[Android Themes] Bob Squire99:
how to theme music

How do you theme the eleven music app from cyanogenmod . thanks
[Android Themes] Primokorn:
The same way as all other apps :)
[Android Themes] Ankit_M10:
link share

it would be nice if you shared the link where i can download it from
[Android Themes] nicholaschum:
Download a lollipop based rom with themeengine.

Like temasek. Then just extract it from there: http://xdaforums.com/oneplus-one/development/rom-cm11-temasek-build-t2870743
[Android Themes] :
Simply that, didn't think about that. Well thank you! :D
[Android Themes] Ankit_M10:
image attached

still getting the same error
[Android Themes] imakshaymishra444:
I am having the same error.. If you get through tell me
[Android Themes] nicholaschum:
I see apktool trying to check through the newest.

Use Custom ApkTool, not Newest.
[Android Themes] imakshaymishra444:
Custom? you mean to skip the step of downloading the new .jar file n all?
[Android Themes] DaiMinzz:
Thanks so much for this guide!

How can I get my theme on play store?
[Android Themes] nicholaschum:
Try follow Setting up and Using Virtuous Ten Studio, Step 5. Try and decompile an app even if you know it'll fail. But follow my instructions.
[Android Themes] imakshaymishra444:
Does the error has something to do with windows 8.1?
[Android Themes] nicholaschum:
I'm on Windows 8.1
[Android Themes] nicholaschum:
You have to pay a small fee with a credit card and apply for developer.
[Android Themes] DaiMinzz:
I dont understand the steps with getting virtuous ten studio recognize apktool_2.0.0rc3.jar with the .txt file and .version please help
[Android Themes] Ankit_M10:
ERROR :(

error again
[Android Themes] Dougi:
you have to delete rc3, and choose it the right 2.0.0 when you start a project ;)

---------- Post added at 02:43 PM ---------- Previous post was at 02:36 PM ----------

@nicholaschum,

i'm having problems recompiling settings.apk of liquid smooth Rom, i don't understand why...

i can recompil all settings.apk from other Rom's, this is driving me crazy
[Android Themes] imakshaymishra444:
Can you please explain? I didnt follow what you are saying.....even i have the error.
[Android Themes] DaiMinzz:
Yes we need better instructions with this steps guys please explain it more clearly

Do you mean i have tot remove it from the .jar file and rename it 2.0.0 and when start a project i can choose the newest .jar but named like 2.0.0?
[Android Themes] Ankit_M10:
Video Guide

it would be nice if u make a video guide its kinda little confusing because for few ppl the settings are working and for some its not thanks :)
[Android Themes] fritzcola:
[MENTION=3605033]nicholaschum[/MENTION] First Thanks for your tutorial. But i have a few problems! I extracted the apk with apktool, then i edited /res/values colors.xml and styles.xml,. Then i put new icons in it, new wallpaper and bootanimation( I reanmed it to that name you did). Then i edited <color name="system_secondary_color"> and <color name="notification_material_background_color" in SystemUi. After that i recomplied it, but before i put META-INF and AndroidManifest.xml from orginal in the apk. Then i want to manually install it but it shows the error "Problem with parsing"! What i have done wrong?
[Android Themes] nicholaschum:
You don't zipalign user apps, you sign them. Which is why I choose to use VTS as it does all that for you and push installs on to your device.
[Android Themes] xdagee:
Maybe you should have told him to find the package name which is com.cyanogen. eleven and then decompile and then he can edit :)
[Android Themes] Bob Squire99:
Thank you, but I'm a newbie so i how do i decompile certain apps and then add it to the theme
[Android Themes] tpayne2345:
Research how to decompile using apktool, it will break it out into folders like the theme structure

res > values > color.xml

then you can just drag and drop to load into VTS with everything else
[Android Themes] munnibhai:
If you are only about changing the icon, you don't need to use apktool to decompile or even compile it back, Ingram 7zip, right click on apk > extract.

There you can see fodder structure and icon names inside etc etx. Note that XML files won't extract properly with 7zip
[Android Themes] Bob Squire99:
do i drag just the colors.xml. Where do i put that into the theme
[Android Themes] munnibhai:
Exactly into the same above mentioned folder in vts project. To open project folder, in vts, right click on your project in pane ( on left) and click "open in explorer".

Then goto data : assets : overlays : (corresponding directory)
[Android Themes] Bob Squire99:
Thanks you but how do i save the project. If i close out, I can't access the project again and I have to create a new project from my previous build.

So 2 questions

1. How do I save the changes made

2. How do I refresh to see the change I made by moving the folder

Thanks again for being patient
[Android Themes] munnibhai:
Oh yes, I had the same issue when I used first. Well, when you open vts, click on file and then recents, there you will see your project listed. Click on it once to load.

1. Changes are auto saved.

2. Right click on project > reload project
[Android Themes] Douglas Gomes:
how to change the color?

Thanks You.
[Android Themes] icoolguy1995:
While installing framework in VTS i am getting this error. Any help?
[Android Themes] munnibhai:
How are you trying to install framework?

Is framework from api21? (Android 5+)

Also, where did you get the framework-res apk?
[Android Themes] nicholaschum:
Second one should be accent in your colors
[Android Themes] munnibhai:
I was wondering where are you. Lolz.

Well Nicholas, could you please tell the difference between primary, secondary and accent colors? I always get confused with these.

Thanks
[Android Themes] nicholaschum:
Sorry about that, I've been busy working with Team Bliss to release their OTA app, as well as compiling the app that comes with my theme.

Anyways, I have this in my comments of SystemUI colors:

<!--Color of your notification drawer: primary:middle, secondary:top w/avatar, accent: brightness trail)-->
<color name="system_primary_color">#ff000000</color>
<color name="system_primary_color_translucent">#90000000</color>
<color name="system_secondary_color">@*common:color/theme_color_qs_header</color>
<color name="system_accent_color">@*common:color/theme_color_accent_dark</color>
[Android Themes] Douglas Gomes:
Can I replace these codes by Rex colors?
[Android Themes] nicholaschum:
Hex, and yes.
[Android Themes] tpayne2345:
Can you point me in the direction of where I could find this? Regarding volume panel button color separated from system_secondary_color

Didn't think I'd needed to go that route but now I do
[Android Themes] icoolguy1995:
Yes and from CM12 rom. I am installing framework because whenever i try to unpack a theme using VTS it gives me lots of error and say to install framework.
[Android Themes] Douglas Gomes:
How to change this color?
[Android Themes] munnibhai:
ok, well, lets try to do it another way around,

Install "Apk Extractor" (one with green circle icon with android logo inside) and browse to "System > Apps" folder and click on "framework-res.apk" to extract the app to "(sdCard > ExtractedApps") directory.

Then connect in MTP/Mass Storage mode with cable and copy the extracted apk to desktop and try to import again in VTS

let me know if it works, if not, I will attach mine (from API21) which is working
[Android Themes] freddienux:
[MENTION=3605033]nicholaschum[/MENTION] you are the man you themed everything. Real quick I flashed Google dialer for my nexus 6/Benzo Rom and I was gonna see if I can flashed a themed Google Dialer after I flashed Google dialer if that makes any sense. So anyway I flashed the regular Google dialer first and it was themed. No need for trying to searched for a theme Google dialer. Your man buddy Thx again

Sent from my Nexus 6
[Android Themes] error404:
whats up guys, someone know how to fix this?

Some text and icons are black.
[Android Themes] munnibhai:
Hello nicholas,

I am again requesting your help on my lack of information concerning playstore publishing and device compatibility.

I finally purchased the google publisher account and published my first app for CM12 Theme Engine. After publishing, I noticed that my app isnt compatible with almost all devices and it doesnt even appear in search results even if I search for exact title.

I know I am far from where you are at the moment in develpment world, but someone starts from somewhere and

this is my strating point and I seek your guidance

.

In case you require, the link to my published app is

https://play.google.com/store/apps/details?id=com.black.mamba

I suspect that this has something to do with manifest file (

I m using your provided dark material beta apk from first pos

t), if you require, I can upload my compiled binary or give you access to my google console

One more question I wanted to ask,

I used Cyanogenmod 12 framework to build the theme, is it essensial that one need to have cyanogenmod rom to install the theme or will it work with any launcher?

Thanks alot in advance

Greetings
[Android Themes] nicholaschum:
No need to talk about experience in the development world here, we don't calculate, well ... I don't. Feel free to ask me any question on Hangouts if you want too.

It should say compatible with 10 devices but essentially it's compatible with every device that is specified in AndroidManifest. If it fits the criteria of having theme engine, is v21 api, and has a touch screen it should work. Sometimes it takes a couple of hours to half a day for the apk to be posted, then the way it pops up is if it is popular, searching for it will be a breeze. If it's not, search your developer name.
[Android Themes] imortal16:
Sir can u pin point me where it is ? Cant find it
[Android Themes] F@HIM:
Even after doing all the steps properly em facing apktool binary not found issue......what can be the probs and any possible soln pls
[Android Themes] ronakchavan:
I'm getting this error while installing framework even after creating new project

I'm getting this error while installing framework even after creating new project
[Android Themes] nicholaschum:
are you using a 5.0.2 framework to decompile a 5.1 app?
[Android Themes] ronakchavan:
The framework is from cm12 and the base app is the dark base that you have provided.
[Android Themes] nicholaschum:
What framework are you trying to install? Is apktool correctly set up?
[Android Themes] ronakchavan:
framework-res from system/framework of cm12 5.0.2 and apktool is correctly set up.

I get the below errors when i start VTS
[Android Themes] nicholaschum:
You chose basic HTC theming.
[Android Themes] ronakchavan:
Tried again
[Android Themes] nicholaschum:
Definitely seems to be an issue with the apktool you're using. Either it's not up to date with the framework, or it's corrupted.

This is an apktool issue, easily Google-able, so I'm only speculating here as this never happened with any of my set ups.
[Android Themes] ronakchavan:
OK mate I'll check it.

------------------------------------------------------------EDIT--------------------------------------------------------------------------------------

renamed the apktool file as apktool.jar from apktool_2.0.0rc4.jar. Now the framework gets installed but it doesn't decompiles
[Android Themes] munnibhai:
no worries,

it is located in launcher apk

Launcher3 > res > drawable-hdpi > quantum_panel.9.png

note: be careful with .9 pngs if you dont know a thing or two about them :cyclops:

anyways, I am attaching the quantum file here, its translucent black. (60%)

in case you are wondering, it has to be in (assuming u r using cyanogenmod)

theme_root_directory > Data > assets >overlays > com.cyanogenmod.trebuchet > res > drawable-hdpi
[Android Themes] barth2:
hi. I'm trying to change color of icons in the shut down / reboot / airplane mode menu

I know I can do it in styles.xml Theme.Material android:colorControlNormal, but that changes a lot of stuff besides, like color of check boxes and text input. Can I target those icons more specifically. Thanks in advance.
[Android Themes] kushpancake:
I am on a verizon galaxy s5 so my bootloader is locked. I was wondering how i can 'port' a cm12 theme for use with rro layers
[Android Themes] nicholaschum:
I believe it uses the style Theme.DeviceDefault as that is pinned to Theme.Material.
[Android Themes] nicholaschum:
CM12 Theme Engine apks and CM12 RRO theme apks are different in the sense that each app needs a new apk.

For example, if I decide to port Dark Material over to RRO Layers, I will need to port all 99 overlays as 99 apks.

The files should be the same, as long as you follow +Brian Gill's tutorial on the BitSyko development G+