yashsingh1/xdaforums huggingface dataset:
[prjkt.io] Primokorn:
I have weird behaviours with the Substratum app:

1. From withing a theme (called "X"), selecting Uninstall // Disable installed overlays // Clean theme cache // Clean installed overlays does NOTHING once the theme is installed.

I also uninstalled this theme from System settings > Apps and rebooted but the theme was still applied.

2. Compiling a new theme (Build and Enable) took more than 20 min and it ate up 15% of battery. The new theme was properly applied though.

I tried cleaning app data of Substratum but it didn't help.

Then I tried to compile/apply another theme but I stopped the compilation since the same problem occured.

I'm using this custom ROM (latest version) but nobody else seems to have this problem...

What can I do now?

PS: the screenshot attached was taken with LoNe theme. I'm sure that I selected the dark notifications variant and that's the light ui with dark notifications that has been installed. :confused:

EDIT: actually it seems that my device is very slow. It doesn't explain the first point with the Substratum app but it explains the slow compilation. I'll check again after a clean flash.
[prjkt.io] liver20:
I deleted themer interface file, anybody can upload?

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[prjkt.io] h_maharaj:
Theme Interfacer should be included in your rom. Dirty flashing your rom should restore it.
[prjkt.io] liver20:
I know, but anybody can upload? For no install again

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[prjkt.io] crixley:
This may be the most frustrating app I've ever used. When it works it's great. Too bad it's about 80/20 not working vs working
[prjkt.io] h_maharaj:
Here.
[prjkt.io] nathanchance:
Looks like you don't have any of the OMS patches in frameworks/base or settings.
[prjkt.io] FSadino:
I don't update it since 7 jan... that's the reason :)

Thanks :good:
[prjkt.io] cartooner:
Hi everyone!

I tried to install Android O theme on substratum, it says that compilation is complete, but no new overlays appear.

Any help?

Doogee X5 Max Pro, 7.1.1, RR 5.8.2.
[prjkt.io] flyinjoe13:
Been out of the loop for awhile and was wondering if something changed in the app that makes doing type2 overlays different then before?

Since I updated to the latest Substratum release, my type2 overlays don't work anymore. It lists them in the theme list, but it used to tell me if they were installed and now it doesn't say that nor does it install them when I choose the type2 variant and choose build and enable.

Help please....
[prjkt.io] spaziomilano:
Hi, just make the last update on my OnePlus 3T the OOS 4.1.1. I tried to install my theme (Swift black) but don't work. He compiled the theme very fine and make the the reboot for applied the theme but when the reboot was done nothing was themed?? On the last oos4.1.0 all worked very good.

Someone have a idea? Will try make time but always same and.
[prjkt.io] tingordz1:
newbie

hi will this work on my stock rooted galaxy s6 920f on 7.0 nougat? thank you
[prjkt.io] edoardotavecchio:
Could you tell me what's Android O theme name? Is it available in play store?
[prjkt.io] cartooner:
https://play.google.com/store/apps/details?id=com.njoy.android_o
[prjkt.io] neeraj121y:
Damm! Substratum asking for root.
[prjkt.io] nathanchance:
There are still several configurations that require root. Legacy and boot animations on encrypted devices are two big ones.
[prjkt.io] marmeak7:
I am facing same issue. Substratum theme specifically built for OnePlus 3 also doesnt work for me. The overlay gets compiled successfully and the device reboots and once i go to check the installed overlays it shows empty. Plus, every time i try to access substratum app settings, the app force closes itself.

Currently on Open Beta 13 on OnePlus 3
[prjkt.io] KpChuck:
How do I reference this properly when theming:

<item type="dimen" name="status_bar_icon_size">@android:dimen/status_bar_icon_size</item>

I get this error when I try to install without referencing:

» [com.android.systemui]: Failed to generate resource table for split ''

