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

Change-Id: I5bff78ed33e8edb478b0554d8059ac89db8c07d6

extract-files.sh
proprietary-files.txt

index 176e12fab72eff7769d37465e7c3f56950bf1d11..92d4f3ea1c1bec855c95d0f5a37bc32834a50ee7 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 7661834fbbb049fe7c9c56936785bbed8c46937b..0d61fafa94e3b94acc4778a32a7690690a1700d9 100644 (file)
@@ -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