From 0a9e93a2cefb2012aae846281a5f501fcba6cbe5 Mon Sep 17 00:00:00 2001 From: Dario Trombello Date: Fri, 22 May 2020 00:44:54 +0200 Subject: [PATCH] j7elte: Add plmn binaries I ran the command strings on libsec-ril.so and found these files as dependencies. --- extract-files.sh | 4 ++++ proprietary-files.txt | 2 ++ 2 files changed, 6 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index ec1bdb4..b57f42b 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -69,5 +69,9 @@ extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \ 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 +(perl -pi -e "s/\/system\/etc\/plmn_delta.bin/\/vendor\/etc\/plmn_delta.bin/g" $BLOB_ROOT/lib/libsec-ril.so) +(perl -pi -e "s/\/system\/etc\/plmn_delta.bin/\/vendor\/etc\/plmn_delta.bin/g" $BLOB_ROOT/lib/libsec-ril-dsds.so) +(perl -pi -e "s/\/system\/etc\/plmn_se13.bin/\/vendor\/etc\/plmn_se13.bin/g" $BLOB_ROOT/lib/libsec-ril.so) +(perl -pi -e "s/\/system\/etc\/plmn_se13.bin/\/vendor\/etc\/plmn_se13.bin/g" $BLOB_ROOT/lib/libsec-ril-dsds.so) "${MY_DIR}/setup-makefiles.sh" diff --git a/proprietary-files.txt b/proprietary-files.txt index c08f171..3314e35 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -37,6 +37,8 @@ vendor/firmware/setfile_3l2.bin vendor/firmware/setfile_5e3.bin # RIL +etc/plmn_delta.bin:vendor/etc/plmn_delta.bin +etc/plmn_se13.bin:vendor/etc/plmn_se13.bin lib/libsec-ril.so lib/libsec-ril-dsds.so -- 2.20.1