yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
SX DarkRes 2.0

Updated: 06/04/21

About:

"Sony XPERIA DarkRes" is designed by a Sony XPERIA user for Sony Xperia devices.​

This is a dark theme designed for XPERIA devices that uses a dark wallpaper, custom actionbar and transparency to provide a unified look across the UI, with just enough contrast to make it pop a little more than being fully blacked out.

It's a work in progress so will be updated as and when I come across bugs or they get reported.

Requirements:

OS: Pie/Oreo​

Device: Sony XPERIA.​

Theme Engine: Substratum and andromeda​

If you don't know what Substratum is give their FORUM a browse and this thread by @WaxysDargle - Substratum - Andromeda on XZ1C a read.

Screenshots:

You are required to be running the dark theme of any app that has the option to choose it. For Gmail I'm using the "dark theme enabler" using EdXposed. See HERE for how to install it.

​

​

​

​

​

​

Themed Apps:

framework-res​

Audio Settings​

Backup & Restore​

Battery Care​

Calculator​

Call Management​

Clock​

Colour gamut and contrast​

Contacts​

Emergency information​

Glove mode​

Gmail​

Home network​

Messages​

Package installer​

Phone​

Phone services​

Screen mirroring​

Service menu​

Settings (SE)​

Settings​

Settings suggestions​

Smart backlight control​

Smart call handling​

Smart cleaner​

SystemUI​

Themes​

USB connectivity​

Video image enhancement​

Whatsapp​

White balance​

Wi-Fi​

Xperia home​

If you have issues with white notification text on a white background then you need to uninstall Sonys themes using adb. Thanks to @serajr for the hint we know the way to do this is by opening a cmd prompt window in a folder with adb and type...

adb shell

...hit enter then copy and paste the following into the same window...

pm uninstall -k --user 0 com.sonymobile.themes.sou.cid18.black
pm uninstall -k --user 0 com.sonymobile.themes.sou.cid19.silver
pm uninstall -k --user 0 com.sonymobile.themes.sou.cid20.blue
pm uninstall -k --user 0 com.sonymobile.themes.sou.cid21.pink
pm uninstall -k --user 0 com.sonymobile.themes.xperialoops2

...and that will remove any pre-installed themes which cause a conflict with Substratum.

Installation:

Disable any previous SXDarkRes overlays in Substratum then uninstall the previous version of this theme, reboot.​

Install the theme, build and enable/install all overlays, enjoy!​

Download:

PIE

​

SXDarkRes_Pie​

​

OREO (No longer maintained)

​

SXDarkRes 2.0​

Donate:

