Could not load /vendor/lib/hw/android.hardware.drm@1.0-impl.so from sphal namespace: dlopen failed: library "android.hardware.drm@1.0.so" not found


#1

Downloaded source code : https://source.android.com/setup/build/devices
Device: HiKey 960 board.

Trying to play a drm protected content and getting the following error.

07-02 09:39:26.985 2405 3762 E vndksupport: Could not load /vendor/lib/hw/android.hardware.drm@1.0-impl.so from sphal namespace: dlopen failed: library “android.hardware.drm@1.0.so” not found.
07-02 09:39:26.985 2405 3762 E ServiceManagement: Failed to dlopen android.hardware.drm@1.0-impl.so: unknown error
07-02 09:39:26.985 2405 3762 E DrmHal : Failed to find any drm factories

Any help??

Thanks in advance.


#2

I think this is expected behaviour. AFAIK AOSP does not include any DRM decoders…