Commit Graph
49 Commits
Author SHA1 Message Date
Luxferre 5d427e39ab Implement 0014 keypad debouncer, Sparkler LRA filter, standby fixes, and stage a1125 (ampere)
- Extend 0012 standby optimizations with removable-SD-only MMC_CAP_AGGRESSIVE_PM | MMC_CAP2_FULL_PWR_CYCLE in sdhci-msm, proxy mem clock and BIMC XO re-parenting + 0x45000 BIT(2) early-vote clear in qcom_q6v5_mss / gcc-msm8909, 100 MHz opp-99999975 floor across qcom-msm8909.dtsi and all 6 device DTS/DTBs, disabled-by-default Bluetooth with bt_enabled persistence, NM ipv6.method=ignore + standby wlan0/disable_ipv6 muting, and post-park DSDS signal hysteresis

- Add ABI-preserving system-core keypad debouncer patch 0014 (drivers/input/input.c key_debounce_ms + pm8941-pwrkey press/release chatter holdoff), replace ignored col-scan-delay-ms with col-scan-delay-us = <0x32> and raise DT debounce intervals across all 6 DTS/DTBs, configure per-target key_debounce_ms at boot and xset r rate 300 25, and add C/DTS verification in scripts/test-keypad-debouncer.py

- Isolate Nokia 8000 4G (nokia-sparkler / nokia-leo) media playback from the shared 157 Hz SPK_DRV vibrator channel via dynamic Speaker-only filtering in music.so, files.so, and ringtones.so, explicit RX3/SPK mixer zeroing on Earpiece/Headphones/Bluetooth routes in sxmo_audio.sh and preview plugins, and Sparkler/Leo-only /etc/mpv/mpv.conf provisioning

- Register upcoming build a1125 (ampere) in scripts/version.sh, scripts/check-rebuild.sh, AGENTS.md, and CHANGELOG.md, fix --for-rebuild pre-rebuild stale output checks in check-rebuild.sh/test-cover-dt.py, rebuild vmlinuz/DTBs/plugins and all 4 --mkinitfs target images stamped a1125 (ampere), and pin their verified SHA-256 checksums
2026-11-23 15:26:56 +02:00
Luxferre c40ec932de 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.
2026-11-20 19:18:58 +02:00
Luxferre 63ef9299fc Fix DNS resolution across Wi-Fi, cellular, USB tethering, and VPNs
- Add NetworkManager rc-manager=file with dnsmasq caching and baseline /etc/resolv.conf, isolate usb0 routes/DNS in USB_Networking.nmconnection, enable loopback in boot runlevel, and guard 90-nm-cloud-setup.sh for OpenRC.
- Rewrite 50-dns-filter.sh to handle dhcp4/dhcp6/dns events, drop BusyBox-invalid logger -i and blocking gateway sleeps, gate IPv6 AAAA filtering on global unicast addresses and accept_ra, and fall back to 1.1.1.1/9.9.9.9 when no upstream DNS is advertised.
- Fix bananarchy-privacy-ctl musl parallel-query leaks (omit 127.0.0.1 in VPN mode, add sync-dns recovery, replace pkill/pgrep), add usb-tether DNS DNAT, rebuild and verify all four a1120 target images and release zips, and add scripts/test-dns-resolution.py.
2026-11-18 13:12:11 +02:00
Luxferre 1e7077e314 Fix bluetoothd CPU busy-loops, cache BT state, and refresh a1120 images
- Add /etc/conf.d/bluetooth (supervise-daemon, retry=TERM/3/KILL/1, --noplugin=hfp,bap,bass,mcp,vcp,micp,csip,ccp,tmap,gmap,asha,midi,neard) and drop gateway UUIDs (111f/1112/110a) from main.conf ReconnectUUIDs so Experimental = true keeps PreferredBearer without BlueZ hfp-hf/ATT EOF GMainLoop spins.

