From: Danny Wood Date: Wed, 18 Dec 2019 21:18:21 +0000 (+0000) Subject: j7elte: Un-commonise the libsec-ril blobs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8466fe81d60aa09791442a8d31bd06bb3a4671aa;p=GitHub%2FLineageOS%2Fandroid_device_samsung_j7elte.git j7elte: Un-commonise the libsec-ril blobs * Recent A510F basebands no longer work well with the A310F blobs Change-Id: I4fb1bbbddd14a201db010b24ad2e3bcf02515669 --- 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