TrebleDroid / treble_experimentations

Scripts to automatically build/CI/Release TrebleDroid GSI
Other
203 stars 26 forks source link

Huawei EMUI 9.1 - android.hardware.drm crash on startup #40

Open Iceows opened 1 year ago

Iceows commented 1 year ago

The widevine DRM service is not working. No videos that use this video protection will work on the device

Describe the bug

Just boot and try to start drm info.

logcat on boot show this trace :

--------- beginning of crash 05-31 08:25:27.273 958 958 F linker : CANNOT LINK EXECUTABLE "/vendor/preavs/bin/hw/android.hardware.drm@1.1-service.widevine": library "libdexfile.so" not found: needed by /vendor/preavs/lib/libbacktrace.so in namespace (default) 05-31 08:25:27.284 904 904 I boot_progress_start: 29120

To Reproduce

1) Start the phone and install DRM Info 2) Start DRM Info... the application freeze on startup

Expected behavior

DRM info should display information about DRM support both on clearkey algorithm but also on widevine

Smartphone (please complete the following information):

Additional context

This problem also appears on other huawei devices that have a recent EMUI 9 version

Iceows commented 1 year ago

file libdexfile.so are in /apex/com.android.runtime/${LIB} but it seems inaccessible