Files
bananarchy/CHANGELOG.md
T

81 lines
13 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Bananarchy Linux changelog
This file tracks public release builds of **Bananarchy Linux**.
Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`, followed by the two-digit month and day).
**Download the recent images for your device from this link**: https://cloud.disroot.org/s/dB7bM7sRTScetDJ
---
## Build `a1027` — codename `bonkers` (2026-10-27)
### New features and improvements
- **Dual-SIM Dual Standby (DSDS) and outgoing SIM selection**:
- Updated `msm-modem-uim-selection` to provision both physical SIM slots simultaneously (`primary-gw-provisioning` and `secondary-gw-provisioning`) with QMI `NAS` Dual-Standby Preference (`DualStandbyWithTuneAway`) and network registration across both subscriptions, plus `--swap-gw` support to swap which physical slot holds `primary-gw-provisioning` (4G/LTE/3G + Mobile Data) versus `secondary-gw-provisioning` (2G GSM DSDS standby).
- Added an event-driven QMI `WMS` and `VOICE` QRTR listener (`dsds-daemon`, supervised by `sxmo_modemmonitor.sh`) so both SIM cards can receive incoming voice calls (with `q6voiced` `hw:0,4` audio routing) and SMS messages (single and multipart GSM-7 / UCS-2) simultaneously.
- Added interactive `[1] SIM 1` / `[2] SIM 2` outgoing SIM selection prompts when two SIM cards are active across voice calls (`xcallscreen` / `sxmo_modemdial.sh`), SMS (`xsms` / `sxmo_modemsendsms.sh`), and USSD queries (`xdialer` / `msm-modem-uim-selection ussd`), plus live dual-SIM role badges (`[PRI 4G / DEFAULT]`, `[PRI 4G / DSDS]`, `[SEC 2G / DEFAULT]`, `[SEC 2G / DSDS]`), instant default SIM switching, and full Primary/Secondary GW (`4G/Data`) slot swapping in `xmodem`.
- Synchronized incoming call ringtone and vibration lifecycle (`sxmo_hook_ring.sh`, `callscreen.so`, `sxmo_modem.sh`, and `dsds-daemon`) with `flock` single-instance locking, `0 dB` (`RX3 Digital Volume <= 84`) hardware volume capping, and immediate `sxmo_hook_ring.sh` / `pw-play` / `sxmo_vibrate` termination before audio teardown on remote hangup.
- **Instant USB charging state icon update**:
- Added `/etc/udev/rules.d/85-bananarchy-battery.rules` and updated `sxmo_hook_battery.sh` to inspect `/sys/class/power_supply/pm8916-lbc-chgr/online` immediately on `power_supply` udev events so the statusbar charging indicator appears and disappears the moment the cable is plugged in or unplugged.
- **Anti-spam blocklist in call log (`xcalllog`) and SMS (`xsms`)**:
- Unified number blocklist (`~/.config/sxmo/block.tsv`) supporting exact numbers, 9-digit suffix matching across local/international formats, and prefix wildcards (`*`).
- Automatic rejection of incoming calls from blocked numbers via `sxmo_hook_block_call.sh`, logging blocked attempts into the `Spam` tab (`~/.local/share/sxmo/block/modemlog.tsv`) without ringing or missed-call alerts.
- Silent routing of incoming SMS messages from blocked senders into the `Spam` folder (`~/.local/share/sxmo/block`), with one-key thread blocking, unblocking, and restoration between `Inbox` and `Spam` in `xsms`.
- **Native Game Boy / Game Boy Color emulator (`gambatte` / `gbemu`)**:
- Full-featured C++ Game Boy / Game Boy Color emulator tailored for `240x320` non-touch displays, integrated into **System menu -> Games** and **file manager (`xfiles`)** for `.gb` and `.gbc` files.
- Readjustable keypad controls persisted in `~/.config/sxmo/gambatte.cfg` with defaults `B = 8`, `Turbo B = 5`, `A = 9`, `Turbo A = 6`, `Directions = D-Pad`, `Start = 2`, `Select = 3`, `Palette = *`, and `Fast Forward = 0`.
- 10 built-in DMG color palettes, 4 screen scaling modes (`Fit 240x216` 1.5x area-interpolated, `1:1 160x144`, `Fill 240x246`, `Full 240x296`), 10 save-state slots (`.st0`–`.st9`), automatic battery SRAM/RTC persistence, seamless `Xdrawer` focus handoff, and direct low-latency `libasound` (`hw:0,0`) audio with hardware volume synchronization and analog-stage low-pass filtering.
- Preinstalled open-source / public-domain GB and GBC games in `/usr/share/games/gb/` and `~/Games/` (`2048.gb`, `adjustris.gb`, `blastah.gb`, `brickster.gbc`, `geometrix.gbc`, `ucity.gbc`).
- **Preinstalled scripting, calculation tools, and file manager (`xfiles`) integration**:
- Added **Lua** (`lua5.5` and `lua5.4` with `/usr/bin/lua` and `/usr/bin/luac`), **GNU `bc` / `dc`**, **`mandoc`**, and **Yabasic (`yabasic` and `yabasic-doc`)** to the default system image.
- Selecting any `.yab` file in **file manager (`xfiles`)** (or choosing `Run in Yabasic (Terminal)` in its actions menu) runs `yabasic` inside the `st` terminal and pauses on exit so output can be inspected.
- Added an **integrated GUI text editor (`Edit in Text Editor`)** inside `xfiles`, available as an action on any file (and automatically opened when creating a new file or pressing `Edit` in the text viewer), featuring line numbers, 2D cursor navigation, 5 multi-tap input modes (`[abc]`, `[Abc]`, `[ABC]`, `[123]`, `[Sym]`), a scrolling bottom candidate bar for long symbol tables (`1` key), and an editor menu (`Save File`, `Save & Close`, `Insert New Line`, `Insert Space`, `Duplicate Line`, `Delete Line`, `Close Without Saving`).
- **NeoUI `240x320` UI SDK (`libneoui.so` + `/usr/include/neoui.h` + `neoui.yab`) and NeoNet (`neonet.yab`)**:
- Standardized all Bananarchy `240x320` X11/Xft/Pango UI components, `.Xresources` / `~/.xthemes/*.xth` live theme resolution, offscreen `Pixmap` double buffering, FIFO IPC, softkey chord detection (`xdrawer`), and multi-tap input into a shared library (`/usr/lib/libneoui.so`) and header (`/usr/include/neoui.h`) with both C++20 classes and a C-compatible FFI (`neoui_*`).
- Migrated all 14 custom GUI plugins (`xdrawer`, `dialer`, `calllog`, `callscreen`, `contacts`, `sms`, `files`, `camera`, `themes`, `modem`, `networks`, `ringtones`, `wallpapers`, `music`) to use `NeoUI`.
- Added a complete Yabasic native C FFI wrapper (`~/Projects/neoui.yab`, symlinked at `/usr/lib/neoui.yab`), an interactive 3-tab UI showcase program (`~/Projects/neoui_demo.yab`), a `libcurl` + socket FFI networking library for Yabasic (`~/Projects/neonet.yab`, symlinked at `/usr/lib/neonet.yab`) supporting HTTP/HTTPS requests with custom headers and raw TCP/TLS/UDP socket data exchange, a combined NeoNet + NeoUI demo (`~/Projects/neonet_demo.yab`), and full SDK documentation in `SDK.md`.
- **Camera viewfinder and capture orientation fix (`xcamera` and `bananarchy-photo`)**:
- Rotated the raw `800x600` `GC2395` sensor frames 90 degrees clockwise in both the live `240x180` 4:3 viewfinder (`downscaleViewfinder800x600To240x180`) and captured JPEG photos (`600x800` portrait output in `xcamera` and `bananarchy-photo`).
- **Window management, context menu, and `fcitx5` XIM stability fixes**:
- Added direct C-level `_BANANARCHY_DWM_CMD` IPC between `dmenu` and `dwm` for instant window management (`Kill window`, `Close Terminal`, `Move to WS 1..4`, `Go to WS 1..4`, `Shift stack`, `Swap stack`, `Toggle Layout`) and restored application context menus (`Right softkey` inside `st`, `nano`, and X11 apps).
- Updated the `fcitx5` `superd` service wrapper (`bananarchy-fcitx5.sh`) and XIM environment propagation across `st`, `dmenu`, and `dwm-plugin` so T9 keypad input stays supervised and active across all terminal and menu sessions.
- Removed the non-applicable `Toggle Bar` entry from the `Config` menu.
- **Battery life and background service optimizations**:
- Removed `upowerd` and `sxmo_battery_monitor` (eliminating 3.5-second D-Bus broadcasts and shell forks in favor of direct `sysfs` `/sys/class/power_supply/` reads), `sxmo-x11-status` (updating the X11 root statusbar directly from `sxmo_hook_statusbar.sh`, `fcitx5-t9`, and `dmenu`), redundant 5-minute `mmcli` polling loops in `sxmo_modemmonitor.sh`, eMMC `/swapfile` (relying exclusively on compressed RAM `/dev/zram0`), `hkdm`, `haveged`, `iio-sensor-proxy`, `sleep-inhibitor`, `nftables`, `logbookd`, and unused `tty2`–`tty6` / `ttyMSM0` `getty` instances.
---
## Build `a1025` — codename `argonaut` (2026-10-25)
Initial public release of **Bananarchy Linux**, focused on complete hardware and daily-driver software support for the **Nokia 8110 4G (`nokia-argon`)**, along with initial build targets for the **Nokia 2720 Flip (`nokia-beatles`)**, **Nokia 800 Tough (`nokia-tough`)**, **Nokia 8000 4G (`nokia-sparkler`)**, and **Nokia 6300 4G (`nokia-leo`)**.
### Base system and hardware support
- Alpine Linux Edge (`armv7`) root filesystem hardforked from postmarketOS `v26.06`, tuned for `< 95 MB` idle RAM usage on 512 MB devices.
- Mainline Linux `6.12.1-msm8916` kernel with custom drivers and patches for Qualcomm MSM8905 and MSM8909 smart feature phones.
- Full Qualcomm QDSP6/Q6Voice audio routing (`q6voiced`, PipeWire, WirePlumber, and ALSA UCM) for the boosted rear loudspeaker, boosted (+6 dB) front earpiece, internal MEMS microphone, and 3.5mm headset jack, plus 3-level PM8909 hardware vibration motor control (`pm8xxx-vibrator` and `sxmo_vibrate`).
- Custom `msm8905-cam` V4L2 kernel driver for the rear 2MP GalaxyCore `GC2395` camera sensor (`/dev/video0`, `800x600` RGB24).
- Custom `leds-msm8905-torch` kernel driver for the rear `SY7807` flashlight LED (`white:torch`), WCD audio codec initialization, and clean PM8909 poweroff.
- Custom animated Bananarchy boot splash (`pbsplash`) and shutdown splash, plus automated Qualcomm Sahara/Firehose USB EDL flashing (`flash-edl.sh`) with automatic modem/IMEI partition backup.
### Display server and window manager
- Pure X11 graphical stack built on cross-compiled **Xlibre** (`X11Libre/xserver`) with partial-rectangle `ShadowFB` SPI display updates and zero Wayland overhead.
- Custom **Sxmo DWM (`sxmo-de-dwm`)** window manager designed for `240x320` QVGA non-touch screens, featuring a vertical bottom-stack (`bstack`) layout, a 24px Pango status bar, a desktop `"Menu"` / `"Names"` softkey bar, and a Conky desktop clock and system status widget.
- Direct C-level handling of physical slider (`SW_LID`) open/close events and keypad wake keys with `< 2 ms` wakeup latency.
### Preloaded native keypad applications
- **System and context menus (`dmenu`)**: resident menu daemon with instant (`< 2 ms`) wakeup, 10-line vertical layout, live T9 filtering, and built-in submenus and hardware toggles.
- **Global controls drawer (`xdrawer`)**: instant overlay toggled by pressing both softkeys together to adjust speaker volume, earpiece volume, ringtone volume, ringer mode (`Ring+Vib` / `Vibrate` / `Silent` / `DND`), 3-level vibration intensity (`Light` / `Medium` / `Strong`), flashlight, sound/microphone mute, screen brightness, and keypad backlight.
- **Phone dialer (`xdialer`), call log (`xcalllog`), and call screen (`xcallscreen`)**: home-screen digit dialing with live T9 contact matching, interactive carrier USSD sessions (`*100#`, etc.), Dual-SIM `*#06#` IMEI inspection, call history filtering, and an in-call screen with speaker/earpiece switching, microphone mute, DTMF tones, and one-key normalized WAV call recording (`~/Recordings/rec_HHMMSS_<caller>.wav`).
- **Contacts (`xcontacts`) and SMS manager (`xsms`)**: full phonebook editor with direct Qualcomm QMI UIM SIM card contact import and export across SIM 1 and SIM 2 (`EF_ADN`), paired with a threaded SMS conversation view and multi-tap message composer with draft support.
- **Modem and Dual-SIM manager (`xmodem`)**: 4-tab cellular control center (`SIMs`, `Radio`, `AT`, `Log`) supporting physical SIM 1 / SIM 2 slot switching, SIM PIN unlock and PUK unblock wizards, PIN enable/disable/change, 2G/3G/4G radio mode selection, USSD requests, and a live AT command console.
- **Networks and Bluetooth manager (`xnetworks`)**: 3-tab connectivity manager for Wi-Fi scanning and WPA2 entry, Wi-Fi hotspot, QMI `bam-dmux` (`wwan0`) 4G/LTE mobile data and APN configuration, USB tethering, and Bluetooth pairing.
- **File manager (`xfiles`), music and tracker player (`xmusic`), and camera (`xcamera`)**: keypad directory browser with built-in text and image viewers (including one-click actions to preview images, set any image as wallpaper, play audio, or install any audio or tracker file as ringtone), a 3-tab music and chiptune tracker module player (`WAV`, `MP3`, `OGG`, `FLAC`, `Opus`, `MOD`, `XM`, `IT`, `S3M`, and more), and a live V4L2 camera viewfinder with digital zoom (`1x`/`2x`/`4x`), auto-flash, continuous torch, 3-second self-timer, and photo gallery.
- **Themes (`xthemes`), wallpapers (`xwallpapers`), and ringtones (`xringtones`)**: unified `.Xresources` theming engine (`~/.xthemes/*.xth`) with 20 preinstalled color schemes, live zero-restart reload across all apps and terminals, interactive color/font customization, wallpaper scaling and preview, and low-latency incoming call ringtone (`pw-play` + `mpv` tracker module support) and 3-level vibration settings.
### Keypad input, terminal, games, and developer tools
- **6-mode `fcitx5-t9` input method**: seamless `#` switching between `abc`, `Abc`, `ABC`, `Sym` (all 32 ASCII punctuation symbols), `Ctl` (`Ctrl` combos, arrows, `PageUp`/`PageDown`, `Home`/`End`, `F1`–`F12`), and `123` numeric modes, plus a `*` long-press `Ctrl+` latch.
- **Patched `st` terminal**: HarfBuzz OpenType ligature rendering (`Fira Code` default), XIM T9 input, and live `SIGUSR1` theme reloading.
- **Standalone X11 keypad games**: built-in `Snake` (`snake`) and `Tetris` (`tetris`) designed for `240x320` displays.
- **On-device development and AI stack**: preinstalled `gcc`/`g++`, `make`, `git`, GNU `coreutils`, `nano`, `ed`, `sqlite3`, `perl`, `tcl`, the [Janet](https://janet-lang.org/) language and `jpm`, the [Bantam](https://bantam.luxferre.top/) coding agent, `frotz`, `ffmpeg`, `mpv`, and `imv`.