Implement 0012 72h standby battery optimizations and initramfs depmod hook
- Add patches/kernel/0012-msm8909-standby-wifi-wcd-panel-ldo-bms.patch, rebuild affected kernel/module artifacts and all six device DTS/DTB files (msm8916-wcd-analog s2/bias gating, wcn36xx offload_sync_work and healthy-RSSI screen_off_offload scan short-circuit, pm8916_bms_vm screen_off FORCE_S3 OCV mode, panel-mipi-dbi dc/reset low on blank, spi-qup runtime PM sleep pinctrl, PM8909 l1/l4 LDO seeding, and sdhci-msm vmmc/vqmmc set_load with regulator-allow-set-load on l8/l12), and switch msm8905-cam from direct APSS SPMI LDO6/LDO17 writes to RPM regulator consumer voting.
- Update standby power policy and compiled C daemons (WIFI_LISTEN_INTERVAL=8, WIFI_STANDBY_RAT=gsm with CS verification and fallback, 10-bananarchy-dpm.sh wifi-up/unpark-rat dispatch, 25 s boot QRTR wait and QMI DMS online recovery, pm8916_bms_vm screen_off sync, bananarchy-run-aligned dark-screen skip, bananarchy-dsds --sig-hysteresis, bananarchy-cover-idle wake_blank_timeout = 8, and scripts/test-standby-power-policy.py).
- Add overlay/rootfs/etc/boot-deploy/hooks/10-initramfs-depmod.sh to run depmod -b per staged initramfs cpio archive and eliminate Stage 2 udevd missing-module boot console errors, enforce .ko.zst-only module installs in apply-bananarchy-overlay.sh, stage Alpine 3.24 /usr/lib/{libz,libcrypto}.so* in rebuild-image.sh chroot with failure cleanup, and add initramfs cpio guards plus verified image hashes in scripts/check-rebuild.sh.
- Document all changes under Unreleased in CHANGELOG.md and synchronize AGENTS.md, MANUAL.md, and BATTERY-OPTIMIZATION-ANALYSIS.md.
This commit is contained in:
1 parent
9700949b28
commit
fc5c4282f5
67 files changed
+67482
-65598
No files matched your search
@@ -631,12 +631,21 @@ provision_slot() {
|
||||
else
|
||||
echo "Slot $other_slot already bound to secondary-gw-provisioning ($other_app_state)."
|
||||
fi
|
||||
ensure_dsds_nas_registration
|
||||
printf '1\n' > /tmp/sxmo_dsds_active 2>/dev/null || true
|
||||
else
|
||||
if [ "${SECONDARY_GW_SLOT:-0}" != "0" ]; then
|
||||
$QMICLI_MODEM --uim-change-provisioning-session='activate=no,session-type=secondary-gw-provisioning' >/dev/null 2>&1 || true
|
||||
fi
|
||||
fi
|
||||
_dms_mode="$($QMICLI_MODEM --dms-get-operating-mode 2>/dev/null | awk -F"'" '/Mode:/ {print $2; exit}' || true)"
|
||||
case "$_dms_mode" in
|
||||
low-power|offline|shutting-down|persistent-low-power)
|
||||
$QMICLI_MODEM --dms-set-operating-mode=online >/dev/null 2>&1 || true
|
||||
;;
|
||||
esac
|
||||
if [ "$other_state" = "present" ]; then
|
||||
ensure_dsds_nas_registration
|
||||
printf '1\n' > /tmp/sxmo_dsds_active 2>/dev/null || true
|
||||
else
|
||||
printf '0\n' > /tmp/sxmo_dsds_active 2>/dev/null || true
|
||||
fi
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user