From 91adbad80764e1c5fccf4b155c0a996e55d49d26 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Thu, 22 Jul 2021 13:36:49 +0100 Subject: [PATCH] universal7580: Remove liboemcrypto to disable Widevine L1 support * L1 does not work on modified systems * Also switch to using the patched A510F widevine blob for working L3 Change-Id: I6502528afd16aa42e566934022a94cf05a5edd3b Change-Id: I9a412a387a7d714cb65a631df14a93bc93921b21 --- extract-files.sh | 1 + proprietary-files.txt | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index d293040..e3e33ba 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -62,6 +62,7 @@ extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTIO # Fix proprietary blobs BLOB_ROOT="$ANDROID_ROOT"/vendor/"$VENDOR"/"$DEVICE_COMMON"/proprietary "${PATCHELF}" --replace-needed libgui.so libsensor.so $BLOB_ROOT/vendor/bin/gpsd +"${PATCHELF}" --replace-needed libprotobuf-cpp-lite.so libprotobuf-cpp-fl26.so $BLOB_ROOT/vendor/lib/mediadrm/libwvdrmengine.so # replace SSLv3_client_method with SSLv23_method sed -i "s/SSLv3_client_method/SSLv23_method\x00\x00\x00\x00\x00\x00/" $BLOB_ROOT/vendor/bin/gpsd diff --git a/proprietary-files.txt b/proprietary-files.txt index c93dcb8..44bc2c1 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -25,9 +25,6 @@ vendor/lib/egl/libGLES_mali.so lib/libprotobuf-cpp-fl26.so|f2436050b38e5acb63d36ad7b24a0c2612d68749 # Widevine +vendor/lib/mediadrm/libwvdrmengine.so vendor/lib/mediadrm/libdrmclearkeyplugin.so lib/libstagefright_hdcp.so -lib/liboemcrypto.so - -# Widevine - from angler (OPR6.170623.017) -vendor/lib/mediadrm/libwvdrmengine.so|66ba66d047044f92eb0eada1faf6a5799ded90ab -- 2.20.1