yashsingh1/xdaforums huggingface dataset:
[prjkt.io] vetzki:
do you also use a cm based build?

as substratum is imo not particular intended for cm, you need probably additional selinux rules (hard to tell without log, but as it works without integrated marsquerade and probably with selinx in permissive mode)

in https://github.com/LineageOS/android_vendor_cm/blob/cm-14.1/sepolicy/su.te are rules for untrusted_app (and neverallow with excluded untrusted_app) but not for platform_app.
[prjkt.io] nicesoni_ash:
Not directly. I integrated oms in rr which was considerably easy than into lineageos. I am just interested to know as would want to build a clean los in future.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[prjkt.io] flyinjoe13:
I know this probably not the right place to ask this and I hate to sound like a newb, but I don't know where else to go.

Where do I begin with this new engine? Is it close in format to the Layers format because I am familiar with that?

I have done themes using both the CM and Layers theme engines for myself for the past few years. When teaching myself how to use both engines, I was able to find some really good in depth tutorials and templates to learn from or I just decompiled a theme .apk to see how to format things I couldn't find tutorials for. I haven't been able to find anything like that for Substratum and I am a bit lost. I would really love to find a way to convert my current themes to Sub so I can make the switch to a nougat rom.

Can anyone point me in the right direction to some kind of tutorial? Thanks..
[prjkt.io] shaggyskunk:
Maybe check out Substratum on Google Plus along with the the OP...
[prjkt.io] flyinjoe13:
Ok. I read the tut on the first page but got a little lost and intimidated on how to set things up in Android Studio. It's been awhile since I used AS to make RRO themes, but I don't recall it being that involved in the initial setup and I was a bit confused. I think if I figure out how to set things up initially, the actual theming part will be easy because I understand that part. I will go thru it again over the weekend when I have more time to fool with it. Maybe it will make more sense to me then. Thanks.
[prjkt.io] nicesoni_ash:
There is a nice template available on substratum g+ page, check that out too.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[prjkt.io] MizoKh:
can you please make it work on xperia devices??!

iam running 6.0.1 exestnz rom , and got errors! and iam afraid of a bootloop becouse i dont have space for backup ,,

PS: i have layers running wuth pitch black theme and every thing is ok!! why not substatum then???
[prjkt.io] bdwilk:
That's up to your ROM developer. Not anyone here. Sorry.
[prjkt.io] neeraj121y:
Does it require root?

Will this work on moto g2
[prjkt.io] shaggyskunk:
Searching the Thread with "root" would have told you that Substratum / Masquerade require Root.

Sent From My SM-N930W8 ??
[prjkt.io] ZawZaw:
I'm now trying to make a own Substratum Theme and

I have CMTE making theme experience.

Thanks Sir [MENTION=3605033]nicholaschum[/MENTION] for explaining and theme guide.
[prjkt.io] flyinjoe13:
So confused by the instructions on the first page for settings things up in AS. It's the second part (Change Package Name in the project structure: (optional)) that has me confused at the moment. It says to refactor the substratum folder, but I don't have one. There is a substrate folder that I tried to refactor, but after doing that, my project would no longer open. Then there is the part about renaming the theme and template folders, but I don't have those either. I'm just really confused and hope someone can help me get started.

Thanks....

EDIT: Okay, making some progress. I was renaming the wrong substrate folder. I had expanded it and was renaming the expanded folder, not the root. I still need to find the theme and template folders he talks about renaming.

I think i'm in over my head. I'm going to have to wait for someone to put together a really in depth tutorial because I am lost so no need to answer my questions. I'll stick to doing themes for CM and RRO for now.
[prjkt.io] Phrodini:
Nice changelog.. I may have to go back on substratum
[prjkt.io] pkdubai20:
Touchwiz Rom Rooted android 6.0.1+ Support Substratum Theme Engine or not?
[prjkt.io] Pkt_Lnt:
NO
[prjkt.io] fhem:
Thank you so very much sir. Is this being pushed to Apk Mirror??

As always you and the subs team do amazing work!!!!

EDIT: nvm built my own from your source.
[prjkt.io] noonebhargav:
I am getting this error while building a theme in android 7.1.1 with OMS