- Set duplicate-data off in bananarchy-bt-scan.sh and update sxmo_bluetoothtoggle.sh to disconnect, btmgmt power off, and clean state files on disable so adapter_stop() never busy-loops on dual-bearer links.

- Add single-shot BlueZ ObjectManager state caching (bt_state.tsv, dump-state, CTRL_READY_FILE, EPHEMERAL_DEV_PROPS filter) in bananarchy-bt-obex and consume it in networks.so instead of per-device bluetoothctl refresh storms.

- Extend Bluetooth host tests and check-rebuild.sh, update docs, and rebuild/pin a1120 (cocojamboo) images and release archives for nokia-argon, nokia-beatles, nokia-coconut, and nokia-sparkler.
2026-11-18 06:34:13 +02:00
Luxferre f6b42ff604 Port Quagr NeoUI pager plugin, opt-in receiver daemon, and cover alerts
- Port Quagr (<=30-byte SHA-256 + XOR + checksum) as C++20 NeoUI DWM plugin quagr.so (xquagr / quagr) across all targets with 3-tab UI (Receive, Send, Config) and independent Rx/Tx Passphrase or Raw 64-Hex key support.
- Enforce strict receiver autostart gating in quagr_plugin_init and --preload (starts only when autostart_rx=1 and a valid Rx key/passphrase is set) with atomic $SXMO_NOTIFDIR system notification emission and duress-mode blocking.
- Integrate QUAGR/QUAGR_CLEAR full-message wrapped rendering, extended ASCII 5x7 glyphs, persistent hold, and any-side-button dismissal into bananarchy-cover-idle and bananarchy-cover-event.sh for nokia-beatles.
- Rebuild and pin a1120 (cocojamboo) images and release archives for nokia-argon, nokia-beatles, nokia-coconut, and nokia-sparkler, and add scripts/test-quagr.py.
2026-11-16 17:36:05 +02:00
Luxferre ab53423e33 Port Nokia 800 Tough (nokia-coconut), fix microSD detection, and stage upcoming a1120 (cocojamboo) build
- Migrate nokia-tough to canonical nokia-coconut while keeping CLI aliases, add layered bootloader/lk2nd/nokia-coconut.patch, bootfs/bootimg validators, and offline scripts/inspect-stock-msm8905-dump.py

- Complete nokia-coconut Stage 2 hardware bring-up: wire 6-column 22-key keypad (gpio0, gpio3, gpio7, gpio99, gpio6, gpio1), gpio98 KEY_POWER, and pon@800:resin KEY_DOWN (0x6c); split leds-msm8905-torch into GPIO_13 white:torch (dedicated top-edge flashlight) and GPIO_32 camera:flash (rear camera flash for camera.so and bananarchy-photo)

- Restore sdhci@7864000 non-removable across all six DTS/DTB targets, remove unwired gpio38 cd-gpios/sdc2-cd-* states, and harden sxmo_sdcard.sh under flock

