a3xelte: un-commonise the libsec-ril blobs lineage-16.0
authorDanny Wood <danwood76@gmail.com>
Wed, 18 Dec 2019 21:18:21 +0000 (21:18 +0000)
committerDanny Wood <danwood76@gmail.com>
Fri, 20 Dec 2019 09:21:41 +0000 (09:21 +0000)
* Recent A510F basebands no longer work well with the A310F blobs

Change-Id: I4fb1bbbddd14a201db010b24ad2e3bcf02515669

extract-files.sh
proprietary-files.txt

index d913915fea80ae2f279ae1c1158097b4f69f7340..d436854a1f0f5eb06fb63d3b0f1da522162d7777 100755 (executable)
@@ -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"
index 92c850e9583482f2f1059497f07b09583a4271ac..f9870366b63ab5597274349e616f2920de64126f 100644 (file)
@@ -41,6 +41,10 @@ app/mcRegistry/ffffffffd0000000000000000000000a.tlbin
 app/mcRegistry/ffffffffd00000000000000000000016.tlbin
 app/mcRegistry/fffffffff0000000000000000000001e.tlbin
 
+# RIL
+lib/libsec-ril.so
+lib/libsec-ril-dsds.so
+
 # Sensors
 lib/hw/sensors.universal7580.so
 lib/libsensorservice.so