» [android]: /data/user/0/projekt.substratum/cache/SubstratumBuilder/intellidesigns.enigma.substratum/assets/overlays/android/workdir/values/type1a.xml: error: Unable to open file for read: Permission denied

» [android]: /data/user/0/projekt.substratum/cache/SubstratumBuilder/intellidesigns.enigma.substratum/assets/overlays/android/workdir/values/type1b.xml: error: Unable to open file for read: Permission denied

» [android]: Installation of "android" has failed.
[prjkt.io] vetzki:
i get this crash if opening settings? (new version 550)

01-15 15:55:13.916 16597 16597 D AndroidRuntime: Shutting down VM

01-15 15:55:13.918 16597 16597 E AndroidRuntime: FATAL EXCEPTION: main

01-15 15:55:13.918 16597 16597 E AndroidRuntime: Process: projekt.substratum, PID: 16597

01-15 15:55:13.918 16597 16597 E AndroidRuntime: java.lang.IllegalStateException: Must specify preferenceTheme in theme

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v7.preference.PreferenceFragmentCompat.onCreate(PreferenceFragmentCompat.java:210)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v4.app.Fragment.performCreate(Fragment.java:2172)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1243)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveFragmentsToInvisible(FragmentManager.java:2323)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2136)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2092)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1998)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:709)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6169)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

01-15 15:55:13.918 16597 16597 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
[prjkt.io] flyinjoe13:
Starting to get the hang of this. I will need to redo a couple of apps (the Gallery, Files and Youtube) because they have changed in nougat and need updated. But the main apps I was able to theme with a couple of problems I hope some can help with.

1.) Did they change the pull down quick tiles window to be all one color in nougat because I can't seem to get the header and quick tiles windows to be different colors? I checked my files and I have things set like I did on MM themes, but the window is all one color still.

2.) Did they change the statusbar coloring in Settings. I can't get the statusbar to be the color I have it set for in my primary color dark reference. It's almost like they take the primary color and choose a percentage to darken it on their own. Individual apps (like the dialer and contacts, etc.) still work, but not the Settings app.

I attached a pic for the next question so you can understand better what I am asking.

3.) I can't seem to get the Wifi , Bluetooth and a couple other toggle buttons to quit being blue. Toggle buttons for things like sounds and other options are fine. I checked the wifi switch reference in colors.xml and it is set for white, but the buttons still keep coming up blue. Any suggestions?

Thanks for any help on any of these questions. If I can figure out these two things, I will have a nice start to converting all my other themes.
[prjkt.io] nicholaschum:
This is sometimes an issue when an app denies access to Substratum's own cache. We are looking into why it is happening, but for now to fix it, a reinstall of subs or a clear data might fix it.

Looks like you're using an outdated theme, or the themer (not sure if you) modified the Setting's style and forgot to modify the preferenceTheme attribute.

1) Yes, they changed it to one color. New commits by [MENTION=4683552]maxwen[/MENTION] enabled a new header design in the product called OmniStyle.

2) Yes they did, it's in framework - system_bar_background_semi_transparent in colors.xml

3) Have you tried theme_accent in Setting's colors.xml?
[prjkt.io] flyinjoe13:
Thanks for the info. I did set the theme_accent color and it works for every toggle button except for under the wifi, bluetooth and a couple others menu items. In the past, those colors were set by the switch_accent color, but that's not working either. I need to do some digging to figure this one out. Probably a color control setting of some sort that maybe needs added to my styles.xml. I'll figure it out eventually.

Thanks for the help on the other two questions. Gotta admit, I really hate the solid one color for the pull down window. Wish Google had left it alone.
[prjkt.io] nathanchance:
Just a heads up, I edited your post to add some HIDE tags for the long text; either use those or a site like Hastebin or Pastebin in the future please :) glad you got it figured out!
[prjkt.io] vetzki:
thx, yes it was a theme issue, disabling overlay for substratum app fixed the problem
[prjkt.io] nicholaschum:
Hmmm, interesting. What did you use to revoke storage permissions? Is it some app?