» [com.android.systemui]: /data/user/0/projekt.substratum/cache/SubstratumBuilder/res/values/dimens.xml:19: error: Error: Resource is not public. (at 'status_bar_icon_size' with value '@android:dimen/status_bar_icon_size').

» [com.android.systemui]: Installation of "com.android.systemui" has failed.

Thanks in advance
[prjkt.io] Spannaa:
Try @*android:dimen/status_bar_icon_size
[prjkt.io] KpChuck:
Thanks.

Also, is it possible to change any xmls in the layouts folder? If I change anything in status_bar.xml the theme installs correctly boot after I reboot I get a black screen.
[prjkt.io] Spannaa:
It's possible but you have to be really careful with resource referencing:

For example

android:textSize="@dimen/battery_level_text_size"

would need to be changed to

android:textSize="@*com.android.systemui:dimen/battery_level_text_size"

android:id="@id/status_bar_contents"

becomes

android:id="@*com.android.systemui:id/status_bar_contents"

etc.

Also, be aware that the xml may be different for different devices/roms
[prjkt.io] KpChuck:
So i leave out the "id" part but put in the other things like style, string, color etc?

And do I do this for drawables as well?
[prjkt.io] Spannaa:
See my edited post (apologies for the bad copy/paste/edit).

To self reference resources in SystemUI

Replace the @

with

@*com.android.systemui:

This includes drawables.

Substratum should throw up any errors when you install the overlay (not sure if this is true if it's installed in root/legacy mode).
[prjkt.io] KpChuck:
Well it booted up properly now so I must be doing something right.:good:

However, my data icons have turned invisible and the things that I wanted to chang (the clock) didn't do anything.

Just wondering what's going wrong

Edit: Do I have to change all the @s or just the ones that I'm changing?
[prjkt.io] matique:
I can't seem to restore my theme back to stock or disable current theme. Pressed the recovery option for themes and nothing happens. Am I doing anything wrong?

Also, if I select "disable other themes" option, subs will get stuck on android overlay. I'm assuming that's a bug too?
[prjkt.io] Spannaa:
All of them.

As you're rebooting to apply the theme, I guess you're using a legacy rather than a full OMS rom. That makes it harder to theme as you don't get to see the error log when you install the overlay.
[prjkt.io] KpChuck:
I put the modified status_bar.xml into res/layouts folder and it worked. But no changes i make in type3 folder have any effect. Do you know why that is?

Edit: Nevermind I figured it out
[prjkt.io] Humanreflect:
Im not getting the enable option. Can anyone help. Me?
[prjkt.io] nathanchance:
Substratum is in legacy mode.
[prjkt.io] Zagash27:
Hey! Can anyone tell me when will this app have a rootless version?
[prjkt.io] Pkt_Lnt:
The thread title has a hint for you! :)

[projekt.] substratum theme engine {rro // oms} [rootless:600] (07/03/2017)
[prjkt.io] JaylanPHNX:
It's already rootless, but you need a ROM with full support.
[prjkt.io] Zagash27:
Thanks for clarifying that, I thought the title was refering to the plans for the app. I saw the news about substratum planning on having rootless options some months ago, but as the Play Store title for the app still says it requires root, I thought it wasn't released yet.
[prjkt.io] Pkt_Lnt:
March 17, 2017

https://xdaforums.com/showpost.php?p=71319326&postcount=1703
[prjkt.io] KpChuck:
Can i use type3 theming without theming android system?

Theming android system is buggy so I'm trying to avoid doing it
[prjkt.io] uNdea:
After removing apk files from System/Vendor/Overlay, device stuck on infinite boot

I'm using Substratum Legacy, OP3T running FreedomOS 2.7

Found this problem and possible fix reported on Github too:

https://github.com/substratum/substratum/issues/91

Is there any way to remove/repair/replace original Framework to boot up? Sadly I can't restore backup..
[prjkt.io] edoardotavecchio:
Have you tried to delete the resource-cache folder under /data? I had this problem too and I used to flash rescue zip+removing resourche-cache folder. In this way, I got out from the bootloop.
[prjkt.io] uNdea:
Thanks mate that worked.. You saved me lot of time :D

Had no idea about resource-cache. Seems substratum stores part of themes there too
[prjkt.io] KpChuck:
Is there any way to reference a value that I created through substratum.

For example if I make a color

<color name="kpchuck">#ff000000</color>

How can I go

<color name="secondcolor">@color/kpchuck</color>

Like I normally would with the theme still working?

Thanks in advance
[prjkt.io] Spannaa:
You can't create new resources, you have to work with what's already available. There are plenty of spare resources in framework that can be used though (holo & legacy colours etc.)

To use a new colour in your overlays, you could change an unused colour in framework:

<color name="holo_blue_bright">#ffff0000</color>

and reference from your overlays using

@*android/color:holo_blue_bright

If you decompile an existing, free theme and look through it, you'll see how everything works.
[prjkt.io] nathanchance:
New thread! :)

