[Xperia Z5 Android Development] bam80:
Hi,

can't get Widevine L1 Security Level.

Device: Xperia Z2 Table

ROM: AICP (Nougat)

After adding all needed binary blobs, applying DRM Fix to the kernel, restoring DK from the backup - it seems dk still failed to get:

02-26 04:32:47.695 1153 1219 I WVCdm : CdmEngine::eek:penSession
02-26 04:32:47.695 1153 1219 I WVCdm : Level3 Library 4445 Sep 10 2016 21:30:01
02-26 04:32:47.703 1153 1219 D QSEECOMAPI: : QSEECom_get_handle sb_length = 0xc350
02-26 04:32:47.705 1153 1219 D QSEECOMAPI: : App is not loaded in QSEE
02-26 04:32:47.751 5280 5297 W System : ClassLoader referenced unknown path: /system/priv-app/PrebuiltGmsCore/lib/arm
02-26 04:32:47.752 5280 5297 D ApplicationLoaders: ignored Vulkan layer search path /system/priv-app/PrebuiltGmsCore/lib/arm:/system/fake-libs:/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/armeabi-v7a:/system/lib:/vendor/lib for namespace 0x82ca7090
02-26 04:32:47.774 1153 1219 D QSEECOMAPI: : Loaded image: APP id = 3
02-26 04:32:47.777 1153 1219 D QSEECOMAPI: : QSEECom_get_handle sb_length = 0xc350
02-26 04:32:47.778 1153 1219 D QSEECOMAPI: : App is not loaded in QSEE
02-26 04:32:47.808 1153 1219 D QSEECOMAPI: : Loaded image: APP id = 4
02-26 04:32:47.832 1153 1219 E tadif : Failed to connect to tad.
02-26 04:32:47.832 1153 1219 E tadif : Failed to connect to tad.
02-26 04:32:47.832 1153 1219 E tadif : Failed to connect to tad.
02-26 04:32:47.832 1153 1219 E tadif : Failed to connect to tad.
02-26 04:32:47.832 1153 1219 E tadif : Failed to connect to tad.
02-26 04:32:47.832 1153 1219 E tadif : Failed to connect to tad.
02-26 04:32:47.832 1153 1219 E tadif : Failed to connect to tad.
02-26 04:32:47.832 1153 1219 E OEMCrypto: getDkAndHwCfg:77 Getting DK and HW-cfg failed -3. errno = 13
02-26 04:32:47.832 1153 1219 E OEMCrypto: OEMCrypto_Initialize:221 Failed to get dk and hwCfg -3. errno = 13
02-26 04:32:47.832 1153 1219 D QSEECOMAPI: : QSEECom_dealloc_memory
02-26 04:32:47.832 1153 1219 D QSEECOMAPI: : QSEECom_shutdown_app, app_id = 3
02-26 04:32:47.841 1153 1219 D QSEECOMAPI: : QSEECom_dealloc_memory
02-26 04:32:47.841 1153 1219 D QSEECOMAPI: : QSEECom_shutdown_app, app_id = 4
02-26 04:32:47.847 1153 1219 W WVCdm : Could not initialize L1. Falling Back to L3.
02-26 04:32:47.855 1153 1219 I WVCdm : CdmEngine::QueryKeyControlInfo
02-26 04:32:47.855 1153 1153 I WVCdm : CdmEngine::GenerateKeyRequest
02-26 04:32:47.856 1153 1153 D WVCdm : PrepareKeyRequest: nonce=350911479
02-26 04:32:47.887 4743 4761 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (I741a3d36ca)
02-26 04:32:47.887 4743 4761 I Adreno-EGL: OpenGL ES Shader Compiler Version: E031.29.00.00
02-26 04:32:47.887 4743 4761 I Adreno-EGL: Build Date: 04/04/16 Mon
02-26 04:32:47.887 4743 4761 I Adreno-EGL: Local Branch: mybranch19053788
02-26 04:32:47.887 4743 4761 I Adreno-EGL: Remote Branch: quic/LA.BF.1.1.3_rb1.12
02-26 04:32:47.887 4743 4761 I Adreno-EGL: Local Patches: NONE
02-26 04:32:47.887 4743 4761 I Adreno-EGL: Reconstruct Branch: NOTHING
02-26 04:32:47.958 5280 5280 D libcrashlytics: Initializing libcrashlytics version 1.1.2
02-26 04:32:47.958 5280 5280 D libcrashlytics: Attempting to load unwinder...
02-26 04:32:47.966 1153 4960 I WVCdm : CdmEngine::CloseSession

I can see that DRM Fix seems get installed properly:

castor:/ # ls -l /vendor/lib/libdrmfix.so
-rw-r--r-- 1 root root 42364 2016-07-23 02:35 /vendor/lib/libdrmfix.so
castor:/ # grep drmfix /init.*
/init.environ.rc: export LD_PRELOAD libsigchain.so:libdrmfix.so
/init.rc: restorecon /vendor/lib/libdrmfix.so

Any help would be greatly appreciated