AFAIK, revoking storage should not let Sub's launch.
[prjkt.io] srancier:
I reset the battery optimization in advanced battery settings. It reset the permissions when I did that.
[prjkt.io] flyinjoe13:
I wanted to post this in case anyone has been struggling like I was with changing the thumb button color for the switch track under certain menus (like the wifi and bluetooth menus and a few others). It is not controlled by the the theme_accent color like most of the other switch tracks are. To change the color for the wifi, bluetooth, etc. menu switch buttons, you need to add the color names accent_device_default_light and accent_device_default_dark in your framework (android) colors.xml file.

Maybe most of you know this already, but I still thought it was worth posting for newbies like myself who might have been having trouble with those button colors.

I do have two new problems though. For some odd reason, two menu windows in my settings won't display right and I don't have a clue where to begin with this one because they are the only ones. As you can see in the pics, the app permission menu and ambient display menu are giving me a black background instead of the white background like every other Settings menu. Are these some kind of separate apps that I need to theme or are they a special background color settings I need to set?

Also, I lost my icon colors for the top three options in the sound menu. Anyone know what controls those three things?

Thanks as always for any help...
[prjkt.io] Naufal Beryl:
Does it works on cm13? i newcomer here

Sorry be4
[prjkt.io] BryanByteZ:
No CM13 uses its own theme engine.
[prjkt.io] Shubham Manna:
Please make some themes for free
[prjkt.io] Spannaa:
Why not learn how to do it for yourself instead of being lazy and expecting others to provide for you.

Life...
[prjkt.io] rickysidhu_:
There are free themes in the Play Store, and the ones that aren't free are just a couple of dollars. Based on the amount of work that gets put in, and what you get is well worth it. It's also nice to show some support and let the themers know their hard work isn't going underappreciated.

Or as suggested above, give it a shot yourself!
[prjkt.io] nathanchance:
The other two people who have replied to you have offered good advice but I want to add something.

Do you have any idea how long it actually takes to make a theme? I'm in a chat with several themers and I see the effort that they go through to try and perfect everything. For some of the better themes, I am sure it is easily into the hundreds of hours to make a theme across not only decompiling APKs and theming the layouts, styles, and colors but adding custom drawables and flashing various ROMs to fix reported issues. It is a LOT of effort. What you are saying is that that is all worthless. You're saying that the effort that is put into that is worth nothing at all; it should be free. Furthermore, not only do these themers put in a ton of effort into actually bringing the theme up initially, they put even more time into continuing to theme things that are messed up or change within app updates; it is not just a one and done deal yet you only pay once. It's not a subscription but you receive free updates and virtually unlimited support in addition to that one payment. The least they could do is charge for their work. Just keep this in mind when requesting that things be done for free for you.

