yashsingh1/xdaforums huggingface dataset:
[prjkt.io] Typhus_:
Oh...I see.

You mean I create, for instance, a "com.android.settings.dolby" folder and inside I just add the dolby overlay stuff, right? And, of course, I remove all that's related to dolby on com.android.settings normal overlays.

It's this, right?
[prjkt.io] Spannaa:
Create a type2_Dolby_Atmos folder inside com.android.settings and move all of the dolby specific files to this.

If you also create a text file (with no extension) named type2 in the com.android.settings folder and add some text like "Normal Settings" to it, the user will see a spinner for the Settings overlay giving them the option to add the "Dolby_Atmos" files to the normal overlay before it's compiled.
[prjkt.io] Typhus_:
I see what you mean.

The thing is, I already have 2 type2 folders. That way I would have to create 4 (2 for settings with dolby, and 2 for settings without dolby). No problem, it would work, I think.

But then I remembered that I saw people theming settings and then an alternate stuff like, "just icons". So, I wonder, the solution I suggested would work?

Guess I'll have to test it...

Anyway, thank you so much.

You really helped me.
[prjkt.io] Spannaa:
NP

If your current settings type2s are just icons, they can be moved to a new "com.android.settings.icons" overlay.
[prjkt.io] Typhus_:
Ok, So I've pushed the theme to Google Play Store.

I'm unable to install it since it states that "This copy of the theme is not valid".

WTF!?

I've copy/paste base64 key from playstore, I've added my signing key and used JNI_TRUE on require install from PlayStore.

What did I do wrong?

Terrible sorry for this noob question but it's my very first app on Google Play Store.
[prjkt.io] Salvuchi:
Hi. I'm new to this. I was wondering why there is not a single theme that changes the hideous rounded font from the clock in the Galaxy S8. Is that not possible? Hard to understand how can be so easy changing the fonts for the whole system but not for the clock. It's driving me nuts, I really hate that font.
[prjkt.io] djdarkknight96:
Depending where it's located. Not everything can be changed.

---------- Post added at 12:17 PM ---------- Previous post was at 12:16 PM ----------

I think you have been helped on telegram no?
[prjkt.io] Typhus_:
Yes I did. :)

Fortunately, from this day on no one else should have this problem since template's README has been updated.

Long story short...DON'T USE GOOGLE PLAY APP SIGNATURE.

It will cause nothing but troubles (it has solution but it sucks...).

Cheers!
[prjkt.io] djdarkknight96:
You were the guinea pig, most already had keys but Google recently added that system so no one knew until now. Lol
[prjkt.io] DeusBelli:
How do I get themes to stick? I'm on oreo Note 8
[prjkt.io] djdarkknight96:
Please don't ask on both threads, this is for Themers . I answered in the correct thread.
[prjkt.io] DeusBelli:
What?
[prjkt.io] djdarkknight96:
You asked in the support thread and here. Not necessary.
[prjkt.io] DeusBelli:
Well sir, I apologize I asked here then I was emailed from someone from Substratum, and was told to direct my question via xda so I did that, but I had already asked in both threads at the same time my apologies
[prjkt.io] djdarkknight96:
All good bud
[prjkt.io] deadlynounou:
Help for layout theming

Problem solved : instead of editing the keyButtonView i've edited navigation_layout.xml
[prjkt.io] roizcorp2:
Do we plan a tasker integration?

Conditional theming and changes in UI is much valued and has many many use cases in day to day use

Tasker is the best to automate these condition and has a huge install base already
[prjkt.io] fresco194:
2 questions if I may.

#1 : I used to make my own themes for my Galaxy S7 using Samsung Theme Editor 3.0 and Android Studio. Now I'm on S9 Oreo and can't get new designed themes to install. I also noticed by taking existing themes and decompiling to edit assets and recompiling the updated asset doesn't apply but the other assets work fine. Any ideas?

#2 Is there any template, guide or tutorial for Substratum Samsung Oreo? I know there is a template for Substratum theme but I need one specific for Samsung Oreo. Thanks in advance.
[prjkt.io] djdarkknight96:
Not any time soon if at all I heard.

1. No clue about Samsung themes we only to subs here

