- Audio: 48 kHz mixer with a 512/3072-frame ALSA ring and table-based polyphonic MIDI synth (no stutter or tempo drag under load), Standard MIDI Format 0/1, ToneControl sequences, multi-stream WAV, and MIDP VolumeControl levels mapped to perceived loudness. - Volume: track the system speaker volume and mute state live (speaker_vol, RX3 Digital Volume, SPK DAC Switch) with the same cubic gain PipeWire clients get; pause menu Audio item and volume keys now change the system speaker volume like the xdrawer slider. - JVM: key fields by name and descriptor so obfuscated classes with same-named fields of different types work; cache resolved constant pool refs, static field slots and monomorphic call targets; use a stable deque heap; raise startApp/<clinit> budgets and run Java threads on a wall-clock budget per frame. - M3G and LCDUI additions needed by Tomb Raider 3D Underworld and Castlevania: Aria of Sorrow.
19 KiB
19 KiB
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):
- Nokia 8110 4G (
nokia-argon): https://bananarchy.top/builds/bananarchy-nokia-argon-a1027.zip
Build a1027 — codename bonkers (2026-10-27)
New features and improvements
- ReMEdy (
remedy/j2me) native240x320J2ME (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-screen240x320mode (X=0, Y=0, W=240, H=320) and declaring native240x320canvas dimensions to MIDlets, integrated into System menu -> Applications, System menu -> Games, and file manager (xfiles) for.jarand.jadfiles. - Added a Gambatte-style NeoUI-themed frontend browser when launched without arguments (scanning
/usr/share/games/j2me,~/Games,~/J2ME, and~/DownloadswithMANIFEST.MF/.jadmetadata 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, andCommandbars/menus) alongside full-screen 2DCanvas/GameCanvas/Sprite/TiledLayerrendering, 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(GameCanvasspace shooter with RMS high score and tone audio), andNetToolJ2ME.jar(NeoUI-themed LCDUI + HTTP/TCP socket test suite). - Faster bytecode interpreter: resolved field/method constant pool entries and static field slots are cached per class, virtual calls use a monomorphic inline cache, and Java threads run on a wall-clock budget per frame, so asset-heavy games (for example
Castlevania: Aria of Sorrow) load and play at full speed. - Fixed obfuscated MIDlets that declare several fields with the same name but different types (fields are now keyed by name and descriptor), and fixed long-running
startApp()/<clinit>initializers being cut short. - Smoother MMAPI audio: a 48 kHz mixer with a 64 ms ALSA ring buffer and a table-based polyphonic MIDI synthesizer (no more stutter or tempo drag under CPU load), plus MIDP
VolumeControllevels mapped to perceived loudness. - ReMEdy audio now follows the system speaker volume and mute state (the xdrawer Speaker slider,
~/.config/sxmo/speaker_vol, andSPK DAC Switch) live while a MIDlet runs. The pause menu Audio item changes the system speaker volume withLeft/Rightand toggles ReMEdy sound withOK.
- Built a standalone C++20 J2ME virtual machine and runtime (
- Adreno 304 (
FD304) 3D GPU hardware acceleration and Xlibre Glamor offload:- Added full Qualcomm Adreno 304 (
0x03000400) GPU andqcom,msm8909-iommu(gfx3d_user/gfx3d_privcontext banks at0x1f08000) support to the6.12.1-msm8916kernel (drm/msmmodule and MSM8905/MSM8909 device trees acrossnokia-argon,nokia-beatles,nokia-tough,nokia-sparkler, andnokia-leo), configured for Adreno 304's96 KB(SZ_64K + SZ_32K) GMEM cache,a300_pm4.fw/a300_pfp.fwmicrocode, VBIF/ROQ/clock-gating registers, hard-reset recovery quirk,OXILI_GDSCpower domain, and OPP frequency scaling up to409.6 MHz. - Enabled headless render-only
drm/msminitialization (card1/renderD128) alongside the SPIpanel-mipi-dbidisplay (card0) and enabledFD304(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, andmodesetting_drv.sowithglamor.finishsynchronization beforedrmModeDirtyFBSPI transfers) and enabledOption "AccelMethod" "glamor"in/etc/X11/xorg.conf.d/10-bananarchy-msm8909.conf. - Preinstalled
glxinfo,eglinfo,glxgears,glteapot(teapot), andes2gears_x11(mesa-utilsandmesa-demos).
- Added full Qualcomm Adreno 304 (
- Dual-SIM Dual Standby (DSDS) and outgoing SIM selection:
- Updated
msm-modem-uim-selectionto provision both physical SIM slots simultaneously (primary-gw-provisioningandsecondary-gw-provisioning) with QMINASDual-Standby Preference (DualStandbyWithTuneAway) and network registration across both subscriptions, plus--swap-gwsupport to swap which physical slot holdsprimary-gw-provisioning(4G/LTE/3G + Mobile Data) versussecondary-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 liveuim-get-card-statusper slot and deduplicating simultaneoussxmo_modemmonitor.sh/bananarchy-x11-session.shinvocations viaflock). - Added an event-driven QMI
WMSandVOICEQRTR listener (dsds-daemon, supervised bysxmo_modemmonitor.sh) so both SIM cards can receive incoming voice calls (withq6voicedhw:0,4audio routing) and SMS messages (single and multipart GSM-7 / UCS-2) simultaneously. - Added interactive
[1] SIM 1/[2] SIM 2outgoing 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 inxmodem. - Synchronized incoming call ringtone and vibration lifecycle (
sxmo_hook_ring.sh,callscreen.so,sxmo_modem.sh, anddsds-daemon) withflocksingle-instance locking,0 dB(RX3 Digital Volume <= 84) hardware volume capping, and immediatesxmo_hook_ring.sh/pw-play/sxmo_vibratetermination before audio teardown on remote hangup.
- Updated
- Instant USB charging state icon update:
- Added
/etc/udev/rules.d/85-bananarchy-battery.rulesand updatedsxmo_hook_battery.shto inspect/sys/class/power_supply/pm8916-lbc-chgr/onlineimmediately onpower_supplyudev events so the statusbar charging indicator appears and disappears the moment the cable is plugged in or unplugged.
- Added
- 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 theSpamtab (~/.local/share/sxmo/block/modemlog.tsv) without ringing or missed-call alerts. - Silent routing of incoming SMS messages from blocked senders into the
Spamfolder (~/.local/share/sxmo/block), with one-key thread blocking, unblocking, and restoration betweenInboxandSpaminxsms.
- Unified number blocklist (
- Native Game Boy / Game Boy Color emulator (
gambatte/gbemu):- Full-featured C++ Game Boy / Game Boy Color emulator tailored for
240x320non-touch displays, integrated into System menu -> Games and file manager (xfiles) for.gband.gbcfiles. - Readjustable keypad controls persisted in
~/.config/sxmo/gambatte.cfgwith defaultsB = 8,Turbo B = 5,A = 9,Turbo A = 6,Directions = D-Pad,Start = 2,Select = 3,Palette = *, andFast Forward = 0. - 10 built-in DMG color palettes, 4 screen scaling modes (
Fit 240x2161.5x area-interpolated,1:1 160x144,Fill 240x246,Full 240x296), 10 save-state slots (.st0–.st9), automatic battery SRAM/RTC persistence, seamlessXdrawerfocus handoff, and direct low-latencylibasound(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).
- Full-featured C++ Game Boy / Game Boy Color emulator tailored for
- Preinstalled scripting, calculation tools, and file manager (
xfiles) integration:- Added Lua (
lua5.5andlua5.4with/usr/bin/luaand/usr/bin/luac), GNUbc/dc,mandoc, and Yabasic (yabasicandyabasic-doc) to the default system image. - Selecting any
.yabfile in file manager (xfiles) (or choosingRun in Yabasic (Terminal)in its actions menu) runsyabasicinside thestterminal and pauses on exit so output can be inspected. - Added an integrated GUI text editor (
Edit in Text Editor) insidexfiles, available as an action on any file (and automatically opened when creating a new file or pressingEditin 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 (1key), and an editor menu (Save File,Save & Close,Insert New Line,Insert Space,Duplicate Line,Delete Line,Close Without Saving).
- Added Lua (
- NeoUI
240x320UI SDK (libneoui.so+/usr/include/neoui.h+neoui.yab) and NeoNet (neonet.yab):- Standardized all Bananarchy
240x320X11/Xft/Pango UI components,.Xresources/~/.xthemes/*.xthlive theme resolution, offscreenPixmapdouble 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 useNeoUI. - 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), alibcurl+ 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 inSDK.md.
- Standardized all Bananarchy
- Camera sensor support and orientation fix (
msm8905-cam,xcamera, andbananarchy-photo):- Extended
msm8905-cam(/dev/video0) to support the GalaxyCoreGC2385(0x2385, used on Nokia 8110 4GTA-1059) andGC2365(0x2365) 2MP MIPI CSI-2 camera sensors alongsideGC2395(0x2395, used onTA-1048). - Rotated the raw
800x600GC2395/GC2385/GC2365sensor frames 90 degrees clockwise in both the live240x1804:3 viewfinder (downscaleViewfinder800x600To240x180) and captured JPEG photos (600x800portrait output inxcameraandbananarchy-photo).
- Extended
- 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/brightnessand/tmp/sxmo_saved_brightnessacrossdwm,xdrawer,dmenu,sxmo_wm.sh,sxmo_brightness.sh, andbananarchy-x11-session.sh). - Added direct kernel
evdevkey and lid polling (event0–event3) indwmand disabled deep system suspend (sxmo_autosuspend,sxmo_suspend.sh, andelogindAllowSuspend=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 holdsXGrabKeyboard. - Added a global
*+#simultaneous key combo (KEY_NUMERIC_STAR+KEY_NUMERIC_POUNDindwmvia/usr/bin/bananarchy-screenshotandscrot) to capture240x320PNG screenshots into~/Pictures/screenshot-YYYYMMDD-HHMMSS.pngfrom anywhere with haptic and toast feedback.
- Persisted screen and keypad backlight brightness across slider open/close, lock/unlock, and X11 session restarts (
- Window management, context menu, and
fcitx5XIM stability fixes:- Added direct C-level
_BANANARCHY_DWM_CMDIPC betweendmenuanddwmfor 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 softkeyinsidest,nano, and X11 apps). - Updated the
fcitx5superdservice wrapper (bananarchy-fcitx5.sh) and XIM environment propagation acrossst,dmenu, anddwm-pluginso T9 keypad input stays supervised and active across all terminal and menu sessions. - Removed the non-applicable
Toggle Barentry from theConfigmenu.
- Added direct C-level
- Battery life and background service optimizations:
- Removed
upowerdandsxmo_battery_monitor(eliminating 3.5-second D-Bus broadcasts and shell forks in favor of directsysfs/sys/class/power_supply/reads),sxmo-x11-status(updating the X11 root statusbar directly fromsxmo_hook_statusbar.sh,fcitx5-t9, anddmenu), redundant 5-minutemmclipolling loops insxmo_modemmonitor.sh, eMMC/swapfile(relying exclusively on compressed RAM/dev/zram0),hkdm,haveged,iio-sensor-proxy,sleep-inhibitor,nftables,logbookd, and unusedtty2–tty6/ttyMSM0gettyinstances.
- Removed
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 postmarketOSv26.06, tuned for< 95 MBidle RAM usage on 512 MB devices. - Mainline Linux
6.12.1-msm8916kernel 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-vibratorandsxmo_vibrate). - Custom
msm8905-camV4L2 kernel driver for the rear 2MP GalaxyCoreGC2395camera sensor (/dev/video0,800x600RGB24). - Custom
leds-msm8905-torchkernel driver for the rearSY7807flashlight 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-rectangleShadowFBSPI display updates and zero Wayland overhead. - Custom Sxmo DWM (
sxmo-de-dwm) window manager designed for240x320QVGA 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 mswakeup 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, QMIbam-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.Xresourcestheming 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+mpvtracker module support) and 3-level vibration settings.
Keypad input, terminal, games, and developer tools
- 6-mode
fcitx5-t9input method: seamless#switching betweenabc,Abc,ABC,Sym(all 32 ASCII punctuation symbols),Ctl(Ctrlcombos, arrows,PageUp/PageDown,Home/End,F1–F12), and123numeric modes, plus a*long-pressCtrl+latch. - Patched
stterminal: HarfBuzz OpenType ligature rendering (Fira Codedefault), XIM T9 input, and liveSIGUSR1theme reloading. - Standalone X11 keypad games: built-in
Snake(snake) andTetris(tetris) designed for240x320displays. - On-device development and AI stack: preinstalled
gcc/g++,make,git, GNUcoreutils,nano,ed,sqlite3,perl,tcl, the Janet language andjpm, the Bantam coding agent,frotz,ffmpeg,mpv, andimv.