Also not to mention we have a themers showcase built into the app and there are quite a few themes in there for free (ones without the red flag).
[prjkt.io] Reechings:
It's actually ridiculous how cheap the themes are for the work involved.
[prjkt.io] bdwilk:
Especially with the requests from some of the users. Haha. (just kidding, don't hit me)
[prjkt.io] acidspider:
Nice black/dark and red theme about?
[prjkt.io] nathanchance:
DNA Dark or Domination.
[prjkt.io] tcat007:
Spectrum Roman Empire or DNA Dark
[prjkt.io] chaitra26:
HTC One M8 Unlocked running android 6.0 marshmallow. this is a GPE ROM that i have flashed on to it, and is still using HTC Sense firmware, so its not officially GPE. when installed substratum and granted root permissions and stuff, my phone suddenly rebooted. thankfully it wasnt a bootloop . anyway, i tried again, and the same thing happened. does this mean that substratum just wont work on my phone or am i doing something wrong?

thanks in advance for your help
[prjkt.io] mihran_thalhath:
If you are using M8 and still want to use Substratum then you have to flash a Nougat rom with OMS support.
[prjkt.io] flyinjoe13:
Does anyone have a working styles.xml file for the YouTube app?

When I try to use the one I used on my CM13 themes, it causes the app to crash when entering the Settings. I know it's because of my Theme.YouTube.Settings style reference because if I remove it, the Settings opens fine. I just can't figure out why though because it worked on CM themes. Thanks....
[prjkt.io] Spannaa:
A logcat will tell you where the issue is - grab logcat extreme from the playstore, use the per-app logcat set for YouTube, open YouTube, crash it by opening settings and then read the output.

It'll probably be an AppCompat theme issue.

If you compare your styles.xml files with those from a known working subs theme, you'll work out what you need to edit ?
[prjkt.io] kos25k:
There is also a new and completely easy module for crashes called scoop..try it.
[prjkt.io] flyinjoe13:
Thanks guys. I will look into those two things for help in solving my problems.

---------- Post added at 09:01 PM ---------- Previous post was at 08:34 PM ----------

You were right. It says I need to use a Theme.Appcompat theme. Now I gotta teach myself how to do that exactly. Guess i'm going to learn something new, which I don't mind. Thanks again for the help.
[prjkt.io] chanakya.xpera:
stuck at boot animation after applying a them. Running oxygen os 4.0.2 one onepluse3. anyway i can solve this problem ?
[prjkt.io] nicholaschum:
Flash the SubstratumRescue_Legacy.zip found in /sdcard/substratum/ in TWRP.
[prjkt.io] xxtrz:
I bet it takes over 9000 times more effort than it took us coders making open source operating systems and software, ROMs etc etc happen free of charge. That is why even asking for a free theme is an insult.
[prjkt.io] nathanchance:
Are you being sarcastic or something? I don't know if I am missing something or not, what's your point?
[prjkt.io] Ja_som:
Delete data for Substratum app
[prjkt.io] ulxerker:
wonderful theming app, just tried it and installed my first theme ... everything worked immediately - thanks a lot!
[prjkt.io] ulxerker:
touch in theme in the app, then open 3-dot menu in the upper right and selectdelete theme cache. then try again.
[prjkt.io] nicholaschum:
Update Substratum while you're at it
[prjkt.io] nicholaschum:
Go into Settings -> Apps -> Substratum -> Clear Data
[prjkt.io] nicholaschum:
It has come to my attention that the rescue zips were externally requested if the device fails to convert them.

I have uploaded them to my AFH just in case:

https://www.androidfilehost.com/?w=files&flid=146699
[prjkt.io] android_smater:
Can some explainme hoq to add substratum supported in rom currently i am porting rom but don't know how to add support of it
[prjkt.io] ulxerker:
you could simply install substratum theme engine app to load and apply substratum themes.
[prjkt.io] nicholaschum:
Check out [MENTION=6842057]The Flash[/MENTION]'s post https://xdaforums.com/showpost.php?p=67854202&postcount=4
[prjkt.io] pehoko:
How to remove theme as seems it is not working and reboot my phone?

substratumrescue not working.
[prjkt.io] damngood98:
that would be the rescue zips that were just talked about a few posts above yours ;)

you can go to your substrantum folder on your phones internal memory and there is a zip file you can flash, or they were posted maybe 4 posts or so above yours if you need to download them
[prjkt.io] pehoko:
solved: _legacy.zip was the key.
[prjkt.io] zjjpp:
Theme selection a horrific yellow color, any way to fix?

Yellow theme selection. it's really hard to read anything. It doesn't affect the functionality, just the looks. And God does it look terrible.
[prjkt.io] Ann.Vogelfang:
Uninstall lucky patcher and reflash you rom. Or enjoy the yellowness lol
[prjkt.io] shaggyskunk:
Yeah stealing from Devs is just Wrong!

Buy the Support version or have the decency to at least get the free version.

Sent From My SM-N930W8 ??
[prjkt.io] vetzki:
did you allow storage access? (maybe check again in app details)
[prjkt.io] Lord_Flaya:
Yeah, that was it. :silly:

*gives self a faceslap*

Thanks
[prjkt.io] nicholaschum:
ATTENTION ALL DEVELOPERS AND USERS

There has been some backlash between Slim not merging masquerade because it allowed any application to call upon Masquerade (as long as you have the correct parameters, which since we are open source, anyone can find out).

To remedy this, I have ported [MENTION=470268]bigrushdog[/MENTION]'s code for our masquerade rebase to the current generation of masquerade with root. This way, the calling package is checked to be Substratum's package name and thus will only validate the commands if verified.

http://review.projektsubstratum.com/#/c/283/

