Substratum?

xttweaponttx

Senior Member
May 23, 2013
56
16
0
Idaho Falls
Hey all,

First off, I'm a newbie. Sorry if I offend the order around here, or anything!

So I am a long-time lover of substratum, and was looking forward to theming 9.0 on this Razer phone 2... But I've tried my damnedest since I got it back in early March, and from where I am now, it appears it's hopeless. Anybody gotten Subs working? I'm running mr0, magisk fully updated, trying to apply swift dark. (And yes, the magisk module installed properly for Subs), and I even get no error codes (in fact, the app claims everything's working), but no themes appear under the 'manage' tab. :( Halp!
 

DarkestSpawn

Senior Member
Aug 16, 2010
275
104
73
Razer Phone 1 & 2 can only use themes signed with the system key thru Razer Theme store. It's coded in framework-res.apk to verify if I remember correctly. Someone might be able to remove the code check and make a install zip for TWRP that can be used with the deodexed ROM here.
 

xttweaponttx

Senior Member
May 23, 2013
56
16
0
Idaho Falls
Razer Phone 1 & 2 can only use themes signed with the system key thru Razer Theme store. It's coded in framework-res.apk to verify if I remember correctly. Someone might be able to remove the code check and make a install zip for TWRP that can be used with the deodexed ROM here.
Deodexed ROM? For the phone 2? Also is twrp available besides the kernel one? Am I just missing something? ?
 
Last edited:

Geneticus21

Member
Apr 14, 2019
5
3
0
Working fix for substratum

found this on another thread and im suprised to not see this anywhere else but anywho, this is the only working way to get substratum on the Razer 2 ive been able to find and its pretty easy to use. https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053 get this, run the .exe, patch for signature verification (if you have any problems try a different charger, make sure you have usb debugging on, and run .exe as admin) then when its done running look for the .zip and run it through twrp/magisk.
 
  • Like
Reactions: xttweaponttx

xttweaponttx

Senior Member
May 23, 2013
56
16
0
Idaho Falls
found this on another thread and im suprised to not see this anywhere else but anywho, this is the only working way to get substratum on the Razer 2 ive been able to find and its pretty easy to use. https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053 get this, run the .exe, patch for signature verification (if you have any problems try a different charger, make sure you have usb debugging on, and run .exe as admin) then when its done running look for the .zip and run it through twrp/magisk.
GASP. I will give this a shot! Thank you -- you have quite possibly made my day! ❤ ❤
 

xttweaponttx

Senior Member
May 23, 2013
56
16
0
Idaho Falls
found this on another thread and im suprised to not see this anywhere else but anywho, this is the only working way to get substratum on the Razer 2 ive been able to find and its pretty easy to use. https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053 get this, run the .exe, patch for signature verification (if you have any problems try a different charger, make sure you have usb debugging on, and run .exe as admin) then when its done running look for the .zip and run it through twrp/magisk.
Hey actually I wanna confirm; have you gotten this working on mr1?

You've got me cautiously giddy -- the day may have come that google play music will release it's white and orange grip on my eyeballs ?
 

Geneticus21

Member
Apr 14, 2019
5
3
0
Hey actually I wanna confirm; have you gotten this working on mr1?

You've got me cautiously giddy -- the day may have come that google play music will release it's white and orange grip on my eyeballs ?
Lol now what kind of person would I be to say stuff like that and not test it myself? In all seriousness yeah it works in running pitch black/biohazard as we speak.
 
  • Like
Reactions: xttweaponttx

xttweaponttx

Senior Member
May 23, 2013
56
16
0
Idaho Falls
Ok so update! Using both swift dark and swift black results in the same 2 issues=
-notifications almost go black, but are instead a light light gray on swift dark (making the white text hard to read) and go dark gray on swift black. I've never used swift black prior to tonight, so maybe I've just never seen how dark swift black does it's notifications, and am thus ignorant! For this issue, I double and triple checked I had both Android system & system ui themed, reboot, enable, reboot. To no avail.

I also noticed with both theme packs that the play store doesn't theme at all, but that when viewing an app's page, the title text is white (and thus invisible).

This is just a heads up for those of us working with this now. I'm gonna let the devs know and see if they have any advice or are able to bugfix. Thanks again guys -- play music is buttery black! ❤❤
 

rrusek

Senior Member
Mar 3, 2006
173
34
28
Just to clarify...

Lol now what kind of person would I be to say stuff like that and not test it myself? In all seriousness yeah it works in running pitch black/biohazard as we speak.
In order to get Substratum working is the custom ROM https://forum.xda-developers.com/razer-phone-2/development/rom-mr1-stock-deodexed-zipalign-t3916502 required or can a stock MR1 rooted ROM be used using the method described here https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053

Thanks in advance,
RJR
 
Last edited:
  • Like
Reactions: Geneticus21

xttweaponttx

Senior Member
May 23, 2013
56
16
0
Idaho Falls
In order to get Substratum working is the custom ROM https://forum.xda-developers.com/razer-phone-2/development/rom-mr1-stock-deodexed-zipalign-t3916502 required or can a stock MR1 rooted ROM be used using the method described here https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053

Thanks in advance,
RJR
So I've been running subs for a little while through both methods, so either works. Both methods produce the same result, but I've found that the ROM has some minor bugs that can be obstructive at their worst. EG, every now and then my taps register as long holds (for example, on my keyboard I'll look up and see a bunch of jumbles of symbols instead of the words I tried to type)

But regardless, both methods fail to get the system themed. They try, but notifications are unreadable, and the theme color of the quick settings panels doesn't change from the Razer green.

tl'dr, I'd stick with the smali patcher method, as the ROM has some quirks that can make it a hassle to use as a daily driver.
 

rrusek

Senior Member
Mar 3, 2006
173
34
28
So I've been running subs for a little while through both methods, so either works. Both methods produce the same result, but I've found that the ROM has some minor bugs that can be obstructive at their worst. EG, every now and then my taps register as long holds (for example, on my keyboard I'll look up and see a bunch of jumbles of symbols instead of the words I tried to type)

But regardless, both methods fail to get the system themed. They try, but notifications are unreadable, and the theme color of the quick settings panels doesn't change from the Razer green.

tl'dr, I'd stick with the smali patcher method, as the ROM has some quirks that can make it a hassle to use as a daily driver.
Thanks for the response..

Just to followup regarding the smaili method, do I generate the signature for the Substratum install apk or the theme or both. Once the zip is generated then I install using TWRP? Just not really clear what needs the signature and what order things should be installed.

Thanks,
RJR
 

Reznor7

Senior Member
Apr 27, 2013
279
50
48
Thanks for the response..

Just to followup regarding the smaili method, do I generate the signature for the Substratum install apk or the theme or both. Once the zip is generated then I install using TWRP? Just not really clear what needs the signature and what order things should be installed.

Thanks,
RJR
Generate the module zip for your phone. Copy it over and install with Magisk. As for theming, it's seems that the systemui overlay is the issue. Any theme that I install just seems to combine with the systemui one instead of replacing it, causing notifications and certain other areas like parts of setting menus to be unreadable. If we could disable systemui's theming, I think we could get somewhere.
 
  • Like
Reactions: GalacticGLI

Reznor7

Senior Member
Apr 27, 2013
279
50
48
So I've been running subs for a little while through both methods, so either works. Both methods produce the same result, but I've found that the ROM has some minor bugs that can be obstructive at their worst. EG, every now and then my taps register as long holds (for example, on my keyboard I'll look up and see a bunch of jumbles of symbols instead of the words I tried to type)

But regardless, both methods fail to get the system themed. They try, but notifications are unreadable, and the theme color of the quick settings panels doesn't change from the Razer green.

tl'dr, I'd stick with the smali patcher method, as the ROM has some quirks that can make it a hassle to use as a daily driver.
What quirks have you noticed? I don't see anyone in that thread mentioning issues.