I don't theme for money but as a couple of People have asked for it, if you'd like to fund the coffee I drink during the process of theming you can do so here - paypal.me/sxusrxda. Thanks to those that have and do! :)​
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
For some reason i can`t buy the theme from a XZ1 compact. I get a device not compatible message.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] sbarbi:
I confirm the same message in play store
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] DomusX10:
I want to know: works with Android Nougat (Xperia Z3 Plus) with no root?
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Will have to take a look when I get home.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Didgesteve:
Definitely interested in in giving this a go. Hope you get the playstore to let us download it. I had almost got to this stage by juggling a couple of substratum mods and downloading an old phone apk from 2016.

Never got the black text on the lockscreen sorted.

Looking forward to having everything in one package, nice and easy.

Well done.,good work.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] WaxysDargle:
Android 8.0 has integrated OMS on a system level. No root required.

You will have to use Andromeda to start Substratum every time you want to make a change (requires desktop).

See my thread mentioned in the title.

EDIT: Didn't see that you mentioned Z3 Plus. NO. It will not work on Z3.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Lucki_X:
I confirm that it's not possible to buy it on Playstore. :(

Odesláno z mého G8441 pomocí Tapatalk
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Just uploaded a new apk to the Playstore and it now shows that it's supported on x number of devices whereas before it the number was 0, not sure how long before the update will become available though.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
It worked now.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Lucki_X:
App from Playstore doesn't work correctly. I'm unable to open it in substratum.

Free app from here works without problems.

Odesláno z mého G8441 pomocí Tapatalk
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
The play store theme FCs when trying to access it from the Substratum app. Ive submitted the logs from the app, if you need more logs please let me know.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
So frustrating, I'll have to take a look when I get home.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Lucki_X:
I had used thus theme for almost the whole day. I haven't used app from Playstore. I recognised that everything looks very good nevertheless I had problems with group messages from whatsapp in notifications. When there was only one message the sender was in white color. Immediately upon I received second and next messages the name of sender changes to black color (almost unreadable). In aqua email app in header of the email was white text on white background so unreadable. Menu for setting of all apps is with transparency because of it in some apps it was almost unreadable. In aqua email app again in settings site text on white background. That's all I observed.

Just for information I uninstalled all Sony theme as is expected.

Thanks for that good job.

Odesláno z mého G8441 pomocí Tapatalk
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
After the last update I get a licensing error.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Thanks for the feedback

Sorry for the delay, there will be another update today at some point which fingers crossed should be it.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
Still got the error. I've tried to reinstall but no change. View attachment 4316696

L.E. Same on v5
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] sbarbi:
I have the same error with license with last three update.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Thanks for the feedback and the patience, at this point I just don't know what the problem is. The theme template has had a few updates which are included in the latest release so if there are still licensing issues can you let me know asap please.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
My laptop is all packed, I'll try in the morning and report back.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
Unfortunately the licensing issues persist in v9.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] sbarbi:
Thanks to you for work, i love black themes.

I confirm that the new update also has the licensing issue.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] styr:
v11 works, thanks.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] ytheekshana:
Will this work in Xperia Z5 Premium 7.1.1 Rooted ?
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Thanks for the feedback, and the patience!

No.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] sbarbi:
yeah everything works now!

Good job!
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] smorgar:
Wonderful theme!

But i think i found a bug. See screenshot.

I would also like to take the oppertunity to request a solid black version of the theme with no transparancy and no grey shadow in the settings menu search filed.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] sbarbi:
Is it your intention, in the future, themed the stock email app?
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Thanks. What app is responsible for that particular notification?

There will be a few things I've missed but will address them when raised or I come across them myself.

Not sure about going full black, I do like a bit of contrast and transparency but will have a play. The drop down menu in messages is how I'd like all such menus, popups dialogs etc to look instead of images

It's not an app I use but as it's a stock one I'll stick it on the to do list.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] smorgar:
Its the vpn "notification". Try dns66, ints Adblock via local vpn tunnel :)
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Lucki_X:
Everything looks great but I have found a bug in alarm app. I'm not able to recognize that alarm is on except the notification (active alarm is not on note color but still grey).

In aqua mail email app I have white text on white background in settings and white text on white background in header of the email (unreadable senders information, time and date what's important for me). In dark settings of this app I have no problems but I prefer aqua mail in bright.

Odesláno z mého G8441 pomocí Tapatalk
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Lucki_X:
Another bug. White text on white background when I want to choose type of the phone number in contact app if I want to add a number for contact.

Odesláno z mého G8441 pomocí Tapatalk
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Not so much a bug, it does change to bold and white font but I see what you mean, I might use a green to show it's on like the unread text messages are now.

Another one for the list.[/QUOTE]

That has been fixed and will be in the next update.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Didgesteve:
lockscreen - white notifications

Followed instructions, uninstalled all the sony themes, downloaded SX DarkRes from the playstore, applied the theme in substratum. (no other themes installed) Rebooted.

Still getting white notifications on the lock screen.

Everything else is working well.

Thanks again for all the hard work.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
White notifications do still show if I leave the phone connected to the PC after rebooting so unless it's that I'm stumped.

Hope to have another update this week, got rid of the black background in settings, contacts and messages so the background shows, removed the border from dialogs, reduced the actionbar height and made a few more little edits to fix unreadable text.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] WJP0.0:
Really beautiful theme it is
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] PolliSoft:
Thanks a lot for a great theme!

I think I found a bug, see image below. The Hotspot settings have black text on black background.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Sorry for the delay, had another nightmare trying to update the Substratum template and Android Studio in which I've lost my asset files and broke the Studio in the process so I'm not doing anything until tomorrow. Fortunately my assets are recoverable but I'm a novice with the Studio so may have to start from scratch with that.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Please see the OP for the update.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] lemassykoi:
Hi, I downloaded and installed your apk "sxdr_12_Full.apk", then rebooted, but nothing, no black menus, no new theme in theme menu.

What should I do ? Thanks

Xperia XZ1 Compact, 47.1.A.5.51 no root
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] c_tho:
just installed this and it's absolutely perfect. just a heads up that the latest google messages update has broken the messages theming.

thanks a heap.

edit: i've just noticed the smaller navbar which i don't love, is there anything i could uncheck when applying the theme in substratum to restore the navbar to normal?
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
I believe the update has broken the theme but until I get it you'll have to be patient for an update.

Thanks! EDIT: Just got the update so will fix that asap.

I think Substratum does allow for providing a choice but I've not included such options just yet and don't really have any plans to, however, the navbar size is probably the only choice I would consider including. My main focus right now is getting the actionbar of messages and contacts themed like the one in settings but it's proving a little difficult.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] lemassykoi:
Thanks, no problem.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] c_tho:
handful of other issues i've noticed after a day of use. no big deal, just thought it worth letting you know. the dark theming is creeping into a few other places and making text unreadable. examples given are 1. the Sony software updates, 2. colour selection in google calendar, 3. hangouts notification text colour (the contact names are dark grey on black).

Picture 4 show the expanded notification for text messages, which are unthemed, idk if this is fixable.

sorry for all the criticism, i am pretty new to substratum so i understand if this stuff is all normal or has been covered elsewhere.

thanks again. :)
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
No worries, some apps I don't use so unless users report them I can't fix them, but if I don't use them (like two of the three you've mentioned) they'll rank lower on the list of things to do. Substratum has it's frustrations, it's just a matter of figuring them out. OP updated and I've made an apk that has the regular sized navbar too.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] c_tho:
thanks so much!
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] kraxn:
First of all: Thank you for your work!

I found one more issue in Goggle Map´s

https://photos.google.com/share/AF1...?key=al9XenozbVE1NHg3S2RzY3JEckV0bEpLUW1SLU13
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Doume®®®:
Thanks a lot for your work.

I used your theme on my Xperia XZ

Regards
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] TimeIsAll:
this might be a silly question but how do i activate the normal navbar in the apk lol
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Going to hopefully get to that this weekend.

You need to download the right apk, I'll make just the one apk at some point so it includes a switchable option.

UPDATE:

OP Updated, that should hopefully be it for dialer issues, still need to figure out the actionbars of messages, contacts and dialog boxes, once I do I'll then start theming more apks.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] c_tho:
not sure if this has been mentioned but when you receive more than one message in either messages or hangouts, the senders' name(s) in the notification are black on very dark grey (see attached).

edit: added a second screenshot showing the messages notification. pic 1 is hangouts, pic 2 is messages.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] naoya92:
Hi, firstly, thanks for the great theme- I really appreciate the compact navbar, particularly on the xz1 compact's screen. My phone is a bit unusable now, though...

I tried to adb uninstall the system themes, which worked for notification text, but broke pretty much all the menus in BubbleUPnP, which I rely on for playing music. Now i'm wondering how to reinstall the system theme/text. Is that possible via abd or other means?

I've tried to reinstall the loops theme from herehttps://xdaforums.com/xperia-xz1/themes/xz1-loops-2-theme-live-wallpaper-t3668513 but the apk won't install.

Thanks again
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Didgesteve:
You could use Xperiafirm to get the correct firmware for your location.

Then use newflasher to repair your system files. If you leave 'Userdata.sin' out of the build, you wont lose any data files.

The live wallpaper is available here, but if it doesn't install it might be because the original version is still on your phone, just disabled. if that's the case, then repair the system folder seems to be your best bet.

Xperia Companion will repair your phone, but you will lose all your data and have to log in again.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Phat-T:
I stumbled upon this. If you use a theme that changes the notification background on the lockscreen, it will help with the white on white. The theme I use is in the screenshot but there are others like it.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] kayoma:
So just curious, was it possible to make backup of those themes that we just deleted to install this? Because it's pretty much mondatory step.

Also "Xperia Store" has stopped working." message appears every now and then.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Didgesteve:
The opposite of

pm uninstall -k --user 0 com.sonymobile.themes.sou.cid18.black

is

pm install -k --user 0 com.sonymobile.themes.sou.cid18.black

Xperia store does noting and can safely be disabled or uninstalled
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] kayoma:
Is it possible to make small navbar without applying theme? What should I apply through substratum to make it small?

Also thanks for help.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Didgesteve:
Applying the SX theme will change the framework, restart the phone to see the changes.

You can't make changes without applying the theme.

Most themes work by changing the framework colours and don't usually change the size of the navbar.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] kayoma:
In this case theme does change size of navbar as stated in OP. I'm looking for ways to change it without applying full theme.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] :
Whenever I try to apply the theme in Substratum, it keeps giving me the message "this theme requires a licence check before continuing!" while indefinitely showing a loading icon, before nothing. What do I need to do?
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] CleverFogs:
brilliant theme, it would be nice if on the notifications area the whatsapp reply was also themed black :)
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] ra1n25:
Hi SXUsr!

I applied the theme. Thank you! It's really nice! Everything OK, but i noticed one hiccup. I use mobile-id and it sends the code to splash screen. Right now it's unreadable.

View attachment 4421638
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] burtallicus:
hello guys ....few questions here .... as im still on Z3C at the moment planing to get a XZ1C so i cannot test myself these...yet

Can this theme change the battery icon to something like the one on the stock LP or MM .... i think is the best looking icon (with included + for stamina ) not the stock android one ???

are the quick settings customable ? like the on on zc3 xposed seraj mods ? or even close ?

is this even possible with substratum if not with this specific theme made by SXUsr
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] crmb:
Hello. Thank you for the theme.

The SMS(messaging) is supposed to be themed ? It is still white for me. And i don't see it in the list.

I have a XZ though... (using sony oreo 8 + substratum + andromeda)

Also i have this error with the dialer : http://oi68.tinypic.com/fyhnr8.jpg
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Doume®®®:
Hello,

The dialer is not supported by SX DarkRes
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Mr.Vag:
No changes on XZ1.All white lile a f** milk.

Only swift black working.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Hi all.

Sorry for the huge delay. In a nutshell, the last 6 months have been a disaster, I lost my job and my beloved Sony Vaio laptop finally died within a week of doing so, along with other family issues I've had to put a few things on hold. Back working now though and I'm about a month away from being able to buy a new laptop and hopefully pickup from where I left off.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] levone1:
Pretty amazing timing... I've been messing around with modding stock 8.0 on and off for a few months, and been pretty frustrated, since most of what I've known up until now is not working anymore, (as far as /system apk mods), so anyway, just within the last day or so, I finally got it working, (rootkernel + magisk + selinux permissive + deodex and patch services.jar to disable signature + finally realizing that framework-res is permissions 664 now for some reason, (maybe doesn't have to be, but I just noticed it is) + my old method of signing and pushing to /system not working anymore, etc...). So, just now, I also discovered that changing 'TextAppearance.material.notification' values in framework-res, no longer changes the text color of notifications. I tried changing several other values in styles and layout of framework-res and SystemUI, but haven't found it yet. Then I wondered who might know, and I thought of you. So I come here, which is the most recent thread of yours I knew of off the top of my head, and see that you just posted today for the first time in months... So -

Hi.

Have any idea where the code is to change the notification text on stock O?

Sorry to hear about your troubles. Hang in there... Thanks for your work.

BTW - I did have the idea to look inside your theme, but it's all .enc files...

OH - I just remembered about the Sony themes issue... Update - removed themes but still dark text...
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
I've not rooted my XZ1C but that's interesting to note, things are changing.

The only thing I can think off, bearing in mind I've not decompiled an apk since my laptop died is that the values may now be in a values-21 or greater (-25/-26) folder. Until I get back into it I can't be sure.

Thanks! The change of job is bearable, not being able to buy an updated Sony Vaio however is not as I've never had anything but Sony Vaios, so finding a replacement is going to be somewhat of a challenge.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] Kofoedsan:
Do you plan on updating this for android Pie? :)
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
I've updated twice to Pie and twice came straight back to Oreo, so I won't be updating this theme for it.

OP Updated!
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] :
Hi. Thanks for theme. Will you continue to work on it? I would like to note several bugs in Sony's apps like Phone and Contacts. Phone: ⋮ (menu) -> Call log: everything mixes up and tap on ⋮ leads to app crash. In Contacts if you will tap on any contact then you see white phone numbers on white background. So unreadable.

But no matter what, I really appreciate your work.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Hi.

I will for the time being as I've yet to find a decent replacement for my XZ1C. The call log is a bug you'll have to live with as I can't pinpoint and separate the background from the main dialer. The contacts app is fixed. I'm currently working on the updated Google Messages app but what worked before is now causing a force close on opening it so trying to fix that, when I have I'll upload a new apk.

Thanks.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Try the attached.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] :
Thanks, but nothing changed.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] SXUsr:
Remove the overlays, uninstall the theme then reinstall it and apply the overlays.
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] :
That's exactly what I did. Please tell me, can your theme conflict with other themes, such as PitchBlack or some other?
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] :
It works. I turned off all overlays of other themes and turned on all overlays SX DarkRes. Now all the numbers in the Contacts are visible, although the message icon opposite the phone number is not visible, but this is a trifle. The call log is still crashes, huh. There are some more lacks, for example, the toggle bar in Smart Cleaner is white, in Files app there is also a white menu bar/white text and the caller's name is unreadable in the notification during an incoming call. It's fast review. Maybe more.