yashsingh1/xdaforums huggingface dataset:
[prjkt.io] Aditya1297:
Facing an issue when certain apps just fail to compile with the prompt "one or more overlays cannot be applied due to mismatch in this configuration". These are mostly the apps at the end of the overlay list. If I build them first, then I lose a set of apps just above them and so on. I've faced this issue on Stock Oxygen OS, Havoc OS and AOSiP. It's really annoying as I am unable to pin point a single app or a group of apps which cause this. Even the substratum overlay fails. The notification says there were no errors, and when I reboot, some apps just don't show up in the overlay manager. I'm using PitchBlack Origins theme.
[prjkt.io] djdarkknight96:
That error means you are building overlays without resources. The theme supports multiple OS but not those packages. Contact theme dev for correct process of building his overlays.
[prjkt.io] patrol-cz:
Hi!

After the recent engine update (now on 1020) it doesn't work on my rooted Sony XZ Premium with stock Oreo ROM. Every time I try to compile even a single overlay, it restarts with message "Your system reloaded substratum's resources. The app will restart in 3 seconds". The notification and spinning arrows then remain active forever and the app needs to be FC'ed, but after restart the situation repeats. The only thing which can be done without error is to deactivate an overlay. I even reinstalled the app but still no luck.

With regards, Pavel
[prjkt.io] nocturnoz:
When I install the Substratum Pitch Black Origins Theme and compile it. Then, after a reboot, my lockscreen crashes when I unlock it with my pin.

Reboot -> Lockscreen -> Typing in my PIN -> Send -> screen turns black -> PIN Pad is shown again.

It's a never ending circle. I cant create a logfile for this scenario, bc I'm locked out of my system :(

Even the substratum rescue flash files arent working. I have to restore my Backup.

Any idea how to fix this?
[prjkt.io] djdarkknight96:
Send a log to theme dev and update subs if you haven't yet. The rescue zips changed. The theme caused this issue. You sure this theme is for your device? Ask theme dev.

---------- Post added at 08:31 PM ---------- Previous post was at 08:29 PM ----------

Root issues, check root. Uninstall subs reboot then reinstall, reboot after module install to magisk then build overlays then reboot then enable them.
[prjkt.io] nocturnoz:
I dont have access to my Apps (MatLog), because I am locked out.

When I try to Unlock my device the System UI crashes.

The ROM devolpers promotes pitch black origins for my ROM. Substratum is up to date.

Ist there a way to start logging + saving it at system startup?
[prjkt.io] djdarkknight96:
Adb logcat.txt using pc, it's a theme issue they updated to April update and it changed systemui. Theme needs to update as well I'm thinking. If you ask theme dev he should shed light on it. Or let you know when it will be fixed.
[prjkt.io] jcmm11:
https://www.didgeridoohan.com/magisk/MagiskHideHelp

See the section on 'logcat boot script' about halfway down the page. The sample there is set for 30 seconds, you can increase that if you want
[prjkt.io] patrol-cz:
I'm sorry but I don't believe :).

At the first step, I found the following crash during attempt to compile an overlay:

04-29 13:20:51.670 17059 17059 E AndroidRuntime: FATAL EXCEPTION: main

04-29 13:20:51.670 17059 17059 E AndroidRuntime: Process: projekt.substratum, PID: 17059

04-29 13:20:51.670 17059 17059 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class android.view.View.getClass()' on a null object reference

04-29 13:20:51.670 17059 17059 E AndroidRuntime: at com.android.internal.app.WindowDecorActionBar.getDecorToolbar(WindowDecorActionBar.java:243)

04-29 13:20:51.670 17059 17059 E AndroidRuntime: at com.android.internal.app.WindowDecorActionBar.init(WindowDecorActionBar.java:195)

04-29 13:20:51.670 17059 17059 E AndroidRuntime: at com.android.internal.app.WindowDecorActionBar.<init>(WindowDecorActionBar.java:177)

04-29 13:20:51.670 17059 17059 E AndroidRuntime: at android.app.Dialog.show(Dialog.java:317)

04-29 13:20:51.670 17059 17059 E AndroidRuntime: at projekt.substratum.tabs.OverlaysManager$CompileTask.onPreExecute(OverlaysManager.java:367)

... lots of backtrace items not copied here.

This crash has nothing to do with root.

