yashsingh1/xdaforums huggingface dataset:
[prjkt.io] Switiz:
Hello everyone.

I'm kinda new to coding in android, and a complete noob in Substratum. Unill now I used modules created by other people, but now I want to create my own overlays :)

I have a thread (https://xdaforums.com/galaxy-s8/themes/custom-navbar-overlay-supergirl-flash-t3718466) with overlays for navbar for Samsung S8/S8+/Note8, as standalone apk's, but I want to push the limit further and integrate them in Substratum.

So, let's get started with all my problems.

After nights of not sleeping as I tried to understand Substratum, and compiling lots of failed apk's, I got to the point where I wasn't capable to see the light at the end of the tunnel. Any module I created, wasn't visible in Substratum.

So I decided to just download a similar Substratum module, named Status Bar Icons for Samsung, and just edit it with my overlays. The problem is If clone that module, and use his files, everything is fine, I can see the overlays and all other options to theme my device. The fun part begins when I start to delete folders with options that I don't need ( Eg - com.android.systemui ). After this, I can't see any other option, like the overlays for navbar or for coloring the clock, for example, even though I didn't delete anything related to those options. (image below)

The folders are linked in somewhat file ? like Android.xml or anything similar ?

This will help me in understanding how the theme creation works for Substratum, and becoming an everyday content deliver :D

Thx in advance. Any advice will be appreciated.

* I didn't found any up-to-date tutorial for creating Substratum themes. The only one is kinda out-dated :(
[prjkt.io] Spannaa:
To theme an app, you just add it's package name as a folder inside the assets/overlays folder and put your themed resources inside it using the same folder structure as in the original app.

Clock colour and navbars are part of com.android.systemui so, if you deleted this package's folder, those options would disappear from your theme.

There are basic instructions on how to create a substratum theme on the substratum template github.
[prjkt.io] Switiz:
Thx for the info. I'll try a bit later and share the results.
[prjkt.io] djdarkknight96:
App structure inside the package folders are identical to stock apk. Just mimic the folders structures.

You'll get more and better help in the new themer chat in telegram. Many theme devs to help with your Android studio issues. Best to make your own overlay and not hijack others.
[prjkt.io] Switiz:
After I "played" a little in Substratum, I came across an option in settings that allows "dangerous overlays on Samsung devices" to be shown. And now my overlay appears and I can install it. My next question is how to make it to not be detected as an dangerous overlay?

The second questions is why my overlay is visible only on Substratum 854 build ?
[prjkt.io] djdarkknight96:
They changed the template and Substratum app to have a Samsung trigger, you'll need to remove the trigger. I think it's in the manifest. Look at the read me to enable Samsung support.
[prjkt.io] Spannaa:
It's in the manifest, but it looks like the actual value comes from theme_configurations.xml
[prjkt.io] Switiz:
Thank you very much guys <3
[prjkt.io] fire_of_mind:
Guys I can't change play store theme. Tried lot of themes but after I applied nothing changes... Please help.

Wysłane z mojego Xiaomi Mi5 przy użyciu Tapatalka
[prjkt.io] djdarkknight96:
Only works in English, blame Google
[prjkt.io] fire_of_mind:
Is there any way to changed only play store language or have to change system language?

Wysłane z mojego Xiaomi Mi5 przy użyciu Tapatalka
[prjkt.io] thereal_bigjake:
The running man is in Play Services and I believe the mic is in the Google App
[prjkt.io] KpChuck:
I've found a string that works with a clock.

Now I need help with something else: If I theme status_bar.xml with type2 or type3 then any type1 options I do have no effect. For example the clock colour will only change if it's in type2 or 3 but not when it's in type1. Is there any fix for this?
[prjkt.io] nathanchance:
Done :)
[prjkt.io] Spannaa:
We'll need to see your code, otherwise any solution would be a guess.
[prjkt.io] dully79:
Sorry to be pedantic mate but the : needs to switch with the / :silly:

android:format24Hour="@*com.android.systemui:string/status_bar_clock_24hr_format"
[prjkt.io] Spannaa:
Pedantic is fine if it's a correction ?

I'll stick to replying from a PC in future...
[prjkt.io] KpChuck:
I've uploaded my code onto github. The type1 aren't affecting the clock from type2 or type 3

https://github.com/KpChuck/Klock-Substratum?files=1