- Register upcoming build a1120 (cocojamboo) in scripts/version.sh, scripts/check-rebuild.sh, CHANGELOG.md, AGENTS.md, README.md, and MANUAL.md with verified hashes across nokia-argon, nokia-beatles, and nokia-coconut
2026-11-15 18:00:10 +02:00
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 786480a08f Implement 0011 boot ICC, OPP latency, USB PHY, Q6ASM/ALSA, and ZRAM fixes
- Add patches/kernel/0011-msm8909-boot-icc-opp-usb-audio-fixes.patch and update all six standalone device DTS files: mark XPU-restricted MSM8909 PCNOC interconnect nodes ap_owned with NOC_QOS_MODE_INVALID to clear -ENXIO errors, move clock-latency-ns onto each CPU opp child node so cpuinfo_transition_latency reports 100 us instead of CPUFREQ_ETERNAL (6.44 s schedutil rate limit), convert qcom-cpufreq-nvmem OPP deferrals to dev_err_probe, guard fixed 3.075 V pm8909_l13 in phy-qcom-usb-hs, handle async WRITE_V2/READ_V2 and synchronous EOS APR responses in q6asm, and disable unrouted dai-link-multimedia3 while setting q6voice_device=3 for shifted VoiceMMode1 (hw:0,3).
- Restore /bin, /usr/bin, and /usr/sbin BusyBox applet symlinks (excluding pkill) in apply-bananarchy-overlay.sh, size /dev/zram0 from /proc/meminfo in zramstart, guard "/" D-Bus object paths in NetworkManager 50-dns-filter.sh, sync schedutil rate_limit_us in bananarchy-display-power-sync, replace remaining pkill/pgrep -f uses in X11/hook/modem scripts, and clean temporary AT response files via trap in msm-modem-uim-selection.
- Verify live after reboot on nokia-argon, rebuild a1114 (carbonara) images/archives for nokia-argon and nokia-beatles with e2fsck/debugfs and check-rebuild.sh guards, and update pinned hashes in scripts/check-rebuild.sh and CHANGELOG.md.
2026-11-13 21:27:41 +02:00
Luxferre 2ae4ef34a2 Implement 0010 RPM/L2/WCD/UART deep-standby, Adreno 304 ICC/SMMU fixes, and C11 autostart daemons
- patches/kernel/0010-msm8909-rpm-lpm-bimc-wcd-ldo-uart.patch and device DTS/DTB files (nokia-{argon,beatles,beatles-cover,coconut,sparkler,leo}): vMPM APSS RPM sleep, L2 SAW2 collapse, WCD-digital runtime PM, PM8909 LDO seeding, ttyMSM0 disable, dynamic msm_gpu gfx-mem BIMC interconnect scaling (mas_oxili), and qcom_iommu context restore + atomic TLB flush on resume.
- Replace Python/shell autostart loops with compiled C11 ARM ELF daemons (bananarchy-dsds, bananarchy-modemmonitor, bananarchy-soundmonitor, bananarchy-notifmonitor, bananarchy-run-aligned, bananarchy-session-loop) plus scripts/test-dsds-daemon.py.
- Update scripts/check-rebuild.sh, CHANGELOG.md, BATTERY-OPTIMIZATION-ANALYSIS.md, MANUAL.md, README.md, and AGENTS.md with verified a1114 (carbonara) image/archive pins and guards.
2026-11-13 18:23:14 +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 b2cf028808 Restore unconditional BAM-DMUX wwan0 open for ModemManager and add primary-SIM QMI VOICE USSD fallback
MMPluginQcomSoc requires net/wwan0 to export /org/freedesktop/ModemManager1/Modem/0, so gating --dpm-open-port on type=gsm NetworkManager profiles left ModemManager with 'No modems were found' on Wi-Fi-only setups while bam-dmux already runtime-suspends in 1000 ms (pc_state=0) when idle.

