universal7580: Remove liboemcrypto to disable Widevine L1 support
authorDanny Wood <danwood76@gmail.com>
Thu, 22 Jul 2021 12:36:49 +0000 (13:36 +0100)
committerDanny Wood <danwood76@gmail.com>
Fri, 30 Jul 2021 09:39:48 +0000 (10:39 +0100)
* 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
proprietary-files.txt

index d29304031d0cf8e293497e7e0b07263dcae01fdd..e3e33bacf43e9d15f92720d0c7069662993eb688 100755 (executable)
@@ -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
index c93dcb883675ad5f09c8a454874d448617fc23ee..44bc2c1a66f6394b7a74530b2897f6404f15573a 100644 (file)
@@ -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