Thanks in advance
[prjkt.io] aldiandrew:
Hello want to ask its possible to change the summary fontcolor just on settings? I tried to add text primary and secondary on theme setting styles but its not change. Thanks for the answering
[prjkt.io] Troubadour666:
let's go :)
[prjkt.io] aldiandrew:
solved, thanks a lot sir !

so add folder layout on com.android.settings/res/values

inside folder you must copy dashboard_tile.xml from your decompile settings apk.

open the file and change the code like this

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@*com.android.settings:id/dashboard_tile" android:background="@*com.android.settings:drawable/selectable_card" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@*com.android.settings:dimen/dashboard_tile_minimum_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@android:id/icon" android:layout_width="@*com.android.settings:dimen/dashboard_tile_image_size" android:layout_height="@*com.android.settings:dimen/dashboard_tile_image_size" android:scaleType="centerInside" android:layout_marginStart="@*com.android.settings:dimen/dashboard_tile_image_margin_start" android:layout_marginEnd="@*com.android.settings:dimen/dashboard_tile_image_margin_end" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@*com.android.settings:style/TextAppearance.Small" android:ellipsize="marquee" android:id="@android:id/title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.Small" android:textColor="@*android:color/accent_material_dark" android:ellipsize="end" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:paddingEnd="@*com.android.settings:dimen/dashboard_tile_image_margin_start" />
</LinearLayout>
</LinearLayout>

when you compare the code you can see the different (use notepad compare plugin) from my code i change android:textColor=?android:textColorSecondary become android:textColor="@*android:color/accent_material_dark"

if you done, save it. Now open your settings style.xml and add this code

<style name="TextAppearance.Small" parent="@*android:style/TextAppearance.Material.Small">
<item name="android:textColor">@*android:color/primary_text_default_material_dark</item>
<item name="android:textColorHighlight">@*android:color/accent_material_dark</item>
<item name="android:textColorHint">@*android:color/micro_text_light</item>
<item name="android:textColorLink">@*android:color/micro_text_light</item>
</style>

hope this is not wrong code because i tried so many change today lol
[prjkt.io] Pkt_Lnt:
oops, wrong thread, so sorry!
[prjkt.io] Alira rizwan khan:
If i uninstall substratum theme engine after applying an overlay, will the themes get reverted to original?

If substratum required to be installed always? Or apply theme and uninstall...?
[prjkt.io] eurochild:
need some help to remove the "x" from the mobile network signal drawable when its not connected, anyone ?
[prjkt.io] amihir:
Is Icon pack support arriving ?
[prjkt.io] nathanchance:
1. This isn't the thread for that question.

2. If you had gone to the right thread and searched "icon pack", you'd see that yes, it's in the pipeline but there are more pressing matters to attend to before that.
[prjkt.io] djdarkknight96:
Yes it's a vector xml in systemui. Can't remember the name off hand but it's had a very small path data.
[prjkt.io] Camlin3:
Deleted
[prjkt.io] rirozizo:
I'm subscribed with instant mail notification to this thread. I encourage anyone willing to start theming to follow the guides mentioned in OP.

I've literally seen with my own eyes a Substratum theme user that is now a developer for that same theme just because of these guides found in OP.

Let's support anyone needing help! :)
[prjkt.io] djdarkknight96:
This
[prjkt.io] vykintazo:
Hello, so I have a question about theming Google Calculator. How do you change color of "mode" indicator and that three-dot icon on the other side (see screenshot)? I have bunch of themes where they have managed to customize those on stock (not theme ready) gapps. Only thing i have found yet is that "mode indicator" is declared as TextView in toolbar.xml and has no color atributte, maybe I could add one somehow?
[prjkt.io] djdarkknight96:
I don't think so.
[prjkt.io] deloj:
hey everyone,

I installed substratum on my samsung J7 phone with Nougat stock rom. When I open it I get a message saying I need to install sungstratum before using it. Is there a way to use substratum without installing sungstratum?
[prjkt.io] dRm42:
Hey Guys! I tried to search first, but couldn't find an answer to my question anywhere: How deep level of theming can substratum do? I'm planning to use this on my HTC 10 with stock Oreo, and I was wondering if I could change back "Settings" from HTC's implementation to AOSP look. Grouping of options for example is different in HTC's Rom. I guess the question in short is: Is substratum only capable of changing colors of certain UI elements, or it can kinda generate a completely new UI for certain parts of the OS? Any help or guidance would be much appreciated! Cheers!
[prjkt.io] alroy214:
Where can I suggest an improvement to the app? I would be happy to receive an update where you can change profiles based on the current time of the day!
[prjkt.io] djdarkknight96:
Nope needs the plugin to work

