Luxferre 8843558f3b Fix boot sequence errors, enable instant Chrony online sync, and add timezone UI
- Boot sequence cleanups:
  - Scope ModemManager's musl shared-plugin LD_PRELOAD to the child daemon via
    supervise_daemon_args="--env LD_PRELOAD=..." so OpenRC helpers and plugins
    start cleanly with zero "symbol not found" errors.
  - Link XLibre fbdev_drv.so against libfbdevhw.so and libshadow.so, pin
    libxfont2 in rootfs-packages.txt, populate /usr/share/fonts/*/fonts.dir,
    provide XKeysymDB entries, create ~/.cache before dmenu_run, disable TearFree
    for ShadowFB modesetting, and avoid D-Bus autolaunch collision with
    ModemManager.
  - Enable CONFIG_SYN_COOKIES=y and disable IPMI_HANDLER in
    geminux-mt6797x.config, add /etc/sysctl.d/00-alpine.conf, drop x86
    kernel.nmi_watchdog from 99-geminux-power.conf, and disable module
    load/unload in zram-init for built-in zram.
  - Add MT6797 ALSA UCM2 DL2/DL3/UL2/UL3/UL_MONO_1 backend DAI routes in
    HiFi.conf and apply 0006-mt6797-boot-cleanups.patch (stk3310 ID 0x11,
    mt6797-fm firmware search path, mt6797_mac_wq, and pre-auth TX abort).
- Chrony immediate online time sync:
  - Enable FAST_STARTUP, configure makestep 1.0 -1 with sourcedir
    /etc/chrony/sources.d, and trigger burst/waitsync/makestep/hwclock on
    NetworkManager interface up via 30-geminux-chrony.
- Date, Time & Timezone UI:
  - Add geminux-datetime libgemui X11 utility with zoneinfo browser, live
    search, region filters, and NTP sync trigger.
  - Add doas-authorized geminux-tzctl helper with zoneinfo validation and
    update geminux-statusd to reload /etc/timezone cleanly under musl.
2026-11-22 23:34:44 +02:00

Geminux

Geminux is an Alpine Linux (aarch64, musl, OpenRC) distribution built specifically for the Planet Computers Gemini PDA (Wi-Fi + 4G, MediaTek MT6797X / Helio X27). It runs a patched Linux 7.3.5-geminux kernel, XLibre Xorg with Panfrost Glamor 3D acceleration, a custom Pango/HarfBuzz-enabled DWM/st/dmenu desktop with Fira Code ligatures and Noto fonts, zero-poll C11 system daemons, nine landscape HiDPI applications (libgemui.so), and a pure-Linux MediaTek flasher.

Key design goals

  • Pure Alpine Edge userspace updatable via apk update && apk upgrade
  • Pinned kernel, modules, XLibre, suckless desktop, custom UI, and device configs in local signed @geminux APK packages (name@geminux=version)
  • Zero Rust-dependent packages preinstalled (verified across installed ELF binaries and blocked via ! pins in /etc/apk/world)
  • Full eMMC occupancy for Linux (geminux-root) without Android dual-boot sharing, while strictly preserving the MediaTek protected region (LBA 0..0x6FFFF)
  • Aggressive battery optimization from kernel (HZ_100, RCU_LAZY, SUSPEND, LZ4 zram, SCHEDUTIL) up to userspace (epoll-based zero-poll daemons, A72 big-cluster gating, WirePlumber idle suspend, Wi-Fi powersave = 3, Bluetooth disabled at boot, lid-close S3 suspend)

Component stack

Subsystem Implementation Source / Script
Kernel & boot Linux 7.3.5-geminux + Gemini x27 patches + CCCI/CLDMA + sii902x scripts/build-kernel.sh
Flasher & GPT Vendored GPLv3 mtkclient + MT6797 DA + GPT builder flash-mtk.sh, flash-mtk.py
Display server XLibre Xorg 25.x (Glamor, modesetting, fbdev, libinput) scripts/build-xlibre.sh
Window manager & terminal Patched dwm (Pango, systray, .Xresources, Mod4), st (HarfBuzz ligatures), dmenu scripts/build-suckless.sh
Notifications Pure-X11 zero-gdk-pixbuf dunst v1.12.2 + custom GDBus notify-send / dunstify scripts/build-dunst.sh
UI & daemons libgemui.so, 9 landscape HiDPI apps, 7 zero-poll C11 daemons scripts/build-geminux-ui.sh
Local APK repository Signed @geminux .apk packages + APKINDEX.tar.gz scripts/package-local-apks.sh
Full build & checks Full image assembly + offline verification suite rebuild-image.sh, scripts/check-rebuild.sh

Repository layout

  • kernel/ and patches/kernel/ — kernel manifest, MT6797X configuration, and Linux 7.3.5 patch queue
  • src/ — initramfs scripts, st, dwm, dmenu, dunst-notify, libgemui, geminux-apps, and geminux-daemons
  • overlay/rootfs/ — OpenRC services, ALSA UCM2, XKB layout, Xorg drop-ins, 21 .xth themes, PipeWire/WirePlumber, udev, and NetworkManager configs
  • scripts/ — cross-compilation builders, APK packager, rootfs bootstrapper, verification suite, and unit tests
  • prebuilt/ — cross-compiled aarch64 staging tree (images/ holds built boot, recovery, and ext4 rootfs images)

Verification status vs. on-device testing

All cross-compiled binaries, kernel/DTB artifacts, GPT repartitioning logic, XKB keymap compilation, .Xresources-to-dunstrc theme syncing, MT6797 CCCI framing/handshake unit tests, zero-poll power policy tests, ELF binary Rust scan, and apk upgrade --simulate checks are verified offline on the build host and inside Alpine Linux Docker containers.

Runtime hardware testing on a physical Planet Computers Gemini PDA (x27 Wi-Fi + 4G) — including live BROM/DA flashing, 3D Panfrost rendering, cellular calls/SMS with device-extracted MediaTek firmware, camera capture, HDMI output, and battery drain telemetry — must be completed on physical hardware; see INSTALL.md.

Quick start (host build and checks)

./rebuild-image.sh
./scripts/check-rebuild.sh

To rebuild all cross-compiled components from scratch (kernel, XLibre, suckless desktop, dunst, UI apps/daemons, signed @geminux APKs, and rootfs ext4):

./rebuild-image.sh --rebuild-all --force-bootstrap
./scripts/check-rebuild.sh

Further documentation:

  • INSTALL.md — Linux flashing procedure, backup, firmware extraction, and hardware bring-up checklist
  • MANUAL.md — Keyboard map, DWM shortcuts, themes, applications, and Alpine Edge maintenance
  • ARCHITECTURE.md — Kernel, CCCI, XLibre, @geminux APK pinning, and flasher internals
  • POWER-OPTIMIZATION.md — Power-saving architecture and benchmarking methodology
S
Description
The ultimate Linux-based OS for the Planet Computers Gemini PDA
https://geminux.top Readme
151 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 52.9%
C++ 19.4%
Shell 11.3%
Python 10%
Tcl 4.1%
Other 2.3%