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
@@ -2,6 +2,14 @@
|
||||
# Ensure the QMI BAM-DMUX data port is open on cellular up; never close it on
|
||||
# down because unregistering net/wwan0 causes ModemManager (qcom-soc) to drop
|
||||
# the modem object, and bam-dmux already runtime-suspends in 1000 ms when idle.
|
||||
# Unpark standby RAT immediately if Wi-Fi drops while the flip is closed.
|
||||
if [ "$1" = "wlan0" ]; then
|
||||
case "$2" in
|
||||
down|pre-down) /usr/bin/bananarchy-power-policy.sh unpark-rat >/dev/null 2>&1 & ;;
|
||||
up|dhcp4-change) /usr/bin/bananarchy-power-policy.sh wifi-up >/dev/null 2>&1 & ;;
|
||||
esac
|
||||
exit 0
|
||||
fi
|
||||
[ "$1" = "qrtr0" ] || [ "$1" = "wwan0" ] || exit 0
|
||||
case "$2" in
|
||||
up|vpn-up) /usr/bin/bananarchy-dpm.sh open ;;
|
||||
|
||||
Reference in new issue
Block a user