Oh man you can change a ton. Layout editing is very useful. I have a few mods in my theme for stock Oreo.

Center clock, custom lock and custom settings.
[prjkt.io] djdarkknight96:
Here is a good place but I think they tried this before.
[prjkt.io] alroy214:
Cool so hopefully it won't be too difficult, profile changing works I just wish I could do it automatically, simulate my click there each night
[prjkt.io] djdarkknight96:
I think someone accomplished this with tasker but I could be wrong.
[prjkt.io] alroy214:
Welp, think maybe the devs can spot the request to bring support to do this without the need for external apps?
[prjkt.io] djdarkknight96:
Like I said I think they tried this before and didn't keep it.
[prjkt.io] deloj:
I installed substratum and sungstratum on my non-rooted stock Nougat samsung phone.

Do I have to be rooted in order to enjoy the full benefits of substratum?

.
[prjkt.io] djdarkknight96:
This thread is for Themer devs to get help. In the future please ask questions here: https://xdaforums.com/apps/substratum/projekt-substratum-t3423623/page375

They will know the answer, I'm assuming you'll need The no root plugin "Andromeda" but I don't use Samsung so I'm not positive.

Thanks

DJ
[prjkt.io] alroy214:
That's sad, maybe I can compare an old version and a new version and try to implement the code, who can I contact about this?
[prjkt.io] djdarkknight96:
I can ask but last I did they said it was scraped because it didn't work correctly is what I'm saying. But I'll see what they say and let you guys know.
[prjkt.io] alroy214:
Thank you, it's good having a community and a place that can hear your silly but still desirable requests.
[prjkt.io] KpChuck:
Aren't scheduled profiles still there if you turn on advanced user interface?
[prjkt.io] alroy214:
Nope, I know it was before also I can't find the place to change the fonts, wish they left those options as experimental settings instead of wiping them away.
[prjkt.io] djdarkknight96:
Well I was so wrong look at screen the bottom option.

I've never used it but might still work.

Oh you found it, you rock! I've been using new ui so long I forgot they have the old ui still available.
[prjkt.io] djdarkknight96:
Oh I know only custom roms can change fonts. Possibly the profile option too

I'm gonna check my other device on stock

Edit: yep custom roms only they can't do these options on stock. Needs commits
[prjkt.io] alroy214:
Yep, so it might really be only in a custom rom.

I'm using the second Oreo beta OnePlus 5t rooted.

Maybe they can implement something for rooted/unrooted users even when the ROM isn't native oms.
[prjkt.io] djdarkknight96:
My understanding is no, this is why it's not available.
[prjkt.io] alroy214:
Tasker it is o.o
[prjkt.io] deloj:
Nahhh thats cool. Maybe someone here will know the answer tho. Maybe someone with a samsungz.

Btw why aint you doing dark themes like yt no more?
[prjkt.io] djdarkknight96:
They will know on that thread, if you want an answer that's the place. I have YouTube themed in my theme.

TBO is getting hurt by apps blocking decoding them to be able to theme them.
[prjkt.io] deloj:
Damn dude... you need to try a little harder.. lol
[prjkt.io] djdarkknight96:
Try a little harder at what?

This is off topic, please go to other thread with your question.
[prjkt.io] deloj:
You said 'TBO is getting hurt by apps blocking'

Thats what may comment was about. Chill out dude... you really need it.. no need to get a heart attack
[prjkt.io] djdarkknight96:
Please chill with your assumptions, no issue here. Just we aren't on topic. Only issue.
[prjkt.io] deloj:
W/e. Just relax.
[prjkt.io] djdarkknight96:
Oh brother "palm face"
[prjkt.io] deloj:
Ok I liked that move..
[prjkt.io] Tarif.tk:
What is OMS and how to apply on custom rom
[prjkt.io] djdarkknight96:
Overlay management system

It's something Sony created to theme android. Android Oreo has it added by Google so all will have it on 8.0. Custom Rom or stock..no matter the phone.

Also this thread is for theme devs to get help. Plz let's keep this thread on topic so others can learn.
[prjkt.io] deloj:
Hey djdarkknight96,

