2026-11-22 10:49:59 +02:00
# Geminux
2026-11-28 09:18:51 +02:00
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.
2026-11-27 17:27:51 +02:00
## Highlights
2026-11-28 09:18:51 +02:00
- **Desktop & Theming**: Rotated `ShadowFB` + `TearFree` XLibre display with Panfrost EGL/OpenGL 3D, Pango/HarfBuzz `dwm` /`st` /`dmenu` (`192 DPI` ), **22** `.xth` themes defaulting to **Anodized** , an interactive Theme Editor & Importer, native X11 Wallpaper manager, and bundled wallpapers (`/usr/share/geminux/wallpapers/geminux-dark.png` default).
- **Cellular, Audio & Connectivity**: MT6797 MD1 cellular bring-up (`geminux-cellctl` + ST33 eUICC `lpac` eSIM), 3GPP VoLTE/VoWiFi/SMS-over-IMS (`geminux-imsd` ), PipeWire audio, `Fn+F` hardware Airplane Mode, microSD automount (`/media/sdcard` ), and configurable DNS (`geminux-dnsctl` ).
- **Browser, Media & CLI Tools**: Ultrawide `GTK3` /`WebKit2GTK` **Webarchy** browser, native `mpv` + `ffmpeg` + `gst-libav` , `yt-dlp` (`quickjs` ), `python3` /`pip3` , `tcl` /`tk` (`gtkTtk 0.9` ), `gnupg` /`pass` , `dosfstools` , `bantam` CLI AI agent, `lynx` , and `gsocket` .
- **Flashing & Security**: Redistributable release ZIP archives ([package-image.sh ](package-image.sh )), turnkey `mtkclient` flashing with automatic firmware extraction/injection preserving protected factory partitions (`LBA 0..0x6FFFF` ), offline credential setup, and optional Argon2id + ARMv8 AES-CE **LUKS2** encryption.
2026-11-22 10:49:59 +02:00
2026-11-28 09:18:51 +02:00
## Quick start
2026-11-22 10:49:59 +02:00
2026-11-28 09:18:51 +02:00
- **Flash a release ZIP (Linux host, no Docker required)**:
```sh
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**:
` ``sh
./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`)**:
` ``sh
./package-image.sh # outputs releases/geminux-<ver>-<codename>-gemini-x27.zip
` ``
2026-11-22 10:49:59 +02:00
2026-11-28 09:18:51 +02:00
## Documentation
2026-11-22 10:49:59 +02:00
2026-11-28 09:18:51 +02:00
| Document | Scope |
| --- | --- |
| [INSTALL.md](INSTALL.md) | Release ZIP flashing, source build, firmware extraction, LUKS2 FDE, and hardware checklist |
| [MANUAL.md](MANUAL.md) | Keyboard map, DWM shortcuts, gestures, themes, wallpapers, apps, and ` apk upgrade` safety |
| [ARCHITECTURE.md](ARCHITECTURE.md) | Kernel patches, XLibre/suckless hardening, theming/wallpaper engine, daemons, APKs, and flasher internals |
2026-11-28 10:38:56 +02:00
| [POWER-OPTIMIZATION.md](POWER-OPTIMIZATION.md) | Deep-sleep standby (` 72 h+` Airplane / ` 48 h+` cellular targets), zero-poll daemons, cluster profiles, and ` geminux-power-audit` |
2026-11-22 10:49:59 +02:00
## Repository layout
2026-11-28 10:38:56 +02:00
- [kernel/](kernel/) & [patches/kernel/](patches/kernel/) — Kernel manifest, MT6797X config, and Linux ` 7.3.5` patches (` 0001`– ` 0014`)
2026-11-28 09:18:51 +02:00
- [src/](src/) — Initramfs, ` st`, ` dwm`, ` dmenu`, ` dunst-notify`, ` bantam`, ` webarchy`, ` gtkTtk`, ` libgemui`, 11 apps, and daemons
- [overlay/rootfs/](overlay/rootfs/) & [artwork/](artwork/) — OpenRC units, XKB/keymap, Xorg configs, 22 ` .xth` themes, stock wallpapers, and scripts
- [scripts/](scripts/) — Cross-compile builders, APK/ZIP packagers, verification suite, and 9 Python unit test suites
- [flash-mtk.sh](flash-mtk.sh), [rebuild-image.sh](rebuild-image.sh), [package-image.sh](package-image.sh) — Flashing, full build, and release packaging entry points
2026-11-22 10:49:59 +02:00
2026-11-28 09:18:51 +02:00
## Verification status
2026-11-22 10:49:59 +02:00
2026-11-28 09:18:51 +02:00
Automated offline checks ([scripts/check-rebuild.sh](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 ](INSTALL.md ).