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

Change-Id: I120acf2be30b81fea05c3a9a9f48c6bdcf39b2e3

extract-files.sh
proprietary-files.txt

index fd9c5825473605bd50ae7de3cf0f9e0b7ee18b94..92d0514df5352539ae97d3079e4602bed871c627 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 aeb17c7ddb4b93a78d881b5cef193137f8bab36d..f072408912c8cad15b89b2c5747d40fb8d391a62 100644 (file)
@@ -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