adb logcat -c
adb logcat -s DrmUtils,DrmLibTime,OPS_SERVICE,QC-time-services,QCOM-OEMCrypto,QSEECOMAPI,WVCdm > drm.txt
A small task for all participants, those who had L1 and it turned to L3 suddenly:
1) Install "DRM Info" from Play Store (if you haven't done that already).
2) Connect the phone to the PC and have ADB tools ready.
3) Enter the command:
4) Enter the command:Code:adb logcat -c
5) Launch DRM Info, and once it's fully loaded, Ctrl+C to stop logging.Code:adb logcat -s DrmUtils,DrmLibTime,OPS_SERVICE,QC-time-services,QCOM-OEMCrypto,QSEECOMAPI,WVCdm > drm.txt
Post the drm.txt log here with your device model and ROM version. (the log does not contain any sensitive information)
Example: Redmi Note 8 (21.4.22)
Normal. widevine.mdt was used up to Android 10, while widevine.mbn is used instead since Android 11.EDIT: I've just looked into /vendor/firmware_mnt/image, I don't have widevine.mdt but I have widevine.mbn file
I QCOM-OEMCrypto: LibOEMCrypto version 1.30
I QCOM-OEMCrypto: TA version 1.74
I QCOM-OEMCrypto: Api version 16.3
D WVCdm : [oemcrypto_adapter_dynamic.cpp(729):Initialize] OEMCrypto_Initialize Level 1 success. I will use level 1.
I WVCdm : [oemcrypto_adapter_dynamic.cpp(732):Initialize] Level 1 Build Info (v16): Build Information: API_Version: 16.3 LibOEMCrypto_Version: 1.30 TA_Version: 1.74
I QCOM-OEMCrypto: LibOEMCrypto version 1.30
I QCOM-OEMCrypto: TA version 1.74
I QCOM-OEMCrypto: Api version 16.3
E QCOM-OEMCrypto: Error at trusted_app_is_keybox_or_oemcert_valid : 735
E QCOM-OEMCrypto: TA Result : 17 OEMCryptoResult : 10
I QCOM-OEMCrypto: -----------------------------------------------------------------
I QCOM-OEMCrypto: Error stack trace[1] for TA version 1:74
E QCOM-OEMCrypto: i_widevine_oemcrypto_is_keybox_or_oemcert_valid : 914
I QCOM-OEMCrypto: -----------------------------------------------------------------
E QCOM-OEMCrypto: Error at _oecc05 : 637
W WVCdm : [oemcrypto_adapter_dynamic.cpp(916):LoadLevel1] Could not find /factory/wv.keys. Falling Back to L3.
Thank you. This confirms that what is said above for cepheus and raphael is also true for davinci:Mi device Mi 9T ROM 21.4.21.
Thanks.
I QCOM-OEMCrypto: LibOEMCrypto version 1.30
I QCOM-OEMCrypto: TA version 1.71
I QCOM-OEMCrypto: Api version 16.3
E QCOM-OEMCrypto: Error at trusted_app_is_keybox_or_oemcert_valid : 735
E QCOM-OEMCrypto: TA Result : 17 OEMCryptoResult : 10
I QCOM-OEMCrypto: -----------------------------------------------------------------
I QCOM-OEMCrypto: Error stack trace[1] for TA version 1:71
E QCOM-OEMCrypto: i_widevine_oemcrypto_is_keybox_or_oemcert_valid : 912
I QCOM-OEMCrypto: -----------------------------------------------------------------
E QCOM-OEMCrypto: Error at _oecc05 : 637
W WVCdm : [oemcrypto_adapter_dynamic.cpp(916):LoadLevel1] Could not find /factory/wv.keys. Falling Back to L3.
Have you even been using our Android 11 Weeklies?Log from my Mi 9T (12.1.2 Stable), comparing to your posted logs it seems like the key ist lost completely
Have you even been using our Android 11 Weeklies?
Yeah, it almost looks like the keys expired/invalidated. Might have been done automatically by Xiaomi's Cloud Service.Yes initially I tried the Android 11 Weekly about 1,5 months ago, but decided that the stable was fine for me and used the stable since then (and I also had Widevine L1 on the stable until a week ago).
When I realized I lost Widevine L1 somehow I also tried the Android 11 Weekly again to see if that fixes it, but that didn't change the Widevine level.
I would like to do it, but I need my mobile for work and I don't have another one to replace it.Thank you. This confirms that what is said above for cepheus and raphael is also true for davinci:
You may want to try the method I described at the end of my reply: "One thing you may want to try is flash the latest official Global fastboot ROM and relock the bootloader. It may, or may not, restore the key. Will be interesting to hear the results."Code:I QCOM-OEMCrypto: LibOEMCrypto version 1.30 I QCOM-OEMCrypto: TA version 1.71 I QCOM-OEMCrypto: Api version 16.3 E QCOM-OEMCrypto: Error at trusted_app_is_keybox_or_oemcert_valid : 735 E QCOM-OEMCrypto: TA Result : 17 OEMCryptoResult : 10 I QCOM-OEMCrypto: ----------------------------------------------------------------- I QCOM-OEMCrypto: Error stack trace[1] for TA version 1:71 E QCOM-OEMCrypto: i_widevine_oemcrypto_is_keybox_or_oemcert_valid : 912 I QCOM-OEMCrypto: ----------------------------------------------------------------- E QCOM-OEMCrypto: Error at _oecc05 : 637 W WVCdm : [oemcrypto_adapter_dynamic.cpp(916):LoadLevel1] Could not find /factory/wv.keys. Falling Back to L3.
Users of certain devices from another brand had their L1 keys lost when they had their bootloader unlocked, and restored once they relocked it. We don't know yet if it's a possibility with Xiaomi devices.
I've no idea what you're saying. Those devices don't officially support installing a new Widevine key, something we're working to overcome.From the logs it seems that QC ***** 1.3 is the version that works but also the ones having the L1 are connecting to a server to get it? That is very weird.
But does a remote server could check and valid or invalid (and delete???) a Widevine key? It's very strange...I've no idea what you're saying. Those devices don't officially support installing a new Widevine key, something we're working to overcome.
Delete - very probably, but install a new one - definitely no.But does a remote server could check and valid or invalid (and delete???) a Widevine key? It's very strange...
I just flashed the latest Global EEA rom from Xiaomi on my Mi9/cepheus and relocked the bootloader. There seems to be no effect on my Widevine level, which is still L3.The following is relevant to Mi 9 (cepheus) and Mi 9T Pro/Redmi K20 Pro (raphael) only, and does not apply to Mi 9T (davinci) or Redmi Note 8 (ginkgo), for which we need more logs from users with L1 or L3:
From what we learned so far, users of these 2 devices simply lost their L1 keys or they got somehow corrupted.
The OEMCrypto libs are compatible and work properly, as confirmed by a Mi 9T Pro/Redmi K20 Pro user of our ROM (latest Weekly), who still has his L1 key working properly, and as evident by this part from his log, which shows the L1 key being read properly:
While logs from users who lost their L1 key look like this:Code:I QCOM-OEMCrypto: LibOEMCrypto version 1.30 I QCOM-OEMCrypto: TA version 1.74 I QCOM-OEMCrypto: Api version 16.3 D WVCdm : [oemcrypto_adapter_dynamic.cpp(729):Initialize] OEMCrypto_Initialize Level 1 success. I will use level 1. I WVCdm : [oemcrypto_adapter_dynamic.cpp(732):Initialize] Level 1 Build Info (v16): Build Information: API_Version: 16.3 LibOEMCrypto_Version: 1.30 TA_Version: 1.74
As you can see, the key is completely lost. One thing you may want to try is flash the latest official Global fastboot ROM and relock the bootloader. It may, or may not, restore the key. Will be interesting to hear the results.Code:I QCOM-OEMCrypto: LibOEMCrypto version 1.30 I QCOM-OEMCrypto: TA version 1.74 I QCOM-OEMCrypto: Api version 16.3 E QCOM-OEMCrypto: Error at trusted_app_is_keybox_or_oemcert_valid : 735 E QCOM-OEMCrypto: TA Result : 17 OEMCryptoResult : 10 I QCOM-OEMCrypto: ----------------------------------------------------------------- I QCOM-OEMCrypto: Error stack trace[1] for TA version 1:74 E QCOM-OEMCrypto: i_widevine_oemcrypto_is_keybox_or_oemcert_valid : 914 I QCOM-OEMCrypto: ----------------------------------------------------------------- E QCOM-OEMCrypto: Error at _oecc05 : 637 W WVCdm : [oemcrypto_adapter_dynamic.cpp(916):LoadLevel1] Could not find /factory/wv.keys. Falling Back to L3.
We use essential cookies to make this site work, and optional cookies to enhance your experience. Cookies are also used for ads personalisation