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.
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.
flash-edl.py called qualcomm_sahara(cdc) without importing the class after
the vendored EDL library refactor, so flash-edl.sh failed with
"NameError: name 'qualcomm_sahara' is not defined" when Sahara startup was
reached.
- Restore "from Library.sahara import qualcomm_sahara" alongside the other
EDL client imports.
- Add a scripts/check-rebuild.sh guard that rejects a missing Sahara import.
- Verify Sahara startup with a hardware-free harness for the local edl/
checkout, BANANARCHY_EDL_DIR=vendor/edl, and a clean-clone vendor/edl
fallback; scripts/check-rebuild.sh passes.
The expanded xsms conversation view handed the whole message body to
pango_xft_render_layout() as one multiline layout; on the target Pango/Xft
stack that call only paints the first line, so long concatenated/UCS-2
messages (e.g. the Ukrainian 'Мелорінг дарує хіти!' example) stopped right
before the first non-ASCII character. Verified on the connected phone with an
instrumented sms.so (530-byte body, 13 measured lines, one painted line) and
a standalone ARM reproducer; the QMI WMS reassembly and sms.txt parser are
correct.
- Draw message bodies and long drafts line by line via a shared
renderLayoutLines() helper with an Xft clip, so nothing overflows the
bubble or softkey bar; use the same layout width for measuring and drawing.
- Make the selected message scrollable with Up/Down (one line per press plus
a right-edge scrollbar), stepping to the previous/next message only at the
top/bottom of an overflowing message.
- Replace the byte-based compose counter with smsTextMetrics(), which decodes
UTF-8, detects the GSM 7-bit alphabet/extension table and reports GSM-7
septets (160/153) or UCS-2 UTF-16 units (70/67) with the right part count.
- Strip [SIM n] tags from QMI/local SMS log headers and stop writing them in
the offline-send fallback; log units instead of bytes.
- Add a check-rebuild.sh guard against reintroducing the bulk layout render.
- Rebuild prebuilt/overlay sms.so and engmenu.so, sync docs, and regenerate
images/bananarchy-nokia-argon.img.
- 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.
- Remove gcc, g++, musl-dev, make, janet, janet-dev and jpm from
scripts/rootfs-packages.txt and add them to the prune denylist; 14 packages
and 143.86 MiB disappear, with no runtime callers in the overlay.
- Verify the Yabasic chain by running the real armv7 binaries under qemu-arm
in a chroot of the rebuilt rootfs: yabasic 2.92.1, basic print, import neonet
(libffi -> libcurl.so.4) and import neoui (libffi -> libneoui.so) all work.
- Guard yabasic/yabasic-doc as critical, forbid compiler/Janet packages, and
check the NeoUI/NeoNet FFI artifacts in check-rebuild.sh.
- Update README.md, MANUAL.md, AGENTS.md and SDK.md; replace the on-device
compile examples with cross-compilation guidance and add SDK.md section 7,
an inventory of paramount versus removable scripting runtimes.
- Rebuild images/bananarchy-nokia-argon.img (1.66 GiB, down from 1.84 GiB)
and confirm via debugfs that the compiler/Janet binaries are gone while
yabasic, libneoui.so, neoui.yab, neonet.yab and libcurl are present.
- Cross-compile bantam-cpp master (0cd1a67, "Send stable x-opencode-session
header based on project_id") for armv7 and refresh prebuilt/, overlay/rootfs/,
and the target rootfs; the new binary carries the x-opencode-session header.
- Rebuild images/bananarchy-nokia-argon.img with the updated agent (1.84 GiB,
down from 2.01 GiB) and verify the binary inside the ext4 image by hash.
- Fix a prune regression seen in the rebuild log: apk install_if re-adds
imv-wayland, gstreamer-ptp-helper and libheif-rav1e, so apk del alone leaves
the Wayland viewer and two Rust helpers installed. Pin them with negative
!pkg world constraints and run apk fix after each purge.
- Verify the constraints in check-rebuild.sh and document the fix.
- 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.
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.