At the second step, I uninstalled 1020 and reinstalled 1015 back (downloaded from apkmirror). And since then, voilla, I can compile overlays without any problems as before.

The subs is simply crashing and Andromeda then reports misleading text about "system reloading resources".

So, please, look at it, there must be some real problem in the apk. Again: Sony Xperia Z Premium, stock ROM but UB and rooted with Magisk 18.1, no special module installed for subs (I believe it's necessary only for Samsungs, right ?) At least 1015 likes this environment very much so I believe it's correct.

WIth regards,

Pavel
[prjkt.io] djdarkknight96:
No you need module with magisk root and uninstall Andromeda. It's not needed on pie or with root.
[prjkt.io] JonasVFC:
Last version of substratum v1020 now crashes when opening on rooted moto z play and android 8.0. what logs can i provide to debug this?
[prjkt.io] mistermojorizin:
2 questions:

1. Is substratum v1020 considered a stable release? Got pushed to me on google play a few days ago. I am not enrolled in beta as far as I know there is no option for it in play.

2. Does v1020 *require* magisk v19? In the changelog it says "support magisk v19," but I'd just like clarification if it requires it.

Thanks in advance!
[prjkt.io] djdarkknight96:
Yes and yes use 19
[prjkt.io] empat:
Hello! I'm a long time substratum user, congratulations for this fantastic app! I am writing to ask for some advice:

I'm trying to install the app and a theme after a rom update. I have a Samsung Galaxy note 9, with android pie as operational system. Before the update, I was already on android pie but everything was OK. After rom update, whenever I try to install the mod to any app I receive the following information:

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

» [org.adaway]: Installation of "org.adaway" has failed.

I'm trying to install swift black theme, but it also occurs with other ones. Any ideas? Thanks!
[prjkt.io] djdarkknight96:
Select android version at the top of theme overlay list? Looks like it reset to default.
[prjkt.io] empat:
Stupid me... thanks a lot!!
[prjkt.io] Robonerd2437:
Your device isn't compatible with this version

I am trying to download substratum app from the play store and it says "Your device isn't compatible with this version". I could use the third party download, but preferring the play store first, so if there is a solution please share. Thank you.

Device - Oneplus 2

ROM - DOTOS v1.2 (official)

Android - 7.1.2

Kernal - Franco kernal
[prjkt.io] djdarkknight96:
Get from apk mirror the previous one, they removed nougat support in New update.
[prjkt.io] patrickneil:
Samsung lost navigation bar and notch

Help, I messed up! I have a new Samsung Galaxy S10 on Android Pie. I know Pie isn't supported, but I installed Andromeda and they seemed to work. I couldn't really install or update themes without uninstalling and reinstalling Andromeda. I was trying to remove a theme, so I uninstalled Andromeda and while Andromeda was uninstalled, I saw a blank item in the Substratum manager, and wasn't sure what it was, so I uninstalled that too. There was a message I think about "RRO Mode" and asked me to restart the phone. I did and now I don't have a Navigation bar, and screen goes under the notch area as well. Help, what can I do! I uninstalled and reinstalled Substratum and Andromeda. I tried running "adb shell wm overscan reset" but that didn't help. Is there a rescue method without TWRP? Any ideas short of factory reset???
[prjkt.io] djdarkknight96:
Since we have no idea what you uninstalled, we can't really help much. Andromeda won't work on S10 but you can root and use substratum without andromeda. My best suggesting is to reinstall OS using Odin. Google search steps how.

Hope that helps

DJ
[prjkt.io] patrickneil:
Thanks for the reply DJ, I was using your blackout apps back my Kit Kat days. I wish I had screenshot the item in the Substratum manager, I think it was listed like <unknown>, but I think its something that sits there if you were to turn off Sungstatum mode after installing overlays with that on. This is my first Samsung, so I haven't had to be familiar with Sungstratum. I am moving towards reinstalling the OS, just had hoped to avoid spending my night doing that, the whole root access/Magisk process on this phone is still a bit janky, requiring some button pushing at specific times. But I wasn't sure, there is no "Substratum rescue" without TWRP, right?
[prjkt.io] jcmm11:
Do you have root access via adb? Delete /data/system/overlays.xml and that will unapply all the overlays. Assuming you're running 19+ of Magisk you can also delete /data/adb/modules/substratum/system/app/* to remove all the current compiled overlays.

One caveat - this is based on a non-Samsung, non-Andromeda setup so I don't know if things are different in your case.
[prjkt.io] bsam55:
Orange Message Balloon

This has likely been asked before somewhere in these 515 pages but a search does not turn it up.

Can someone please tell me the meaning of the little orange message balloon with a "1" that appears in some overlay listings?

I am using Samsung/Pie stuff if it makes a difference.

Thanks to whomever will answer this.
[prjkt.io] djdarkknight96:
Those are from the theme devs, like ATTENTION READ ME! And no one does lol
[prjkt.io] bsam55:
Thanks, I had been unable to get my fat finger to click this instead of checkbox directly above.
[prjkt.io] djdarkknight96:
:p
[prjkt.io] flachdasfuq:
blackscreen after booting into os with new theme

Hey there,

I installed a new theme and now I get a blackscreen after booting into my OS. Unfortunatly I can't provide you with a logcat since I can't access the app because of the blackscreen and the adb method gives me a read failure.

What I tried:

REMOVE OVERLAYS IN TWRP

Flash the rescue zips located inside the Substratum folder on internal storage. (Didn't do anything)

OR

Substratum OMS - reboot into TWRP and remove the xml from /data/system/overlay.xml (File wasn't inside the folder)

Legacy - Mount system in TWRP and remove the overlays from system/vendor/overlays (No overlays folder)

Legacy devices with vendor partitions (Nexus 9, 5x, 6p, Pixel C, Marlin, Sailfish) mount vendor then remove overlays from vendor/overlay manually. (Nothing there)

Are there any advices?

I am using a Huawei P8 Lite 2017 with AospExtended 6.1 Rom. (Android 9.0 with the Substratum v1020)
[prjkt.io] .wojtek:
I have a weird issue with substratum. Quite often (almost all the time) it compiles the theme (it says so) but when I try to apply it it says I have to first compile it. Latest substratum, theme: Croc, ressurection remix 7.0.2 (Pie).

After selecting all layers/apps and selecting at random options from the menu (compile/apply/desactivate/change state) it sometimes kicks in.

(there is another issue that I'm trying to face of black fonts on black background in the theme, which after recent RR-ROM upgrade started to happen and this issue makes it quite difficult)
[prjkt.io] djdarkknight96:
Need to reboot after building before you can enable.

Theme issues go to theme devs. Black text on black background would be a theme issue.

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

No log needed,, you simply used a theme either not updated or not for your device.

https://xdaforums.com/apps/substratum/resource-substratum-rescue-archives-t3652435/page1

For newest rescue zips
[prjkt.io] flachdasfuq:
Unfortunatly I already flashed the exact two files and it didn't help me, I tried it again, nothing changed.
[prjkt.io] flachdasfuq:
fixed by performing a full wipe and reinstalling the rom
[prjkt.io] Gesturegeek:
Note9 soft-bricked after uninstalling substratum mod

Hey guys,

so yesterday while modding my Note9 something failed and forced it into a bootloop,

it specifically happened while uninstalling a "remove status bar clock" mod in substratum (based on legit bought andromeda).

(remove status bar clock from this app: [Substratum] Samsung System Mods (https://play.google.com/store/apps/details?id=substratum.draco.systemmods))

However my phone now just bootloops and then forces either into recovery mode or another strange mode with fewer options (try again/ erase app data/ power off/ view rescue log).

My note9 is an unrooted exynos with the newest samsung firmware (April-patch) and boots up in encrypted mode btw.

I would so glad for any help or tips about how to fix this.

Cheers
[prjkt.io] djdarkknight96:
Use adb to remove overlays and only use theme for One UI if using pie. Don't think that theme was updated for pie and you can use Good Lock's QuickStar to remove and move status bar clock.

Oh he has updated to One UI. Just only on telegram here:

https://t.me/joinchat/DIq__UtQRHoJ5wWzPruvXw

How to fix System Loops with pc no root adb:

Inside a folder right click holding shift, click "open command window here"

Type this:

1. adb shell cmd overlay list

2. adb shell cmd overlay disable <package.theme.options.androidversion> example android.Sprite.BlackNotifyBGAccentTextBlueBerry.SammySungOreo name from the list

3. all overlays with [x] in the front are enabled.

Note Android and Systemui are most common issues that would need this.

DJ
[prjkt.io] Gesturegeek:
So it just tells me this:

PS C:\platform-tools> .\adb shell cmd overlay list

* daemon not running; starting now at tcp:5037

* daemon started successfully

error: no devices/emulators found

and then if I spam the "adb shell cmd overlay list" command it always tells me the same error as in the last line. Why is that? has encrypted mode something to do with this?
[prjkt.io] djdarkknight96:
Nothing to do with encryption, adb not finding your device. You have installed adb drivers? I assume so with andromeda.
[prjkt.io] Gesturegeek:
Yes I got andromeda and ran it multiple times over the past months, always successfully.

some user on telegram support just old me this regarding my issue:

"Can't use adb before screen unlock when ro.secure=1, ro.debuggable=0, and ro.build.type=user (build props), as it does on user builds generally

So unless your OEM screwed up (ahem Alcatel ahem) you shouldn't be able to use adb before screen unlock

Your only option is a factory reset, especially as you said your bootloader is locked so you can't even use TWRP to remove the overlays"

What do you say? is tha true? cause that would be a realy shame :(
[prjkt.io] djdarkknight96:
No not true, just need to get adb detected in command to disable overlays. I break systemui many times and recover each time with adb...only lock screen changes cannot recover. Only exception!

I answered in telegram, continue there please.
[prjkt.io] watatara.102:
Hello, I'm new into modding/theming all this

want to ask something, what is needed to make one apps have transparent background?

styles.xml, themes.xml, colors.xml?

and what is the attribute to use?
[prjkt.io] djdarkknight96:
Wrong thread go here for theme dev help

https://xdaforums.com/apps/substratum/qa-questions-theming-t3585703/page59

Transparent background need a lot of changes to go thru to wallpaper, colors, styles, drawables and even layouts. Depends on the app. windowShowWallpaper is the styles attribute I use. But you need to tint the windowBackground so light wallpapers look good still. Ask in the other thread any questions.
[prjkt.io] Gesturegeek:
Ok so i tried running what you told me a few times, and apparently there is small window where adb works and spits out a different thing than "error: device '(null)' not found". I sense this bad news but during this small period when spamming the ".\adb shell cmd overlay list" command, I get the following outcome:

error: device unauthorized.

This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

What is that supposed to mean? Is the debugging option from developer settings not working or what?

Anybody who knows is welcome to answer
[prjkt.io] Wolfcity:
As You're a user of Andromeda you may have seen that confirmation dialog on your mobile display, something like "do you always want this device to connect to this pc?". Maybe check the display when you're connected and are running the "adb devices" command and tap yes if it's showing up.
[prjkt.io] Pooka123:
On android 9 lineage OS. I've had swift dark working fine on substratum in the past but now it no longer works. I try to apply themes and sometimes they give an error message when I apply, other times a get the message saying theme compilation was successful when it actually was not. This seemed to all start happening after I cleared system cache a few days ago.

When themes do compile with error, the debug report basically says "/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/" does not exist.

UPDATE- I fixed the issue. Turned off "preserve for encryption" in magisk and everything worked like normal again.
[prjkt.io] djdarkknight96:
You just didn't pick android version at the top
[prjkt.io] Pooka123:
I do actually. AOSP... I've had substratum for 1+ year now. I don't think it's a simple mistake sadly
[prjkt.io] djdarkknight96:
The log says it can't find res which is that selection. Give screens of the theme showing list of apps to build. Might have reset after clearing cache.
[prjkt.io] djdarkknight96:
This one
[prjkt.io] Pooka123:
I'm trying to give you the screenshot but I think I'm too new to post pics. Here's an imgur link instead

https://imgur.com/a/wLTQRHJ
[prjkt.io] djdarkknight96:
So selecting it still gives same "can't find res" in log? I'd contract theme dev. There's something off.
[prjkt.io] Pooka123:
Yup, I feel the same way. Idk how to contact a dev.
[prjkt.io] djdarkknight96:
They have a telegram and email links in playstore
[prjkt.io] iestynapmwg:
I've just switched to an Android Pie rom and run into the following when using Substratum to apply a font. A toast pops up telling me i have to enable "allow modify system settings" and i'm presented with a screen where that option is displayed. The option is turned off, but it's also greyed out so that i can't toggle it. Substratum does have root permission... What am i missing here? The rom is AEX, and Substratum is version 1020 if that helps. Thanks!
[prjkt.io] djdarkknight96:
Well fonts aren't supported by substratum on pie. The rom added unfinished commits.
[prjkt.io] iestynapmwg:
Oh! Well, that'll do it :)

Probably off-topic here, but what's the best/easiest alternative to tweak the system font?
[prjkt.io] djdarkknight96:
Type face app on play

Link https://play.google.com/store/apps/details?id=pixkart.typeface
[prjkt.io] miggsr:
? It's been AGES since I been on xda... I'm here with a pixel 3 Stock rooted rom. I had 2 themes update today and for some reason I don't see them in the manager section of substratum. I was planning to disable them uninstall overlay and install updated one after rebooting and whatnot. I have the latest version of substratum that is posted in telegram channel. Not sure where to go to disable the current overlay to uninstall them...and kinda don't wanna factory reset this pixel 3... Any suggestions will be appreciated.

[UPDATE] I some how managed to clear up the substratum app and remove my overlays. All good to move forward with what I needed.

Still if anyone has a full proof method of installing, updating and removing theme overlays. I'm all ears.
[prjkt.io] zigbye82:
Did a clean install of my rom and when to reinstall substratum theme engine and play store says its incompatible with my device. I've been using it on the same rom [RR nougat] for over a year now without problems.

Restored my previous backup and same issue on play store. Did substratum stop compatibility for nougat?

Solved.

Found the change log on apkpure.

2019-05-02

v1020

- Deprecation of Nougat support. Future releaes including this one

will not be deployed to Nougat users. Substratum 1015 will continue

functioning.

- Support Magisk 19.0

- Resolve many crashes triggered during overlay building

- Fix issue where app randomly asks for root on some systems

- Update translations

- Update library dependencies
[prjkt.io] ZeuBug:
Hello!

I answer to my own post because I found a track: there is really no problem in my theme, the applications that close automatically when I launch them after applying my theme, are the ones for which I have to apply magisk hide (like banking applications or example: yuka, mobilevoip, citroen, gaumont, weather channel, walli, rakuten, etc.)

The launcher icons are changed as expected, but for xml files like res / values / color.xml or some png files, it does not work, the theme is not applied.

Does anyone have an idea? knowing that I had taken care to uninstall each application, then re-install, then before launching them apply magisk hide and also change the magisk package name.

Thank you!
[prjkt.io] zagi988:
Is my phone really not supported?

Ulefon Armor 2

7.0

Basically AOSP
[prjkt.io] djdarkknight96:
Nope not for new releases but you can get old apk from apk mirror...next issue is finding themes...most dropped nougat also. Might find a few still though.
[prjkt.io] AosakoTechs:
Bricked device

I installed everything I needed to get Substratum working on my unrooted LG Stylo 4 (Android 8.1.1, latest T-Mobile security patch), plus a Pie theme. I applied it, and I got a message that only said this: "Unfortunately, System UI has stopped." , my phone bricked. How do I solve this? Everything is blacked out.
[prjkt.io] djdarkknight96:
You used a theme not for LG is why, use adb to recover and remove systemui overlays. Only theme that is for LG system is Alpha theme. Otherwise you can only theme 3rd party apps no system.

No root:

How to fix System Loops with pc no root adb:

Inside folder right click holding shift, click "open command window here"

Type this:

1. adb shell cmd overlay list

2. adb shell cmd overlay disable <package.theme.options.androidversion> example android.Sprite.BlackNotifyBGAccentTextBlueBerry.SammySungOreo name from the list

3. all overlays with [x] in the front are enabled.

Note Android and Systemui are most common issues that would need this.

DJ
[prjkt.io] 12Fully:
Does substratum not play nicely with EdXposed? I typically haven't been using substratum but the ROM I have does not have a built in dark mode. After I hit build & enable my phone reboots (soft boot I think since it takes like 3-5 seconds). If I go to the Manager tab there are not any themes installed. I am just wondering if anyone has experienced this.
[prjkt.io] djdarkknight96:
Nothing to do with xposed but with the theme you are using,, make sure it's for your device and Rom. Talk to theme dev.
[prjkt.io] 12Fully:
I use these 3 themes on the Pixel 3Xl and haven't had any issues before. I'll check with the ROM maintainer since this is my first time flashing.. thanks for your help