From 017874d65cb301a598b21420cac9bbc19c8d8409 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Wed, 18 Dec 2019 21:19:07 +0000 Subject: [PATCH] a5xelte: un-commonise the libsec-ril blobs * Recent A510F basebands no longer work well with the A310F blobs Change-Id: I120acf2be30b81fea05c3a9a9f48c6bdcf39b2e3 --- extract-files.sh | 5 +++++ proprietary-files.txt | 4 ++++ 2 files changed, 9 insertions(+) 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 -- 2.20.1