- Always open the BAM-DMUX QMI DPM port in msm8909-modem-wwan-port before ModemManager starts and keep wwan0 registered across NetworkManager down events.
- Add -d qrtr://0 fallback and late-open mmcli rescan handling in bananarchy-dpm.sh and msm-modem-uim-selection provision_slot().
- Resolve mm_modem via mmcli -L in msm-modem-uim-selection ussd and fall back to direct AF_QIPCRTR QMI VOICE USSD (sub=0) on the primary SIM alongside sub=1 on the secondary SIM.
- Rebuild and pin nokia-argon and nokia-beatles a1114 (carbonara) images and update guards and docs.
2026-11-12 20:41:00 +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 83c8db10f1 Release a1111 (lennon): isolate nokia-argon slider from 2720 Flip cover stack
- Write /usr/share/bananarchy/lid-profile per target in apply-bananarchy-overlay.sh (slider on nokia-argon, flip on nokia-beatles, none elsewhere), disable flip runlevel services, cover udev/config, and mux module loads on non-flip builds, and exit 0 immediately in flip daemons/init scripts when lid-profile != flip
- Guard startup Escape grab cleanup when locked and gate lid-state checks in display-power-sync, locker.so, and callscreen.so on lid-profile == flip so nokia-argon keeps pure a1108 sliding-lid behaviour
- Ship active-high shared cover backlight (kernel_backlight_invert = 0), active-black internal panel isolation (kernel_internal_sleep = 0), pixel-centered 240x240 cover UI, SW_LID hall sync, and shared Screen blank timeout on nokia-beatles
- Pin verified a1111 (lennon) image hashes for both nokia-argon and nokia-beatles and synchronize docs and host tests
2026-11-11 14:20:42 +02:00
Luxferre e4358665f7 Enable WCNSS LE before Bluetooth discovery
Live btmgmt/btmon showed hci0 powered with le absent from current settings; BlueZ issued only BR/EDR Inquiry, so BLE peripherals were invisible. Add a narrow doas helper to run btmgmt -i hci0 le on before each interactive scan, make bluez-btmgmt explicit, add the doas rule, host guards and docs. With real peripherals in pairing mode the plugin UI reported 5 devices and retained BT KeyBoard / LE-QC Ultra entries.
2026-11-10 16:15:50 +02:00
Luxferre 77127c7844 Keep live BlueZ discovery client alive for real scans
The previous Bluetooth fix only proved parser behavior with a synthetic stream. Real BlueZ discovery needs one interactive client to stay alive while unpaired Device1 objects exist. Add a bluetoothctl wrapper and bananarchy-bt-scan.sh PTY session that powers on, sets auto/duplicate-data filters, queries devices during discovery, and stops discovery cleanly. Add util-linux-misc, host test, docs and rebuild guards. Deployed to the live phone; a physical peripheral in pairing mode is still needed for final confirmation.
2026-11-10 16:04:14 +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 90e6771700 Blank the cover fbdev when off and add panel diagnostics 2026-11-10 14:11:00 +02:00
Luxferre ec55fb1457 Implement 2720 Flip cover display behaviour 2026-11-10 13:23:03 +02:00
Luxferre a50c01b416 Fix GPS modem selection and add a GPS-only time source 2026-11-10 13:18:14 +02:00
Luxferre eaf08abcd4 Refresh the charge icon immediately on charger plug/unplug 2026-11-10 13:00:41 +02:00
Luxferre 5d859d7b11 Trigger the screenlock daemon on idle screen blanking 2026-11-10 12:51:15 +02:00
Luxferre 3b96b8f242 Use target hostnames and restore lk2nd bootloader reboot 2026-11-09 23:44:44 +02:00
Luxferre 1c011b360a Finalize verified 2720 Flip release source and untrack image outputs 2026-11-09 23:04:13 +02:00
Luxferre 608a8ac71b Replace idle network poller with event-driven dispatcher
A/B measure and reject additional VM/sysctl/mount tweaks that did not improve idle without trade-offs. Remove sxmo_networkmonitor's long-lived nmcli device monitor, replace it with NetworkManager dispatcher hooks that run Sxmo network/statusbar hooks as the X session user, disable the superd unit in both start hooks, guard it in check-rebuild.sh, update docs, rebuild the image, and verify live Wi-Fi reconnect and idle context switches.
2026-11-08 09:28:13 +02:00
Luxferre 85c6a7b886 Add Config -> Sync net time manual trigger
The reflashed image starts chronyd at ~27 s, before NetworkManager installs
a usable resolv.conf, so pool.ntp.org stays unresolved and minpoll 12 would
wait up to 4096 s. Wi-Fi came up at ~30 s but the clock was only stepped at
~112 s, when usb0 emitted another dispatcher event.

- Config -> Sync net time in the built-in dmenu Config menu runs
  bananarchy-sync-net-time.sh, forces a burst via bananarchy-time-sync.sh
  sync and shows a desktop notification with the UTC date or a failure.