[Q&A] Have some questions about theming? Ask here!
[prjkt.io] Pkt_Lnt:
Thanks!! Thanks!! Thanks!! Thanks!!

I can't push the actual button as many times as I appreciate this!
[prjkt.io] Elanza_48:
Substratum settings FC issue still persist. After March 25th update.
[prjkt.io] VkpUnique:
I am on resurrection remix 5.8.2 oms supported , my substratum on oneplus3 not asking for root permission?
[prjkt.io] MSF Jarvis:
{rootless:600}

Substratum went rootless for supported ROMs.

#Logcatplz :)
[prjkt.io] vetzki:
why does root branch (n-mr1-om7) dont get all commit updates?

Also that interfacer/masquerade/whatever thingy root branch isnt up-to-date?
[prjkt.io] xk0niR:
I got a rather strange "problem":

A theme I use has only an overlay/recognize the non pay version of the app (ADM). If I use the paid app there is no theme option for it because of the package name I think.

Is there some way to trick Substratum to apply the overlay for the paid app version?
[prjkt.io] nathanchance:
Because we've shifted branches to n-mr1-rootless for platform repos and n-rootless for interfacer. Everything is definitely up to date ;)
[prjkt.io] vetzki:
substratum app says update interfacer.

interfacer thingy is up-to-date

git pull github n
Von https://github.com/substratum/interfacer
* branch n -> FETCH_HEAD
Bereits aktuell.

e.g. packages/apps/settings

git log --oneline res/layout/permission_settings.xml
588a0881c1 Follow-up on comments from splitting app info
cd91128a2d Split app info into several screens

missing this commit: (as example)

https://github.com/SubstratumResour...mmit/7c9d5819361469217f69c6eccb1423937e2788e3

(not in n-mr1-oms branch)

e.g. fb:

git log --oneline packages/SystemUI/res/values/projekt_styles.xml
df29d6d2794 SystemUI: Expose switch bar title
mv@mv-pc:~/Datengrab/android/Projekt/AOSP-N/frameworks/base$

mssing: https://github.com/SubstratumResour...mmit/8b68000bf5c0374b4149145a466a51c860b45432

(not in n-mr1-oms branch https://github.com/SubstratumResour...ckages/SystemUI/res/values/projekt_styles.xml)
[prjkt.io] abel.jacob:
Had the same issue, ran into a bootloop. Rescue zips didn't help. Reflashing rom did not work. Formatting /system, reflashing rom and wiping cache/dalvik didnt work either. Finally deleting /data/resource-cache folder seemed to do the trick. So i don't think removing all the files from /data/data related to substratum or swiftdark would have worked.

Thanks for the help! :)
[prjkt.io] BonnyBedlamBoy:
substratum settings fc issue resolved with recent update. OP3T, open beta 4.
[prjkt.io] fridrik:
I'm using Substratum in LineageOS. How to uninstall the system overlay without bricking the phone?