2. The template is just to get Substratum to pick up your theme, making overlays for Samsung Oreo no template just a ton of search and destroy lol. I've been theming my S8 over a month and still have a ton left too find and theme. But it's coming along. You should join the telegram for new theme devs, we have experienced theme devs helping new guys. There are a few YouTube videos we can link you to help get started but theming your on your own. Well kinda we help as much we can.

Link: // themers collective //

A group for assisting with creating Substratum themes

https://t.me/ThemingHelp

Template:

https://github.com/substratum/template
[prjkt.io] SonyVLT25ISonyVLT25I:
Hello,

I am trying to theme ShadowsocksRR https://github.com/shadowsocksrr/shadowsocksr-android/releases and change it's background to black, but when it comes to making a screenshot through "UI Automator" it gives me "Error obtaining UI hierarchy". I have tried with emulated device and real device: same error every time. But if I try to get a screenshot with other apps, say google play, or UI, or VLC etc. I can obtain a screenshot without any problem.

Why is that so? Any help would be much appreciated.
[prjkt.io] SonyVLT25ISonyVLT25I:
How to change colors of the text in apps?

I have tried to modify Styles.xml, but after I changed color codes for text, copy-pasted edited file using the same path into Theme Project folder and run the theme on phone, Substratum returned error-log.
[prjkt.io] djdarkknight96:
This is for substratum theming, no clue how to fix your issue.
[prjkt.io] andrewoid71:
I can see my NOTE 8 connected to my WINDOWS Laptop via the File Explorer but when I try to open ANDROMEDA from the desktop it tells me that my "Device does not have ANDROMEDA installed". I can see the app and whenever I open it the RED X appears, then I get a pop up window saying "Allow USB debugging?". When I press OK I get another toast pop up that reads "Because an app is obscuring a permission request, Settings can't verify your response".

What is going wrong? I even have SUBSTRATUM installed but that doesn't open, it keeps popping up that "There is a delay with the ANDROMEDA backend". I restart SUBSTRATUM and to no avail.

I NEED HELP, ITS DRIVING ME CRAZY.

I paid $2.49 for nothing?
[prjkt.io] djdarkknight96:
Sounds like someone didn't read the instructions correctly and this OP. Have you enabled usb debugging on your phone? Also this is the wrong thread, this is for theme devs questions go here for help:

https://xdaforums.com/apps/substratum/projekt-substratum-t3423623/page413

I went thru similar issues because I didn't read either "I Was too excited...WANT THEME NOW LOL" so I understand your frustration bud truly but on that thread are good help and also telegram has support for Andromeda specifically here: https://t.me/joinchat/DIq__UOjp7vwZg3oynYUpQ get fast help there even from me. Cheers bud!

DJ
[prjkt.io] SonyVLT25ISonyVLT25I:
How to change colors of the text in apps while theming?

I have tried to modify Styles.xml, but after I changed color codes for text, copy-pasted edited file using the same path into Theme Project folder and run the theme on phone, Substratum returned error-log.
[prjkt.io] djdarkknight96:
That's a very tricky question, where are you trying to change? Can we see the log?
[prjkt.io] SonyVLT25ISonyVLT25I:
My bad, sorry. I'm trying to change text colors by editing styles.xml.

Error log and current Styles.xml in the attach.
[prjkt.io] djdarkknight96:
Well you'll need to do two things, one add attrs.xml to values folder and anything @ android:color/black needs to be @*android:color/black but let's say your editing settings you need @*com.android.settings:color/ on anything with a @ unless [MENTION=1774772]Android J[/MENTION]ust add *

In styles if the attribute line is like this:

<item name="textColor">#ffFFFFFF</item>

It needs <item name="android:textColor">#ffFFFFFF</item>

Or

<item name="*com.android.settings:textColor">#ffFFFFFF</item>

So it will build

Hope that helps. You can see examples in the template.

DJ
[prjkt.io] SonyVLT25ISonyVLT25I:
Thank you very much! :highfive:

I'll follow your example and try it out. :fingers-crossed:
[prjkt.io] SonyVLT25ISonyVLT25I:
Just have time to look at Styles today. Cannot get it. Styles are already in format you described.
[prjkt.io] Spannaa:
If style parents are from styles.xml in the apk you're theming, they need self-referencing, so:

