From: Danny Wood Date: Thu, 22 Jul 2021 12:36:49 +0000 (+0100) Subject: universal7580: Remove liboemcrypto to disable Widevine L1 support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=91adbad80764e1c5fccf4b155c0a996e55d49d26;p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git 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 --- 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