Add IMS/VoLTE/VoWiFi stack and fix Dual-SIM cellular mobile data

- Add Qualcomm MCFG .mbn parser and profile store (bananarchy-imsctl), QMI_PDC/QMI_IMSDCM VoLTE daemon (bananarchy-imsd), and SWu IKEv2/EAP-AKA/ESP/SIP/AMR VoWiFi engine (bananarchy-vowifi) with disabled-by-default (auto) 4G-only activation and xmodem/xfiles/xcallscreen UI support.

- Add libmm-wds-bind.so QMI_SERVICE_WDS PRIMARY subscription binding (including serialized post-mux/data-port binding), msm-modem-uim-selection DSDS PS-domain handoff, cs-only dial pause/restore (10-bananarchy-dpm.sh), cold-boot mmcli -K recovery, and networks.so connection.autoconnect no race fix.

- Add offline test suites (test-ims-mbn.py, test-imsd-volte.py, test-vowifi-swu-ims.py, test-lte-mobile-data.py), update docs (CHANGELOG.md Unreleased, README.md, MANUAL.md, AGENTS.md), and pin rebuilt 4-target image SHA-256 hashes in scripts/check-rebuild.sh.
This commit is contained in:
Luxferre committed 2026-11-20 19:18:58 +02:00
1 parent 03bc80f267
commit c40ec932de
65 files changed
+11916 -129

No files matched your search

@@ -191,10 +191,27 @@ apply_cpu_lpm() {
esac
}
ims_state_val() {
_key="$1"
_st="${BANANARCHY_IMS_STATE_PATH:-/run/bananarchy/ims/state.env}"
[ -r "$_st" ] || return 0
awk -F= -v k="$_key" '$1 == k { gsub(/\047/, "", $2); print $2; exit }' "$_st" 2>/dev/null || true
}
ims_conf_val() {
_key="$1"
_cf="${BANANARCHY_IMS_CONF_PATH:-/etc/bananarchy/ims.conf}"
[ -r "$_cf" ] || return 0
awk -F= -v k="$_key" '$1 == k { print $2; exit }' "$_cf" 2>/dev/null || true
}
mute_wifi_ipv6_ra() {
[ "$WIFI_SCREEN_OFF_IPV6_MUTE" = "1" ] || return 0
[ -w "$ACCEPT_RA" ] || return 0
ip -4 addr show dev wlan0 2>/dev/null | grep -q 'inet ' || return 0
if [ "$(ims_state_val VOWIFI_ACTIVE)" = "1" ] && [ "$(ims_state_val VOWIFI_IPV6_EPDG)" = "1" ]; then
return 0
fi
if [ ! -f "$IPV6_RA_SAVED" ]; then
cur_ra=""
IFS= read -r cur_ra < "$ACCEPT_RA" 2>/dev/null || cur_ra=""
@@ -243,6 +260,9 @@ park_wifi_rat() {
[ -f "$RAT_PARKED" ] && return 0
[ -f "$GSM_UNSUPPORTED" ] && return 0
has_active_call && return 0
if [ "$(ims_state_val VOLTE_ACTIVE)" = "1" ] && [ "$(ims_state_val VOWIFI_ACTIVE)" != "1" ]; then
[ "$(ims_conf_val keep_lte_on_screen_off)" != "0" ] && return 0
fi
oper=""
[ -r "$WLAN_OPERSTATE_PATH" ] && { IFS= read -r oper < "$WLAN_OPERSTATE_PATH" 2>/dev/null || oper=""; }
[ "$oper" = "up" ] || return 0