j7elte: Un-commonise the libsec-ril blobs
authorDanny Wood <danwood76@gmail.com>
Wed, 18 Dec 2019 21:18:21 +0000 (21:18 +0000)
committerDario Trombello <dariotr@outlook.de>
Thu, 18 Jun 2020 19:41:25 +0000 (21:41 +0200)
* Recent A510F basebands no longer work well with the A310F blobs

Change-Id: I4fb1bbbddd14a201db010b24ad2e3bcf02515669

extract-files.sh
proprietary-files.txt

index c5b9ed80ccfa1db4bdb6920b926ad561b236ce8f..ec1bdb4dcab33b2e61b839f57d0e1266c36caa9d 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 b04d95732c9856aed6663db6744b7ef93c0872a6..c08f171f96eb424bf4b93c34e410224eed7c748e 100644 (file)
@@ -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