[5.2.0.22] Tidal Android App stopped working (AppSupport Android 13, android.hardware.drm@1.3::IDrmFactory/clearkey is not registered)

Since upgrading to 5.2.0.22 Tidal (the music app installed via Auroa store) stopped working, it starts, but hangs in the loading stage, only showing the tidal logo.

I’ve reinstalled the app, cleared the cache, but it is still not working.
It was working fine before.

Tidal app version 2.218.0, this is SailfishOSX with Android App support.
Device: Sony Xperia 10 II - Dual SIM
Android-App Support: Android-Version 13
APT-Level 33
Security Patch 05.12.25

Does it work for somebody?

Yes, it works. Same versions.

It works on my Jolla phone. Everything has the latest version.

Yep, same happened. But I’m actually pretty happy about it cause I found out Tidal isn’t such a nice platform after all.. Switched to Qobuz. :slight_smile:

2 Likes

@renTTu @usbee @tla123 thanks for your responses.

So it works for some and not for everyone. need to find out where the difference is then.

can you confirm that official Tidal app works and i can sign in and listen FLAC there with subscribe? What about losless bluetooth codecs?

It used to work for me, I could log in and also listen to high res audio, before the last SailfishOS upgrade. Now it does not work anymore, I do not get to the the login screen.

Two users in this discussion reported that it still works for them.

What about losless bluetooth codecs?

I don’t know.

more Defect information, logs

devel-su
appsupport-attach /system/bin/logcat

the last error message is like the following and it start repeating each second in an endless loop

11-09 11:39:35.097   100   100 D surfaceflinger: APPSUPPORT: Show com.aspiro.tidal
11-09 11:39:35.101   100   100 D SurfaceFlinger: NEW BUFFER
11-09 11:39:35.131   100   100 D SurfaceFlinger: NEW BUFFER
11-09 11:39:35.136   232   406 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
11-09 11:39:35.315   684  1278 E MediaProvider: Creating or writing to a non-default top level directory is not allowed!
11-09 11:39:35.328   684  1278 E MediaProvider: Creating or writing to a non-default top level directory is not allowed!
11-09 11:39:35.339    21   677 E cutils  : Failed to mkdirat(/mnt/media_rw/8ff87de4-0b37-4799-b09a-82773e869e07/Android): Read-only file system
11-09 11:39:35.340 14620 14620 W ContextImpl: Failed to ensure /storage/8ff87de4-0b37-4799-b09a-82773e869e07/Android/data/com.aspiro.tidal/files: android.os.ServiceSpecificException:  (code -30)
11-09 11:39:35.432    11    11 I hwservicemanager: Since android.hardware.drm@1.3::IDrmFactory/clearkey is not registered, trying to start it as a lazy HAL.
11-09 11:39:35.436    11    11 I hwservicemanager: Since android.hardware.drm@1.3::IDrmFactory/clearkey is not registered, trying to start it as a lazy HAL.
11-09 11:39:35.437 14620 14620 I HidlServiceManagement: getService: Trying again for android.hardware.drm@1.3::IDrmFactory/clearkey...
11-09 11:39:35.559   232   255 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{deafe6a u0 com.aspiro.tidal/com.aspiro.wamp.LoginFragmentActivity} t5454}
11-09 11:39:36.438 14620 14620 W HidlServiceManagement: Waited one second for android.hardware.drm@1.3::IDrmFactory/clearkey
11-09 11:39:36.439    11    11 I hwservicemanager: Since android.hardware.drm@1.3::IDrmFactory/clearkey is not registered, trying to start it as a lazy HAL.
11-09 11:39:36.441 14620 14620 I HidlServiceManagement: getService: Trying again for android.hardware.drm@1.3::IDrmFactory/clearkey...
11-09 11:39:37.442 14620 14620 W HidlServiceManagement: Waited one second for android.hardware.drm@1.3::IDrmFactory/clearkey

Any ideas?

Noticed today too. It logs in but when clicking an album in the front page nothing loads this error appears


I’m using the sailfish version from github and jolla phone.

Which tidal app and version is this?

(This discussion so far is about the official Tidal Android App. It seem you are using a different one?)

Oh sorry, ignore me. Totally different thing.

Okay, no problem! :slight_smile:

Can you do me a favour and check the Android version of your Android support?
(It is shown at the top of the settings → android support page.)

My idea is that it depends on this version and the working ones are not == 13.

You are right. It is working with 15, but not with 13. I just tested it with jolla phone and xperia 10 ii.

Thanks for testing and the confirmation!

So this looks like an Android Support defect, what would be the next step?
Is this the right category in the forum or should this go to category “Bug Reports”?
(The category description says that problems related to Android apps should be discussed in the “Application” category.)

Found [BUG] A13 regression — Tried to start android.hardware.drm@1.0::IDrmFactory/clearkey as a lazy service, but was unable to · Issue #1891 · waydroid/waydroid · GitHub via a search engine, I wonder if this gives us an idea what to do on Android Support Android == 13

Checking

cd /vendor/bin/hw
ls -l 
ls -l *drm*
-rwxr-xr-x    1 root     shell        11552 May 16  2024 android.hardware.drm@1.0-service
-rwxr-xr-x    1 root     shell       152368 May 16  2024 android.hardware.drm@1.2-service.clearkey

So from the log above it tries to start 1.3, which is not there.

Found a workaround (which worked in one session and later does not, see below)
Copied the 1.2 version under the name 1.3 and restarted the AppSupport.

cd /vendor/bin/hw
devel-su
cp android.hardware.drm@1.2-service.clearkey android.hardware.drm@1.3-service.clearkey

Settings → AppSupport → Stop
and Start again.

Now Tidal works again. :slight_smile:

(This still is a defect in the AppSupport, I cannot say what other effects my workaround may have.)

After I have seen it working, it does not work anymore (with the workaround in place). The log keeps saying the same thing as before: Rotating:

11-22 10:32:21.970  2208  2208 W HidlServiceManagement: Waited one second for android.hardware.drm@1.3::IDrmFactory/clearkey
11-22 10:32:21.971    11    11 I hwservicemanager: Since android.hardware.drm@1.3::IDrmFactory/clearkey is not registered, trying to start it as a lazy HAL.
11-22 10:32:21.973  2208  2208 I HidlServiceManagement: getService: Trying again for android.hardware.drm@1.3::IDrmFactory/clearkey...

I wonder if there are other android apps that want to access this feature and then fail.

And should I move this to the category Bug Reports?