diff --git a/extract-files.sh b/extract-files.sh index 827d728..0afe932 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -67,6 +67,10 @@ function blob_fixup() { [ "$2" = "" ] && return 0 apktool_patch "${2}" "${MY_DIR}/blob-patches/oplus-ims-ext.patch" -r ;; + system_ext/lib/libwfdmmsrc_system.so) + [ "$2" = "" ] && return 0 + grep -q "libgui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libgui_shim.so" "${2}" + ;; system_ext/lib64/libwfdservice.so|system_ext/lib/libwfdservice.so) [ "$2" = "" ] && return 0 "${PATCHELF}" --replace-needed "android.media.audio.common.types-V2-cpp.so" "android.media.audio.common.types-V3-cpp.so" "${2}" @@ -74,6 +78,7 @@ function blob_fixup() { system_ext/lib64/libwfdnative.so) [ "$2" = "" ] && return 0 sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}" + grep -q "libinput_shim.so" "${2}" || "${PATCHELF}" --add-needed "libinput_shim.so" "${2}" ;; odm/etc/init/android.hardware.drm@1.3-service.widevine.rc) [ "$2" = "" ] && return 0