Whenever I try to uninstall the overlay, the phone brick and the rescue.zip does not help =/

Sorry for my english.
[prjkt.io] MSF Jarvis:
If you even read what [MENTION=6842057]The Flash[/MENTION] said, you'd see that the repositories have switched over to different branches. interfacer is now updated at the n-rootless branch and all platform repositories are updated on the n-mr1-oms7 branch

platform_frameworks_base

platform_packages_apps_Settings

and so on.

---------- Post added at 07:20 PM ---------- Previous post was at 07:17 PM ----------

I'll assume by "brick" you mean a bootloop. To fix it, remove ALL overlays from /system/vendor/overlays/ or /vendor/overlays/, whichever exists on your device. Preferable method would be to do it from within recovery. We strongly suggest users refrain from trying to run substratum on LineageOS because of these bootloop issues.
[prjkt.io] vetzki:
If you even read what I wrote you would see that in n-mr1-oms branch as for example this commit is missing

n-mr1-oms:

https://github.com/SubstratumResour...ckages/SystemUI/res/values/projekt_styles.xml

n-mr1-rootless:

https://github.com/SubstratumResour...ckages/SystemUI/res/values/projekt_styles.xml
[prjkt.io] nathanchance:
Yes, because we have changed branches..... What are you not understanding since we have said it twice now? n-mr1-oms7 is no longer receiving any new commits, they are on n-mr1-rootless.
[prjkt.io] vetzki:
[MENTION=6552280]MSF Jarvis[/MENTION] replied this:

platform repositories are updated on the n-mr1-oms7 branch

this confused me:

... Everything is definitely up to date...

maybe faq could state that root branch is deprecated

...and maybe because for some people, believe or not, english isnt the native language...
[prjkt.io] nathanchance:
In the official documentation, everything points to the rootless branch. Also not to mention when you go to the Github repos, the rootless branch is set by default. Sorry [MENTION=6552280]MSF Jarvis[/MENTION] confused you but I maintain all of the git repos so I know my branches :p do I need to point out that the rootless branch is where all the commits are anywhere else (aside from the FAQ)?
[prjkt.io] vetzki:
first, I really thought to give a proper answer :p :silly:

but would this thread be worth further reading ?

I dont think so

but nonetheless, thanks for eveything
[prjkt.io] barrtzz:
Hey, is there any way to get work substratum on 6.0.1 rom with cm theme engine?
[prjkt.io] Spannaa:
No.
[prjkt.io] chopoLet:
Hi, why is my substratum app turned yellow all over when I select a theme like N navbar.? And rootless method says 'uncertified'
[prjkt.io] Skull97:
Because you are pirate.
[prjkt.io] chopoLet:
Pirate? I just downloaded the substratum N navbar app and substratum on playstore. N navbar is free wth
[prjkt.io] Skull97:
No, it's actually because of other warez. LP
[prjkt.io] kunal1540:
I think that's because you are using LUCKY PATCHER which is a banned app on xda as it is used for patching free apps to become paid and leeching from the developers who have spent lot of hours on developing that particular app
[prjkt.io] chopoLet:
DNA dark theme is fake now? Or maybe I have back up the substratum app tru titaniumbu and it makes the substratum app fake?

---------- Post added at 06:44 AM ---------- Previous post was at 06:42 AM ----------

Oic, ill uninstall lucky patcher now, but I havent used lucky patcher on any of my apps I only used it once on one app something like retro game and nothing else, Uninstalling lucky patcher now,
[prjkt.io] Skull97:
Install LP has already made you a pirate, even if you don't use it.... That's all...
[prjkt.io] chopoLet:
Substratum is not yellow, uninstalling lucky patcher solves my problem. And I also uninstalled the substratum app and redownload it tru playstore and it works perfectly now. Ty
[prjkt.io] h2okopf70:
Hello, I hope one can help me. I can not create a backup from my profiles. Substrateum crashes when attempting to create a profile. Although a folder "Profiles" is created, it is empty. I have a Honor 5x with CosmicOs. Thank you
[prjkt.io] chopoLet:
good
[prjkt.io] leszq:
Ok, I tried really hard but didn't succeed.