It is CRUCIAL to update both Substratum AND masquerade. The new version of masquerade with added security patches is now called "twenty - procyon". If your ROM developer is not listed in the list of tags, please kindly urge them about this.
[prjkt.io] nicholaschum:
Substratum Release 560 - Security Patch Update

This is an urgent security release for users. Please update to the latest source of Android + OMS7 with the latest masquerade 20P.

In other news, this also fixes a problem with the SubstratumRescue archives not being copied over, profiles improvements THANKS AGAIN TO +Ivan Iskandar as well as some UI updates thanks to +Jack Boswell

Changelog:

Urgent security patch release 560

Remove the broken Italian translations till it is complete

Profile: Give user choice for what to backup

SubstratumTrustZone: Form a trusted handshake between Masquerade

BlurDialog: Force remove actionbar/toolbar overlay

SubstratumRescueSystem: Properly check at start up each time

Fragments: Add nullchecks for getView() for every fragment with snackbar

References: Make notification_id_upgrade more unique

operation <3 legacy

References: Add a clear all notifications for substratum method

ThemeEntryAdapter: Properly check if a notification exists or not

Refactor and optimize after cherry pick galore

ScheduledProfileService: Fix notification not showing

ContextualProfile: Add back the tiny bits of profile

ContextualProfile: Directly apply profile after setting up

Merged branch dev into dev

Revert "MainActivity: Clear the /.substratum/ folder when starting the app"

Merge pull request #41 from boswelja/dev

Rework removing actionbar_content when no themes are installed

Expose a new dimen for themers to add elevation to N cards * Also reverts 2dp default elevation

Properly restore theme count text

Add shadow to n-style cards too

Hide action bar theme count if there are no themes
[prjkt.io] ZawZaw:
Great work and Nice changelog update :

Keep it up Team Substratum.

I'm a fan of Substratum ThemeEngine and

I'm a learn making theme and beginner Themer.

Thanks Team Substratum.

Respecting... Sir [MENTION=3605033]nicholaschum[/MENTION]
[prjkt.io] direktive4:
Please make whatever you do or make for a living or hobby, free for the rest of us to pilfer
[prjkt.io] Hari Haran:
Anyone tried this on latest Resurruction Remix on Moto G4 Plus? Aka athene?
[prjkt.io] damngood98:
gosh, i'm a bartender....things would escalate quickly
[prjkt.io] organick87:
changing color options issue - doesn't work for me

I've got to be doing something silly wrong here. I can apply any theme just great from a blank slate (meaning no layers installed at all) but whenever i try to utilize other color options for say SystemUI (in Mono/Art for example) they don't switch whether i try "build and enable" or "build and update" or one of these then rebooting - nothing works. the only way i seem to have success is to uninstall all layers, clean the theme cache then install it from a blank slate again with the color combos i wanted to change to.

What am i missing here?
[prjkt.io] shaggyskunk:
By any chance do you have the Toggle set to remove other Themes when you use the "paint roller"?

View attachment 4015530

Sent From My SM-N930W8 ??
[prjkt.io] MarcoDroidWorld:
Not work for me
[prjkt.io] organick87:
No, it's off, just like it is in your attachment. I've had this problem since the beginning and I never really pressed the issue until themes came out with accent colors and stuff that I want to be able to switch quickly between to see which I like, which is the whole point of OMS/Substratum, right?

If you have themes installed that have these options to change colors of things, can you run down how you personally switch between them correctly?
[prjkt.io] bdwilk:
Personally I haven't found a "quick" way. I always have to disable all the overlays for that theme. I can leave the ones from other themes enabled but then build and enable the theme in question. I found this is due to the accent colors being connected to all the apps so to change the accent you have to build them all again with the new color. If I'm understanding you correctly.
[prjkt.io] _WiNNa_:
Might be, because updater-script wants to use busybox for mounting. If it's not installed mounting will not succeed... Don't know why one isn't using the out-of -the-box 'mount' command instead?

Or perhaps the wrong Update-binary is used?

I think this zip-file isn't compatible with every phone out there..

But you can do manually, what the zip-file is meant to do for you.

It mounts /system and /vendor (do this first in TWRP) and then deletes the whole 'overlay' directory in '/vendor' and '/system/vendor'. You can do that with TWRP file manager.

Good luck!