<style name="Barchart.Column" parent="@style/Barchart">

becomes:

<style name="Barchart.Column" parent="@*at.markushi.expensemanager:style/Barchart">
[prjkt.io] djdarkknight96:
Anything with @ needs *package.name: so like @*com.android.settings:style/ for example
[prjkt.io] SonyVLT25ISonyVLT25I:
So I have replaced in Notepad++ all

parent="@

with

parent="@*at.markushi.expensemanager:

After pushing theme to phone and trying to apply it for Expensemanager, I have got en error log:

» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:145: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Widget.CompoundButton.RadioButton'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:169: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Theme.NoTitleBar'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:173: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Theme.Light.NoTitleBar'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:204: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Widget.ListView'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:229: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Widget.DropDownItem.Spinner'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:232: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Widget.Spinner'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:239: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/TextAppearance'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:345: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Theme'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:705: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Widget.ProgressBar'.
» [at.markushi.expensemanager]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:709: error: Error retrieving parent for item: No resource found that matches the given name '@*at.markushi.expensemanager:android:style/Widget.ProgressBar.Horizontal'.
» [at.markushi.expensemanager]: Installation of "at.markushi.expensemanager" has failed.

You can found Styles.xml in the attach.

What I did wrong this time? :crying:
[prjkt.io] Spannaa:
You only need to self-reference style parents that are in styles.xml from the apk you're theming.

If you look at the error log, you'll see that your batch replace isn't just changing

parent="@style/

to

parent="@*at.markushi.expensemanager:style/

It's also changing

parent="@android:style/

to

parent="@*at.markushi.expensemanager:android:style/

parent="@android:style/

is usually fine but, to be on the safe side, you can add an asterisk

parent="@*android:style/

EDIT: I see you're getting help in the substratum // themers collective // telegram group now - that's always going to get you faster responses :good:
[prjkt.io] MimKoRn:
I'm new to this. I only want to disable the dual sim card manager on Oreo Samsung Galaxy Note 8. Previously I downloaded an overlay app here from Xda that would hide it from the quick settings (it's an ugly panel that looks like a persistent notification you can't swipe away ). I would like to try this substratum and see if there's an option there to remove the manager bar, but it won't allow me to look around the app without buying andromeda first. Does anyone know if it's possible in substratum to create a theme that would remove this dual sim manager? If not is there a place where we can ask developers to create such a theme?

Thanks!
[prjkt.io] djdarkknight96:
Show screenshot plz might be possible.
[prjkt.io] MimKoRn:
Hi! Here you go!

[IMG="screenshot dual sim manager"]https://i.imgur.com/3pSbcq0.jpg[/IMG]
[prjkt.io] MimKoRn:
Hi, so what to do you think? Could you do it?
[prjkt.io] djdarkknight96:
If I had dual sim phone but I don't
[prjkt.io] Hitti2:
Is there a/multiple color guide/guides?

I just purchased spectrum, and want pixel ui theme, like pixel ui substratum blue theme but id like to get this in spectrum but with benefits.

Any suggestions?

And/or hook me up here with settings.

Also long time ago I think when Spectrum was free I had to set up bad ass and that the pin lock screen pattern was also decorated with the color blue which I had I noticed when I tried setting up Spectrum now the pattern lock screen isn't colored I like to get that colored as well when I press and hold the pin/pins So unlock the pattern lock screen is blue.

Please help before refund runs out of time. Tyvm guys.
[prjkt.io] djdarkknight96:
Contact the theme dev, this is for people making themes not modifying existing ones. Best bet is original theme dev.
[prjkt.io] djdarkknight96:
Because you were using luck patcher, that a pirate system. He didn't accuse you of stealing his theme at all. Either way this thread is for making your own theme not modifying others....again contact theme dev.
[prjkt.io] balrajs99:
[MENTION=2126467]djdarkknight96[/MENTION] I've made a theme for my Sony Device running stock android 7.1.1. It's working fine. But the problem is :

1) If I edit any layout files by adding @*packaganame:something/itemname:value substratum throws error that it did not find any resources.

