Commit Graph
22 Commits
Author SHA1 Message Date
Luxferre fc5c4282f5 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.
2026-11-15 14:46:50 +02:00
Luxferre 96c66bf0c6 Implement 0009 deep-standby SoC rail, RPM handoff, USB PHY, Wi-Fi BET, and drm_mipi_dbi fixes
- Enable CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT=y and lower 200 MHz CPU OPP opp-peak-kBps to 0x25800 (19.2 MHz BIMC XO floor) across all six MSM8905/MSM8909 DTS files so rpmpd_sync_state and icc_sync_state complete despite driverless /cpus nodes.
- Add patches/kernel/0009-msm8909-deep-standby-rpm-usb-wifi-ddr.patch: late_initcall_sync(rpm_smd_clk_late_cleanup) to drop active votes on unclaimed QDSS/QPIC clocks and clear RPM SLEEP_STATE boot handoff votes, ChipIdea ci_hdrc_msm/core unplugged USB HS PHY shutdown + 200 ms autosuspend, and wcn36xx BET + multicast filter + HOST_SUSPEND_IND/HOST_RESUME_REQ in screen_off_offload.
- Build and export drivers/gpu/drm/drm_mipi_dbi.ko.zst alongside panel-mipi-dbi.ko.zst in build-kernel-audio.sh, rebuild-image.sh, apply-bananarchy-overlay.sh, and check-rebuild.sh.
- Rebuild and verify a1114 (carbonara) images/archives for nokia-argon and nokia-beatles and update BATTERY-OPTIMIZATION-ANALYSIS.md, CHANGELOG.md, and pinned hashes in check-rebuild.sh.
2026-11-13 09:08:24 +02:00
Luxferre c95a84c69c Implement deep-standby RPM interconnect, Wi-Fi, USB, DSDS, and panel power savings for a1114
- Enable MSM8909 SMD RPM interconnect scaling (BIMC, PCNOC, SNOC) with 19.2 MHz active floor, zero sleep-set vote clearing clk_smd_rpm_handoff, and CPU OPP bandwidth tables across all six MSM8905/MSM8909 device trees while preserving module vermagic

- Sync wcn36xx conf.listen_interval and expose live screen_off_offload (ARP, IPv6 NS, GTK, ignore_dtim, 40 ms dynamic PS) toggled by bananarchy-display-power-sync without wlan_host_suspend_ind

- Add runtime PM clock gating to ci_hdrc_msm when USB is unplugged while skipping viewport ULPI_SYNC_STATE polling under CI_HDRC_OVERRIDE_PHY_CONTROL

- Default MODEM_DRX_MODE=6 across all /dev/wwan0at* channels with flock serialization, post-probe boot retry, and modem-ready registration hooks, and quiesce dsds-daemon polling whenever the screen is dark

- Issue MIPI DCS DISPLAY_OFF and SLEEP_IN in panel-mipi-dbi on DPMS off while preserving the 2720 Flip closed-only kernel cover backend, and update pinned a1114 (carbonara) hashes and docs
2026-11-12 19:06:28 +02:00
Luxferre f892531df6 Compile WebKit GSettings schemas for clean rootfs builds
The live nokia-beatles target exposed two gaps: the phone was still running the baseline webarchy.so/networks.so binaries, and WebKit's network process aborted because apk --no-scripts left gschemas.compiled ungenerated. Deploy the current plugin binaries on the phone and make clean image builds compile the schema database from explicit glib/gsettings-desktop-schemas packages. Add a host test and build guards; live HTTP rendering and Bluetooth discovery now pass.
2026-11-10 15:47:03 +02:00
Luxferre 1c011b360a Finalize verified 2720 Flip release source and untrack image outputs 2026-11-09 23:04:13 +02:00
Luxferre 8448b6465f Mark a1108 dejavu release and rebuild image
Group all previously unreleased changes under Build a1108 / dejavu, update README, MANUAL, AGENTS and battery analysis for the current release, add release codename support to scripts/version.sh and check-rebuild.sh, update os-release/issue/motd templates including usr/lib/os-release, rebuild the image under a1108, and deploy the same release metadata to the live phone.
2026-11-08 09:56:01 +02:00
Luxferre 9ac39ce6bf Sync network time when a connection comes up 2026-11-07 21:53:07 +02:00
Luxferre 8078f211e5 Remove the remaining optional scripting runtimes, pin the core tools
- Drop perl, perl-io-socket-ssl, tcl-lib, tcl-tls, sqlite-tcl, lua5.4,
  lua5.4-dev, lua5.5, lua5.5-dev and sqlite (CLI) from the package set and
  add them to the prune denylist: 13 packages / 49.45 MiB including
  dependents. sqlite-libs, tcl, and all paramount runtimes stay.