LG L90 D405n, RR ROM (Android 7.11) with OMS support.

My phone has only 8GB of internal memory, so I'm using 64GB SD Card formatted as Adoptable Storage (most of my apps are installed on SD). Substratum succesfully compiles all overlays, but enables only those for internal storage apps. Overlays for adoptable storage apps have orange names and cannot be enabled (screenshot 1), after rebooting phone or restarting Substratum they are completly disappearing (automatically uninstalling?) from Substratum (their name becomes gray, screenshot 2).

Any ideas how to 'force' Substratum to work with adoptable SD?
[prjkt.io] Pkt_Lnt:
Got one simple question that I have searched and cannot find, my google fu is failing. :rolleyes:

I'm mixing two themes, GRVY and Swift Black, GRVY for most items, Swift Black for the black apps I want.

I have it almost perfect, except I want black background notification and they are white. Is it Android System or System UI or something else? I've tried on of the other of those choice and still white.

As daveyannihilation says #WhiteUIMustDie
[prjkt.io] kos25k:
why I cant make this work with Sony Xperia Z3 tablet 5.1.1 LP dudes?
[prjkt.io] fake2die:
U need Android 6 MM..

Or get ROM with OMS support..
[prjkt.io] aringler:
hi

I'm having some troubles using substratum with DU and I am not sure if it's ROM related or not because I didn't have the time to test it on a different ROM.

First of all substratum doesn't ask for root, even after I deinstalled and reinstalled it. Checking Supersu, no entry for substratum or anything else in context with substratum.

Second then while compiling it stops at random apps to compile. Some apps are compiled, while other aren't. After the compiling process is finished, it also doesn't reboot automatically.

I guess it's all caused by substratum doesn't have root. I checked the settings, but I didn't find any option to grant root for it manually.

Nexus5x

DU_bullhead_7.1.2_20170407-0640.v11.3-OFFICIAL

Mini_Dynamic_GApps-7.1.x-20170404.zip

Elementalx 4.07

Substratum six hundred thirty two 632

Coalfield Theme

SuperSu v. 2.79
[prjkt.io] Pkt_Lnt:
Substratum is now rootless if your ROM is up to date with the OMS commits and Interfacer. That is why it does not ask for root. :cool:

https://xdaforums.com/showpost.php?p=71319326&postcount=1697
[prjkt.io] Badger50:
It's definitely either android system or system ui your going to need to install. More than likely android system is the main culprit.
[prjkt.io] AndreCalado:
Does Substratum work with stock MM 6.0, rootless?

Or do I need to root the device?
[prjkt.io] nathanchance:
You will need to root
[prjkt.io] AndreCalado:
So, as long as it is rooted, Substratum would work at its best even on stock?

Sorry, I'm new to Substratum...
[prjkt.io] nathanchance:
No, Substratum will work best on a custom ROM. Stock (or what is referred to as legacy/RRO) is very limited in what can be themed well.
[prjkt.io] aringler:
Hi

I made a logcat here to hopefully fix the problem.

It's just an attachment, cause while creating a text file, matlog crashed. Hope this helps as well.

https://drive.google.com/file/d/0B0ece3uNGaRLSlNTRDI1MEYyc1U/view?usp=drivesdk

Nexus5x

DU_bullhead_7.1.2_20170407-0640.v11.3-OFFICIAL

Mini_Dynamic_GApps-7.1.x-20170404.zip

Elementalx 4.07

Substratum six hundred thirty two 632

Coalfield Theme

