Files
bananarchy/CHANGELOG.md
T

18 KiB
Raw Blame History

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).

Current device builds (a1027 — codename bonkers):


Build a1027 — codename bonkers (2026-10-27)

New features and improvements

  • ReMEdy (remedy / j2me) native 240x320 J2ME (MIDP 2.0 / CLDC 1.1) emulator:
    • Built a standalone C++20 J2ME virtual machine and runtime (/usr/bin/remedy, symlinked as /usr/bin/j2me) running in full-screen 240x320 mode (X=0, Y=0, W=240, H=320) and declaring native 240x320 canvas dimensions to MIDlets, integrated into System menu -> Applications, System menu -> Games, and file manager (xfiles) for .jar and .jad files.
    • Added a Gambatte-style NeoUI-themed frontend browser when launched without arguments (scanning /usr/share/games/j2me, ~/Games, ~/J2ME, and ~/Downloads with MANIFEST.MF / .jad metadata preview, pause menu, keypad control remapping, scaling/3D/audio toggles, and RMS save manager).
    • Implemented NeoUI-themed (libneoui.so / PluginTheme) high-level LCDUI components (Form, List, TextBox, Alert, ChoiceGroup, Gauge, TextField, StringItem, and Command bars/menus) alongside full-screen 2D Canvas / GameCanvas / Sprite / TiledLayer rendering, Nokia UI API (com.nokia.mid.ui.*), Adreno 304 (FD304) EGL + OpenGL ES 2.0 hardware-accelerated JSR-184 M3G 3D graphics (javax.microedition.m3g.*), HTTP/HTTPS and TCP/UDP socket networking (javax.microedition.io.Connector), RecordStore (RMS) persistence, and MMAPI (javax.microedition.media.Manager) ALSA audio.
    • Preinstalled J2ME apps and functional test suites in /usr/share/games/j2me/ and ~/Games/: g2048.jar (240x320 2048), ReMEdy3DArena.jar (JSR-184 3D hardware-accelerated arena), AstroBlaster240.jar (GameCanvas space shooter with RMS high score and tone audio), and NetToolJ2ME.jar (NeoUI-themed LCDUI + HTTP/TCP socket test suite).
  • Adreno 304 (FD304) 3D GPU hardware acceleration and Xlibre Glamor offload:
    • Added full Qualcomm Adreno 304 (0x03000400) GPU and qcom,msm8909-iommu (gfx3d_user / gfx3d_priv context banks at 0x1f08000) support to the 6.12.1-msm8916 kernel (drm/msm module and MSM8905/MSM8909 device trees across nokia-argon, nokia-beatles, nokia-tough, nokia-sparkler, and nokia-leo), configured for Adreno 304's 96 KB (SZ_64K + SZ_32K) GMEM cache, a300_pm4.fw / a300_pfp.fw microcode, VBIF/ROQ/clock-gating registers, hard-reset recovery quirk, OXILI_GDSC power domain, and OPP frequency scaling up to 409.6 MHz.
    • Enabled headless render-only drm/msm initialization (card1 / renderD128) alongside the SPI panel-mipi-dbi display (card0) and enabled FD304 (chip_id = 0x030004ff) in Mesa Freedreno (libgallium) for hardware-accelerated OpenGL 3.1 and OpenGL ES 3.0.
    • Rebuilt Xlibre with Glamor, GLX, XVideo, and DRI3 (libglamoregl.so, libglx.so, and modesetting_drv.so with glamor.finish synchronization before drmModeDirtyFB SPI transfers) and enabled Option "AccelMethod" "glamor" in /etc/X11/xorg.conf.d/10-bananarchy-msm8909.conf.
    • Preinstalled glxinfo, eglinfo, glxgears, glteapot (teapot), and es2gears_x11 (mesa-utils and mesa-demos).
  • 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).
    • Fixed SIM PIN startup prompting (sxmo_sim_pin_prompt.sh) so that when two SIM cards are inserted and only one requires PIN entry, only a single PIN prompt is shown (polling live uim-get-card-status per slot and deduplicating simultaneous sxmo_modemmonitor.sh / bananarchy-x11-session.sh invocations via flock).
    • 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 sensor support and orientation fix (msm8905-cam, xcamera, and bananarchy-photo):
    • Extended msm8905-cam (/dev/video0) to support the GalaxyCore GC2385 (0x2385, used on Nokia 8110 4G TA-1059) and GC2365 (0x2365) 2MP MIPI CSI-2 camera sensors alongside GC2395 (0x2395, used on TA-1048).
    • Rotated the raw 800x600 GC2395/GC2385/GC2365 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).
  • Screen brightness persistence, universal evdev wake, and * + # screenshot combo:
    • Persisted screen and keypad backlight brightness across slider open/close, lock/unlock, and X11 session restarts (~/.config/sxmo/brightness and /tmp/sxmo_saved_brightness across dwm, xdrawer, dmenu, sxmo_wm.sh, sxmo_brightness.sh, and bananarchy-x11-session.sh).
    • Added direct kernel evdev key and lid polling (event0–event3) in dwm and disabled deep system suspend (sxmo_autosuspend, sxmo_suspend.sh, and elogind AllowSuspend=no) so the phone never enters an unwakeable state and wakes immediately on any keypad key, the power key, or opening the slider even when a plugin holds XGrabKeyboard.
    • Added a global * + # simultaneous key combo (KEY_NUMERIC_STAR + KEY_NUMERIC_POUND in dwm via /usr/bin/bananarchy-screenshot and scrot) to capture 240x320 PNG screenshots into ~/Pictures/screenshot-YYYYMMDD-HHMMSS.png from anywhere with haptic and toast feedback.
  • 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 language and jpm, the Bantam coding agent, frotz, ffmpeg, mpv, and imv.