- New sync mode reports success/failure and exit status; resolved() now
  requires at least one known source, DNS waits run before the flock, and
  network-up/force/sync get 8 retries so a slow boot retry cannot swallow
  network-up events.
- Rebuilt dmenu.so from src/sxmo-dmenu/dmenu.c into prebuilt/ and overlay/;
  apply-bananarchy-overlay.sh keeps the wrapper root-owned and executable;
  check-rebuild.sh guards the menu entry, wrapper and sync mode.
- Rebuilt and verified images/bananarchy-nokia-argon.img (all new files
  byte-identical to overlay, boot.img unchanged, 27 initramfs modules).

Live verification on the reflashed phone: helper sync as the X session user
prints "Network time synced: 2026-11-07 20:17:43 UTC", the wrapper posts a
notification, a DNS-down sync fails clearly after 16 s, restoring DNS syncs
again, and the rebuilt dmenu daemon was reloaded with the new Config item.
2026-11-07 22:22:02 +02:00
Luxferre 9ac39ce6bf Sync network time when a connection comes up 2026-11-07 21:53:07 +02:00
Luxferre 38d54f10ff Make device initramfs module lists reproducible from a clean clone
A clean clone of the repo bootstraps a rootfs without any device-* package
(none is in scripts/rootfs-packages.txt). mkinitfs therefore omitted the
per-device module list and produced an initramfs missing 7 modules:
panel-mipi-dbi, drm_mipi_dbi, drm_dma_helper, matrix_keypad,
matrix-keymap, pm8916_lbc and the new pm8916_bms_vm. The shipped image was
only correct because an existing rootfs happened to have device-nokia-argon
installed.

- scripts/apply-bananarchy-overlay.sh now installs the tracked
  devices/<device>/modules-initfs as
  /usr/share/mkinitfs/modules/00-device-<device>.modules plus its
  initramfs.load mapping, and removes stale lists from other devices.
  Verified for all five targets (argon/beatles/tough keep 5 modules,
  sparkler/leo keep 3).
- scripts/check-rebuild.sh guards the per-device lists and the overlay step.
- AGENTS.md / CHANGELOG.md document the package-list decision.

Verification from a fresh clone of origin/master at bc1c19a:
- scripts/check-rebuild.sh passes.
- scripts/build-kernel-audio.sh downloads the gitignored kernel tarball,
  applies all 7 patches (including 0007) and reproduces all 72 committed
  kernel artifacts byte-for-byte; the only zImage difference is the embedded
  build timestamp (42 bytes, verified by decompressing both vmlinux images).
- rebuild-image.sh nokia-argon --mkinitfs now produces an initramfs with the
  identical 27-module set, the fixed pm8916_bms_vm.ko.zst SHA-256 match and
  initramfs.load present.
- Main image rebuilt and verified: kernel + DTB byte-identical, 27 modules,
  BMS SHA-256 match.
2026-11-07 21:21:15 +02:00
Luxferre bc1c19a483 VM-BMS sanity fix and configurable runtime power policies
Kernel (source-only, ABI-preserving, patch 0007):
- pm8916_bms_vm.c: bound VADC raw samples to 8000..16000 (~2.34-4.69 V)
  with a 3.7 V nominal fallback in raw_to_uv(); reject out-of-window FIFO
  samples in the IRQ handler and probe pre-read. Fixes the 19.2 V /
  "Over voltage" / 100% misreport from an uninitialised 0xffff sample after
  a hard reset (also covers the OCV register reads on probe/resume).
- wcn36xx: listen_interval becomes a module parameter (1-10, default 5,
  was hardcoded 3) so the beacon skip is configurable at module load.

Runtime power policy (/etc/bananarchy-power-policy.conf):
- WIFI_LISTEN_INTERVAL drives /etc/modprobe.d/10-bananarchy-power.conf.
- MODEM_DRX_MODE (0 or 6-9) applies Qualcomm AT$QCDRX at boot and on wake.
  Standard AT+CPSMS / AT+CEDRXS are unsupported on this modem firmware.