2) To solve above I added id's and everything required in theme itself and after applying the theme when I open that app it always force closes. This happens with other themes too. They apply successfully but I'm unable to run that app.

Always some errors in logs like - binary xml line : 24 error inflating somelayout.

Please help me. This is needed in theme I'm making in apps like youtube where some things are hardcoded in layouts only.

Thanks in advance. :)

Edit : Also my device falls in legacy mode. For testing purpose I'm using older version of Substratum to apply overlays on the go, but the result is same with latest version too.
[prjkt.io] djdarkknight96:
Hmm, could be a few things. Usually only need to add attrs.xml for those missing resource errors. Id, strings, bools not really needed unless you want to change them. Post the log and we can try and help better. Also what app is it?
[prjkt.io] djdarkknight96:
I'm not seeing anything wrong right away, adding layouts you should only need to add attrs.xml to values to validate resources. ID strings etc xml not needed and may cause issues...Not sure I never added them without a need. Try adding the layout without any changes and see if it's the edit you made if any. Also which xml in YouTube. I have a ton added. Might have a clue what's wrong if I look at mine. Sorry for my late reply.
[prjkt.io] balrajs99:
I tried by only adding attrs, but then Substratum throws an error saying no resource found that matches ......

I've attached layout files I've edited.

Edit : Do you know what's wrong with it? why does it force stop?. :(
[prjkt.io] djdarkknight96:
Yes in settings_toolbar.xml

res-auto: popupTheme="@*com.google.android.youtube:style/ThemeOverlay.YouTube.Light"

Something went wrong decompiling.....

Should be

app: popupTheme="@*com.google.android.youtube:style/ThemeOverlay.YouTube.Light"

app: not res-auto: in that xml there are a few that need to be changed. Check other xml just in case.

Hope that helps

DJ
[prjkt.io] balrajs99:
Thank you, yes I see now the namespace was wrong. I'll correct it and then try. :good:

But, the Substratum throws a long error log. I'll attach it here. This is one of the reason it is not compiling.

Also do you know why it would force stop if I add all resources required by layouts in my theme?

Edit : I tried some other theme to apply overlay for Instagram and Google Dialer, both applied fine but, after opening them they force stops.

The error from Instagram log is

java.lang.UnsupportedOperationException: Can't convert value at index 1 to color: type=0x1

and same for Google Dialer.
[prjkt.io] djdarkknight96:
They both updated this week possibly breaking themes I'm assuming those themes need to update.

Adding the resources not needed shouldn't cause that. Only themes cause crashes so it's theme bad code causing it.
[prjkt.io] balrajs99:
Ok yes that makes sense. Sorry to bother you this long.

I'll try updating my theme code to the latest version of the apps. But thay doesn't answer for youtube force stoping. I may bother you in future, if this doesn't solve it. Sorry. Also please tell me if you need the logs for youtube app.

Thank you. ?
[prjkt.io] djdarkknight96:
To find the crash what I do is mostly trial and error. Logs will help but I remove stuff till it doesn't crash. Like remove layouts and try, then remove styles and try. Makes it easier to find the bug that way also looking at the log.
[prjkt.io] ritesh28:
Can't apply pitch black overlays

I cannot apply pitch black theme overlays it says "overlays were installed with some errors" and the theme is never applied..

:confused:

Please assist me with this..

Error log by substratum:

» [android]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist

» [android]: Installation of "android" has failed.
[prjkt.io] balrajs99:
You did not select a choice before applying any overlay. What I meant is there would be a spinner / options that says please select your android version or something. Select that and then apply. :good:
[prjkt.io] ritesh28:
No, i selected all choice with all possible combinations.

But still shows the same errors.
[prjkt.io] Spannaa:
The section of error log you posted suggests that you didn't select a version/type 3 at the top of the theme's overlay selector.

Post or attach your full logchar.
[prjkt.io] ritesh28:
My problem is solved ..

I did not select the android version.

Sorry for wasting your time.

Thank you.
[prjkt.io] balrajs99:
As I mentioned previously. Anyways great.
[prjkt.io] suvadeep. paul:
Hello, I am using one plus 5t with oxygen os 5.1.3 and android version 8.1.0 (not rooted). I have dowloaded the latest version of substratum and andromeda from playstore. I have dowloaded the desktop client. Andromeda Verification is successful everytime. But I cannot apply any themes at all. No matter what I try, it simply won't work.