SuperSu v. 2.79
[prjkt.io] rahul1892:
Substratum has gone rootless and it's been a while. So if Substratum doesn't ask for root, it's perfectly normal as pointed out by [MENTION=4403217]Pkt_Lnt[/MENTION]
[prjkt.io] aringler:
it's not working properly... still...
[prjkt.io] rahul1892:
What's the problem you are facing, you haven't mentioned the problem. Only when you oost the problem, people here can try to help you.:)

Edit: Don't mind. I saw your previous post.
[prjkt.io] nathanchance:
I didn't make a formal announcement in here but as some may have noticed, this thread has now become a full Q&A type thread. The announcements for new releases and important info will be made in this thread. Please subscribe if you haven't already so you are always in the loop about what is going on!

I just finished rebasing all of our repos to 7.1.2 so everything should pick cleanly. Once Lineage updates to 7.1.2, I will do the same for the LineageOMS organization.
[prjkt.io] aringler:
I have problems while substratum is compiling.

It doesn't automatically reboot after it finished compiling and activating. The results is that it's not fully rethemed, and the theme template of the old colour selection still perisits for example in the quick settings. But for example substratum as the app is refreshed and in its new colours. Also system ui, including the notification ui doesn't change the colour at all.
[prjkt.io] rahul1892:
I don't understand what you meant by rebooting. Substratum as well as the rom itself isn't supposed to reboot so I think there isn't any problem there. If some of your themes aren't applied, try to toggle the option "Disable other themes" when you're applying a theme. If that doesn't work, you can go to overlay list and delete those apks which you don't need anymore.
[prjkt.io] AndreCalado:
Thanks for the help, man
[prjkt.io] DEVILOPS 007:
Hi, I've got a problem I never had until today with substratum. I can apply everything like overlays, themes, fonts etc but boot animations won't work. They say they applied but when I reboot it isn't. Please help if you know why this is happening. It didn't happen yesterday and all permissions are granted and it happens with every theme I have tried. Thanks:)
[prjkt.io] DTTT:
Hi, what is please compile this overlay before applying?
[prjkt.io] aringler:
see the attachments and there you see what I mean.

Before installing the new overlay, I deinstalled all the system ui in the overlay list.

It never fish compiling...

And as you may have already noticed I'm unfortunately not up to date about the new changes of substratum, but in the past after substratum finished compiling and activating, it rebooted, or at least it soft rebooted, u know killing the system ui and restarting it to load it with the newly applied theme.

And I have the option disable other themes always tuned on...

just don't know how to get forward...

and this happens if the compiling process gets surprisingly to its end.

I themed here the system ui. Usually the QS tiles are there including and should have a different colour then...

Thanks already a lot for your help! :good:

edit.:

now I got the following error:

» [android]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/android.Coalfield-signed.apk (No such file or directory)

» [android]: Installation of "android" has failed.

» [com.android.systemui.navbars]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.navbars.Coalfield-signed.apk (No such file or directory)

» [com.android.systemui.navbars]: Installation of "com.android.systemui.navbars" has failed.

» [com.android.systemui.tiles]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.tiles.Coalfield-signed.apk (No such file or directory)

» [com.android.systemui.tiles]: Installation of "com.android.systemui.tiles" has failed.

» [com.android.systemui]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.Coalfield-signed.apk (No such file or directory)

» [com.android.systemui]: Installation of "com.android.systemui" has failed.
[prjkt.io] aringler:
turn on disable all themes

and with compiling it does mean that you should click on compile and activate (direct under the button "disable all themes") , and not just on activate at the bottom of the menu.
[prjkt.io] BayzelPL:
Hey, I'm facing really weird problem on my device. Every time when I apply overlays, 400 MB of my RAM usage is killed and only reboot fix this problem. It's very problematic, cause when scheduled profiles apply, two times a day, my device almost froozing.
[prjkt.io] KpChuck:
So I've made a backup of my substratum profile. But it doesn't show up in the recovery card?