Dont know if you saw this on the other forum but...... I had previously used a dark youtube app from Team Blackout. Recently I updated youtube and of course its not dark anymore. I then used substratum and although it darkened many of my apps, it fails to darken youtube. Do you think the reason it doesnt darken it has to do with the dark app from Team Blackout before?
[prjkt.io] djdarkknight96:
Yes I saw and replied.

No, once you update that apk is not longer used. I replied in the other thread it's theming just fine. You just need a theme that themes YouTube. And keeps it updated.
[prjkt.io] Spannaa:
Didn't you read the reply in the next post 'on the other forum'?
[prjkt.io] deloj:
Thanks bro.. I replied to you on the other thread. Excuse the "double" post.
[prjkt.io] rahulk096:
Why we won't change status bar icon on Oreo??
[prjkt.io] djdarkknight96:
It's hard coded in java
[prjkt.io] rahulk096:
But its not impossible bro
[prjkt.io] djdarkknight96:
Exactly what I'm saying my friend, is impossible with themes to change stock oreo signal qs or statusbar icons
[prjkt.io] Spannaa:
It is with a substratum theme ;)

You'd need to decompile systemui, edit smali and then recompile sytemui.
[prjkt.io] chieco:
Came across the first video from [MENTION=2722834]rirozizo[/MENTION] on youtube and was excited and installed java + android studio but his video seems outdated after 11 months... even the links in the video description changed. I wanna learn!!! please is the a up-to-date how to?
[prjkt.io] rirozizo:
Hey!

I just checked all the links in the description of my first video and they all work as intended :)

I do agree that the info might have gotten outdated due to standards and templates being changed but the process of installing the required programs to start theming is still the same.

My first video should work just fine.
[prjkt.io] chieco:
But if I click on the first link: Make a Theme guide by Nicholas Chum: http://bit.ly/2lKOYBU

look at the page in ur video and look at the page now. In ur video there is a Wiki tab with a guide. Now that's gone...

Am I missing something?
[prjkt.io] rirozizo:
You're right.

It should be going to this link now: https://github.com/substratum/template/blob/kt-n/README.md
[prjkt.io] tkhquang:
Hello, I'm currently on ViperOS OMS, Android 7.1.2, trying to use some transparent theme. But here is the problem, when I have the settings in Viper theme like the 1st screenshot (light theme), substratum theme works normally (like in 2nd ss). However, I don't like it since the Viper theme is light, some action like long press on the notifications,... still shows up in white UI. And when I switch Viper theme to black (see 3rd ss), the substratum theme displays strangely (4th ss), yet the other things display in dark UI as intended (I need this). Is there a way to make those themes work with Viper dark theme normally? I've tried some themes and all of them behaved weirdly when I set primary color in Viper to black.
[prjkt.io] djdarkknight96:
Well you are using a system theme with a Substratum theme which is ment to theme just system. I suggest turning off the system theme and just use subs theme alone. If that's not the case and I'm confused then contact theme dev.
[prjkt.io] Xactorocker:
What's the best theme for the s8 not sure what to use thanks
[prjkt.io] djdarkknight96:
This thread is for theme devs bro, search playstore for Substratum Samsung S8.
[prjkt.io] Typhus_:
Hello!

First of all I would like to thank Substratum team for this wonderful tool, tutorials and templates. You guys ROCK!

I've always enjoyed being able to tweak and mod Android (since Gingerbread). With Substratum it's even more fun.

Well, anyway, I'm currently trying to theme my SystemUI (from dark to light). I'm running "almost" stock AOSP Nougat 7.1.2 on my phone and I currently have 3 issues that I'm not being able to fix by myself.

Since this is a "Ask anything" thread, I'll just try my luck here.

1 - It seems I cannot theme the qs battery since I'm unable to find the xml file for it. I'm able to theme it while charging but not on it's normal state. Does anyone know which exact xml, or color reference, I need to focus on? I want to tint it with another color rather then white (since it's a light theme, white on light background is not confortable).

2 - On Nougat, we can add tiles from other apps. I don't know how to theme them as well. They all appear with the default color (white). Where are those xml (or color reference)?