After andromeda Verification I have opened substratum and then select a theme. Then toggle all overlays button then clicking build and enable. The process starts and after it ends everything gets disabled automatically. But not showing no error code or something.

Is there any particular process or am I doing something wrong???

Need help. Thanks.
[prjkt.io] Spannaa:
Have you tried rebooting and then enabling the newly built, disabled overlays?
[prjkt.io] suvadeep. paul:
Yes I have rebooted the device but didn't get any option to enable the overlays... The option in substratum always remains disabled... Really confused...
[prjkt.io] djdarkknight96:
Try this

Build/update overlays reboot, then go back and enable them. Also make sure using a theme for OxygenOS 8.1.
[prjkt.io] suvadeep. paul:
You want me install a custom theme then apply the always on enabler. But tried biuld and update. Didn't work as well. But still I will try and report back. Thanks.
[prjkt.io] suvadeep. paul:
Have anyone used any theme for oneplus 5t??? I am talking about unrooted device. Did it work?? If yes then please post it coz I want to try. If possible kindly post a theme which is free and worked on a stock one plus 5t device. Also the process of applying. Thanks.
[prjkt.io] djdarkknight96:
No, not always on enabler...Enable option like build/update and disable options in Substratum. Also this is a place for theme devs not help with subs. Go here for that:

https://xdaforums.com/apps/substratum/projekt-substratum-t3423623/page450

---------- Post added at 07:36 PM ---------- Previous post was at 07:32 PM ----------

Go here for future questions https://xdaforums.com/apps/substratum/projekt-substratum-t3423623/page450

No one will hold your hand bud, do some reading and try it. Many themes support OxygenOS 1+ phones but not free. They work perfectly fine if they say they support it. My theme supports it is how I know.

Try here for general help

https://xdaforums.com/apps/substratum/official-starting-substratum-andromeda-t3798316/page4
[prjkt.io] :
If u get an update for the theme do we need to run Andromeda and update all the layers there or simply will it get updated automatically..?
[prjkt.io] djdarkknight96:
Yes, they need to be rebuilt. But this isn't the place for those questions. This thread is for theme devs to get help making themes. Go here https://xdaforums.com/apps/substratum/andromeda-desktop-clients-release-notes-t3668682/page178 for those questions.
[prjkt.io] djdarkknight96:
These all get tint in systemui using the light_mode_ dark_mode_ colors in colors.xml.

I based my theme off domination as well..I've changed it dramatically over the last year so is a great base!

Get much faster help here

// themers collective //

A group for assisting with creating Substratum themes

https://t.me/ThemingHelp

Telegram theme devs help
[prjkt.io] MJPollard:
Yup, found that, but I'm pretty sure I need to put something specific in android:fillColor="" to make sure they're tinted. As I said, the tint works properly with the non-wifi icons, it's just the wifi ones that aren't being tinted.

I'll take a look, thanks!
[prjkt.io] djdarkknight96:
Well WiFi we have to trick a bit. Using ?fillColor makes them disappear for some reason. So using ?colorControlNormal and adding that to the tone styles works mostly.
[prjkt.io] attitude12:
I've been working on a theme for a while now specifically made for Pie and i just can't find the network signal icons anywhere, they used to be in the SystemUI in Oreo, but i've decoded most apks i could find and they are nowhere. Is there a trick or are they hardcoded?

Thanks.
[prjkt.io] MJPollard:
If you're talking about the cellular network signal icons, Google changed them in Oreo so that their are drawn directly from the Java code; they aren't available as resource files anymore. The only signal icons that are still themable are the ones for wi-fi.
[prjkt.io] zelendel:
I'm just getting back into it but wouldn't it be easier to just redirect it back to an icon?

Like I said. I'm just getting back into it. So I'm not sure how much work that would entail.
[prjkt.io] attitude12:
Well, thanks for the answer. At least i can move on from that now. I went nuts trying to find them. :) Thanks, again.
[prjkt.io] djdarkknight96:
Issues would be with light status bar apps. White icons on white status bars. Using the tone style fixes that.