diff --git a/CHANGELOG.md b/CHANGELOG.md index 55bf51b..aa81eb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,10 @@ Work since `a1108` has focused on reliable 2720 Flip hardware support and a repr - **Discovery path**: `overlay/rootfs/usr/local/bin/bluetoothctl` now intercepts only `scan on`/`scan bredr`/`scan le` and forwards every other command to `/usr/bin/bluetoothctl`. `bananarchy-bt-scan.sh` powers the controller on, calls the narrow `doas` helper `bananarchy-bt-le-enable.sh` (`btmgmt -i hci0 le on`), then drives one interactive `bluetoothctl` session through `script(1)` with `transport auto` and `duplicate-data on`; it queries `devices` repeatedly while the same discovery client is active, then sends `scan off` and `quit`. The existing `networks.so` parser accepts both `[NEW] Device ...` stream lines and `Device ` list lines, so no plugin rebuild is needed. `util-linux-misc` and `bluez-btmgmt` are explicit in the rootfs package set. - **Guards and live verification**: `scripts/test-bluetooth-live-scan.py` exercises the wrapper with a stub real `bluetoothctl` under a real PTY and verifies device-list output, clean shutdown, and non-scan forwarding; `check-rebuild.sh` guards the packages, doas rule, overlay installation, helper syntax and host test. With a real peripheral in pairing mode, the live PTY scan found `BT KeyBoard`, `M7` and two `LE-QC Ultra` advertisements; the wrapper then found four unique real devices with no `Failed`/`InProgress` errors. +### Rebuilt 2720 Flip image + +- Rebuilt `images/bananarchy-nokia-beatles.img` from the current `rootfs/` at release `a1108` / `dejavu` after the WebKit schema and Bluetooth LE fixes. The image's ext4 rootfs contains `/usr/local/bin/bluetoothctl`, `bananarchy-bt-scan.sh`, `bananarchy-bt-le-enable.sh`, the narrow `doas` rule, compiled `gschemas.compiled`, and the explicit `bluez-btmgmt` / `util-linux-misc` / `glib` / `gsettings-desktop-schemas` packages. `debugfs` and `e2fsck -fn` verified the files and filesystem; the new raw image hash `546e5c5f...` is pinned by `scripts/check-rebuild.sh`. + ### Live nokia-beatles plugin verification and WebKit GSettings schema fix - **Stale live runtime**: the phone was still running the pre-fix `webarchy.so` (`3e3c3ac7...`) and `networks.so` (`97eaae44...`) from the baseline image, while `prebuilt/`, `overlay/rootfs/` and the local `rootfs/` already carried the rebuilt artifacts (`8eb1b493...` and `e12103ee...`). That is why the earlier repository fixes were not visible on the device. The current binaries were deployed, their hashes verified, and both resident plugins restarted. diff --git a/scripts/check-rebuild.sh b/scripts/check-rebuild.sh index 67c8de4..d45c0ad 100755 --- a/scripts/check-rebuild.sh +++ b/scripts/check-rebuild.sh @@ -369,7 +369,7 @@ fi echo "[check] Known-good flashable image set..." for pair in \ "69a44f60eb123ebddf600be927155dc4a599ec35b7a0cf80060f4ba01f599f08 images/bananarchy-nokia-argon.img" \ - "30c470600d1187f463cd76319e96ecf0ed0af55858b2ae8244e588340a641942 images/bananarchy-nokia-beatles.img" \ + "546e5c5f3904384c33a65f3045d862de36ad0c2c254c8dbb984525da55bb73f4 images/bananarchy-nokia-beatles.img" \ "2b5c61aba307dbbda61f3b19a2ad5770f9854f41cba4e2c97e24efb7e20879f3 images/boot-bananarchy-nokia-beatles.img" \ "b5549698c20f4de7603fc746d32bb5baa96ec377e41e74407823c98506fc185d images/boot-lk2nd-nokia-beatles-display.img"; do set -- $pair