3 - I'm trying to add new drawables that doesn't exist on stock StystemUI.apk. I can add a new layout, with @+id (for adding id's) but, if I use @+drawable or [MENTION=3944923]drawab[/MENTION]le they are pushed into the "overlayed" SystemUI but aren't shown as I've programmed them through XML. So, how can we add drawable resources into a themed app? Is it possible?

(For the record, I've got them working by overlaying some Legacy png that I know they exist on my sotck SystemUI.apk but that will just work on SystemUI.apk's that have them...it will not be "universal" for any stock AOSP Nougat, I think...).

I'll be very grateful if anyone can help me with this.

Thank you in advance.
[prjkt.io] djdarkknight96:
1. Nope unless you have commits to expose the battery it will not theme "Substratum Commits will fix this"

2. That's a per app situation. No one themes all way. "Commits fixes as well"

3. We cannot add resources. Using unused resources is the best way like you've discovered. If you are on pure AOSP then you'll be ok using them. I used a few in framework. Those old battery and Lockscreen png's are good ones. But is better to find images per app like settings I found a few holo images I'm using for my icon replacements in settings. It's best to do this just in case users mix and match themes.

Hope that helps

DJ
[prjkt.io] Typhus_:
You mean there will be a Substratum commit in the near future that will fix this?

Well, actually the tiles are indeed themed but only when I move them to the quick tiles layout. I didn't test it before, sorry. Anyway, they still appear white on the "edit tiles" layout.

Again, this will be fixed on a Substratum commit?

This solution works for me. There are a lot of unsued legacy stuff on framework (even present on Oreo). Thank you for pointing me on the right direction. It's a work-around but it's working and that's what matters.

Indeed it did my friend. Thank you so much!

Cheers!
[prjkt.io] djdarkknight96:
No Rom commits, custom nougat roms have all this exposed to theme.
[prjkt.io] duckredbeard:
I have tried several substratum themes and just can't get the final result that I want. I am on OOS 5.0.3 (5T) and have removed all substratum themes, so I am back to stock in that regard. What I am trying to accomplish is changing ONLY the theme color. Perhaps I am getting confused by what is changed when selecting each option, as I am getting dark/black notifications regardless of what I select/deselect.

Can anyone advise me on what should be selected if I only want to change the accent color? I want this new accent color to be global (quick settings icons, settings menu icons, settings menu text, etc.). I don't want to change any background colors for notifications, menus, or apps. If I do have to change any backgrounds, I would prefer a medium gray, but not black.
[prjkt.io] Typhus_:
Hello!

Please, somebody explain this part better...it's just that I'm not getting it right.

"Compile your theme as a SIGNED release APK from Android Studio (Build -> Generate Signed APK)." -> Ok! Done.

"Then launch the signed apk on your device and your log will spit out an error log under the name "SubstratumThemeReport", and you want to copy and paste that into [APK_SIGNATURE_PRODUCTION](app/src/main/jni/LoadingProcess.c#L10) on line 10." -> What?

The thing is, how do I "launch the signed apk on your device" ? By that you mean I put the apk on my device and install it? If it's just that, where do I'll see the log?

Sorry for the noob question.

Thanks in advance.

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

Forget it...just found it.

Eh eh.
[prjkt.io] Eazii:
Hello All,

I am looking to theme my OnePlus 5t running (Stock Oreo 5.0.3 w/ Magsik & Systemless Xsposed). I remember back in the day to theme my phone and had to use Team Blackouts "Theme Ready GApps". Is this still necessary? Also any recommendations on "Black or Transparent" themes for the OnePlus 5t.

I am looking to BlackOut or ClearOut as much as I can and tweak the look of the navbar if possible.

Thanks in Advance to The XDA Community!
[prjkt.io] djdarkknight96:
I got a perfect theme for you from TeamBlackOut, Sprite Substratum. :p Theme ready not necessary no

Recent added one plus OOS Oreo and adding more next update.
[prjkt.io] Typhus_:
Hello!

Sorry to bother you with questions once again...

My device has Dolby Atmos installed by default and there are references to it on Settings. I've themed it's layout under Settings.

I know that, obviously, not all devices have this on it's settings but I thouhgt that Substratum would simply ignore it if not found. At the same time, I've set all it's references to *com.android.settings, hoping that it would, at least, compile.

Now I see that this doesn't happen and, on devices that this doesn't exist, Substratum doesn't compile it, period.

I think I could create a new "type2" (or "type3") without referencing dolby stuff, right? But I would like to know that if there's anything I can do for Substratum to ignore stuff to be "overlayed" if not present on the target device.

Thanks in advance.
[prjkt.io] Spannaa:
If you're theming layouts, the resources referenced have to be present on the device or the overlay will fail - there's no way around this.

I'd use a type2 to add just the Dolby Atmos specific stuff.