- Promote curl to an explicit world entry and pin curl, bc, ed, rlwrap,
  mandoc, nano, less and frotz as core tools in check-rebuild.sh.
- Remove the lua/luac symlink creation and the lua5.5 critical-binary check
  from the build scripts; apply-bananarchy-overlay.sh deletes stale links.
- Drop four legacy pmbootstrap-era so: world constraints (@ entries in the
  prune list); so:libperl.so was pinning perl and blocking its removal.
- Update README.md, MANUAL.md, AGENTS.md, SDK.md section 7 and CHANGELOG.md.
- Rebuild images/bananarchy-nokia-argon.img (1.59 GiB, down from 1.66 GiB)
  and verify with qemu-arm that yabasic, neoui.yab, neonet.yab, curl, bc and
  ed still work while perl, lua, sqlite3, gcc and janet are gone.
2026-11-05 15:08:13 +02:00
Luxferre 5d10b801ff Slim the armv7 rootfs: drop Rust and Wayland packages, dead code, and build residue
- Replace Rust sudo-rs with C sudo (sudo-virt provider at priority 100) and add
  a two-phase pruner so apk atomically swaps the conflicting provider.
- Remove Wayland-purpose libwpebackend-fdo from the runtime set and add imv-x11
  for the X11-only image viewer path.
- Drop unused mesa-demos, postmarketos-artwork-wallpapers, ttyescape/hkdm,
  clickclack/sdl3, and font-twemoji; keep sfeed, w3m, htop, non-Latin fonts,
  and the documented SDK toolchain to avoid functional regressions.
- Strip apk index caches, apk logs, and unused gettext locales before mke2fs,
  with a hard guard that fails the build if any residue survives.
- Harden check-rebuild.sh with critical/forbidden package and guard checks.
- Delete the unreferenced Sway-era configurator and patch; sync the docs.
2026-11-05 14:18:59 +02:00
Luxferre 0ab9367e28 Make clean-clone OS rebuilds autonomous
A fresh clone can now bootstrap a complete armv7 rootfs, apply the Bananarchy overlay, regenerate boot artifacts, and produce a flashable image without local build artifacts.

- Add a shared package list and Docker-based rootfs bootstrap, wired into rebuild-image.sh and chroot-shell.sh.
- Add offline rebuild preflight checks and prebuilt-to-overlay artifact synchronization.
- Vendor the patched EDL client and provision host flashing dependencies.
- Remove the hardcoded credential from the power menu helper.
- Refresh documentation and changelog for the autonomous workflow.
2026-11-05 13:40:53 +02:00
Luxferre 06d991d4fa power: fix LBC charger FSM, BMS-VM fuel gauge, WCN36xx BMPS, WCD clock gating, and battery UI 2026-11-03 12:44:17 +02:00
Luxferre 699444d717 Automatically update deviceinfo, extlinux fdt, and boot.img when switching target devices 2026-11-02 08:02:01 +02:00
Luxferre 49830e137d Remove example client.ovpn from gs-warp and add automatic rootfs/prebuilt dependency checks to build scripts 2026-11-02 07:58:28 +02:00
Luxferre 2030201539 Add Privacy Center (Tor, GS-Warp, OpenVPN, GSocket, WireGuard), tunneled DNS, and stage a1105 (vendetta) changelog 2026-11-01 20:58:18 +02:00
Luxferre 62ac46e498 Add NeoUI passcode configurator, duress mode profile, and Bluetooth OBEX UI 2026-10-30 19:28:31 +02:00
Luxferre b7c57aab2f Fix OpenRC boot hang in msm-modem-uim-selection, USB gadget UDC race/unbind, and SIM2 lock sync 2026-10-25 12:32:46 +02:00
Luxferre 0a65fc0ea2 Remove redundant boot-* and nokia-argon-sxmo.img image artifacts 2026-10-25 08:51:46 +02:00
Luxferre a1e4f6ef8c build: drop redundant .sparse.img generation and update docs 2026-10-25 07:24:08 +02:00
Luxferre 1e14ffdbd0 fix(x11): keep /usr/bin/Xorg non-setuid (0755) for rootless elogind startup 2026-10-22 22:30:43 +03:00
Luxferre b12cd738af build: add date-based release versioning script and remove hardcoded version 2026-10-22 20:20:16 +03:00
Luxferre 7bab7b7a11 feat(x11): migrate to pure Xlibre + dwm/dmenu/st stack, fix fcitx5-t9 bottom bar, PM8909 PON shutdown, and remove Wayland 2026-10-20 21:15:16 +03:00
Luxferre 6942acf5cf init commit 2026-10-19 09:23:54 +03:00