From: Danny Wood Date: Wed, 18 Dec 2019 21:19:21 +0000 (+0000) Subject: s5neolte: un-commonise the libsec-ril blobs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f33ffd3a455713c49bf6af5cd2495464c132167;p=GitHub%2FLineageOS%2Fandroid_device_samsung_s5neolte.git s5neolte: un-commonise the libsec-ril blobs * Recent A510F basebands no longer work well with the A310F blobs Change-Id: I5bff78ed33e8edb478b0554d8059ac89db8c07d6 --- diff --git a/extract-files.sh b/extract-files.sh index 176e12f..92d4f3e 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 7661834..0d61faf 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -43,6 +43,10 @@ app/mcRegistry/ffffffff00000000000000000000000d.tlbin app/mcRegistry/07060000000000000000000000000000.tlbin app/mcRegistry/ffffffff00000000000000000000000c.tlbin +# RIL from a3xeltexx (A310FXXU4CSB2) +lib/libsec-ril.so|153aba6cb5dfbbc36e8f2216f354aa5a6c950786 +lib/libsec-ril-dsds.so|6270e1306ca5b3e84c3c005e883534349587dc16 + # Sensors lib/hw/sensors.universal7580.so lib/libinvensense_hal.so