gta4xl: libsec-ril: Always return an empty value for GET_SMSC_ADDRESS
* Make parameter of type RilData (second last one) passed to SecRil::RequestComplete()
in OnGetSmscAddressDone() be NULL, so that the framework passes an empty value when sending SMS
* Before U this value was not being used, on U the value returned is "SMSC",format_specifier
which is considered invalid when passed back to RIL for sending SMS, however when an empty value
is passed RIL will select the default SMSC, like it did on T and sending SMS works again
Change-Id: I608be406969d7fa58f15ef36340aff4ad1ce9fd0
Co-authored-by: Tim Zimmermann <tim@linux4.de>
diff --git a/extract-files.sh b/extract-files.sh
index c448efd..64860ac 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -8,9 +8,14 @@
function blob_fixup() {
case "${1}" in
- vendor/bin/hw/rild|vendor/lib*/libsec-ril.so)
+ vendor/bin/hw/rild)
"${PATCHELF}" --replace-needed libril.so libril-samsung.so "${2}"
;;
+ vendor/lib*/libsec-ril.so)
+ "${PATCHELF}" --replace-needed libril.so libril-samsung.so "${2}"
+ xxd -p -c0 "${2}" | sed "s/600e40f9820c805224008052e10315aae30314aa/600e40f9820c805224008052e10315aa030080d2/g" | xxd -r -p > "${2}".patched
+ mv "${2}".patched "${2}"
+ ;;
esac
}
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 9e5ee58..baf48ef 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -53,7 +53,7 @@
vendor/etc/init/init.vendor.rilchip.rc|0f5f13a11c084db5dc0eb47bb693235a2273f91e
-vendor/lib/libsemnativecarrierfeature.so|d280604d21163b87ca731df9b9d95d09b39f3c2a
-vendor/lib64/libril-samsung.so|629940983136ff525ed41a3324f50c3f9d752432
--vendor/lib64/libsec-ril.so|df30b39bda244753649d8bce082c34ee67112ca1
+-vendor/lib64/libsec-ril.so|bcbfaa30a1482ce1a2134945143b00ab235a910c
-vendor/lib64/libsemnativecarrierfeature.so|ca44453cf7cca968606b56936be7de0d214d74be
## TEEGRIS Firmware