- DSDS_SECONDARY_MODE=eco parks the secondary GW provisioning session after
  DSDS_PARK_DELAY seconds of a dark panel and restores it on wake, capturing
  the actual slot and AID. Uses QMI provisioning sessions, not SIM power-off
  (which clears PIN verification). Default active keeps both SIMs reachable.
- New bananarchy-power-policy.sh, OpenRC default-runlevel service, doas rule,
  and hooks in sxmo_wm.sh display off/on.

Live-verified on nokia-argon: DRX 6 readback, eco park/unpark round-trip,
Wi-Fi param 5, status output, module vermagic match, both SIMs registered.
Rebuilt image with --mkinitfs: initramfs and rootfs carry the new modules
(SHA-256 match), boot.img keeps the byte-identical known-good zImage + DTB.
Docs updated (BATTERY-OPTIMIZATION-ANALYSIS.md section 15, CHANGELOG,
MANUAL, README, AGENTS).
2026-11-07 20:39:06 +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 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 b2ade2dc42 bluetooth: add QDSP6 internal BT-SCO audio routing, fix A2DP/HSP-HFP profile handling, and add in-call Bluetooth route 2026-11-04 13:34:18 +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 6d31efd796 Port Wallace Toolbox and Project Lycan Qualcomm features to engmenu 2026-11-03 09:55:18 +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 a4dbf71af9 modem: fix missing call log entries and rejected calls still ringing
On a freshly flashed image the root-run dual-SIM daemon created
~/.local/share/sxmo/modem as root. sxmo_modemcall.sh runs under set -e,
so its failed modemlog.tsv write aborted hangup() before the call was
ended on the network (the caller kept ringing), and no call was ever
logged for xcalllog.

- dsds-daemon: create the log and call state directories owned by user,
  append to modemlog.tsv through a helper that keeps it user-owned, and
  repair root-owned leftovers on start; never create /run/user/10000.
- sxmo_modemcall.sh: make log_event non-fatal and hang up on the network
  before logging and running the hangup/discard hooks.
- sxmo_modemmonitor.sh: only fall back to an unprivileged dsds-daemon
  when doas is unavailable, not whenever the root instance exits.
- apply-bananarchy-overlay.sh: pre-create the modem and block log
  directories in the image.
2026-10-28 20:07:42 +02:00
Luxferre 3b9f2ee28d Add Adreno 304 (FD304) GPU acceleration, Xlibre Glamor/DRI3/GLX offload, and OpenGL demos 2026-10-28 09:26:24 +02:00
Luxferre 2e2adcc7f2 Persist screen brightness, enable universal evdev key/lid wake, and add *+# screenshot combo 2026-10-27 22:24:39 +02:00
Luxferre 5132deb4d8 Keep kill-plymouth enabled so plymouthd releases DRM master before Xorg starts 2026-10-27 08:13:51 +02:00
Luxferre 68cf9c515b Remove unnecessary background services and polling loops to improve battery life 2026-10-27 08:08:05 +02:00
Luxferre 97d031fcb0 wallpapers: remove duplicate and postmarketos wallpapers 2026-10-24 21:52:41 +03:00
Luxferre e549aaf413 Add modem/networks DWM plugins, Dual-SIM & PIN/PUK support, built-in dmenu views, and game UX fixes 2026-10-24 18:59:48 +03:00
Luxferre b12cd738af build: add date-based release versioning script and remove hardcoded version 2026-10-22 20:20:16 +03:00
Luxferre 9cddcc1d08 feat(system): configure nano (-FEDSMAGic/max%_T2) as EDITOR, less -RXF as PAGER, add ed/rlwrap/less, and remove vim 2026-10-20 23:56:20 +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 a14a7aa543 Add GC2395/CAMSS rear camera driver and fix audio, earpiece, micbias, and modem routing 2026-10-19 23:34:06 +03:00
Luxferre 6942acf5cf init commit 2026-10-19 09:23:54 +03:00