From f8ecb0ab75fe2cd5ec166906b4efce83f0e5de19 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Wed, 18 Dec 2019 21:18:21 +0000 Subject: [PATCH] j7elte: Un-commonise the libsec-ril blobs * Recent A510F basebands no longer work well with the A310F blobs Change-Id: I4fb1bbbddd14a201db010b24ad2e3bcf02515669 --- extract-files.sh | 5 +++++ proprietary-files.txt | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index c5b9ed8..ec1bdb4 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 b04d957..c08f171 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -36,6 +36,10 @@ lib/libexynoscamera.so vendor/firmware/setfile_3l2.bin vendor/firmware/setfile_5e3.bin +# RIL +lib/libsec-ril.so +lib/libsec-ril-dsds.so + # Sensors lib/hw/sensors.universal7580.so -- 2.20.1