From: Danny Wood Date: Wed, 18 Dec 2019 21:19:07 +0000 (+0000) Subject: a5xelte: un-commonise the libsec-ril blobs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=refs%2Fheads%2Flineage-16.0;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a5xelte.git a5xelte: un-commonise the libsec-ril blobs * Recent A510F basebands no longer work well with the A310F blobs Change-Id: I120acf2be30b81fea05c3a9a9f48c6bdcf39b2e3 --- diff --git a/extract-files.sh b/extract-files.sh index fd9c582..92d0514 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -65,4 +65,9 @@ setup_vendor "${DEVICE}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}" extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \ "${KANG}" --section "${SECTION}" +# Fix proprietary blobs +BLOB_ROOT="$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary +patchelf --replace-needed libprotobuf-cpp-full.so libprotobuf-cpp-fl26.so $BLOB_ROOT/lib/libsec-ril.so +patchelf --replace-needed libprotobuf-cpp-full.so libprotobuf-cpp-fl26.so $BLOB_ROOT/lib/libsec-ril-dsds.so + "${MY_DIR}/setup-makefiles.sh" diff --git a/proprietary-files.txt b/proprietary-files.txt index aeb17c7..f072408 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -48,6 +48,10 @@ app/mcRegistry/ffffffffd00000000000000000000017.tlbin app/mcRegistry/fffffffff0000000000000000000001b.tlbin app/mcRegistry/fffffffff0000000000000000000001e.tlbin +# RIL +lib/libsec-ril.so +lib/libsec-ril-dsds.so + # Sensors lib/hw/sensors.universal7580.so lib/libsensorservice.so