Files
geminux/README.md
T

50 lines
4.0 KiB
Markdown
Raw Normal View History

# 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` + `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.
## Quick start
- **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
```
## Documentation
| 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 |
| [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` |
## Repository layout
- [kernel/](kernel/) & [patches/kernel/](patches/kernel/) — Kernel manifest, MT6797X config, and Linux `7.3.5` patches (`0001`–`0014`)
- [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
## Verification status
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).