- Streamline README, INSTALL, MANUAL, ARCHITECTURE, and POWER-OPTIMIZATION docs - Add release ZIP packager (package-image.sh, scripts/package-release-zip.py, rebuild-image.sh --package) with sanitized rootfs, SHA256SUMS, and FLASH-INSTRUCTIONS.txt - Add automatic offline MT6797 firmware ext4 injection in flash-mtk.py and scripts/extract-vendor-fw.py - Backport X11 DPMS wake + XResetScreenSaver in geminux-powerd and _GEMINUX_LOCK_READY + grab-first sync in geminux-lock, rebuild aarch64 prebuilts, and expand tests
4.0 KiB
Geminux
Geminux is an Alpine Linux (aarch64, musl, OpenRC) distribution built for the Planet Computers Gemini PDA (Wi-Fi + 4G, MediaTek MT6797X / Helio X27). It combines a patched Linux 7.3.5-geminux kernel, XLibre X11, a touch-friendly suckless desktop, 11 HiDPI C11 applications, MT6797 cellular/eSIM/IMS daemons, and a pure-Linux MediaTek flasher.
Highlights
- Desktop & Theming: Rotated
ShadowFB+TearFreeXLibre display with Panfrost EGL/OpenGL 3D, Pango/HarfBuzzdwm/st/dmenu(192 DPI), 22.xththemes defaulting to Anodized, an interactive Theme Editor & Importer, native X11 Wallpaper manager, and bundled wallpapers (/usr/share/geminux/wallpapers/geminux-dark.pngdefault). - Cellular, Audio & Connectivity: MT6797 MD1 cellular bring-up (
geminux-cellctl+ ST33 eUICClpaceSIM), 3GPP VoLTE/VoWiFi/SMS-over-IMS (geminux-imsd), PipeWire audio,Fn+Fhardware Airplane Mode, microSD automount (/media/sdcard), and configurable DNS (geminux-dnsctl). - Browser, Media & CLI Tools: Ultrawide
GTK3/WebKit2GTKWebarchy browser, nativempv+ffmpeg+gst-libav,yt-dlp(quickjs),python3/pip3,tcl/tk(gtkTtk 0.9),gnupg/pass,dosfstools,bantamCLI AI agent,lynx, andgsocket. - Flashing & Security: Redistributable release ZIP archives (package-image.sh), turnkey
mtkclientflashing with automatic firmware extraction/injection preserving protected factory partitions (LBA 0..0x6FFFF), offline credential setup, and optional Argon2id + ARMv8 AES-CE LUKS2 encryption.
Quick start
- Flash a release ZIP (Linux host, no Docker required):
unzip geminux-<version>-<codename>-gemini-x27.zip cd geminux-<version>-<codename>-gemini-x27 sha256sum -c SHA256SUMS.txt ./flash-mtk.sh --flash-full - Build images from source & run offline checks:
./rebuild-image.sh # add --rebuild-all --force-bootstrap for clean rebuild ./scripts/check-rebuild.sh - Package a distributable release ZIP (sanitized rootfs +
FLASH-INSTRUCTIONS.txt):./package-image.sh # outputs releases/geminux-<ver>-<codename>-gemini-x27.zip
Documentation
| Document | Scope |
|---|---|
| INSTALL.md | Release ZIP flashing, source build, firmware extraction, LUKS2 FDE, and hardware checklist |
| MANUAL.md | Keyboard map, DWM shortcuts, gestures, themes, wallpapers, apps, and apk upgrade safety |
| ARCHITECTURE.md | Kernel patches, XLibre/suckless hardening, theming/wallpaper engine, daemons, APKs, and flasher internals |
| POWER-OPTIMIZATION.md | Suspend/wakeup fixes, zero-poll daemons, cluster profiles, and geminux-power-audit |
Repository layout
- kernel/ & patches/kernel/ — Kernel manifest, MT6797X config, and Linux
7.3.5patches (0001–0013) - src/ — Initramfs,
st,dwm,dmenu,dunst-notify,bantam,webarchy,gtkTtk,libgemui, 11 apps, and daemons - overlay/rootfs/ & artwork/ — OpenRC units, XKB/keymap, Xorg configs, 22
.xththemes, stock wallpapers, and scripts - scripts/ — Cross-compile builders, APK/ZIP packagers, verification suite, and 9 Python unit test suites
- flash-mtk.sh, rebuild-image.sh, package-image.sh — Flashing, full build, and release packaging entry points
Verification status
Automated offline checks (scripts/check-rebuild.sh) verify ELF architectures, zero un-whitelisted Rust dependencies, apk upgrade --simulate compatibility, DTB constraints, e2fsck, image checksums, release ZIP packaging, and all 9 Python unit test suites. Physical hardware bring-up on Gemini PDA (x27) is verified across flashing, display/touch, Wi-Fi/BT, MD1/eSIM, camera, audio, deep sleep, and USB NCM; carrier/accessory checks are listed in INSTALL.md.