Fix 2720 closed-flip call wakeups/preservation, live timezone sync, and Power menu
- Default CPU_RPM_SLEEP=0, CPU_L2_SLEEP=0, and MODEM_DRX_MODE=0 across bananarchy-power-policy.conf, bananarchy-power-policy.sh, bananarchy-display-power-sync, and kernel patch 0010 so closed-flip incoming calls wake APSS promptly via smd-edge without AT port contention. - Serialize sxmo_modem.sh incoming/finished call checks, expire stale /tmp/sxmo_hangup_requested flags, re-verify live ModemManager call state before ringing/raising callscreen, guard idle/flip-open HANGUP_CLOSE paths in locker.so, callscreen.so, bananarchy-idle-lock.sh, and bananarchy-lid, preserve calls on flip-open (UNGRAB/RAISE), and add closed-flip cover call controls (bananarchy-cover-idle, bananarchy-cover-event.sh, bananarchy-volume-keys). - Propagate live network/manual timezone updates across statusbar, locker.so, bananarchy-cover-idle, bananarchy-dsds, callscreen.so, and bananarchy-run-aligned without reboot (scripts/test-time-timezone-sync.py), remove non-functional Logout from the Power menu, ignore post-call sxmo_calls markers, add scripts/build-dwm-plugins.sh, and update a1114 (carbonara) hashes and docs.
This commit is contained in:
1 parent
786480a08f
commit
8b466ef8ae
110 files changed
+2728
-285
No files matched your search
@@ -26,11 +26,11 @@ if [ "$(id -u)" != "0" ]; then
|
||||
fi
|
||||
|
||||
WIFI_LISTEN_INTERVAL=5
|
||||
MODEM_DRX_MODE=6
|
||||
MODEM_DRX_MODE=0
|
||||
DSDS_SECONDARY_MODE=active
|
||||
DSDS_PARK_DELAY=300
|
||||
CPU_RPM_SLEEP=1
|
||||
CPU_L2_SLEEP=1
|
||||
CPU_RPM_SLEEP=0
|
||||
CPU_L2_SLEEP=0
|
||||
WIFI_SCREEN_OFF_IPV6_MUTE=1
|
||||
WIFI_STANDBY_RAT=keep
|
||||
[ -r "$CONF" ] && . "$CONF"
|
||||
@@ -178,6 +178,10 @@ set_spm_bool() {
|
||||
apply_cpu_lpm() {
|
||||
set_spm_bool "$SPM_PARAM_DIR/rpm_sleep" "$CPU_RPM_SLEEP"
|
||||
set_spm_bool "$SPM_PARAM_DIR/l2_sleep" "$CPU_L2_SLEEP"
|
||||
case "$CPU_RPM_SLEEP" in
|
||||
1|Y|y) ;;
|
||||
*) set_spm_bool "$SPM_PARAM_DIR/screen_off" 0 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
mute_wifi_ipv6_ra() {
|
||||
@@ -305,27 +309,29 @@ boot() {
|
||||
rm -f "$TOKEN" "$RAT_TOKEN" "$PARKED" "$AIDFILE" "$SLOTFILE" "$RAT_PARKED" "$RAT_SAVED" "$IPV6_RA_SAVED" "$READYSTAMP" "$RUNDIR"/drx.wwan* 2>/dev/null || true
|
||||
write_modprobe || true
|
||||
apply_cpu_lpm
|
||||
btok="$$-$(cat /proc/uptime 2>/dev/null | awk '{print $1}' || echo 0)"
|
||||
printf '%s\n' "$btok" > "$BOOTTOKEN"
|
||||
(
|
||||
# Let ModemManager finish its startup AT port probe (~5 s) so we do not
|
||||
# compete with mm-port-probe on wwan_core's shared RX queue, then retry
|
||||
# until all enumerated AT channels accept AT$QCDRX.
|
||||
sleep 5
|
||||
i=0
|
||||
while [ "$i" -lt 12 ]; do
|
||||
cur=""
|
||||
[ -r "$BOOTTOKEN" ] && { read -r cur < "$BOOTTOKEN" 2>/dev/null || cur=""; }
|
||||
[ "$cur" = "$btok" ] || exit 0
|
||||
if [ -c /dev/wwan0at0 ] && { [ -c /dev/wwan0at1 ] || [ "$i" -ge 2 ]; }; then
|
||||
if apply_modem_drx force >/dev/null 2>&1; then
|
||||
exit 0
|
||||
if [ "$MODEM_DRX_MODE" != "0" ]; then
|
||||
btok="$$-$(cat /proc/uptime 2>/dev/null | awk '{print $1}' || echo 0)"
|
||||
printf '%s\n' "$btok" > "$BOOTTOKEN"
|
||||
(
|
||||
# Let ModemManager finish its startup AT port probe (~5 s) so we do not
|
||||
# compete with mm-port-probe on wwan_core's shared RX queue, then retry
|
||||
# until all enumerated AT channels accept AT$QCDRX.
|
||||
sleep 5
|
||||
i=0
|
||||
while [ "$i" -lt 12 ]; do
|
||||
cur=""
|
||||
[ -r "$BOOTTOKEN" ] && { read -r cur < "$BOOTTOKEN" 2>/dev/null || cur=""; }
|
||||
[ "$cur" = "$btok" ] || exit 0
|
||||
if [ -c /dev/wwan0at0 ] && { [ -c /dev/wwan0at1 ] || [ "$i" -ge 2 ]; }; then
|
||||
if apply_modem_drx force >/dev/null 2>&1; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
sleep 3
|
||||
i=$((i + 1))
|
||||
done
|
||||
) >/dev/null 2>&1 &
|
||||
sleep 3
|
||||
i=$((i + 1))
|
||||
done
|
||||
) >/dev/null 2>&1 &
|
||||
fi
|
||||
}
|
||||
|
||||
debugfs_summary() {
|
||||
|
||||
Reference in new issue
Block a user