Initial commit: Geminux 0.1.0 (helio) for Planet Computers Gemini PDA (MT6797X)
This commit is contained in:
commit
034c1f61b1
816 files changed
+223435
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
# Geminux build artifacts, caches, and private/extracted runtime data
|
||||
/rootfs/
|
||||
/images/
|
||||
/backup/
|
||||
/firmware-cache/
|
||||
/.flash-deps/
|
||||
/build-cache/
|
||||
/hwparam.json
|
||||
/logs/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tar.zst
|
||||
/linux-*/
|
||||
/src/xlibre/
|
||||
/keys/geminux_id_ed25519
|
||||
!/keys/geminux_id_ed25519.pub
|
||||
/keys/geminux-local.rsa
|
||||
!/keys/geminux-local.rsa.pub
|
||||
/prebuilt/apk-repo/
|
||||
.DS_Store
|
||||
@@ -0,0 +1,47 @@
|
||||
# Architecture
|
||||
|
||||
Geminux combines a custom-patched Linux `7.3.5` kernel, pure-Linux MTK flasher, XLibre graphics server, patched suckless X11 stack, and custom C11 applications and daemons, packaged cleanly into signed Alpine APK packages so standard userspace updates continue working indefinitely.
|
||||
|
||||
## Kernel and MediaTek MT6797X support
|
||||
|
||||
- **Kernel tree**: Vanilla Linux `7.3.5` patched via [patches/kernel/](file:///home/lux/proj/geminux/patches/kernel) (`0001-ixoo-gemini-pda-mainline-7.3.5.patch`, `0002-mt6797-ccci-cldma-and-md1-domain.patch`, `0003-arm64-dts-mediatek-geminux-gemini-pda.patch`).
|
||||
- **Graphics & display**: MediaTek DRM (`mediatek-drm`), Novatek DSI panel (`panel-novatek-nt36672e`), Mali-T880 `panfrost` GPU driver, and `sii902x` Slimport/HDMI bridge.
|
||||
- **Modem / Telephony**: Staged `mt6797-ccci-cldma` driver exposing `/dev/ccci_md_ctl`, `/dev/ccci_fs`, `/dev/ccci_rpc`, `/dev/ttyC0..3`, and `ccmni*` network interfaces with the 16-byte `struct mt6797_ccci_header` UAPI ([mt6797_ccci.h](file:///home/lux/proj/geminux/prebuilt/kernel/include/linux/mt6797_ccci.h)).
|
||||
- **Boot & recovery**: Packed LK-compatible Android boot images (`images/boot-geminux.img`, `images/recovery-geminux.img`) built with `mkbootimg-osm0sis` (`16 MiB` boot slot ceiling, `512 KiB` DTB ceiling). On first boot, [src/initramfs/init](file:///home/lux/proj/geminux/src/initramfs/init) checks ext4 via `e2fsck -p` and grows the root filesystem via `resize2fs`.
|
||||
|
||||
## Graphics, window management, and theming
|
||||
|
||||
- **XLibre (`25.x`)**: Cross-compiled against pure Alpine Edge `aarch64` sysroots with Panfrost Glamor EGL (`libglamoregl.so`), `modesetting_drv.so`, `fbdev_drv.so`, and `libinput_drv.so` ([scripts/build-xlibre.sh](file:///home/lux/proj/geminux/scripts/build-xlibre.sh)). Zero Wayland compositors (`sway`, `weston`, `phosh`, `xwayland`, etc.) are installed.
|
||||
- **Patched suckless desktop**:
|
||||
- `st` with HarfBuzz font shaping (`hb.c`) supporting Fira Code programming ligatures, Nerd Font fallback, and `SIGUSR1` live `.Xresources` reload.
|
||||
- `dwm` with Pango/HarfBuzz multi-font bar (`drw.c`), EWMH/XEmbed system tray, touch-friendly `>= 44px` status bar, `Mod4 = Fn+Alt` + one-shot `Super_L` tap-latch, and `SIGUSR1` `.Xresources` reload.
|
||||
- `dmenu` with Pango/HarfBuzz, `48px` touch rows, and mouse/touch click selection.
|
||||
- **Zero-Rust notifications**: `dunst v1.12.2` compiled with `WAYLAND=0 DUNSTIFY=0` and custom pure-C PNG (`libpng` + Cairo) / JPEG (`libjpeg-turbo`) icon loader replacing `gdk-pixbuf` ([src/dunst-notify/](file:///home/lux/proj/geminux/src/dunst-notify/)), paired with a lightweight GDBus `notify-send` / `dunstify`.
|
||||
|
||||
## Custom UI toolkit and zero-poll C11 daemons
|
||||
|
||||
- **`libgemui.so`** ([src/libgemui/](file:///home/lux/proj/geminux/src/libgemui)): Double-buffered Cairo + Pango/HarfBuzz Xlib toolkit polling X11 events, `SIGUSR1` self-pipe for instant `.Xresources` reloads, dynamic timers, and non-blocking extra FDs (such as V4L2 or `inotify`).
|
||||
- **Zero-poll C11 daemons** ([src/geminux-daemons/](file:///home/lux/proj/geminux/src/geminux-daemons)):
|
||||
- `geminux-powerd` — `epoll` over `/dev/input/event*` (`SW_LID`, `KEY_POWER`), `KOBJECT_UEVENT`, `/run/geminux/powerd.sock`, and on-demand `timerfd`.
|
||||
- `geminux-statusd` — `epoll` over `signalfd` (`SIGUSR1`), `RTMGRP_LINK`/`RTMGRP_IPV4_IFADDR`, `KOBJECT_UEVENT`, `inotify`, and minute-aligned `timerfd`; updates root `WM_NAME` with zero child shell forks.
|
||||
- `geminux-ccci-daemon` — `epoll` over `/dev/ccci_*`, uevents, and `/run/geminux/ccci.sock`; idles cleanly if MD firmware is absent.
|
||||
- `geminux-modem-ctl`, `geminux-bt-obex` (GLib `GMainLoop`/GDBus), `geminux-leds`, `geminux-power-audit`, and `geminux-checkpw`.
|
||||
|
||||
## APK package pinning and zero-Rust enforcement
|
||||
|
||||
To keep Alpine Edge `aarch64` userspace freely updatable while locking all hardware-tuned components:
|
||||
|
||||
1. Build-time host Docker containers use `postmarketos/v26.06` solely for `gcc-aarch64`, `binutils-aarch64`, and `mkbootimg-osm0sis`. All `$SYSROOT` trees and the target `$ROOTFS` use only pure **Alpine Edge** (`main`, `community`, `testing`) plus the RSA-4096 signed local `@geminux` repository (`/var/lib/geminux/apk-repo`).
|
||||
2. [scripts/package-local-apks.sh](file:///home/lux/proj/geminux/scripts/package-local-apks.sh) builds six `.apk` packages via `apk mkpkg` and indexes them into `APKINDEX.tar.gz` via `apk mkndx`:
|
||||
- `geminux-kernel-modules`
|
||||
- `geminux-xlibre`
|
||||
- `geminux-suckless`
|
||||
- `geminux-dunst`
|
||||
- `geminux-ui`
|
||||
- `geminux-config`
|
||||
3. `/etc/apk/world` pins all six with `name@geminux=version` and locks out Rust/Wayland/upstream overrides via `!` constraints from [scripts/rootfs-prune-packages.txt](file:///home/lux/proj/geminux/scripts/rootfs-prune-packages.txt).
|
||||
4. `/etc/apk/protected_paths.d/geminux.list` shields Geminux configuration directories across upgrades.
|
||||
|
||||
## Pure-Linux flasher and eMMC layout
|
||||
|
||||
[flash-mtk.py](file:///home/lux/proj/geminux/flash-mtk.py) uses vendored GPLv3 `mtkclient` + single-chip `MTK_DA_V5_MT6797.bin` to communicate directly over USB BROM/DA without MediaTek's proprietary GUI. Protected partitions in `LBA 0..0x6FFFF` (`preloader`, `nvram`, `proinfo`, `lk`, `tee1`, `md1img`, etc.) are backed up and write-blocked by default (`0x0E000000` protected boundary verified in [scripts/test-flash-mtk-gpt.py](file:///home/lux/proj/geminux/scripts/test-flash-mtk-gpt.py)).
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
# Installation guide
|
||||
|
||||
This guide covers building Geminux images and flashing a Planet Computers Gemini PDA (Wi-Fi + 4G, MT6797X) directly from Linux without MediaTek's proprietary FlashTool GUI.
|
||||
|
||||
## Prerequisites on the Linux host
|
||||
|
||||
1. Docker (`docker`) installed and running for `aarch64` cross-compilation and Alpine rootfs assembly.
|
||||
2. Python 3 (`python3`), `libusb-1.0`, and `udev` / `sudo` permissions for USB MediaTek BROM/DA access.
|
||||
3. Optional: `img2simg` and `simg2img` (`android-tools` or `ext4` sparse utilities) if you want Android sparse rootfs conversion.
|
||||
4. A Planet Computers Gemini PDA (x27 Wi-Fi+4G) and a USB-C data cable connected directly to a host USB port (avoid unpowered hubs).
|
||||
|
||||
On Linux hosts running `ModemManager`, [flash-mtk.sh](file:///home/lux/proj/geminux/flash-mtk.sh) automatically pauses `ModemManager` during flashing and restarts it on exit so `/dev/ttyACM*` is not claimed away from the MediaTek Preloader/BROM handshake.
|
||||
|
||||
## Step 1: Build the Geminux images
|
||||
|
||||
From the repository root:
|
||||
|
||||
```sh
|
||||
./rebuild-image.sh
|
||||
./scripts/check-rebuild.sh
|
||||
```
|
||||
|
||||
This generates:
|
||||
|
||||
- `images/boot-geminux.img` (`<= 16 MiB` LK boot slot image containing `Image.gz`, `mt6797-gemini-pda-geminux.dtb`, and initramfs)
|
||||
- `images/recovery-geminux.img` (initramfs recovery image with USB NCM network shell)
|
||||
- `images/geminux-rootfs.img` (ext4 root filesystem labeled `geminux-root`)
|
||||
- `images/SHA256SUMS`
|
||||
|
||||
## Step 2: Backup factory partitions and extract MediaTek firmware
|
||||
|
||||
Never wipe or overwrite MediaTek factory calibration, baseband, or bootloader partitions (`proinfo`, `nvram`, `nvdata`, `protect1`, `protect2`, `seccfg`, `lk`, `tee1`, `md1img`, `scp1`, `preloader`).
|
||||
|
||||
Power off the Gemini PDA completely and keep it unplugged. Run the backup command, then plug the USB-C cable into the **left** USB-C port (closest to the Esc side) while the device is powered off to enter MediaTek BROM/Preloader mode:
|
||||
|
||||
```sh
|
||||
./flash-mtk.sh --only-backup
|
||||
```
|
||||
|
||||
Backups are saved under `backup/<timestamp>/` together with `pgpt.bin` and `sgpt.bin`.
|
||||
|
||||
Next, extract the device-owned proprietary MediaTek firmware blobs (`MT6797` Wi-Fi, Bluetooth, SPM, and MD1 radio images, which are never redistributed in git) either directly from the Gemini's existing Android `system` partition or from a local `system.img`:
|
||||
|
||||
```sh
|
||||
# From a connected Gemini in BROM mode:
|
||||
./flash-mtk.sh --extract-firmware
|
||||
|
||||
# Or from a local stock Android system image:
|
||||
./flash-mtk.sh --extract-firmware --system-img /path/to/system.img
|
||||
```
|
||||
|
||||
Extracted blobs are placed in `firmware-cache/mt6797/` and automatically injected into `/lib/firmware/mediatek/mt6797/` the next time `./rebuild-image.sh` runs. Re-run `./rebuild-image.sh` after extracting firmware so `geminux-rootfs.img` includes the blobs:
|
||||
|
||||
```sh
|
||||
./rebuild-image.sh
|
||||
```
|
||||
|
||||
## Step 3: Flash full eMMC with Geminux
|
||||
|
||||
Geminux claims the entire user-writable eMMC past the protected MediaTek region (`LBA 0x70000`, byte offset `0x0E000000`, `SYS0..SYS27`), removing Android `system`, `cache`, and `userdata` in favor of `boot`, `recovery`, `boot2`, and a single full-disk `linux` ext4 partition:
|
||||
|
||||
```sh
|
||||
./flash-mtk.sh --flash-full
|
||||
```
|
||||
|
||||
What `--flash-full` does automatically (implemented in [flash-mtk.py](file:///home/lux/proj/geminux/flash-mtk.py) and [scripts/geminux_gpt.py](file:///home/lux/proj/geminux/scripts/geminux_gpt.py)):
|
||||
|
||||
1. Takes an initial backup into `backup/<timestamp>/` (or pass `--skip-backup --backup-dir backup/<timestamp>` on subsequent reflashes to reuse an existing backup).
|
||||
2. Verifies the protected factory partition layout before `0x0E000000` (`pass --force-gpt` only if intentionally converting a non-standard partition table).
|
||||
3. Writes updated Primary GPT (`LBA 0..33`) and Backup GPT with a mandatory readback verification check.
|
||||
4. Writes `boot-geminux.img` to `boot` and `boot2`, `recovery-geminux.img` to `recovery` (with readback verification), and `geminux-rootfs.img` to `linux`, then sends the DA reboot handshake (`--reboot` default, `--poweroff` to stay powered off, or `--no-reboot` to remain in DA mode).
|
||||
|
||||
To update only the kernel and initramfs later without touching GPT or the root filesystem:
|
||||
|
||||
```sh
|
||||
./flash-mtk.sh --flash-kernel-only
|
||||
```
|
||||
|
||||
To restore a previous backup:
|
||||
|
||||
```sh
|
||||
./flash-mtk.sh --restore-backup backup/<timestamp>
|
||||
```
|
||||
|
||||
## First boot and recovery notes
|
||||
|
||||
- Disconnect the USB-C cable and hold the **Esc** (power) button until the unit boots.
|
||||
- On first boot, the initramfs automatically expands the ext4 filesystem (`resize2fs`) to fill the entire `linux` partition before pivoting to OpenRC.
|
||||
- TinyDM automatically logs into XLibre + DWM as `user` (UID `10000`, default password `geminux`, SSH authorized key installed from `keys/geminux_id_ed25519.pub` if generated). Change the `user` and `root` passwords immediately with `passwd`.
|
||||
- Connecting a host PC over USB-C starts the `usb0` NCM Ethernet gadget on `172.16.42.1/24` for rescue SSH access.
|
||||
|
||||
## Live Gemini PDA x27 hardware validation checklist
|
||||
|
||||
Perform these checks on physical hardware after the first boot:
|
||||
|
||||
- [ ] Confirm `uname -r` reports `7.3.5-geminux` and `lsmod` shows `mediatek_drm`, `panfrost`, `mt6797_ccci_cldma`, `mt6797_wlan_core`, and `btmt6797`.
|
||||
- [ ] Verify touch input (`novatek-nt36xxx`) and physical keyboard mappings (`Fn+1..0 = F1..F10`, `Fn+Alt = Mod4`, Planet key).
|
||||
- [ ] Confirm Glamor 3D acceleration via `glxinfo | grep -i renderer`.
|
||||
- [ ] Test Wi-Fi connectivity via `geminux-net` or `nmcli`, Bluetooth via `geminux-net`, and audio playback/recording (speaker, 3.5mm jack, internal mic).
|
||||
- [ ] With MD1 firmware extracted, verify `/dev/ccci_md_ctl`, `/dev/ttyC0`, and `ccmni*` registration for LTE data, voice calls (`geminux-dialer`), and SMS (`geminux-sms`).
|
||||
- [ ] Test front camera preview/JPEG/AVI capture (`geminux-camera`), external HDMI output (`SiI9024`), lid-close S3 suspend, and `geminux-power-audit`.
|
||||
@@ -0,0 +1,61 @@
|
||||
# User manual
|
||||
|
||||
## Gemini PDA US keyboard and XKB layout
|
||||
|
||||
Geminux installs a custom XKB layout (`planet_vndr/geminux`, variant `us`) and matching Linux console keymap (`etc/keymap/gemini-us.map`):
|
||||
|
||||
- `Fn + 1` through `Fn + 0`: `F1` through `F10`
|
||||
- `Fn + Alt`: `Super_L` (`Mod4`, main window-manager modifier key)
|
||||
- Planet key: mapped to `Mod4` / launcher trigger (also taps cleanly as a one-shot `Mod4` latch in DWM for single-handed operation)
|
||||
- Backlight / Volume media keys: adjust brightness (`brightnessctl`) or PipeWire sink volume (`wpctl`) and immediately signal `geminux-statusd` via `SIGUSR1`
|
||||
|
||||
## DWM window manager shortcuts
|
||||
|
||||
In [src/dwm/config.h](file:///home/lux/proj/geminux/src/dwm/config.h), `MODKEY` is `Mod4Mask` (`Fn+Alt`):
|
||||
|
||||
| Shortcut | Action |
|
||||
| --- | --- |
|
||||
| `Mod4 + Return` | Launch `st` terminal (with Fira Code HarfBuzz ligatures) |
|
||||
| `Mod4 + p` | Launch `geminux-launcher` (`dmenu` with Nerd Font icons) |
|
||||
| `Mod4 + c` | Open `geminux-control` (backlight, volume, power profiles, LEDs, suspend) |
|
||||
| `Mod4 + d` | Open `geminux-dialer` |
|
||||
| `Mod4 + s` | Open `geminux-sms` |
|
||||
| `Mod4 + n` | Open `geminux-net` |
|
||||
| `Mod4 + v` | Open `geminux-camera` |
|
||||
| `Mod4 + t` | Open `geminux-themes` |
|
||||
| `Mod4 + l` | Lock screen (`geminux-lock`) |
|
||||
| `Mod4 + j` / `k` | Focus next / previous window |
|
||||
| `Mod4 + h` / `l` | Adjust master split ratio (with `Mod4 + Space` / layout buttons for Tile, Monocle, Floating, Grid) |
|
||||
| `Mod4 + 1..9` | Switch workspace tags (`Mod4 + Shift + 1..9` moves window to tag) |
|
||||
| `Mod4 + Shift + c` | Close focused window |
|
||||
|
||||
Touchscreen input is supported directly across XLibre (`libinput`), DWM tag/layout/close buttons (`>= 44px` top bar), `dmenu` items (`48px` rows), `st`, and all nine `libgemui` applications (`>= 64px` touch targets).
|
||||
|
||||
## Unified theming via `.Xresources`
|
||||
|
||||
Geminux includes 21 unified `.xth` color themes under `~/.xthemes/` (copied from `/etc/skel/.xthemes/`). Switch themes either interactively with `geminux-themes` or from the terminal:
|
||||
|
||||
```sh
|
||||
geminux-apply-theme # list available themes
|
||||
geminux-apply-theme TokyoNight
|
||||
```
|
||||
|
||||
`geminux-apply-theme` updates `~/.Xresources`, merges into the X11 resource database via `xrdb`, translates the unified `theme.*` keys into `~/.config/dunst/dunstrc` via `geminux-sync-dunst-theme`, restarts `dunst`, and sends `SIGUSR1` to live `dwm`, `st`, and `libgemui` applications for instant in-place redraw.
|
||||
|
||||
## Applications and daemons
|
||||
|
||||
- **Telephony & messaging**: `geminux-dialer`, `geminux-callscreen`, `geminux-sms`, `geminux-contacts` backed by `geminux-modem-ctl` and `geminux-ccci-daemon` (using `alsaucm` UCM2 `VoiceCall` / `HiFi` switching and call suspend inhibitors).
|
||||
- **Connectivity**: `geminux-net` manages Wi-Fi (`nmcli`), 4G/CCCI state (`mmcli` + `/run/geminux/ccci.sock`), Bluetooth (`bluetoothctl` / `rfkill`), and SiI9024 external HDMI output (`xrandr`).
|
||||
- **Camera**: `geminux-camera` streams from `/dev/video*` via V4L2 `mmap` and writes native `libjpeg-turbo` stills to `~/Pictures/` and native MJPEG-AVI video clips to `~/Videos/`.
|
||||
- **System control & lock**: `geminux-control` adjusts display backlight, PipeWire audio volume, MT6797X power profile (`eco`, `balanced`, `performance`), and AW9120 LEDs (`/run/geminux/leds.sock`). `geminux-lock` secures the X session using `doas -n /usr/sbin/geminux-checkpw`.
|
||||
|
||||
## Maintaining Alpine Edge packages safely
|
||||
|
||||
Target `/etc/apk/repositories` tracks pure Alpine Edge (`main`, `community`, `testing`) alongside the local signed `@geminux` repository (`/var/lib/geminux/apk-repo`):
|
||||
|
||||
```sh
|
||||
doas apk update
|
||||
doas apk upgrade
|
||||
```
|
||||
|
||||
Because custom Geminux components (`geminux-kernel-modules`, `geminux-xlibre`, `geminux-suckless`, `geminux-dunst`, `geminux-ui`, `geminux-config`) are exact-version pinned (`name@geminux=version`) in `/etc/apk/world` and Rust/upstream overrides (`!rust`, `!cargo`, `!librsvg`, `!libglycin`, `!gdk-pixbuf`, `!xorg-server`, `!linux-edge`, etc.) are negated in `/etc/apk/world`, normal Alpine Edge upgrades update upstream libraries, CLI tools, NetworkManager, ModemManager, PipeWire, and Mesa without overwriting custom patched binaries or pulling Rust packages.
|
||||
@@ -0,0 +1,52 @@
|
||||
# Power optimization
|
||||
|
||||
Battery endurance and deep idle efficiency are first-class design requirements across the kernel, daemons, radios, display, audio, and storage stack in Geminux.
|
||||
|
||||
## Kernel-level optimizations
|
||||
|
||||
Configured in [kernel/configs/geminux-mt6797x.config](file:///home/lux/proj/geminux/kernel/configs/geminux-mt6797x.config) and built into `7.3.5-geminux`:
|
||||
|
||||
- **`CONFIG_HZ_100=y`**: 100 Hz tick rate cuts periodic timer interrupt overhead compared to 250 Hz / 1000 Hz kernels while remaining responsive for interactive X11 workloads.
|
||||
- **`CONFIG_RCU_LAZY=y`**: Batches RCU callbacks during idle periods to extend CPU C-state residency.
|
||||
- **`CONFIG_SUSPEND=y`**: Enables deep Suspend-to-RAM (`mem` / `deep`) triggered on Gemini PDA lid close (`SW_LID`) or power button press.
|
||||
- **`CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y`**: Uses scheduler utilization feedback (`schedutil`) across the MT6797X tri-cluster (Cortex-A53 + Cortex-A72) topology instead of static `performance` governors.
|
||||
- **`CONFIG_ZRAM_DEF_COMP_LZ4=y`** with `2 GiB` LZ4 `zram` swap (`etc/conf.d/zram-init`) and `vm.swappiness=100` (`etc/sysctl.d/99-geminux-power.conf`): avoids slow, power-hungry flash swap I/O on eMMC and pairs with `commit=60,noatime` mount options (`etc/fstab`).
|
||||
|
||||
## Zero-poll userspace daemons
|
||||
|
||||
All background system services avoid wake-up timers and polling loops:
|
||||
|
||||
- **`geminux-powerd`**: Sleeps indefinitely in `epoll_wait()` over `/dev/input/event*` (`SW_LID`, `KEY_POWER`), `KOBJECT_UEVENT` netlink (AC charger/HDMI hotplug), `/run/geminux/powerd.sock`, and an on-demand `timerfd`.
|
||||
- **`geminux-statusd`**: Uses `signalfd` (`SIGUSR1`), `RTMGRP_LINK` netlink, `inotify`, and a minute-aligned `timerfd` so the DWM status bar wakes only on actual network/power/modem changes or minute boundaries with zero child shell forks.
|
||||
- **`geminux-ccci-daemon` & `geminux-modem-ctl`**: Event-driven `epoll_wait()` over `/dev/ccci_*`, AT port, and netlink; enter completely idle sleep when no modem activity is pending.
|
||||
- **`geminux-bt-obex` & `geminux-leds`**: Event-driven GLib/GDBus and `epoll_wait()` + `KOBJECT_UEVENT` control without periodic polling.
|
||||
|
||||
## Cluster gating and profiles
|
||||
|
||||
`geminux-power-ctl` (and `geminux-control`) switches between three profiles managed in [src/geminux-daemons/geminux-power-policy.c](file:///home/lux/proj/geminux/src/geminux-daemons/geminux-power-policy.c):
|
||||
|
||||
| Profile | Governor | A72 big cores (`cpu8..9`) | A53 max freq | Auto-suspend on battery |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| `eco` | `schedutil` | Offline (`0`) | `1391 MHz` | `180 s` idle |
|
||||
| `balanced` | `schedutil` | Online (`1`) | `1547 MHz` | `300 s` idle |
|
||||
| `performance` | `schedutil` | Online (`1`) | `1846 MHz` | Disabled |
|
||||
|
||||
Closing the Gemini PDA clamshell (`SW_LID = 1`) suspends immediately to RAM (`mem`), unless inhibited by an active voice call (`inhibit add call`), an explicit inhibitor, or a connected external HDMI monitor (`SiI9024`).
|
||||
|
||||
## Audio, radios, and storage defaults
|
||||
|
||||
- **Audio**: PipeWire uses `default.clock.min-quantum = 1024` and `quantum = 2048` (`10-geminux-power.conf`); WirePlumber suspends idle ALSA and BlueZ nodes after `3` seconds (`50-geminux-suspend.conf`) so audio DSP clocks gate quickly.
|
||||
- **Bluetooth**: `bluetooth` OpenRC service is disabled from default boot (`AutoEnable=false` in `etc/bluetooth/main.conf`); users toggle Bluetooth on demand via `geminux-net`.
|
||||
- **Wi-Fi**: NetworkManager enforces `wifi.powersave = 3` (`10-geminux-power.conf`).
|
||||
- **Storage**: `noatime,commit=60` in `etc/fstab` alongside `vm.dirty_writeback_centisecs=1500` reduces eMMC write amplification and wakes.
|
||||
|
||||
## Auditing on device
|
||||
|
||||
Run the bundled C11 audit utility at any time:
|
||||
|
||||
```sh
|
||||
geminux-power-audit
|
||||
geminux-power-audit --json
|
||||
```
|
||||
|
||||
It prints the live power profile, battery capacity/voltage/current, online CPU count (including A72 cluster gating status), CPUfreq governor, ZRAM compression algorithm, and supported `/sys/power/mem_sleep` modes. Live idle current draw and multi-hour standby battery endurance benchmarks must be measured on physical Gemini PDA (x27) hardware after flashing.
|
||||
@@ -0,0 +1,59 @@
|
||||
# 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](file:///home/lux/proj/geminux/scripts/build-kernel.sh) |
|
||||
| Flasher & GPT | Vendored GPLv3 `mtkclient` + MT6797 DA + GPT builder | [flash-mtk.sh](file:///home/lux/proj/geminux/flash-mtk.sh), [flash-mtk.py](file:///home/lux/proj/geminux/flash-mtk.py) |
|
||||
| Display server | XLibre Xorg 25.x (`Glamor`, `modesetting`, `fbdev`, `libinput`) | [scripts/build-xlibre.sh](file:///home/lux/proj/geminux/scripts/build-xlibre.sh) |
|
||||
| Window manager & terminal | Patched `dwm` (Pango, systray, `.Xresources`, `Mod4`), `st` (HarfBuzz ligatures), `dmenu` | [scripts/build-suckless.sh](file:///home/lux/proj/geminux/scripts/build-suckless.sh) |
|
||||
| Notifications | Pure-X11 zero-`gdk-pixbuf` `dunst v1.12.2` + custom GDBus `notify-send` / `dunstify` | [scripts/build-dunst.sh](file:///home/lux/proj/geminux/scripts/build-dunst.sh) |
|
||||
| UI & daemons | `libgemui.so`, 9 landscape HiDPI apps, 7 zero-poll C11 daemons | [scripts/build-geminux-ui.sh](file:///home/lux/proj/geminux/scripts/build-geminux-ui.sh) |
|
||||
| Local APK repository | Signed `@geminux` `.apk` packages + `APKINDEX.tar.gz` | [scripts/package-local-apks.sh](file:///home/lux/proj/geminux/scripts/package-local-apks.sh) |
|
||||
| Full build & checks | Full image assembly + offline verification suite | [rebuild-image.sh](file:///home/lux/proj/geminux/rebuild-image.sh), [scripts/check-rebuild.sh](file:///home/lux/proj/geminux/scripts/check-rebuild.sh) |
|
||||
|
||||
## Repository layout
|
||||
|
||||
- [kernel/](file:///home/lux/proj/geminux/kernel) and [patches/kernel/](file:///home/lux/proj/geminux/patches/kernel) — kernel manifest, MT6797X configuration, and Linux `7.3.5` patch queue
|
||||
- [src/](file:///home/lux/proj/geminux/src) — initramfs scripts, `st`, `dwm`, `dmenu`, `dunst-notify`, `libgemui`, `geminux-apps`, and `geminux-daemons`
|
||||
- [overlay/rootfs/](file:///home/lux/proj/geminux/overlay/rootfs) — OpenRC services, ALSA UCM2, XKB layout, Xorg drop-ins, 21 `.xth` themes, PipeWire/WirePlumber, udev, and NetworkManager configs
|
||||
- [scripts/](file:///home/lux/proj/geminux/scripts) — cross-compilation builders, APK packager, rootfs bootstrapper, verification suite, and unit tests
|
||||
- [prebuilt/](file:///home/lux/proj/geminux/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](file:///home/lux/proj/geminux/INSTALL.md).
|
||||
|
||||
## Quick start (host build and checks)
|
||||
|
||||
```sh
|
||||
./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):
|
||||
|
||||
```sh
|
||||
./rebuild-image.sh --rebuild-all --force-bootstrap
|
||||
./scripts/check-rebuild.sh
|
||||
```
|
||||
|
||||
Further documentation:
|
||||
|
||||
- [INSTALL.md](file:///home/lux/proj/geminux/INSTALL.md) — Linux flashing procedure, backup, firmware extraction, and hardware bring-up checklist
|
||||
- [MANUAL.md](file:///home/lux/proj/geminux/MANUAL.md) — Keyboard map, DWM shortcuts, themes, applications, and Alpine Edge maintenance
|
||||
- [ARCHITECTURE.md](file:///home/lux/proj/geminux/ARCHITECTURE.md) — Kernel, CCCI, XLibre, `@geminux` APK pinning, and flasher internals
|
||||
- [POWER-OPTIMIZATION.md](file:///home/lux/proj/geminux/POWER-OPTIMIZATION.md) — Power-saving architecture and benchmarking methodology
|
||||
Executable
+55
@@ -0,0 +1,55 @@
|
||||
#!/bin/sh
|
||||
# Geminux Linux Interactive Rootfs Customization Shell (aarch64)
|
||||
set -eu
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
ROOTFS_PATH="${ROOTFS_DIR:-$SCRIPT_DIR/rootfs}"
|
||||
mkdir -p "$ROOTFS_PATH"
|
||||
ROOTFS_HOST="$(realpath "$ROOTFS_PATH")"
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
set -- /bin/sh
|
||||
fi
|
||||
|
||||
"$SCRIPT_DIR/scripts/bootstrap-rootfs.sh" "$ROOTFS_HOST" gemini-x27
|
||||
|
||||
exec docker run --rm -it --network=host \
|
||||
-e HOST_UID="$(id -u)" \
|
||||
-e HOST_GID="$(id -g)" \
|
||||
-v "$ROOTFS_HOST:/rootfs" \
|
||||
-v "$SCRIPT_DIR:/geminux:ro" \
|
||||
alpine:3.24 sh -eu -c '
|
||||
ROOTFS="/rootfs"
|
||||
mkdir -p /var/lib/geminux
|
||||
if [ -d "$ROOTFS/var/lib/geminux/apk-repo" ]; then
|
||||
ln -sfn "$ROOTFS/var/lib/geminux/apk-repo" /var/lib/geminux/apk-repo
|
||||
fi
|
||||
|
||||
cat > /etc/apk/repositories <<EOF
|
||||
@geminux /var/lib/geminux/apk-repo
|
||||
https://dl-cdn.alpinelinux.org/alpine/edge/main
|
||||
https://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||
https://dl-cdn.alpinelinux.org/alpine/edge/testing
|
||||
EOF
|
||||
cp /etc/apk/repositories "$ROOTFS/etc/apk/repositories" 2>/dev/null || true
|
||||
cp /geminux/keys/*.rsa.pub /etc/apk/keys/
|
||||
|
||||
cat > /usr/local/bin/pkg-add <<EOF
|
||||
#!/bin/sh
|
||||
exec apk --root "$ROOTFS" --arch aarch64 add --no-scripts "\$@"
|
||||
EOF
|
||||
cat > /usr/local/bin/pkg-del <<EOF
|
||||
#!/bin/sh
|
||||
exec apk --root "$ROOTFS" --arch aarch64 del --no-scripts "\$@"
|
||||
EOF
|
||||
cat > /usr/local/bin/pkg-search <<EOF
|
||||
#!/bin/sh
|
||||
exec apk --root "$ROOTFS" --arch aarch64 search "\$@"
|
||||
EOF
|
||||
chmod +x /usr/local/bin/pkg-add /usr/local/bin/pkg-del /usr/local/bin/pkg-search
|
||||
|
||||
cd "$ROOTFS"
|
||||
"$@" || true
|
||||
chown -R "$HOST_UID:$HOST_GID" "$ROOTFS"
|
||||
chmod -R u+rwX "$ROOTFS"
|
||||
' -- "$@"
|
||||
Executable
+518
@@ -0,0 +1,518 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Pure-Python MediaTek BROM/DA Flasher for Geminux (Gemini PDA MT6797X).
|
||||
|
||||
Uses vendored GPLv3 mtkclient transport (no proprietary MediaTek FlashTool).
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import hashlib
|
||||
import logging
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
VENDOR_MTK = os.path.join(BASE_DIR, "vendor", "mtkclient")
|
||||
SCRIPTS_DIR = os.path.join(BASE_DIR, "scripts")
|
||||
for p in (VENDOR_MTK, SCRIPTS_DIR):
|
||||
if p not in sys.path:
|
||||
sys.path.insert(0, p)
|
||||
|
||||
from geminux_gpt import (
|
||||
SECTOR_SIZE,
|
||||
GPT_ARRAY_SECTORS,
|
||||
PROTECTED_END_LBA,
|
||||
build_geminux_gpts,
|
||||
parse_primary_gpt,
|
||||
)
|
||||
|
||||
# Critical factory/firmware/bootloader partitions blocked from accidental writes.
|
||||
PROTECTED_PARTITIONS = frozenset({
|
||||
"preloader",
|
||||
"pgpt",
|
||||
"sgpt",
|
||||
"para",
|
||||
"expdb",
|
||||
"frp",
|
||||
"nvcfg",
|
||||
"nvdata",
|
||||
"metadata",
|
||||
"protect1",
|
||||
"protect2",
|
||||
"seccfg",
|
||||
"oemkeystore",
|
||||
"proinfo",
|
||||
"md1img",
|
||||
"md1dsp",
|
||||
"md1arm7",
|
||||
"md3img",
|
||||
"scp1",
|
||||
"scp2",
|
||||
"nvram",
|
||||
"lk",
|
||||
"lk2",
|
||||
"logo",
|
||||
"tee1",
|
||||
"tee2",
|
||||
"keystore",
|
||||
})
|
||||
|
||||
BACKUP_PARTITIONS = (
|
||||
"proinfo",
|
||||
"nvram",
|
||||
"protect1",
|
||||
"protect2",
|
||||
"nvcfg",
|
||||
"nvdata",
|
||||
"seccfg",
|
||||
"para",
|
||||
"lk",
|
||||
"lk2",
|
||||
"tee1",
|
||||
"tee2",
|
||||
"md1img",
|
||||
"md1dsp",
|
||||
"md1arm7",
|
||||
"md3img",
|
||||
"scp1",
|
||||
"scp2",
|
||||
"boot",
|
||||
"recovery",
|
||||
)
|
||||
|
||||
SPARSE_MAGIC = b"\x3a\xff\x26\xed"
|
||||
|
||||
|
||||
def sha256_bytes(data):
|
||||
return hashlib.sha256(data).hexdigest()
|
||||
|
||||
|
||||
def sha256_file(path):
|
||||
h = hashlib.sha256()
|
||||
with open(path, "rb") as f:
|
||||
while True:
|
||||
chunk = f.read(1048576)
|
||||
if not chunk:
|
||||
break
|
||||
h.update(chunk)
|
||||
return h.hexdigest()
|
||||
|
||||
|
||||
def enforce_write_safety(partition_name, allow_protected=False):
|
||||
"""Reject writes to protected MediaTek calibration/radio/bootloader partitions."""
|
||||
if partition_name.lower() in PROTECTED_PARTITIONS and not allow_protected:
|
||||
raise PermissionError(
|
||||
f"Refusing to overwrite protected partition '{partition_name}'. "
|
||||
"Pass --restore-backup or --danger-allow-protected only if you are certain."
|
||||
)
|
||||
|
||||
|
||||
def create_mtk_config(loader_path=None, preloader_path=None, verbose=False, wait_timeout=300):
|
||||
from mtkclient.config.mtk_config import MtkConfig
|
||||
from mtkclient.Library.Partitions.gpt import GptSettings
|
||||
|
||||
loglevel = logging.DEBUG if verbose else logging.INFO
|
||||
cfg = MtkConfig(loglevel=loglevel, gui=None, guiprogress=None)
|
||||
cfg.gpt_settings = GptSettings(0, 0, 0)
|
||||
cfg.wait_timeout = wait_timeout
|
||||
if loader_path:
|
||||
if not os.path.isfile(loader_path):
|
||||
raise FileNotFoundError(f"DA loader not found: {loader_path}")
|
||||
cfg.loader = loader_path
|
||||
if preloader_path and os.path.isfile(preloader_path):
|
||||
cfg.preloader_filename = preloader_path
|
||||
with open(preloader_path, "rb") as f:
|
||||
cfg.preloader = f.read()
|
||||
return cfg
|
||||
|
||||
|
||||
def connect_mtk(loader_path=None, preloader_path=None, verbose=False, wait_timeout=300):
|
||||
from mtkclient.Library.mtk_class import Mtk
|
||||
from mtkclient.Library.DA.mtk_da_handler import DaHandler
|
||||
|
||||
loglevel = logging.DEBUG if verbose else logging.INFO
|
||||
cfg = create_mtk_config(
|
||||
loader_path=loader_path,
|
||||
preloader_path=preloader_path,
|
||||
verbose=verbose,
|
||||
wait_timeout=wait_timeout,
|
||||
)
|
||||
|
||||
mtk = Mtk(config=cfg, loglevel=loglevel)
|
||||
da_handler = DaHandler(mtk, loglevel)
|
||||
wait_desc = f"up to {wait_timeout}s" if wait_timeout > 0 else "indefinitely"
|
||||
print(
|
||||
f"[*] Waiting {wait_desc} for Gemini PDA on left USB-C port "
|
||||
"(plug in powered-off PDA, or hold Esc + side Power for ~12s to force-reset)..."
|
||||
)
|
||||
mtk = da_handler.connect(mtk, BASE_DIR)
|
||||
if mtk is None:
|
||||
raise RuntimeError("Failed to establish MediaTek BROM/Preloader connection")
|
||||
mtk = da_handler.configure_da(mtk)
|
||||
if mtk is None:
|
||||
raise RuntimeError("Failed to initialize MediaTek Download Agent (DA)")
|
||||
return mtk, da_handler
|
||||
|
||||
|
||||
def get_emmc_total_sectors(mtk):
|
||||
flashsize = mtk.daloader.daconfig.storage.flashsize
|
||||
if not flashsize:
|
||||
raise RuntimeError("DA reported zero eMMC flash size")
|
||||
return flashsize // SECTOR_SIZE
|
||||
|
||||
|
||||
def run_backup(mtk, da_handler, backup_dir):
|
||||
os.makedirs(backup_dir, exist_ok=True)
|
||||
print(f"[*] Backing up Gemini PDA critical partitions into {backup_dir}...")
|
||||
manifest = {}
|
||||
|
||||
# Dump primary GPT (34 sectors = 17 KiB) and backup GPT (last 33 sectors)
|
||||
total_sectors = get_emmc_total_sectors(mtk)
|
||||
pgpt_path = os.path.join(backup_dir, "pgpt.bin")
|
||||
if not da_handler.da_rs(0, 2 + GPT_ARRAY_SECTORS, pgpt_path, "user", display=True):
|
||||
raise RuntimeError("Failed to read primary GPT (pgpt)")
|
||||
manifest["pgpt.bin"] = sha256_file(pgpt_path)
|
||||
|
||||
sgpt_lba = total_sectors - (GPT_ARRAY_SECTORS + 1)
|
||||
sgpt_path = os.path.join(backup_dir, "sgpt.bin")
|
||||
if not da_handler.da_rs(sgpt_lba, GPT_ARRAY_SECTORS + 1, sgpt_path, "user", display=True):
|
||||
raise RuntimeError("Failed to read backup GPT (sgpt)")
|
||||
manifest["sgpt.bin"] = sha256_file(sgpt_path)
|
||||
|
||||
# Dump EMMC_BOOT1 preloader
|
||||
pre_path = os.path.join(backup_dir, "preloader.bin")
|
||||
if da_handler.da_read("preloader", "boot1", pre_path, display=True) is not None and os.path.isfile(pre_path):
|
||||
manifest["preloader.bin"] = sha256_file(pre_path)
|
||||
|
||||
for part in BACKUP_PARTITIONS:
|
||||
out_file = os.path.join(backup_dir, f"{part}.img")
|
||||
da_handler.da_read(part, "user", out_file, display=True)
|
||||
if not os.path.isfile(out_file) or os.path.getsize(out_file) == 0:
|
||||
raise RuntimeError(f"Backup failed or empty for partition '{part}'")
|
||||
manifest[f"{part}.img"] = sha256_file(out_file)
|
||||
|
||||
# Sanity check nvram is non-zero
|
||||
nvram_file = os.path.join(backup_dir, "nvram.img")
|
||||
with open(nvram_file, "rb") as f:
|
||||
sample = f.read(4096)
|
||||
if sample == b"\x00" * len(sample):
|
||||
print("[!] Warning: first 4 KiB of nvram.img is all zeros; verify backup before flashing!")
|
||||
|
||||
manifest_path = os.path.join(backup_dir, "MANIFEST.sha256")
|
||||
with open(manifest_path, "w") as mf:
|
||||
for name in sorted(manifest):
|
||||
mf.write(f"{manifest[name]} {name}\n")
|
||||
print(f"[+] Backup verified and written to {backup_dir} ({len(manifest)} files).")
|
||||
|
||||
|
||||
def verify_written_partition(da_handler, part_name, expected_path):
|
||||
expected_size = os.path.getsize(expected_path)
|
||||
expected_hash = sha256_file(expected_path)
|
||||
with tempfile.TemporaryDirectory(prefix="geminux-vfy-") as tmp:
|
||||
rb = os.path.join(tmp, f"{part_name}.readback.img")
|
||||
da_handler.da_read(part_name, "user", rb, offset=0, length=expected_size, display=False)
|
||||
if not os.path.isfile(rb) or os.path.getsize(rb) != expected_size:
|
||||
actual_sz = os.path.getsize(rb) if os.path.isfile(rb) else 0
|
||||
raise RuntimeError(
|
||||
f"Readback failed for '{part_name}': expected {expected_size} B, got {actual_sz} B"
|
||||
)
|
||||
actual_hash = sha256_file(rb)
|
||||
if actual_hash != expected_hash:
|
||||
raise RuntimeError(
|
||||
f"Readback verification FAILED for '{part_name}': expected {expected_hash}, got {actual_hash}"
|
||||
)
|
||||
print(f"[+] Readback SHA-256 verified for '{part_name}' ({expected_size} bytes).")
|
||||
|
||||
|
||||
def write_partition_checked(da_handler, part_name, img_path, verify=True, allow_protected=False):
|
||||
enforce_write_safety(part_name, allow_protected=allow_protected)
|
||||
if not os.path.isfile(img_path):
|
||||
raise FileNotFoundError(f"Image not found: {img_path}")
|
||||
found, res = da_handler.mtk.daloader.detect_partition(part_name, "user")
|
||||
if not found or res is None:
|
||||
raise RuntimeError(f"Partition '{part_name}' not found on device")
|
||||
part_bytes = res.sectors * da_handler.config.pagesize
|
||||
img_size = os.path.getsize(img_path)
|
||||
if img_size > part_bytes:
|
||||
raise RuntimeError(
|
||||
f"Image '{img_path}' ({img_size} B) exceeds partition '{part_name}' ({part_bytes} B)"
|
||||
)
|
||||
print(f"[*] Flashing '{part_name}' from {img_path}...")
|
||||
ok = da_handler.mtk.daloader.writeflash(
|
||||
addr=res.sector * da_handler.config.pagesize,
|
||||
length=part_bytes,
|
||||
filename=img_path,
|
||||
parttype="user",
|
||||
display=True,
|
||||
)
|
||||
if not ok:
|
||||
raise RuntimeError(f"Failed to write partition '{part_name}' from {img_path}")
|
||||
if verify:
|
||||
verify_written_partition(da_handler, part_name, img_path)
|
||||
|
||||
|
||||
def load_extract_firmware():
|
||||
import importlib.util
|
||||
fw_path = os.path.join(SCRIPTS_DIR, "extract-vendor-fw.py")
|
||||
sp = importlib.util.spec_from_file_location("extract_vendor_fw", fw_path)
|
||||
mod = importlib.util.module_from_spec(sp)
|
||||
sp.loader.exec_module(mod)
|
||||
return mod.extract_firmware
|
||||
|
||||
|
||||
def extract_fw_from_device(da_handler, fw_out_dir):
|
||||
extract_firmware = load_extract_firmware()
|
||||
|
||||
with tempfile.TemporaryDirectory(prefix="geminux-sys-") as tmp:
|
||||
sys_img = os.path.join(tmp, "system.img")
|
||||
print("[*] Reading stock 'system' partition to extract Wi-Fi/BT/SPM firmware blobs...")
|
||||
da_handler.da_read("system", "user", sys_img, display=True)
|
||||
if not os.path.isfile(sys_img) or os.path.getsize(sys_img) == 0:
|
||||
raise RuntimeError("Could not read stock 'system' partition")
|
||||
found, missing = extract_firmware(sys_img, fw_out_dir)
|
||||
if missing:
|
||||
print(f"[!] Warning: missing firmware blobs from stock system: {', '.join(missing)}")
|
||||
else:
|
||||
print(f"[+] Extracted {len(found)} firmware blob(s) to {fw_out_dir}.")
|
||||
|
||||
|
||||
def flash_full(mtk, da_handler, args):
|
||||
backup_dir = args.backup_dir
|
||||
if not args.skip_backup:
|
||||
run_backup(mtk, da_handler, backup_dir)
|
||||
elif not os.path.isdir(backup_dir) or not os.path.isfile(os.path.join(backup_dir, "nvram.img")):
|
||||
raise RuntimeError("--skip-backup passed, but no valid nvram.img found in backup dir")
|
||||
|
||||
if not args.skip_firmware_extract:
|
||||
req_check = os.path.join(args.firmware_dir, "WIFI_RAM_CODE_6797")
|
||||
if not os.path.isfile(req_check):
|
||||
extract_fw_from_device(da_handler, args.firmware_dir)
|
||||
print("[*] Note: Rebuild rootfs image if extracted firmware was not yet bundled in images/geminux-rootfs.img.")
|
||||
|
||||
total_sectors = get_emmc_total_sectors(mtk)
|
||||
pgpt_raw = da_handler.da_rs(0, 2 + GPT_ARRAY_SECTORS, "", "user", display=False)
|
||||
if isinstance(pgpt_raw, bool) or not pgpt_raw:
|
||||
with tempfile.TemporaryDirectory(prefix="geminux-gpt-") as tmp:
|
||||
pfile = os.path.join(tmp, "pgpt.bin")
|
||||
if not da_handler.da_rs(0, 2 + GPT_ARRAY_SECTORS, pfile, "user", display=False):
|
||||
raise RuntimeError("Failed to read live primary GPT")
|
||||
with open(pfile, "rb") as f:
|
||||
pgpt_raw = f.read()
|
||||
|
||||
new_pgpt, new_sgpt, new_entries = build_geminux_gpts(
|
||||
pgpt_raw, total_sectors, force_layout=args.force_gpt
|
||||
)
|
||||
linux_entry = next(e for e in new_entries if e.name == "linux")
|
||||
boot2_entry = next(e for e in new_entries if e.name == "boot2")
|
||||
print(
|
||||
f"[*] Repartitioning eMMC ({total_sectors} sectors): "
|
||||
f"linux={linux_entry.sectors * SECTOR_SIZE / (1024 ** 3):.2f} GiB @ LBA {linux_entry.first_lba}, "
|
||||
f"boot2=16 MiB @ LBA {boot2_entry.first_lba}"
|
||||
)
|
||||
|
||||
with tempfile.TemporaryDirectory(prefix="geminux-newgpt-") as tmp:
|
||||
pgpt_out = os.path.join(tmp, "pgpt.new.bin")
|
||||
sgpt_out = os.path.join(tmp, "sgpt.new.bin")
|
||||
with open(pgpt_out, "wb") as f:
|
||||
f.write(new_pgpt)
|
||||
with open(sgpt_out, "wb") as f:
|
||||
f.write(new_sgpt)
|
||||
|
||||
# Write Primary GPT (LBA 0..33) & Backup GPT (end of disk)
|
||||
if not da_handler.da_wo(0, len(new_pgpt), pgpt_out, "user"):
|
||||
raise RuntimeError("Failed writing updated primary GPT")
|
||||
sgpt_byte_off = (total_sectors - (GPT_ARRAY_SECTORS + 1)) * SECTOR_SIZE
|
||||
if not da_handler.da_wo(sgpt_byte_off, len(new_sgpt), sgpt_out, "user"):
|
||||
raise RuntimeError("Failed writing updated backup GPT")
|
||||
|
||||
# Mandatory readback check on written GPTs
|
||||
rb_pgpt = os.path.join(tmp, "pgpt.rb.bin")
|
||||
da_handler.da_rs(0, 2 + GPT_ARRAY_SECTORS, rb_pgpt, "user", display=False)
|
||||
with open(rb_pgpt, "rb") as f:
|
||||
if f.read(len(new_pgpt)) != new_pgpt:
|
||||
raise RuntimeError("Primary GPT readback verification FAILED!")
|
||||
print("[+] Updated GPT readback verified.")
|
||||
|
||||
boot_img = os.path.join(args.images_dir, "boot-geminux.img")
|
||||
rec_img = os.path.join(args.images_dir, "recovery-geminux.img")
|
||||
root_img = os.path.join(args.images_dir, "geminux-rootfs.img")
|
||||
|
||||
write_partition_checked(da_handler, "boot", boot_img, verify=True)
|
||||
write_partition_checked(da_handler, "recovery", rec_img, verify=True)
|
||||
write_partition_checked(da_handler, "boot2", boot_img, verify=True)
|
||||
|
||||
# Convert sparse rootfs if needed before writing to 'linux'
|
||||
with open(root_img, "rb") as rf:
|
||||
is_sparse = rf.read(4) == SPARSE_MAGIC
|
||||
if is_sparse:
|
||||
if shutil.which("simg2img") is None:
|
||||
raise RuntimeError("simg2img is required to unsparse geminux-rootfs.img")
|
||||
with tempfile.TemporaryDirectory(prefix="geminux-rawroot-") as tmp:
|
||||
raw_root = os.path.join(tmp, "linux.raw.img")
|
||||
subprocess.run(["simg2img", root_img, raw_root], check=True)
|
||||
write_partition_checked(da_handler, "linux", raw_root, verify=False)
|
||||
else:
|
||||
write_partition_checked(da_handler, "linux", root_img, verify=False)
|
||||
|
||||
print("[+] Full Geminux installation complete!")
|
||||
|
||||
|
||||
def flash_kernel_only(da_handler, args):
|
||||
boot_img = os.path.join(args.images_dir, "boot-geminux.img")
|
||||
rec_img = os.path.join(args.images_dir, "recovery-geminux.img")
|
||||
write_partition_checked(da_handler, "boot", boot_img, verify=True)
|
||||
write_partition_checked(da_handler, "boot2", boot_img, verify=True)
|
||||
if os.path.isfile(rec_img):
|
||||
write_partition_checked(da_handler, "recovery", rec_img, verify=True)
|
||||
print("[+] Kernel/recovery slots updated cleanly.")
|
||||
|
||||
|
||||
def restore_backup(mtk, da_handler, backup_dir):
|
||||
if not os.path.isdir(backup_dir):
|
||||
raise FileNotFoundError(f"Backup directory not found: {backup_dir}")
|
||||
pgpt_file = os.path.join(backup_dir, "pgpt.bin")
|
||||
sgpt_file = os.path.join(backup_dir, "sgpt.bin")
|
||||
if os.path.isfile(pgpt_file):
|
||||
da_handler.da_wo(0, os.path.getsize(pgpt_file), pgpt_file, "user")
|
||||
if os.path.isfile(sgpt_file):
|
||||
total_sectors = get_emmc_total_sectors(mtk)
|
||||
sgpt_off = (total_sectors - (GPT_ARRAY_SECTORS + 1)) * SECTOR_SIZE
|
||||
da_handler.da_wo(sgpt_off, os.path.getsize(sgpt_file), sgpt_file, "user")
|
||||
|
||||
for name in sorted(os.listdir(backup_dir)):
|
||||
if not name.endswith(".img"):
|
||||
continue
|
||||
part = name[:-4]
|
||||
path = os.path.join(backup_dir, name)
|
||||
write_partition_checked(da_handler, part, path, verify=False, allow_protected=True)
|
||||
print(f"[+] Restored backup from {backup_dir}.")
|
||||
|
||||
|
||||
def finish_da_session(mtk, reboot=False):
|
||||
"""Cleanly exit DA mode by rebooting to OS (bootmode=1) or powering off (bootmode=0)."""
|
||||
state_file = os.path.join(getattr(mtk.config, "hwparam_path", "."), ".state")
|
||||
if os.path.exists(state_file):
|
||||
try:
|
||||
os.remove(state_file)
|
||||
except OSError:
|
||||
pass
|
||||
bootmode = 1 if reboot else 0
|
||||
print("[*] Handing device back to bootloader (USB disconnect is expected)...")
|
||||
try:
|
||||
mtk.daloader.shutdown(bootmode=bootmode)
|
||||
except Exception as exc:
|
||||
logging.debug("DA shutdown handshake raised %s", exc)
|
||||
try:
|
||||
mtk.port.close()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
def build_arg_parser():
|
||||
p = argparse.ArgumentParser(
|
||||
description="Geminux pure-Linux MediaTek BROM/DA Flasher for Planet Computers Gemini PDA (x27)"
|
||||
)
|
||||
mode = p.add_mutually_exclusive_group()
|
||||
mode.add_argument("--flash-full", action="store_true",
|
||||
help="Backup device, repartition full eMMC for Geminux, and flash all images (default)")
|
||||
mode.add_argument("--only-backup", action="store_true",
|
||||
help="Only dump & verify GPT, nvram, bootloader, and radio partitions")
|
||||
mode.add_argument("--extract-firmware", action="store_true",
|
||||
help="Extract MT6797 Wi-Fi/BT/SPM blobs from device 'system' or --system-img")
|
||||
mode.add_argument("--flash-kernel-only", action="store_true",
|
||||
help="Update only boot, boot2, and recovery images without touching GPT or linux")
|
||||
mode.add_argument("--restore-backup", metavar="DIR",
|
||||
help="Restore GPT and backed-up partitions from DIR")
|
||||
mode.add_argument("--reboot", action="store_true",
|
||||
help="Connect to BROM/DA and trigger immediate device reboot")
|
||||
mode.add_argument("--poweroff", action="store_true",
|
||||
help="Connect to BROM/DA and cleanly power off out of DA mode")
|
||||
|
||||
p.add_argument("--backup-dir", default=os.path.join(BASE_DIR, "backup", time.strftime("%Y%m%d-%H%M%S")),
|
||||
help="Directory for partition backups")
|
||||
p.add_argument("--images-dir", default=os.path.join(BASE_DIR, "images"),
|
||||
help="Directory containing boot-geminux.img, recovery-geminux.img, geminux-rootfs.img")
|
||||
p.add_argument("--firmware-dir", default=os.path.join(BASE_DIR, "firmware-cache", "mt6797"),
|
||||
help="Directory for extracted MT6797 firmware blobs")
|
||||
p.add_argument("--system-img", help="Local Android system.img file for --extract-firmware")
|
||||
p.add_argument("--da", help="Optional custom MediaTek DA binary path (e.g. MTK_AllInOne_DA.bin)")
|
||||
p.add_argument("--preloader", help="Optional preloader binary path for DRAM init")
|
||||
p.add_argument("--skip-backup", action="store_true", help="Skip backup if already taken in --backup-dir")
|
||||
p.add_argument("--skip-firmware-extract", action="store_true", help="Skip automatic firmware extraction")
|
||||
p.add_argument("--force-gpt", action="store_true", help="Allow repartitioning unrecognized GPT layouts")
|
||||
p.add_argument("--no-reboot", action="store_true",
|
||||
help="Power off instead of auto-rebooting after flashing")
|
||||
p.add_argument("--wait-timeout", type=int, default=300,
|
||||
help="Seconds to wait for MediaTek BROM/Preloader USB connection (default: 300, 0 = infinite)")
|
||||
p.add_argument("-v", "--verbose", action="store_true", help="Verbose USB/DA protocol logging")
|
||||
return p
|
||||
|
||||
|
||||
def main():
|
||||
parser = build_arg_parser()
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.extract_firmware and args.system_img:
|
||||
extract_firmware = load_extract_firmware()
|
||||
found, missing = extract_firmware(args.system_img, args.firmware_dir)
|
||||
print(f"[+] Extracted {len(found)} file(s) from {args.system_img} to {args.firmware_dir}.")
|
||||
if missing:
|
||||
print(f"[!] Missing required blobs: {', '.join(missing)}", file=sys.stderr)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
mtk, da_handler = connect_mtk(
|
||||
loader_path=args.da,
|
||||
preloader_path=args.preloader,
|
||||
verbose=args.verbose,
|
||||
wait_timeout=args.wait_timeout,
|
||||
)
|
||||
finished = False
|
||||
try:
|
||||
if args.reboot:
|
||||
finish_da_session(mtk, reboot=True)
|
||||
print("[+] Triggering device reboot...")
|
||||
finished = True
|
||||
elif args.poweroff:
|
||||
finish_da_session(mtk, reboot=False)
|
||||
print("[+] Powered off out of DA mode.")
|
||||
finished = True
|
||||
elif args.only_backup:
|
||||
run_backup(mtk, da_handler, args.backup_dir)
|
||||
finish_da_session(mtk, reboot=False)
|
||||
print("[+] Powered off out of DA mode.")
|
||||
finished = True
|
||||
elif args.extract_firmware:
|
||||
extract_fw_from_device(da_handler, args.firmware_dir)
|
||||
finish_da_session(mtk, reboot=False)
|
||||
print("[+] Powered off out of DA mode.")
|
||||
finished = True
|
||||
elif args.flash_kernel_only:
|
||||
flash_kernel_only(da_handler, args)
|
||||
finish_da_session(mtk, reboot=not args.no_reboot)
|
||||
print("[+] Powered off out of DA mode." if args.no_reboot else "[+] Triggering device reboot...")
|
||||
finished = True
|
||||
elif args.restore_backup:
|
||||
restore_backup(mtk, da_handler, args.restore_backup)
|
||||
finish_da_session(mtk, reboot=not args.no_reboot)
|
||||
print("[+] Powered off out of DA mode." if args.no_reboot else "[+] Triggering device reboot...")
|
||||
finished = True
|
||||
else:
|
||||
flash_full(mtk, da_handler, args)
|
||||
finish_da_session(mtk, reboot=not args.no_reboot)
|
||||
print("[+] Powered off out of DA mode." if args.no_reboot else "[+] Triggering device reboot...")
|
||||
finished = True
|
||||
finally:
|
||||
if not finished:
|
||||
try:
|
||||
mtk.port.close()
|
||||
except Exception:
|
||||
pass
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Executable
+76
@@ -0,0 +1,76 @@
|
||||
#!/bin/sh
|
||||
# Automated Linux MediaTek BROM/DA Flasher wrapper for Geminux (Gemini PDA x27)
|
||||
set -eu
|
||||
|
||||
BASE_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
PYTHON_BIN="${PYTHON_BIN:-python3}"
|
||||
FLASHER_PY="$BASE_DIR/flash-mtk.py"
|
||||
FLASH_DEPS="$BASE_DIR/.flash-deps"
|
||||
|
||||
if [ -d "$FLASH_DEPS" ]; then
|
||||
PYTHONPATH="$FLASH_DEPS${PYTHONPATH:+:$PYTHONPATH}"
|
||||
export PYTHONPATH
|
||||
fi
|
||||
|
||||
if ! "$PYTHON_BIN" -c 'import usb.core, serial, Crypto, colorama' >/dev/null 2>&1; then
|
||||
echo "[*] Preparing host flashing dependencies..."
|
||||
"$BASE_DIR/scripts/bootstrap-flash-deps.sh"
|
||||
PYTHONPATH="$FLASH_DEPS${PYTHONPATH:+:$PYTHONPATH}"
|
||||
export PYTHONPATH
|
||||
fi
|
||||
|
||||
for arg in "$@"; do
|
||||
if [ "$arg" = "-h" ] || [ "$arg" = "--help" ]; then
|
||||
exec "$PYTHON_BIN" "$FLASHER_PY" "$@"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
if command -v sudo >/dev/null 2>&1; then
|
||||
echo "[*] Elevating privileges via sudo for raw USB MediaTek BROM/DA access..."
|
||||
exec sudo env PYTHONPATH="${PYTHONPATH:-}" "$0" "$@"
|
||||
else
|
||||
echo "[!] Warning: Not running as root and 'sudo' not found. Continuing..."
|
||||
fi
|
||||
fi
|
||||
|
||||
MM_WAS_ACTIVE=0
|
||||
if command -v systemctl >/dev/null 2>&1; then
|
||||
if systemctl is-active --quiet ModemManager 2>/dev/null; then
|
||||
echo "[*] Temporarily stopping host ModemManager service during MTK flash..."
|
||||
systemctl stop ModemManager 2>/dev/null || true
|
||||
MM_WAS_ACTIVE=1
|
||||
fi
|
||||
elif command -v sv >/dev/null 2>&1 && [ -e /var/service/ModemManager ]; then
|
||||
if sv status ModemManager 2>/dev/null | grep -q "^run:"; then
|
||||
echo "[*] Temporarily stopping host ModemManager service during MTK flash..."
|
||||
sv stop ModemManager 2>/dev/null || true
|
||||
MM_WAS_ACTIVE=2
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$(id -u)" -eq 0 ]; then
|
||||
if [ -w /sys/module/usbcore/parameters/autosuspend ]; then
|
||||
echo -1 > /sys/module/usbcore/parameters/autosuspend 2>/dev/null || true
|
||||
fi
|
||||
for pctrl in /sys/bus/usb/devices/usb*/power/control; do
|
||||
[ -w "$pctrl" ] && echo on > "$pctrl" 2>/dev/null || true
|
||||
done
|
||||
fi
|
||||
|
||||
cleanup() {
|
||||
if [ -n "${SUDO_UID:-}" ] && [ -n "${SUDO_GID:-}" ]; then
|
||||
[ -d "$BASE_DIR/backup" ] && chown -R "$SUDO_UID:$SUDO_GID" "$BASE_DIR/backup" 2>/dev/null || true
|
||||
[ -d "$BASE_DIR/firmware-cache" ] && chown -R "$SUDO_UID:$SUDO_GID" "$BASE_DIR/firmware-cache" 2>/dev/null || true
|
||||
fi
|
||||
if [ "$MM_WAS_ACTIVE" -eq 1 ]; then
|
||||
echo "[*] Restarting host ModemManager service..."
|
||||
systemctl start ModemManager 2>/dev/null || true
|
||||
elif [ "$MM_WAS_ACTIVE" -eq 2 ]; then
|
||||
echo "[*] Restarting host ModemManager service..."
|
||||
sv start ModemManager 2>/dev/null || true
|
||||
fi
|
||||
}
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
"$PYTHON_BIN" "$FLASHER_PY" "$@"
|
||||
@@ -0,0 +1,9 @@
|
||||
# Geminux optional serial/earlycon & hardware debugging fragment.
|
||||
# Applied only when DEBUG_KERNEL=1 is passed to scripts/build-kernel.sh.
|
||||
CONFIG_CMDLINE="bootopt=64S3,32N2,64N2 console=ttyS0,921600n8 console=tty1 earlycon maxcpus=8 nokaslr loglevel=7 log_buf_len=4M rdinit=/init panic=10 fbcon=rotate:3 consoleblank=0 fbcon=font:TER16x32 clk_ignore_unused rootwait"
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_EARLYCON=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_THERMAL_EMULATION=y
|
||||
CONFIG_DEVMEM=y
|
||||
@@ -0,0 +1,932 @@
|
||||
CONFIG_LOCALVERSION="-gemini-a53-release"
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_DEBUG_INFO_NONE=y
|
||||
CONFIG_MODULES=y
|
||||
# CONFIG_ARCH_ACTIONS is not set
|
||||
# CONFIG_ARCH_AIROHA is not set
|
||||
# CONFIG_ARCH_SUNXI is not set
|
||||
# CONFIG_ARCH_ALPINE is not set
|
||||
# CONFIG_ARCH_APPLE is not set
|
||||
# CONFIG_ARCH_ARTPEC is not set
|
||||
# CONFIG_ARCH_AXIADO is not set
|
||||
# CONFIG_ARCH_BCM is not set
|
||||
# CONFIG_ARCH_BERLIN is not set
|
||||
# CONFIG_ARCH_BLAIZE is not set
|
||||
# CONFIG_ARCH_BST is not set
|
||||
# CONFIG_ARCH_CIX is not set
|
||||
# CONFIG_ARCH_EXYNOS is not set
|
||||
# CONFIG_ARCH_K3 is not set
|
||||
# CONFIG_ARCH_LG1K is not set
|
||||
# CONFIG_ARCH_HISI is not set
|
||||
# CONFIG_ARCH_KEEMBAY is not set
|
||||
CONFIG_ARCH_MEDIATEK=y
|
||||
# CONFIG_ARCH_MESON is not set
|
||||
# CONFIG_ARCH_MICROCHIP is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_NXP is not set
|
||||
# CONFIG_ARCH_MA35 is not set
|
||||
# CONFIG_ARCH_NPCM is not set
|
||||
# CONFIG_ARCH_QCOM is not set
|
||||
# CONFIG_ARCH_REALTEK is not set
|
||||
# CONFIG_ARCH_RENESAS is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_SEATTLE is not set
|
||||
# CONFIG_ARCH_INTEL_SOCFPGA is not set
|
||||
# CONFIG_ARCH_SOPHGO is not set
|
||||
# CONFIG_ARCH_STM32 is not set
|
||||
# CONFIG_ARCH_SYNQUACER is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_TESLA_FSD is not set
|
||||
# CONFIG_ARCH_SPRD is not set
|
||||
# CONFIG_ARCH_THUNDER is not set
|
||||
# CONFIG_ARCH_THUNDER2 is not set
|
||||
# CONFIG_ARCH_UNIPHIER is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_VISCONTI is not set
|
||||
# CONFIG_ARCH_XGENE is not set
|
||||
# CONFIG_ARCH_ZYNQMP is not set
|
||||
CONFIG_ARM64_4K_PAGES=y
|
||||
CONFIG_CPU_LITTLE_ENDIAN=y
|
||||
# CONFIG_CPU_BIG_ENDIAN is not set
|
||||
CONFIG_RELOCATABLE=y
|
||||
# CONFIG_RANDOMIZE_BASE is not set
|
||||
CONFIG_CMDLINE="console=ttyS0,921600n8 maxcpus=8 nokaslr loglevel=4 log_buf_len=8M rdinit=/init panic=10 pstore.kmsg_bytes=2048 g_ether.dev_addr=42:00:15:19:82:01 g_ether.host_addr=42:00:15:19:82:00 g_ether.iManufacturer=gemini-pda-mainline g_ether.iProduct=Gemini-CCMP-Stable-Monitor g_ether.iSerialNumber=GEMINI_CCMP_STABLE_MONITOR_20261014 clk_ignore_unused fbcon=rotate:3 consoleblank=0 fbcon=font:TER16x32"
|
||||
CONFIG_CMDLINE_FORCE=y
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_BUG=y
|
||||
CONFIG_OF=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_ARM_PSCI_FW=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
CONFIG_ARM_GIC=y
|
||||
CONFIG_ARM_GIC_V3=y
|
||||
CONFIG_MTK_TIMER=y
|
||||
CONFIG_MTK_CPUX_TIMER=y
|
||||
CONFIG_SERIAL_EARLYCON=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_MT6577=y
|
||||
CONFIG_COMMON_CLK_MEDIATEK=y
|
||||
CONFIG_COMMON_CLK_MT6797=y
|
||||
CONFIG_COMMON_CLK_MT6797_CAMSYS=m
|
||||
CONFIG_COMMON_CLK_MT6797_MFGSYS=m
|
||||
CONFIG_COMMON_CLK_MT6797_MMSYS=m
|
||||
# CONFIG_COMMON_CLK_MT6797_IMGSYS is not set
|
||||
# CONFIG_COMMON_CLK_MT6797_MJCSYS is not set
|
||||
CONFIG_COMMON_CLK_MT6797_VDECSYS=m
|
||||
# CONFIG_COMMON_CLK_MT6797_VENCSYS is not set
|
||||
# CONFIG_COMMON_CLK_MT2712 is not set
|
||||
# CONFIG_COMMON_CLK_MT6765 is not set
|
||||
# CONFIG_COMMON_CLK_MT6779 is not set
|
||||
# CONFIG_COMMON_CLK_MT6795 is not set
|
||||
# CONFIG_COMMON_CLK_MT7622 is not set
|
||||
# CONFIG_COMMON_CLK_MT7981 is not set
|
||||
# CONFIG_COMMON_CLK_MT7986 is not set
|
||||
# CONFIG_COMMON_CLK_MT7988 is not set
|
||||
# CONFIG_COMMON_CLK_MT8167 is not set
|
||||
# CONFIG_COMMON_CLK_MT8173 is not set
|
||||
# CONFIG_COMMON_CLK_MT8183 is not set
|
||||
# CONFIG_COMMON_CLK_MT8186 is not set
|
||||
# CONFIG_COMMON_CLK_MT8188 is not set
|
||||
# CONFIG_COMMON_CLK_MT8192 is not set
|
||||
# CONFIG_COMMON_CLK_MT8195 is not set
|
||||
# CONFIG_COMMON_CLK_MT8196 is not set
|
||||
# CONFIG_COMMON_CLK_MT8365 is not set
|
||||
# CONFIG_COMMON_CLK_MT8516 is not set
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_MT6797=y
|
||||
# CONFIG_PINCTRL_MT2712 is not set
|
||||
# CONFIG_PINCTRL_MT6765 is not set
|
||||
# CONFIG_PINCTRL_MT6779 is not set
|
||||
# CONFIG_PINCTRL_MT6795 is not set
|
||||
# CONFIG_PINCTRL_MT6878 is not set
|
||||
# CONFIG_PINCTRL_MT6893 is not set
|
||||
# CONFIG_PINCTRL_MT7622 is not set
|
||||
# CONFIG_PINCTRL_MT7981 is not set
|
||||
# CONFIG_PINCTRL_MT7986 is not set
|
||||
# CONFIG_PINCTRL_MT7988 is not set
|
||||
# CONFIG_PINCTRL_MT8167 is not set
|
||||
# CONFIG_PINCTRL_MT8173 is not set
|
||||
# CONFIG_PINCTRL_MT8183 is not set
|
||||
# CONFIG_PINCTRL_MT8186 is not set
|
||||
# CONFIG_PINCTRL_MT8188 is not set
|
||||
# CONFIG_PINCTRL_MT8189 is not set
|
||||
# CONFIG_PINCTRL_MT8192 is not set
|
||||
# CONFIG_PINCTRL_MT8195 is not set
|
||||
# CONFIG_PINCTRL_MT8196 is not set
|
||||
# CONFIG_PINCTRL_MT8365 is not set
|
||||
# CONFIG_PINCTRL_MT8516 is not set
|
||||
# CONFIG_PINCTRL_MT6397 is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_MEDIATEK_WATCHDOG=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_RD_GZIP=y
|
||||
CONFIG_BINFMT_ELF=y
|
||||
CONFIG_BINFMT_SCRIPT=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_PROC_FS=y
|
||||
CONFIG_SYSFS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_VT=y
|
||||
CONFIG_VT_CONSOLE=y
|
||||
CONFIG_DUMMY_CONSOLE=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_SIMPLE=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_8x16=y
|
||||
# CONFIG_ACPI is not set
|
||||
# CONFIG_EFI is not set
|
||||
# CONFIG_VIRTUALIZATION is not set
|
||||
# CONFIG_XEN is not set
|
||||
# CONFIG_KEXEC is not set
|
||||
# CONFIG_HIBERNATION is not set
|
||||
CONFIG_SUSPEND=y
|
||||
CONFIG_BPF_SYSCALL=y
|
||||
CONFIG_PROFILING=y
|
||||
# CONFIG_CORESIGHT is not set
|
||||
CONFIG_PERF_EVENTS=y
|
||||
# CONFIG_DEBUG_FS is not set
|
||||
CONFIG_SCSI=y
|
||||
# CONFIG_ATA is not set
|
||||
# CONFIG_MTD is not set
|
||||
# CONFIG_MD is not set
|
||||
CONFIG_NET=y
|
||||
# CONFIG_PCI is not set
|
||||
CONFIG_MMC=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_DRM=m
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_MEDIA_SUPPORT=m
|
||||
CONFIG_I2C=y
|
||||
# CONFIG_SPI is not set
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
# CONFIG_DMADEVICES is not set
|
||||
CONFIG_IOMMU_SUPPORT=y
|
||||
# CONFIG_MAILBOX is not set
|
||||
# CONFIG_REMOTEPROC is not set
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_MFD_MT6397=y
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_NVMEM=y
|
||||
# CONFIG_DEVFREQ is not set
|
||||
# CONFIG_TEE is not set
|
||||
# CONFIG_MTK_ADSP_IPC is not set
|
||||
# CONFIG_MTK_ADSP_MBOX is not set
|
||||
# CONFIG_MTK_CMDQ is not set
|
||||
# CONFIG_MTK_CMDQ_MBOX is not set
|
||||
# CONFIG_MTK_DEVAPC is not set
|
||||
# CONFIG_MTK_GPUEB_MBOX is not set
|
||||
# CONFIG_MTK_INFRACFG is not set
|
||||
# CONFIG_MTK_IOMMU is not set
|
||||
# CONFIG_MTK_LVTS_THERMAL is not set
|
||||
# CONFIG_MTK_MFG_PM_DOMAIN is not set
|
||||
CONFIG_MTK_MMSYS=m
|
||||
CONFIG_MTK_PMIC_WRAP=y
|
||||
CONFIG_MTK_REGULATOR_COUPLER=y
|
||||
# CONFIG_MTK_SCP is not set
|
||||
# CONFIG_MTK_SCPSYS is not set
|
||||
CONFIG_MTK_SCPSYS_PM_DOMAINS=y
|
||||
# CONFIG_MTK_SMI is not set
|
||||
# CONFIG_MTK_SOCINFO is not set
|
||||
# CONFIG_MTK_SVS is not set
|
||||
CONFIG_MTK_THERMAL=y
|
||||
# CONFIG_MTK_UART_APDMA is not set
|
||||
CONFIG_MEDIATEK_MT6359_AUXADC=y
|
||||
CONFIG_MEDIATEK_MT6577_AUXADC=y
|
||||
# CONFIG_PHY_MTK_DP is not set
|
||||
# CONFIG_PHY_MTK_HDMI is not set
|
||||
CONFIG_PHY_MTK_MIPI_DSI=m
|
||||
# CONFIG_PHY_MTK_PCIE is not set
|
||||
CONFIG_PHY_MTK_TPHY=y
|
||||
# CONFIG_PHY_MTK_UFS is not set
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_AUDIT is not set
|
||||
CONFIG_BPF=y
|
||||
CONFIG_BPF_JIT=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NET_NS=y
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_NETFILTER is not set
|
||||
# CONFIG_NET_CORE is not set
|
||||
# CONFIG_NET_DSA is not set
|
||||
# CONFIG_NET_SCHED is not set
|
||||
# CONFIG_BQL is not set
|
||||
# CONFIG_NET_9P is not set
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
# CONFIG_BRIDGE is not set
|
||||
# CONFIG_VLAN_8021Q is not set
|
||||
# CONFIG_HSR is not set
|
||||
CONFIG_BT=m
|
||||
# CONFIG_CAN is not set
|
||||
# CONFIG_NFC is not set
|
||||
# CONFIG_QRTR is not set
|
||||
CONFIG_RFKILL=y
|
||||
CONFIG_TYPEC=m
|
||||
# CONFIG_PHYLIB is not set
|
||||
# CONFIG_PHYLINK is not set
|
||||
# CONFIG_PCS_XPCS is not set
|
||||
# CONFIG_PTP_1588_CLOCK is not set
|
||||
CONFIG_CRYPTO_USER_API=y
|
||||
# CONFIG_CRYPTO_USER_API_RNG is not set
|
||||
# CONFIG_CRYPTO_USER is not set
|
||||
# CONFIG_IP_PNP is not set
|
||||
# CONFIG_IP_MULTICAST is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_DNS_RESOLVER is not set
|
||||
# CONFIG_ETHTOOL_NETLINK is not set
|
||||
# CONFIG_NET_HANDSHAKE is not set
|
||||
# CONFIG_NET_PTP_CLASSIFY is not set
|
||||
# CONFIG_NET_SWITCHDEV is not set
|
||||
CONFIG_NET_RX_BUSY_POLL=y
|
||||
# CONFIG_NET_FLOW_LIMIT is not set
|
||||
# CONFIG_NET_SELFTESTS is not set
|
||||
# CONFIG_NET_FAILOVER is not set
|
||||
# CONFIG_ROOT_NFS is not set
|
||||
# CONFIG_BLK_DEV_NBD is not set
|
||||
# CONFIG_9P_FS is not set
|
||||
# CONFIG_RPMSG_CHAR is not set
|
||||
# CONFIG_TASKSTATS is not set
|
||||
# CONFIG_ETHERNET is not set
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_WLAN=y
|
||||
# CONFIG_WWAN is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_MTU3=y
|
||||
# CONFIG_USB_MTU3_GADGET is not set
|
||||
# CONFIG_USB_MTU3_HOST is not set
|
||||
CONFIG_USB_MTU3_DUAL_ROLE=y
|
||||
CONFIG_GENERIC_PHY=y
|
||||
# CONFIG_PHY_CAN_TRANSCEIVER is not set
|
||||
# CONFIG_PHY_CADENCE_TORRENT is not set
|
||||
# CONFIG_PHY_CADENCE_DPHY is not set
|
||||
# CONFIG_PHY_CADENCE_DPHY_RX is not set
|
||||
# CONFIG_PHY_CADENCE_SIERRA is not set
|
||||
# CONFIG_PHY_CADENCE_SALVO is not set
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=m
|
||||
# CONFIG_REGULATOR_ARM_SCMI is not set
|
||||
# CONFIG_REGULATOR_CROS_EC is not set
|
||||
# CONFIG_REGULATOR_GPIO is not set
|
||||
# CONFIG_REGULATOR_HI6421V530 is not set
|
||||
# CONFIG_REGULATOR_MT6315 is not set
|
||||
# CONFIG_REGULATOR_PWM is not set
|
||||
# CONFIG_REGULATOR_QCOM_SPMI is not set
|
||||
# CONFIG_REGULATOR_QCOM_USB_VBUS is not set
|
||||
# CONFIG_REGULATOR_VCTRL is not set
|
||||
# CONFIG_USB_CDNS_SUPPORT is not set
|
||||
CONFIG_USB_MUSB_HDRC=m
|
||||
# CONFIG_USB_DWC3 is not set
|
||||
# CONFIG_USB_DWC2 is not set
|
||||
# CONFIG_USB_CHIPIDEA is not set
|
||||
# CONFIG_USB_ISP1760 is not set
|
||||
CONFIG_USB_PHY=y
|
||||
CONFIG_NOP_USB_XCEIV=m
|
||||
# CONFIG_USB_ULPI is not set
|
||||
CONFIG_USB_ROLE_SWITCH=y
|
||||
# CONFIG_USB_CONN_GPIO is not set
|
||||
# CONFIG_USB_ULPI_BUS is not set
|
||||
# CONFIG_USB_SNP_CORE is not set
|
||||
# CONFIG_USB_SNP_UDC_PLAT is not set
|
||||
# CONFIG_USB_BDC_UDC is not set
|
||||
# CONFIG_PHY_QCOM_USB_HS is not set
|
||||
# CONFIG_PHY_SAMSUNG_USB2 is not set
|
||||
# CONFIG_ROCKCHIP_PHY is not set
|
||||
CONFIG_USB_ETH=y
|
||||
CONFIG_USB_ETH_RNDIS=y
|
||||
# CONFIG_USB_ETH_EEM is not set
|
||||
# CONFIG_USB_CONFIGFS is not set
|
||||
# CONFIG_USB_GADGETFS is not set
|
||||
# CONFIG_USB_MASS_STORAGE is not set
|
||||
# CONFIG_USB_G_MULTI is not set
|
||||
CONFIG_TTY=y
|
||||
CONFIG_UNIX98_PTYS=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
# CONFIG_DEVMEM is not set
|
||||
# CONFIG_DEVPORT is not set
|
||||
CONFIG_PSTORE=y
|
||||
CONFIG_PSTORE_RAM=y
|
||||
CONFIG_PSTORE_CONSOLE=y
|
||||
# CONFIG_PSTORE_PMSG is not set
|
||||
# CONFIG_PSTORE_COMPRESS is not set
|
||||
# CONFIG_PSTORE_FTRACE is not set
|
||||
# CONFIG_PSTORE_BLK is not set
|
||||
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
|
||||
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
|
||||
CONFIG_WATCHDOG_SYSFS=y
|
||||
# CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT is not set
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
||||
CONFIG_I2C_MT65XX=y
|
||||
CONFIG_PINCTRL_AW9523=y
|
||||
CONFIG_KEYBOARD_MATRIX=y
|
||||
# CONFIG_I2C_CHARDEV is not set
|
||||
# CONFIG_I2C_CADENCE is not set
|
||||
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
|
||||
# CONFIG_I2C_GPIO is not set
|
||||
# CONFIG_I2C_MUX_PCA954x is not set
|
||||
# CONFIG_I2C_MUX_PINCTRL is not set
|
||||
# CONFIG_I2C_RK3X is not set
|
||||
# CONFIG_I2C_SLAVE is not set
|
||||
# CONFIG_I2C_XILINX is not set
|
||||
# CONFIG_BACKLIGHT_LP855X is not set
|
||||
# CONFIG_BATTERY_BQ27XXX_I2C is not set
|
||||
# CONFIG_BATTERY_MAX17042 is not set
|
||||
# CONFIG_BATTERY_SBS is not set
|
||||
# CONFIG_CEC_NXP_TDA9950 is not set
|
||||
CONFIG_CHARGER_BQ25890=y
|
||||
# CONFIG_CHARGER_BQ25980 is not set
|
||||
# CONFIG_CHARGER_MAX77759 is not set
|
||||
# CONFIG_CHARGER_MT6360 is not set
|
||||
# CONFIG_CHARGER_RK817 is not set
|
||||
# CONFIG_CHROMEOS_OF_HW_PROBER is not set
|
||||
# CONFIG_COMMON_CLK_BD718XX is not set
|
||||
# CONFIG_COMMON_CLK_CS2000_CP is not set
|
||||
# CONFIG_COMMON_CLK_RK808 is not set
|
||||
# CONFIG_COMMON_CLK_RS9_PCIE is not set
|
||||
# CONFIG_COMMON_CLK_S2MPS11 is not set
|
||||
# CONFIG_COMMON_CLK_VC3 is not set
|
||||
# CONFIG_COMMON_CLK_VC5 is not set
|
||||
# CONFIG_CROS_EC_I2C is not set
|
||||
# CONFIG_EEPROM_AT24 is not set
|
||||
# CONFIG_EXTCON_PTN5150 is not set
|
||||
# CONFIG_GPIO_ADP5585 is not set
|
||||
# CONFIG_GPIO_BD9571MWV is not set
|
||||
# CONFIG_GPIO_MAX732X is not set
|
||||
# CONFIG_GPIO_MAX77620 is not set
|
||||
# CONFIG_GPIO_MAX77759 is not set
|
||||
# CONFIG_GPIO_PCA953X is not set
|
||||
# CONFIG_GPIO_PCF857X is not set
|
||||
# CONFIG_GPIO_TPIC2810 is not set
|
||||
# CONFIG_GPIO_TPS65219 is not set
|
||||
# CONFIG_I2C_CROS_EC_TUNNEL is not set
|
||||
# CONFIG_I2C_HID is not set
|
||||
# CONFIG_INPUT_AW86927 is not set
|
||||
# CONFIG_INPUT_DA9063_ONKEY is not set
|
||||
# CONFIG_INPUT_RK805_PWRKEY is not set
|
||||
# CONFIG_INPUT_TPS65219_PWRBUTTON is not set
|
||||
# CONFIG_INPUT_TPS6594_PWRBUTTON is not set
|
||||
# CONFIG_LEDS_LM3692X is not set
|
||||
# CONFIG_LEDS_PCA9532 is not set
|
||||
# CONFIG_MFD_ADP5585 is not set
|
||||
# CONFIG_MFD_AXP20X_I2C is not set
|
||||
# CONFIG_MFD_BD9571MWV is not set
|
||||
# CONFIG_MFD_DA9062 is not set
|
||||
# CONFIG_MFD_MAX77620 is not set
|
||||
# CONFIG_MFD_MAX77759 is not set
|
||||
# CONFIG_MFD_MT6360 is not set
|
||||
# CONFIG_MFD_QCOM_PM8008 is not set
|
||||
# CONFIG_MFD_RK8XX_I2C is not set
|
||||
# CONFIG_MFD_ROHM_BD718XX is not set
|
||||
# CONFIG_MFD_SEC_I2C is not set
|
||||
# CONFIG_MFD_TI_LP873X is not set
|
||||
# CONFIG_MFD_TPS65219 is not set
|
||||
# CONFIG_MFD_TPS6594_I2C is not set
|
||||
# CONFIG_MFD_WM8994 is not set
|
||||
# CONFIG_MOUSE_ELAN_I2C is not set
|
||||
# CONFIG_PHY_NXP_PTN3222 is not set
|
||||
# CONFIG_PINCTRL_DA9062 is not set
|
||||
# CONFIG_PINCTRL_MAX77620 is not set
|
||||
# CONFIG_PINCTRL_RK805 is not set
|
||||
# CONFIG_PINCTRL_SX150X is not set
|
||||
# CONFIG_PINCTRL_TPS6594 is not set
|
||||
# CONFIG_PWM_ADP5585 is not set
|
||||
# CONFIG_REGULATOR_DA9211 is not set
|
||||
# CONFIG_REGULATOR_FAN53555 is not set
|
||||
# CONFIG_REGULATOR_MAX20411 is not set
|
||||
# CONFIG_REGULATOR_MP8859 is not set
|
||||
# CONFIG_REGULATOR_PCA9450 is not set
|
||||
# CONFIG_REGULATOR_PF8X00 is not set
|
||||
# CONFIG_REGULATOR_PFUZE100 is not set
|
||||
# CONFIG_REGULATOR_RAA215300 is not set
|
||||
# CONFIG_REGULATOR_S2MPS11 is not set
|
||||
# CONFIG_REGULATOR_TPS65132 is not set
|
||||
# CONFIG_SENSORS_AMC6821 is not set
|
||||
# CONFIG_SENSORS_INA2XX is not set
|
||||
# CONFIG_SENSORS_INA3221 is not set
|
||||
# CONFIG_SENSORS_JC42 is not set
|
||||
# CONFIG_SENSORS_LM75 is not set
|
||||
# CONFIG_SENSORS_LM90 is not set
|
||||
# CONFIG_SENSORS_TMP102 is not set
|
||||
# CONFIG_TCG_TIS_I2C_CR50 is not set
|
||||
# CONFIG_TCG_TIS_I2C_INFINEON is not set
|
||||
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
|
||||
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
|
||||
# CONFIG_TOUCHSCREEN_ELAN is not set
|
||||
# CONFIG_TOUCHSCREEN_GOODIX is not set
|
||||
# CONFIG_TOUCHSCREEN_HIMAX_HX83112B is not set
|
||||
# CONFIG_TOUCHSCREEN_ILI210X is not set
|
||||
CONFIG_FONT_TER16x32=y
|
||||
CONFIG_REGULATOR_MT6351=y
|
||||
CONFIG_MMC_BLOCK=y
|
||||
CONFIG_MMC_MTK=y
|
||||
# CONFIG_MMC_ARMMMCI is not set
|
||||
# CONFIG_MMC_DW is not set
|
||||
# CONFIG_MMC_DW_EXYNOS is not set
|
||||
# CONFIG_MMC_DW_HI3798CV200 is not set
|
||||
# CONFIG_MMC_DW_K3 is not set
|
||||
# CONFIG_MMC_DW_PLTFM is not set
|
||||
# CONFIG_MMC_SDHCI is not set
|
||||
# CONFIG_MMC_SDHCI_CADENCE is not set
|
||||
# CONFIG_MMC_SDHCI_F_SDH30 is not set
|
||||
# CONFIG_MMC_SDHCI_OF_ARASAN is not set
|
||||
# CONFIG_MMC_SDHCI_OF_DWCMSHC is not set
|
||||
# CONFIG_MMC_SDHCI_PLTFM is not set
|
||||
# CONFIG_MMC_SDHCI_XENON is not set
|
||||
# CONFIG_MMC_STM32_SDMMC is not set
|
||||
# CONFIG_COMMON_CLK_MT6797_RESET_KUNIT_TEST is not set
|
||||
CONFIG_CGROUP_BPF=y
|
||||
# CONFIG_FW_LOADER_USER_HELPER is not set
|
||||
# CONFIG_WLAN_VENDOR_ADMTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_ATH is not set
|
||||
# CONFIG_WLAN_VENDOR_ATMEL is not set
|
||||
# CONFIG_WLAN_VENDOR_BROADCOM is not set
|
||||
# CONFIG_WLAN_VENDOR_INTEL is not set
|
||||
# CONFIG_WLAN_VENDOR_INTERSIL is not set
|
||||
# CONFIG_WLAN_VENDOR_MARVELL is not set
|
||||
CONFIG_WLAN_VENDOR_MEDIATEK=y
|
||||
# CONFIG_WLAN_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_WLAN_VENDOR_PURELIFI is not set
|
||||
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
|
||||
# CONFIG_WLAN_VENDOR_RALINK is not set
|
||||
# CONFIG_WLAN_VENDOR_REALTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_RSI is not set
|
||||
# CONFIG_WLAN_VENDOR_SILABS is not set
|
||||
# CONFIG_WLAN_VENDOR_ST is not set
|
||||
# CONFIG_WLAN_VENDOR_TI is not set
|
||||
# CONFIG_WLAN_VENDOR_ZYDAS is not set
|
||||
CONFIG_MT6797_HIF_CORE=m
|
||||
CONFIG_MTK_MT6797_CONSYS=m
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_MAC80211=y
|
||||
# CONFIG_CFG80211_DEBUGFS is not set
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_MODVERSIONS is not set
|
||||
# CONFIG_MODULE_SIG is not set
|
||||
CONFIG_MT6797_MAC80211=m
|
||||
CONFIG_INPUT_GEMINI_LID=m
|
||||
CONFIG_TOUCHSCREEN_NOVATEK_NT36XXX=m
|
||||
CONFIG_BMI160_I2C=m
|
||||
CONFIG_STK3310=m
|
||||
CONFIG_LEDS_AW9120=m
|
||||
CONFIG_INPUT_REGULATOR_HAPTIC=m
|
||||
CONFIG_EXFAT_FS=m
|
||||
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
|
||||
CONFIG_NLS_UTF8=y
|
||||
CONFIG_LOG_BUF_SHIFT=20
|
||||
CONFIG_POWER_RESET_MT6323=y
|
||||
# CONFIG_STRICT_DEVMEM is not set
|
||||
# CONFIG_IO_STRICT_DEVMEM is not set
|
||||
CONFIG_THERMAL_OF=y
|
||||
CONFIG_THERMAL_HWMON=y
|
||||
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=10000
|
||||
CONFIG_MTK_SOC_THERMAL=y
|
||||
CONFIG_NVMEM_MTK_ATAG_DEVINFO=y
|
||||
CONFIG_GENERIC_ADC_THERMAL=y
|
||||
CONFIG_POWER_SUPPLY=y
|
||||
CONFIG_BATTERY_MT6351=y
|
||||
CONFIG_CHARGER_MT6351_USB_TYPE=y
|
||||
# CONFIG_THERMAL_EMULATION is not set
|
||||
CONFIG_ALTERA_FREEZE_BRIDGE=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_GPIO=y
|
||||
CONFIG_BACKLIGHT_PWM=y
|
||||
CONFIG_BACKLIGHT_QCOM_WLED=y
|
||||
CONFIG_BTRFS_FS=y
|
||||
CONFIG_COMMON_CLK_XLNX_CLKWZRD=y
|
||||
CONFIG_COUNTER=y
|
||||
CONFIG_CRC_CCITT=y
|
||||
CONFIG_CROS_EC_CHARDEV=y
|
||||
CONFIG_CROS_EC_RPMSG=y
|
||||
CONFIG_CROS_KBD_LED_BACKLIGHT=y
|
||||
CONFIG_CRYPTO_AES_ARM64_BS=y
|
||||
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
|
||||
CONFIG_CRYPTO_AUTHENC=y
|
||||
CONFIG_CRYPTO_CBC=y
|
||||
CONFIG_CRYPTO_CHACHA20=y
|
||||
CONFIG_CRYPTO_CMAC=y
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_DES=y
|
||||
CONFIG_CRYPTO_DEV_AMLOGIC_GXL=y
|
||||
CONFIG_CRYPTO_DEV_CCREE=y
|
||||
CONFIG_CRYPTO_DH=y
|
||||
CONFIG_CRYPTO_ECC=y
|
||||
CONFIG_CRYPTO_ECDH=y
|
||||
CONFIG_CRYPTO_ENGINE=y
|
||||
CONFIG_CRYPTO_HMAC=y
|
||||
CONFIG_CRYPTO_KPP=y
|
||||
CONFIG_CRYPTO_KPP2=y
|
||||
CONFIG_CRYPTO_LIB_BLAKE2B=y
|
||||
CONFIG_CRYPTO_LIB_CHACHA=y
|
||||
CONFIG_CRYPTO_LIB_DES=y
|
||||
CONFIG_CRYPTO_LIB_MD5=y
|
||||
CONFIG_CRYPTO_LIB_SHA1=y
|
||||
CONFIG_CRYPTO_LIB_SHA3=y
|
||||
CONFIG_CRYPTO_LIB_SHA512=y
|
||||
CONFIG_CRYPTO_LIB_SM3=y
|
||||
CONFIG_CRYPTO_LZ4=y
|
||||
CONFIG_CRYPTO_MD5=y
|
||||
CONFIG_CRYPTO_SHA1=y
|
||||
CONFIG_CRYPTO_SHA3=y
|
||||
CONFIG_CRYPTO_SHA512=y
|
||||
CONFIG_CRYPTO_SM3=y
|
||||
CONFIG_CRYPTO_SM4=y
|
||||
CONFIG_CRYPTO_SM4_GENERIC=y
|
||||
CONFIG_CRYPTO_XTS=y
|
||||
CONFIG_CRYPTO_ZSTD=y
|
||||
CONFIG_CUSE=y
|
||||
CONFIG_DEVFREQ_GOV_PASSIVE=y
|
||||
CONFIG_FPGA_BRIDGE=y
|
||||
CONFIG_FPGA_REGION=y
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_GNSS=y
|
||||
CONFIG_GNSS_MT6797=m
|
||||
CONFIG_GNSS_MTK_SERIAL=y
|
||||
CONFIG_GNSS_SERIAL=y
|
||||
CONFIG_GOOGLE_CBMEM=y
|
||||
CONFIG_GOOGLE_COREBOOT_TABLE=y
|
||||
CONFIG_GPIO_AGGREGATOR=y
|
||||
CONFIG_GPIO_ALTERA=y
|
||||
CONFIG_GPIO_WCD934X=y
|
||||
CONFIG_GPIO_XILINX=y
|
||||
CONFIG_GREYBUS=y
|
||||
CONFIG_GREYBUS_BEAGLEPLAY=y
|
||||
CONFIG_HID_MULTITOUCH=y
|
||||
CONFIG_INPUT_FF_MEMLESS=y
|
||||
CONFIG_INPUT_PWM_BEEPER=y
|
||||
CONFIG_INPUT_PWM_VIBRA=y
|
||||
CONFIG_INPUT_SPARSEKMAP=y
|
||||
CONFIG_IPMI_DEVICE_INTERFACE=y
|
||||
CONFIG_IPMI_HANDLER=y
|
||||
CONFIG_IPMI_SI=y
|
||||
CONFIG_IR_GPIO_CIR=y
|
||||
CONFIG_KEYBOARD_GPIO_POLLED=y
|
||||
CONFIG_KEYBOARD_MTK_PMIC=y
|
||||
CONFIG_LEDS_CLASS_FLASH=y
|
||||
CONFIG_LEDS_CLASS_MULTICOLOR=y
|
||||
CONFIG_LEDS_CROS_EC=y
|
||||
CONFIG_LEDS_QCOM_LPG=y
|
||||
CONFIG_LZ4_COMPRESS=y
|
||||
CONFIG_MFD_WCD934X=y
|
||||
CONFIG_MHI_BUS=y
|
||||
CONFIG_NVMEM_REBOOT_MODE=y
|
||||
CONFIG_OF_FPGA_REGION=y
|
||||
CONFIG_OVERLAY_FS=y
|
||||
CONFIG_POWER_SEQUENCING_QCOM_WCN=y
|
||||
CONFIG_PWM_CROS_EC=y
|
||||
CONFIG_PWM_MEDIATEK=y
|
||||
CONFIG_PWM_MTK_DISP=y
|
||||
CONFIG_PWM_XILINX=y
|
||||
CONFIG_QCOM_PBS=y
|
||||
CONFIG_RAID6_PQ=y
|
||||
CONFIG_RAID_ATTRS=y
|
||||
CONFIG_RC_CORE=y
|
||||
CONFIG_RC_MAP=y
|
||||
CONFIG_REGMAP_SLIMBUS=y
|
||||
CONFIG_RESET_GPIO=y
|
||||
CONFIG_RPMSG_CTRL=y
|
||||
CONFIG_SENSORS_GPIO_FAN=y
|
||||
CONFIG_SENSORS_PWM_FAN=y
|
||||
CONFIG_SLIMBUS=y
|
||||
CONFIG_SPMI_MTK_PMIF=y
|
||||
CONFIG_STM=y
|
||||
CONFIG_STM_PROTO_BASIC=y
|
||||
CONFIG_STM_PROTO_SYS_T=y
|
||||
CONFIG_TCG_TIS=y
|
||||
CONFIG_TCG_TIS_CORE=y
|
||||
CONFIG_UACCE=y
|
||||
CONFIG_XILINX_PR_DECOUPLER=y
|
||||
CONFIG_XILINX_SDFEC=y
|
||||
CONFIG_XILINX_VCU=y
|
||||
CONFIG_XILINX_WATCHDOG=y
|
||||
CONFIG_XILINX_WINDOW_WATCHDOG=y
|
||||
CONFIG_XOR_BLOCKS=y
|
||||
CONFIG_ZLIB_DEFLATE=y
|
||||
CONFIG_ZSTD_COMPRESS=y
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_SOC=m
|
||||
CONFIG_SND_SOC_MT6797=m
|
||||
CONFIG_SND_SOC_MT6797_MT6351=m
|
||||
CONFIG_SND_SOC_MT6351=m
|
||||
CONFIG_SND_SOC_AW8738=m
|
||||
CONFIG_CRYPTO_USER_API_HASH=y
|
||||
CONFIG_CRYPTO_USER_API_SKCIPHER=y
|
||||
CONFIG_KEY_DH_OPERATIONS=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_PM_ADVANCED_DEBUG=y
|
||||
CONFIG_PM_SLEEP_DEBUG=y
|
||||
CONFIG_RTC_DRV_MT6397=y
|
||||
CONFIG_SECURITY_LANDLOCK=y
|
||||
CONFIG_FAULT_INJECTION=y
|
||||
CONFIG_FAULT_INJECTION_DEBUG_FS=y
|
||||
CONFIG_FAIL_MMC_REQUEST=y
|
||||
CONFIG_RCU_EXPERT=y
|
||||
CONFIG_RCU_NOCB_CPU=y
|
||||
CONFIG_RCU_NOCB_CPU_DEFAULT_ALL=y
|
||||
CONFIG_RCU_LAZY=y
|
||||
# CONFIG_RCU_LAZY_DEFAULT_OFF is not set
|
||||
CONFIG_HZ_100=y
|
||||
# CONFIG_HZ_250 is not set
|
||||
CONFIG_HZ=100
|
||||
CONFIG_ARM64_MT6797_LATE_A72=y
|
||||
CONFIG_MTK_MT6797_DVFSP_HANDOFF=y
|
||||
CONFIG_MTK_MT6797_A72=m
|
||||
CONFIG_CPUFREQ_BATTERY_HEADROOM=m
|
||||
CONFIG_DRM_PANFROST=m
|
||||
CONFIG_REGULATOR_RT5735=m
|
||||
# CONFIG_ARM_SMMU is not set
|
||||
# CONFIG_ARM_SMMU_V3 is not set
|
||||
# CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set
|
||||
# CONFIG_IOMMU_IO_PGTABLE_DART is not set
|
||||
CONFIG_DRM_FBDEV_EMULATION=y
|
||||
# CONFIG_DRM_CDNS_DSI is not set
|
||||
# CONFIG_DRM_CDNS_MHDP8546 is not set
|
||||
# CONFIG_DRM_DISPLAY_CONNECTOR is not set
|
||||
# CONFIG_DRM_ETNAVIV is not set
|
||||
# CONFIG_DRM_HDLCD is not set
|
||||
# CONFIG_DRM_HISI_KIRIN is not set
|
||||
# CONFIG_DRM_I2C_ADV7511 is not set
|
||||
# CONFIG_DRM_I2C_NXP_TDA998X is not set
|
||||
# CONFIG_DRM_ITE_IT6263 is not set
|
||||
# CONFIG_DRM_ITE_IT66121 is not set
|
||||
# CONFIG_DRM_KOMEDA is not set
|
||||
# CONFIG_DRM_LIMA is not set
|
||||
# CONFIG_DRM_LONTIUM_LT8713SX is not set
|
||||
# CONFIG_DRM_LONTIUM_LT8912B is not set
|
||||
# CONFIG_DRM_LONTIUM_LT9611 is not set
|
||||
# CONFIG_DRM_LONTIUM_LT9611UXC is not set
|
||||
# CONFIG_DRM_MALI_DISPLAY is not set
|
||||
# CONFIG_DRM_NWL_MIPI_DSI is not set
|
||||
# CONFIG_DRM_PANEL_BOE_TV101WUM_NL6 is not set
|
||||
# CONFIG_DRM_PANEL_EDP is not set
|
||||
# CONFIG_DRM_PANEL_HIMAX_HX8279 is not set
|
||||
# CONFIG_DRM_PANEL_HIMAX_HX83112A is not set
|
||||
# CONFIG_DRM_PANEL_HIMAX_HX83112B is not set
|
||||
# CONFIG_DRM_PANEL_ILITEK_ILI9882T is not set
|
||||
# CONFIG_DRM_PANEL_KHADAS_TS050 is not set
|
||||
# CONFIG_DRM_PANEL_LVDS is not set
|
||||
# CONFIG_DRM_PANEL_MANTIX_MLAF057WE51 is not set
|
||||
# CONFIG_DRM_PANEL_NOVATEK_NT36672A is not set
|
||||
CONFIG_DRM_PANEL_NOVATEK_NT36672E=m
|
||||
# CONFIG_DRM_PANEL_NOVATEK_NT37801 is not set
|
||||
# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set
|
||||
# CONFIG_DRM_PANEL_RAYDIUM_RM692E5 is not set
|
||||
# CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 is not set
|
||||
# CONFIG_DRM_PANEL_SIMPLE is not set
|
||||
# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set
|
||||
# CONFIG_DRM_PANEL_STARTEK_KD070FHFID015 is not set
|
||||
# CONFIG_DRM_PANEL_SUMMIT is not set
|
||||
# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set
|
||||
# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set
|
||||
# CONFIG_DRM_PANTHOR is not set
|
||||
# CONFIG_DRM_PARADE_PS8640 is not set
|
||||
# CONFIG_DRM_PL111 is not set
|
||||
# CONFIG_DRM_POWERVR is not set
|
||||
# CONFIG_DRM_SAMSUNG_DSIM is not set
|
||||
# CONFIG_DRM_SII902X is not set
|
||||
# CONFIG_DRM_SIMPLE_BRIDGE is not set
|
||||
# CONFIG_DRM_THINE_THC63LVD1024 is not set
|
||||
# CONFIG_DRM_TIDSS is not set
|
||||
# CONFIG_DRM_TI_SN65DSI83 is not set
|
||||
# CONFIG_DRM_TI_SN65DSI86 is not set
|
||||
# CONFIG_DRM_TI_TFP410 is not set
|
||||
# CONFIG_DRM_TOSHIBA_TC358767 is not set
|
||||
# CONFIG_DRM_TOSHIBA_TC358768 is not set
|
||||
CONFIG_DRM_MEDIATEK=m
|
||||
# CONFIG_DRM_MEDIATEK_DP is not set
|
||||
# CONFIG_DRM_MEDIATEK_HDMI is not set
|
||||
CONFIG_DUMMY_CONSOLE_COLUMNS=135
|
||||
CONFIG_DUMMY_CONSOLE_ROWS=33
|
||||
CONFIG_CMA_SIZE_MBYTES=512
|
||||
CONFIG_BT_BREDR=y
|
||||
CONFIG_BT_LE=y
|
||||
CONFIG_BT_RFCOMM=m
|
||||
CONFIG_BT_MT6797=m
|
||||
# CONFIG_BT_RFCOMM_TTY is not set
|
||||
# CONFIG_BT_BNEP is not set
|
||||
# CONFIG_BT_HIDP is not set
|
||||
CONFIG_BT_LEDS=y
|
||||
# CONFIG_BT_HCIBTUSB is not set
|
||||
# CONFIG_BT_HCIBTSDIO is not set
|
||||
# CONFIG_BT_HCIUART is not set
|
||||
# CONFIG_BT_HCIVHCI is not set
|
||||
# CONFIG_BT_MRVL is not set
|
||||
# CONFIG_BT_MTKSDIO is not set
|
||||
# CONFIG_BT_MTKUART is not set
|
||||
# CONFIG_BT_QCOMSMD is not set
|
||||
CONFIG_SND_SOC_MT6797_BTCVSD=m
|
||||
CONFIG_MEDIA_SUPPORT_FILTER=y
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
CONFIG_MEDIA_PLATFORM_SUPPORT=y
|
||||
CONFIG_MEDIA_CONTROLLER=y
|
||||
CONFIG_VIDEO_DEV=m
|
||||
CONFIG_VIDEO_V4L2_SUBDEV_API=y
|
||||
CONFIG_VIDEO_CAMERA_SENSOR=y
|
||||
CONFIG_VIDEO_HI556=m
|
||||
CONFIG_V4L_PLATFORM_DRIVERS=y
|
||||
CONFIG_VIDEO_MT6797_SENINF=m
|
||||
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
|
||||
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
|
||||
# CONFIG_MEDIA_SDR_SUPPORT is not set
|
||||
# CONFIG_VIDEO_CADENCE_CSI2RX is not set
|
||||
# CONFIG_VIDEO_IMX219 is not set
|
||||
# CONFIG_VIDEO_IMX412 is not set
|
||||
# CONFIG_VIDEO_MAX96712 is not set
|
||||
# CONFIG_VIDEO_OV5640 is not set
|
||||
# CONFIG_VIDEO_OV5645 is not set
|
||||
# CONFIG_VIDEO_S5KJN1 is not set
|
||||
CONFIG_DMABUF_HEAPS=y
|
||||
CONFIG_DMABUF_HEAPS_SYSTEM=y
|
||||
CONFIG_MTK_MT6797_VDEC_PROBE=m
|
||||
CONFIG_MTK_MT6797_VDEC_REPLAY=m
|
||||
CONFIG_VIDEO_MT6797_VDEC=m
|
||||
CONFIG_MEDIA_RADIO_SUPPORT=y
|
||||
CONFIG_RADIO_ADAPTERS=m
|
||||
CONFIG_RADIO_MT6797=m
|
||||
CONFIG_USB_XHCI_HCD=m
|
||||
CONFIG_USB_XHCI_MTK=m
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_MEDIATEK=m
|
||||
CONFIG_MUSB_PIO_ONLY=y
|
||||
CONFIG_TYPEC_FUSB301=m
|
||||
CONFIG_USB_STORAGE=m
|
||||
CONFIG_USB_HID=m
|
||||
# CONFIG_USB_NET_DRIVERS is not set
|
||||
CONFIG_BLK_DEV_SD=m
|
||||
# CONFIG_SCSI_UFSHCD is not set
|
||||
CONFIG_PHY_MTK_USB11_DUMP=m
|
||||
CONFIG_CPU_FREQ_STAT=y
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
|
||||
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
|
||||
CONFIG_CPUFREQ_DT=m
|
||||
CONFIG_CPUFREQ_DT_PLATDEV=y
|
||||
CONFIG_COMMON_CLK_MT6797_MCUSYS=m
|
||||
CONFIG_ARM_PMU=y
|
||||
CONFIG_ARM_PMUV3=y
|
||||
CONFIG_FTRACE=y
|
||||
# CONFIG_FUNCTION_TRACER is not set
|
||||
# CONFIG_FTRACE_SYSCALLS is not set
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_KPROBE_EVENTS=y
|
||||
CONFIG_UPROBES=y
|
||||
CONFIG_UPROBE_EVENTS=y
|
||||
CONFIG_BPF_EVENTS=y
|
||||
CONFIG_REGULATOR_DA9213_LEGACY=m
|
||||
CONFIG_REGULATOR_DA9213_LEGACY_PROVIDER=y
|
||||
CONFIG_REGULATOR_DA9213_LEGACY_WRITABLE=y
|
||||
CONFIG_REGULATOR_MT6797_VSRAM=m
|
||||
CONFIG_MTK_MT6797_REGULATOR_COUPLER=y
|
||||
CONFIG_PM_DEVFREQ=y
|
||||
CONFIG_ARM_MEDIATEK_CCI_DEVFREQ=m
|
||||
CONFIG_ENERGY_MODEL=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
|
||||
CONFIG_MT6797_SPM_SLEEP=m
|
||||
CONFIG_MT6797_GATE_UNUSED=m
|
||||
CONFIG_CPU_IDLE_GOV_MENU=y
|
||||
# CONFIG_CPU_IDLE_GOV_LADDER is not set
|
||||
# CONFIG_CPU_IDLE_GOV_TEO is not set
|
||||
# CONFIG_ARM_PSCI_CPUIDLE is not set
|
||||
|
||||
# =========================================================================
|
||||
# Geminux release overrides (Linux 7.3.5 on Gemini PDA MT6797X)
|
||||
# =========================================================================
|
||||
CONFIG_LOCALVERSION="-geminux"
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
# CONFIG_RANDOMIZE_BASE is not set
|
||||
CONFIG_CMDLINE="bootopt=64S3,32N2,64N2 console=ttyS0,921600n8 console=tty1 maxcpus=8 nokaslr noautodetect loglevel=4 rdinit=/init panic=10 clk_ignore_unused fbcon=rotate:3 consoleblank=0 fbcon=font:TER16x32 rootwait"
|
||||
CONFIG_CMDLINE_FORCE=y
|
||||
|
||||
# Power management, timer cadence, RCU laziness, schedutil default governor
|
||||
CONFIG_HZ_100=y
|
||||
# CONFIG_HZ_250 is not set
|
||||
CONFIG_RCU_EXPERT=y
|
||||
CONFIG_RCU_NOCB_CPU=y
|
||||
CONFIG_RCU_NOCB_CPU_DEFAULT_ALL=y
|
||||
CONFIG_RCU_LAZY=y
|
||||
# CONFIG_RCU_LAZY_DEFAULT_OFF is not set
|
||||
CONFIG_SUSPEND=y
|
||||
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
|
||||
|
||||
# Graphics / DRM / SimpleDRM / SiI9024A HDMI
|
||||
# CONFIG_FB_SIMPLE is not set
|
||||
CONFIG_SYSFB_SIMPLEFB=y
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_SIMPLEDRM=y
|
||||
CONFIG_DRM_PANFROST=m
|
||||
CONFIG_DRM_MEDIATEK=m
|
||||
CONFIG_DRM_SII902X=m
|
||||
CONFIG_DRM_DISPLAY_CONNECTOR=m
|
||||
CONFIG_SND_SOC_HDMI_CODEC=m
|
||||
|
||||
# MediaTek MT6797 power domains & CCCI CLDMA modem transport
|
||||
# CONFIG_MTK_SCPSYS is not set
|
||||
CONFIG_MTK_SCPSYS_PM_DOMAINS=y
|
||||
CONFIG_MT6797_CCCI_CLDMA=m
|
||||
CONFIG_CMA_SIZE_MBYTES=128
|
||||
|
||||
# USB Type-C, Dual-Role MUSB, ConfigFS NCM/RNDIS gadget, host USB WWAN/Ethernet
|
||||
CONFIG_NOP_USB_XCEIV=y
|
||||
CONFIG_USB_MUSB_HDRC=y
|
||||
CONFIG_USB_MUSB_MEDIATEK=y
|
||||
# CONFIG_USB_MUSB_HOST is not set
|
||||
CONFIG_USB_MUSB_DUAL_ROLE=y
|
||||
CONFIG_TYPEC=y
|
||||
CONFIG_TYPEC_FUSB301=y
|
||||
# CONFIG_USB_ETH is not set
|
||||
# CONFIG_USB_ETH_RNDIS is not set
|
||||
CONFIG_CONFIGFS_FS=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_CONFIGFS=y
|
||||
CONFIG_USB_CONFIGFS_NCM=y
|
||||
CONFIG_USB_CONFIGFS_RNDIS=y
|
||||
CONFIG_USB_F_NCM=y
|
||||
CONFIG_USB_F_RNDIS=y
|
||||
CONFIG_USB_NET_DRIVERS=y
|
||||
CONFIG_USB_USBNET=m
|
||||
CONFIG_USB_NET_CDCETHER=m
|
||||
CONFIG_USB_NET_CDC_NCM=m
|
||||
CONFIG_USB_NET_RNDIS_HOST=m
|
||||
CONFIG_USB_NET_QMI_WWAN=m
|
||||
CONFIG_USB_NET_CDC_MBIM=m
|
||||
CONFIG_USB_SERIAL=m
|
||||
CONFIG_USB_SERIAL_OPTION=m
|
||||
|
||||
# Core rootfs / initramfs / zram / compressed modules / Bluetooth TTY & HID
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_TMPFS_XATTR=y
|
||||
CONFIG_ZSMALLOC=y
|
||||
CONFIG_ZRAM=y
|
||||
CONFIG_ZRAM_BACKEND_LZ4=y
|
||||
CONFIG_ZRAM_DEF_COMP_LZ4=y
|
||||
CONFIG_MODULE_COMPRESS=y
|
||||
CONFIG_MODULE_COMPRESS_ZSTD=y
|
||||
CONFIG_MODULE_COMPRESS_ALL=y
|
||||
CONFIG_MODULE_DECOMPRESS=y
|
||||
CONFIG_I2C_CHARDEV=m
|
||||
CONFIG_BT_RFCOMM_TTY=y
|
||||
CONFIG_BT_BNEP=m
|
||||
CONFIG_BT_HIDP=m
|
||||
|
||||
# Namespaces, cgroups, seccomp, watchdog
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_UTS_NS=y
|
||||
CONFIG_IPC_NS=y
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_PID_NS=y
|
||||
CONFIG_NET_NS=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_MEMCG=y
|
||||
CONFIG_CGROUP_PIDS=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_SECCOMP=y
|
||||
CONFIG_SECCOMP_FILTER=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_MEDIATEK_WATCHDOG=y
|
||||
|
||||
# Networking, nftables/iptables firewall, cellular PPP & WireGuard/TUN
|
||||
CONFIG_NET=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_NET_CORE=y
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_NETFILTER_ADVANCED=y
|
||||
CONFIG_NF_CONNTRACK=m
|
||||
CONFIG_NF_TABLES=m
|
||||
CONFIG_NF_TABLES_INET=y
|
||||
CONFIG_NFT_CT=m
|
||||
CONFIG_NFT_NAT=m
|
||||
CONFIG_NFT_MASQ=m
|
||||
CONFIG_NFT_REJECT=m
|
||||
CONFIG_IP_NF_IPTABLES=m
|
||||
CONFIG_IP_NF_FILTER=m
|
||||
CONFIG_IP_NF_NAT=m
|
||||
CONFIG_IP6_NF_IPTABLES=m
|
||||
CONFIG_IP6_NF_FILTER=m
|
||||
CONFIG_PPP=m
|
||||
CONFIG_PPP_ASYNC=m
|
||||
CONFIG_PPP_SYNC_TTY=m
|
||||
CONFIG_PPP_DEFLATE=m
|
||||
CONFIG_PPP_BSDCOMP=m
|
||||
CONFIG_TUN=m
|
||||
CONFIG_WIREGUARD=m
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"distro": "geminux",
|
||||
"kernel": {
|
||||
"version": "7.3.5",
|
||||
"released": "2026-10-08",
|
||||
"source_url": "https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.3.5.tar.xz",
|
||||
"sha256": "8f293f83d54f0b7b9be56863ebc5e4ea79d73e530b4ae55c572be97ef39f0990",
|
||||
"archive_root": "linux-7.3.5"
|
||||
},
|
||||
"architecture": "arm64",
|
||||
"dts": "mediatek/mt6797-gemini-pda-geminux.dts",
|
||||
"dtb": "mediatek/mt6797-gemini-pda-geminux.dtb",
|
||||
"patch_series": "patches/kernel/series",
|
||||
"config": {
|
||||
"base": "defconfig",
|
||||
"fragments": [
|
||||
"kernel/configs/geminux-mt6797x.config"
|
||||
],
|
||||
"debug_fragments": [
|
||||
"kernel/configs/geminux-debug.fragment"
|
||||
]
|
||||
},
|
||||
"boot_contract": {
|
||||
"pagesize": 2048,
|
||||
"base": "0x40000000",
|
||||
"kernel_offset": "0x00200000",
|
||||
"ramdisk_offset": "0x05000000",
|
||||
"second_offset": "0x00f00000",
|
||||
"tags_offset": "0x04000000",
|
||||
"dtb_limit_bytes": 524288,
|
||||
"bootimg_limit_bytes": 16777216
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1yHJxQgsHQREclQu4Ohe
|
||||
qxTxd1tHcNnvnQTu/UrTky8wWvgXT+jpveroeWWnzmsYlDI93eLI2ORakxb3gA2O
|
||||
Q0Ry4ws8vhaxLQGC74uQR5+/yYrLuTKydFzuPaS1dK19qJPXB8GMdmFOijnXX4SA
|
||||
jixuHLe1WW7kZVtjL7nufvpXkWBGjsfrvskdNA/5MfxAeBbqPgaq0QMEfxMAn6/R
|
||||
L5kNepi/Vr4S39Xvf2DzWkTLEK8pcnjNkt9/aafhWqFVW7m3HCAII6h/qlQNQKSo
|
||||
GuH34Q8GsFG30izUENV9avY7hSLq7nggsvknlNBZtFUcmGoQrtx3FmyYsIC8/R+B
|
||||
ywIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvNijDxJ8kloskKQpJdx+
|
||||
mTMVFFUGDoDCbulnhZMJoKNkSuZOzBoFC94omYPtxnIcBdWBGnrm6ncbKRlR+6oy
|
||||
DO0W7c44uHKCFGFqBhDasdI4RCYP+fcIX/lyMh6MLbOxqS22TwSLhCVjTyJeeH7K
|
||||
aA7vqk+QSsF4TGbYzQDDpg7+6aAcNzg6InNePaywA6hbT0JXbxnDWsB+2/LLSF2G
|
||||
mnhJlJrWB1WGjkz23ONIWk85W4S0XB/ewDefd4Ly/zyIciastA7Zqnh7p3Ody6Q0
|
||||
sS2MJzo7p3os1smGjUF158s6m/JbVh4DN6YIsxwl2OjDOz9R0OycfJSDaBVIGZzg
|
||||
cQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr8s1q88XpuJWLCZALdKj
|
||||
lN8wg2ePB2T9aIcaxryYE/Jkmtu+ZQ5zKq6BT3y/udt5jAsMrhHTwroOjIsF9DeG
|
||||
e8Y3vjz+Hh4L8a7hZDaw8jy3CPag47L7nsZFwQOIo2Cl1SnzUc6/owoyjRU7ab0p
|
||||
iWG5HK8IfiybRbZxnEbNAfT4R53hyI6z5FhyXGS2Ld8zCoU/R4E1P0CUuXKEN4p0
|
||||
64dyeUoOLXEWHjgKiU1mElIQj3k/IF02W89gDj285YgwqA49deLUM7QOd53QLnx+
|
||||
xrIrPv3A+eyXMFgexNwCKQU9ZdmWa00MjjHlegSGK8Y2NPnRoXhzqSP9T9i2HiXL
|
||||
VQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwlzMkl7b5PBdfMzGdCT0
|
||||
cGloRr5xGgVmsdq5EtJvFkFAiN8Ac9MCFy/vAFmS8/7ZaGOXoCDWbYVLTLOO2qtX
|
||||
yHRl+7fJVh2N6qrDDFPmdgCi8NaE+3rITWXGrrQ1spJ0B6HIzTDNEjRKnD4xyg4j
|
||||
g01FMcJTU6E+V2JBY45CKN9dWr1JDM/nei/Pf0byBJlMp/mSSfjodykmz4Oe13xB
|
||||
Ca1WTwgFykKYthoLGYrmo+LKIGpMoeEbY1kuUe04UiDe47l6Oggwnl+8XD1MeRWY
|
||||
sWgj8sF4dTcSfCMavK4zHRFFQbGp/YFJ/Ww6U9lA3Vq0wyEI6MCMQnoSMFwrbgZw
|
||||
wwIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3v8/ye/V/t5xf4JiXLXa
|
||||
hWFRozsnmn3hobON20GdmkrzKzO/eUqPOKTpg2GtvBhK30fu5oY5uN2ORiv2Y2ht
|
||||
eLiZ9HVz3XP8Fm9frha60B7KNu66FO5P2o3i+E+DWTPqqPcCG6t4Znk2BypILcit
|
||||
wiPKTsgbBQR2qo/cO01eLLdt6oOzAaF94NH0656kvRewdo6HG4urbO46tCAizvCR
|
||||
CA7KGFMyad8WdKkTjxh8YLDLoOCtoZmXmQAiwfRe9pKXRH/XXGop8SYptLqyVVQ+
|
||||
tegOD9wRs2tOlgcLx4F/uMzHN7uoho6okBPiifRX+Pf38Vx+ozXh056tjmdZkCaV
|
||||
aQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoSPnuAGKtRIS5fEgYPXD
|
||||
8pSGvKAmIv3A08LBViDUe+YwhilSHbYXUEAcSH1KZvOo1WT1x2FNEPBEFEFU1Eyc
|
||||
+qGzbA03UFgBNvArurHQ5Z/GngGqE7IarSQFSoqewYRtFSfp+TL9CUNBvM0rT7vz
|
||||
2eMu3/wWG+CBmb92lkmyWwC1WSWFKO3x8w+Br2IFWvAZqHRt8oiG5QtYvcZL6jym
|
||||
Y8T6sgdDlj+Y+wWaLHs9Fc+7vBuyK9C4O1ORdMPW15qVSl4Lc2Wu1QVwRiKnmA+c
|
||||
DsH/m7kDNRHM7TjWnuj+nrBOKAHzYquiu5iB3Qmx+0gwnrSVf27Arc3ozUmmJbLj
|
||||
zQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvBxJN9ErBgdRcPr5g4hV
|
||||
qyUSGZEKuvQliq2Z9SRHLh2J43+EdB6A+yzVvLnzcHVpBJ+BZ9RV30EM9guck9sh
|
||||
r+bryZcRHyjG2wiIEoduxF2a8KeWeQH7QlpwGhuobo1+gA8L0AGImiA6UP3LOirl
|
||||
I0G2+iaKZowME8/tydww4jx5vG132JCOScMjTalRsYZYJcjFbebQQolpqRaGB4iG
|
||||
WqhytWQGWuKiB1A22wjmIYf3t96l1Mp+FmM2URPxD1gk/BIBnX7ew+2gWppXOK9j
|
||||
1BJpo0/HaX5XoZ/uMqISAAtgHZAqq+g3IUPouxTphgYQRTRYpz2COw3NF43VYQrR
|
||||
bQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwXEJ8uVwJPODshTkf2BH
|
||||
pH5fVVDppOa974+IQJsZDmGd3Ny0dcd+WwYUhNFUW3bAfc3/egaMWCaprfaHn+oS
|
||||
4ddbOFgbX8JCHdru/QMAAU0aEWSMybfJGA569c38fNUF/puX6XK/y0lD2SS3YQ/a
|
||||
oJ5jb5eNrQGR1HHMAd0G9WC4JeZ6WkVTkrcOw55F00aUPGEjejreXBerhTyFdabo
|
||||
dSfc1TILWIYD742Lkm82UBOPsOSdSfOdsMOOkSXxhdCJuCQQ70DHkw7Epy9r+X33
|
||||
ybI4r1cARcV75OviyhD8CFhAlapLKaYnRFqFxlA515e6h8i8ih/v3MSEW17cCK0b
|
||||
QwIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,9 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwR4uJVtJOnOFGchnMW5Y
|
||||
j5/waBdG1u5BTMlH+iQMcV5+VgWhmpZHJCBz3ocD+0IGk2I68S5TDOHec/GSC0lv
|
||||
6R9o6F7h429GmgPgVKQsc8mPTPtbjJMuLLs4xKc+viCplXc0Nc0ZoHmCH4da6fCV
|
||||
tdpHQjVe6F9zjdquZ4RjV6R6JTiN9v924dGMAkbW/xXmamtz51FzondKC52Gh8Mo
|
||||
/oA0/T0KsCMCi7tb4QNQUYrf+Xcha9uus4ww1kWNZyfXJB87a2kORLiWMfs2IBBJ
|
||||
TmZ2Fnk0JnHDb8Oknxd9PvJPT0mvyT8DA+KIAPqNvOjUXP4bnjEHJcoCP9S5HkGC
|
||||
IQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAutQkua2CAig4VFSJ7v54
|
||||
ALyu/J1WB3oni7qwCZD3veURw7HxpNAj9hR+S5N/pNeZgubQvJWyaPuQDm7PTs1+
|
||||
tFGiYNfAsiibX6Rv0wci3M+z2XEVAeR9Vzg6v4qoofDyoTbovn2LztaNEjTkB+oK
|
||||
tlvpNhg1zhou0jDVYFniEXvzjckxswHVb8cT0OMTKHALyLPrPOJzVtM9C1ew2Nnc
|
||||
3848xLiApMu3NBk0JqfcS3Bo5Y2b1FRVBvdt+2gFoKZix1MnZdAEZ8xQzL/a0YS5
|
||||
Hd0wj5+EEKHfOd3A75uPa/WQmA+o0cBFfrzm69QDcSJSwGpzWrD1ScH3AK8nWvoj
|
||||
v7e9gukK/9yl1b4fQQ00vttwJPSgm9EnfPHLAtgXkRloI27H6/PuLoNvSAMQwuCD
|
||||
hQRlyGLPBETKkHeodfLoULjhDi1K2gKJTMhtbnUcAA7nEphkMhPWkBpgFdrH+5z4
|
||||
Lxy+3ek0cqcI7K68EtrffU8jtUj9LFTUC8dERaIBs7NgQ/LfDbDfGh9g6qVj1hZl
|
||||
k9aaIPTm/xsi8v3u+0qaq7KzIBc9s59JOoA8TlpOaYdVgSQhHHLBaahOuAigH+VI
|
||||
isbC9vmqsThF2QdDtQt37keuqoda2E6sL7PUvIyVXDRfwX7uMDjlzTxHTymvq2Ck
|
||||
htBqojBnThmjJQFgZXocHG8CAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAlEyxkHggKCXC2Wf5Mzx4
|
||||
nZLFZvU2bgcA3exfNPO/g1YunKfQY+Jg4fr6tJUUTZ3XZUrhmLNWvpvSwDS19ZmC
|
||||
IXOu0+V94aNgnhMsk9rr59I8qcbsQGIBoHzuAl8NzZCgdbEXkiY90w1skUw8J57z
|
||||
qCsMBydAueMXuWqF5nGtYbi5vHwK42PffpiZ7G5Kjwn8nYMW5IZdL6ZnMEVJUWC9
|
||||
I4waeKg0yskczYDmZUEAtrn3laX9677ToCpiKrvmZYjlGl0BaGp3cxggP2xaDbUq
|
||||
qfFxWNgvUAb3pXD09JM6Mt6HSIJaFc9vQbrKB9KT515y763j5CC2KUsilszKi3mB
|
||||
HYe5PoebdjS7D1Oh+tRqfegU2IImzSwW3iwA7PJvefFuc/kNIijfS/gH/cAqAK6z
|
||||
bhdOtE/zc7TtqW2Wn5Y03jIZdtm12CxSxwgtCF1NPyEWyIxAQUX9ACb3M0FAZ61n
|
||||
fpPrvwTaIIxxZ01L3IzPLpbc44x/DhJIEU+iDt6IMTrHOphD9MCG4631eIdB0H1b
|
||||
6zbNX1CXTsafqHRFV9XmYYIeOMggmd90s3xIbEujA6HKNP/gwzO6CDJ+nHFDEqoF
|
||||
SkxRdTkEqjTjVKieURW7Swv7zpfu5PrsrrkyGnsRrBJJzXlm2FOOxnbI2iSL1B5F
|
||||
rO5kbUxFeZUIDq+7Yv4kLWcCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnC+bR4bHf/L6QdU4puhQ
|
||||
gl1MHePszRC38bzvVFDUJsmCaMCL2suCs2A2yxAgGb9pu9AJYLAmxQC4mM3jNqhg
|
||||
/E7yuaBbek3O02zN/ctvflJ250wZCy+z0ZGIp1ak6pu1j14IwHokl9j36zNfGtfv
|
||||
ADVOcdpWITFFlPqwq1qt/H3UsKVmtiF3BNWWTeUEQwKvlU8ymxgS99yn0+4OPyNT
|
||||
L3EUeS+NQJtDS01unau0t7LnjUXn+XIneWny8bIYOQCuVR6s/gpIGuhBaUqwaJOw
|
||||
7jkJZYF2Ij7uPb4b5/R3vX2FfxxqEHqssFSg8FFUNTZz3qNZs0CRVyfA972g9WkJ
|
||||
hPfn31pQYil4QGRibCMIeU27YAEjXoqfJKEPh4UWMQsQLrEfdGfb8VgwrPbniGfU
|
||||
L3jKJR3VAafL9330iawzVQDlIlwGl6u77gEXMl9K0pfazunYhAp+BMP+9ot5ckK+
|
||||
osmrqj11qMESsAj083GeFdfV3pXEIwUytaB0AKEht9DbqUfiE/oeZ/LAXgySMtVC
|
||||
sbC4ESmgVeY2xSBIJdDyUap7FR49GGrw0W49NUv9gRgQtGGaNVQQO9oGL2PBC41P
|
||||
iWF9GLoX30HIz1P8PF/cZvicSSPkQf2Z6TV+t0ebdGNS5DjapdnCrq8m9Z0pyKsQ
|
||||
uxAL2a7zX8l5i1CZh1ycUGsCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0MfCDrhODRCIxR9Dep1s
|
||||
eXafh5CE5BrF4WbCgCsevyPIdvTeyIaW4vmO3bbG4VzhogDZju+R3IQYFuhoXP5v
|
||||
Y+zYJGnwrgz3r5wYAvPnLEs1+dtDKYOgJXQj+wLJBW1mzRDL8FoRXOe5iRmn1EFS
|
||||
wZ1DoUvyu7/J5r0itKicZp3QKED6YoilXed+1vnS4Sk0mzN4smuMR9eO1mMCqNp9
|
||||
9KTfRDHTbakIHwasECCXCp50uXdoW6ig/xUAFanpm9LtK6jctNDbXDhQmgvAaLXZ
|
||||
LvFqoaYJ/CvWkyYCgL6qxvMvVmPoRv7OPcyni4xR/WgWa0MSaEWjgPx3+yj9fiMA
|
||||
1S02pFWFDOr5OUF/O4YhFJvUCOtVsUPPfA/Lj6faL0h5QI9mQhy5Zb9TTaS9jB6p
|
||||
Lw7u0dJlrjFedk8KTJdFCcaGYHP6kNPnOxMylcB/5WcztXZVQD5WpCicGNBxCGMm
|
||||
W64SgrV7M07gQfL/32QLsdqPUf0i8hoVD8wfQ3EpbQzv6Fk1Cn90bZqZafg8XWGY
|
||||
wddhkXk7egrr23Djv37V2okjzdqoyLBYBxMz63qQzFoAVv5VoY2NDTbXYUYytOvG
|
||||
GJ1afYDRVWrExCech1mX5ZVUB1br6WM+psFLJFoBFl6mDmiYt0vMYBddKISsvwLl
|
||||
IJQkzDwtXzT2cSjoj3T5QekCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAvaaoSLab+IluixwKV5Od
|
||||
0gib2YurjPatGIbn5Ov2DLUFYiebj2oJINXJSwUOO+4WcuHFEqiL/1rya+k5hLZt
|
||||
hnPL1tn6QD4rESznvGSasRCQNT2vS/oyZbTYJRyAtFkEYLlq0t3S3xBxxHWuvIf0
|
||||
qVxVNYpQWyM3N9RIeYBR/euXKJXileSHk/uq1I5wTC0XBIHWcthczGN0m9wBEiWS
|
||||
0m3cnPk4q0Ea8mUJ91Rqob19qETz6VbSPYYpZk3qOycjKosuwcuzoMpwU8KRiMFd
|
||||
5LHtX0Hx85ghGsWDVtS0c0+aJa4lOMGvJCAOvDfqvODv7gKlCXUpgumGpLdTmaZ8
|
||||
1RwqspAe3IqBcdKTqRD4m2mSg23nVx2FAY3cjFvZQtfooT7q1ItRV5RgH6FhQSl7
|
||||
+6YIMJ1Bf8AAlLdRLpg+doOUGcEn+pkDiHFgI8ylH1LKyFKw+eXaAml/7DaWZk1d
|
||||
dqggwhXOhc/UUZFQuQQ8A8zpA13PcbC05XxN2hyP93tCEtyynMLVPtrRwDnHxFKa
|
||||
qKzs3rMDXPSXRn3ZZTdKH3069ApkEjQdpcwUh+EmJ1Ve/5cdtzT6kKWCjKBFZP/s
|
||||
91MlRrX2BTRdHaU5QJkUheUtakwxuHrdah2F94lRmsnQlpPr2YseJu6sIE+Dnx4M
|
||||
CfhdVbQL2w54R645nlnohu8CAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAq0BFD1D4lIxQcsqEpQzU
|
||||
pNCYM3aP1V/fxxVdT4DWvSI53JHTwHQamKdMWtEXetWVbP5zSROniYKFXd/xrD9X
|
||||
0jiGHey3lEtylXRIPxe5s+wXoCmNLcJVnvTcDtwx/ne2NLHxp76lyc25At+6RgE6
|
||||
ADjLVuoD7M4IFDkAsd8UQ8zM0Dww9SylIk/wgV3ZkifecvgUQRagrNUdUjR56EBZ
|
||||
raQrev4hhzOgwelT0kXCu3snbUuNY/lU53CoTzfBJ5UfEJ5pMw1ij6X0r5S9IVsy
|
||||
KLWH1hiO0NzU2c8ViUYCly4Fe9xMTFc6u2dy/dxf6FwERfGzETQxqZvSfrRX+GLj
|
||||
/QZAXiPg5178hT/m0Y3z5IGenIC/80Z9NCi+byF1WuJlzKjDcF/TU72zk0+PNM/H
|
||||
Kuppf3JT4DyjiVzNC5YoWJT2QRMS9KLP5iKCSThwVceEEg5HfhQBRT9M6KIcFLSs
|
||||
mFjx9kNEEmc1E8hl5IR3+3Ry8G5/bTIIruz14jgeY9u5jhL8Vyyvo41jgt9sLHR1
|
||||
/J1TxKfkgksYev7PoX6/ZzJ1ksWKZY5NFoDXTNYUgzFUTOoEaOg3BAQKadb3Qbbq
|
||||
XIrxmPBdgrn9QI7NCgfnAY3Tb4EEjs3ON/BNyEhUENcXOH6I1NbcuBQ7g9P73kE4
|
||||
VORdoc8MdJ5eoKBpO8Ww8HECAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyduVzi1mWm+lYo2Tqt/0
|
||||
XkCIWrDNP1QBMVPrE0/ZlU2bCGSoo2Z9FHQKz/mTyMRlhNqTfhJ5qU3U9XlyGOPJ
|
||||
piM+b91g26pnpXJ2Q2kOypSgOMOPA4cQ42PkHBEqhuzssfj9t7x47ppS94bboh46
|
||||
xLSDRff/NAbtwTpvhStV3URYkxFG++cKGGa5MPXBrxIp+iZf9GnuxVdST5PGiVGP
|
||||
ODL/b69sPJQNbJHVquqUTOh5Ry8uuD2WZuXfKf7/C0jC/ie9m2+0CttNu9tMciGM
|
||||
EyKG1/Xhk5iIWO43m4SrrT2WkFlcZ1z2JSf9Pjm4C2+HovYpihwwdM/OdP8Xmsnr
|
||||
DzVB4YvQiW+IHBjStHVuyiZWc+JsgEPJzisNY0Wyc/kNyNtqVKpX6dRhMLanLmy+
|
||||
f53cCSI05KPQAcGj6tdL+D60uKDkt+FsDa0BTAobZ31OsFVid0vCXtsbplNhW1IF
|
||||
HwsGXBTVcfXg44RLyL8Lk/2dQxDHNHzAUslJXzPxaHBLmt++2COa2EI1iWlvtznk
|
||||
Ok9WP8SOAIj+xdqoiHcC4j72BOVVgiITIJNHrbppZCq6qPR+fgXmXa+sDcGh30m6
|
||||
9Wpbr28kLMSHiENCWTdsFij+NQTd5S47H7XTROHnalYDuF1RpS+DpQidT5tUimaT
|
||||
JZDr++FjKrnnijbyNF8b98UCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnpUpyWDWjlUk3smlWeA0
|
||||
lIMW+oJ38t92CRLHH3IqRhyECBRW0d0aRGtq7TY8PmxjjvBZrxTNDpJT6KUk4LRm
|
||||
a6A6IuAI7QnNK8SJqM0DLzlpygd7GJf8ZL9SoHSH+gFsYF67Cpooz/YDqWrlN7Vw
|
||||
tO00s0B+eXy+PCXYU7VSfuWFGK8TGEv6HfGMALLjhqMManyvfp8hz3ubN1rK3c8C
|
||||
US/ilRh1qckdbtPvoDPhSbTDmfU1g/EfRSIEXBrIMLg9ka/XB9PvWRrekrppnQzP
|
||||
hP9YE3x/wbFc5QqQWiRCYyQl/rgIMOXvIxhkfe8H5n1Et4VAorkpEAXdsfN8KSVv
|
||||
LSMazVlLp9GYq5SUpqYX3KnxdWBgN7BJoZ4sltsTpHQ/34SXWfu3UmyUveWj7wp0
|
||||
x9hwsPirVI00EEea9AbP7NM2rAyu6ukcm4m6ATd2DZJIViq2es6m60AE6SMCmrQF
|
||||
wmk4H/kdQgeAELVfGOm2VyJ3z69fQuywz7xu27S6zTKi05Qlnohxol4wVb6OB7qG
|
||||
LPRtK9ObgzRo/OPumyXqlzAi/Yvyd1ZQk8labZps3e16bQp8+pVPiumWioMFJDWV
|
||||
GZjCmyMSU8V6MB6njbgLHoyg2LCukCAeSjbPGGGYhnKLm1AKSoJh3IpZuqcKCk5C
|
||||
8CM1S15HxV78s9dFntEqIokCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAtfB12w4ZgqsXWZDfUAV/
|
||||
6Y4aHUKIu3q4SXrNZ7CXF9nXoAVYrS7NAxJdAodsY3vPCN0g5O8DFXR+390LdOuQ
|
||||
+HsGKCc1k5tX5ZXld37EZNTNSbR0k+NKhd9h6X3u6wqPOx7SIKxwAQR8qeeFq4pP
|
||||
rt9GAGlxtuYgzIIcKJPwE0dZlcBCg+GnptCUZXp/38BP1eYC+xTXSL6Muq1etYfg
|
||||
odXdb7Yl+2h1IHuOwo5rjgY5kpY7GcAs8AjGk3lDD/av60OTYccknH0NCVSmPoXK
|
||||
vrxDBOn0LQRNBLcAfnTKgHrzy0Q5h4TNkkyTgxkoQw5ObDk9nnabTxql732yy9BY
|
||||
s+hM9+dSFO1HKeVXreYSA2n1ndF18YAvAumzgyqzB7I4pMHXq1kC/8bONMJxwSkS
|
||||
Ym6CoXKyavp7RqGMyeVpRC7tV+blkrrUml0BwNkxE+XnwDRB3xDV6hqgWe0XrifD
|
||||
YTfvd9ScZQP83ip0r4IKlq4GMv/R5shcCRJSkSZ6QSGshH40JYSoiwJf5FHbj9ND
|
||||
7do0UAqebWo4yNx63j/wb2ULorW3AClv0BCFSdPsIrCStiGdpgJDBR2P2NZOCob3
|
||||
G9uMj+wJD6JJg2nWqNJxkANXX37Qf8plgzssrhrgOvB0fjjS7GYhfkfmZTJ0wPOw
|
||||
A8+KzFseBh4UFGgue78KwgkCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAlXE4h6kp8aCzn6BjuOnz
|
||||
Z1lcFSY+WRZ2vGUb5hEZ+YG75xYZW+yELr8P8+HSUrpBXF/HTQYKH/cNJc5zmOny
|
||||
EsmcZskIYB0qgZPg02GXBV8VfjL+Es+y166g14IH2YKkdfplqHYVpCmnkmaZXQZu
|
||||
ZAOEL2hyuzTAYYFhCZWHYYgdWfpnKDDlVcnw1Q3/LhADBlN63CW0UMWc5oJ7MwlY
|
||||
SKriM60cHvER1YD5bdbGG/JTBFnB4djliLtvRNp+w3emwHmDhFmnYITN2WOHbYpV
|
||||
P+RIfzq0IP978sKGJmd0RPuwl2ruifBYikm/F79Ko8lT2gVE40B7wqbInIGquTr1
|
||||
deERIr47jcPRGl+01Svm0SxbXD1/zBNjo4wvMsZEW7Te689mFjxsXHnD7OEUQqh/
|
||||
D1DhbnKJwpKwClYOi/aVDyGJunqavSR0QYPqN3nP+uXdBC4wuLI9gRS/yXNaxpMy
|
||||
9AKwlD3uUhKzmJMJIu3L1/TH/vY9M5xZ2lnFduTZmL/X/4sjhyTb1ycFwU9UIY4C
|
||||
u2CP/YLqiiquokgzpRfYwJyOP4quBVRC46Tejx5PzTCvnhro7LAzDoS756iBv9E/
|
||||
2oxwC5VafGSChO+N8SyEBy532Gs+rcZDwUE7M9Y1GbQHW3ALMTwxstWqZ3GKWKd1
|
||||
Cw6JQoywUhR09tFwQrYZao0CAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1,14 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0FbzCPPKR9xNoEAudY8Z
|
||||
qGLv4/Lv4BT/LxlRR0Zxhch7Crr6pmZwj11MwDjEDQVv+ZA4Ow9sWjuPEKUDL+i5
|
||||
dcNNL8o9HRco2ZuIlBjcbeL7JfMGw1epferpC/BicFNa/sGp7Dtr/2FrKF0M4eOs
|
||||
kaEUH/pT4lSITMBMh2S5Frqh5oITkijT5Fq+Zx2Oanl2NNIspcGDImQgFghMGDSD
|
||||
c08uVbVkTxmmIPxfhxTiQTCnx2vB4yl1WAXNrM/kUNbrdLhUMd88SK5Cqo4Lju6Y
|
||||
kronravv12o2YISI4O6f5AdmeIaNVPqXEl+e6mShe1BXgOj70ykuGUinqm3sC5Qi
|
||||
tm7LzZIuB3WSYx/9VewIp8uVIoKi/JQiQLJ3a6+5H96HstwsMg3uvqh6rw5/2zrC
|
||||
UBO0XF1Jfeyv0gDz3ei+nNrUzF5FZgUG34zaN6dggPoky2goun3dvr/NY9pKkGU0
|
||||
76+fdQuk5nKwVNYVFU3uzwMCAhV7UAXCv/eaqzZVUQiqd0zNxWluwtdwGe84dWO8
|
||||
zMr9QwQT96VzhYwyYeN7y1Lpb/B6eAalBXP8qKwrTYF952B7l/5rvu4lp3WfEZhH
|
||||
h7sfyY1y4Rdh4U4e8+hpDZ0mztfHE4n4EyA6JTC8AsiylbmMJNw4GHq3WxDtlJWE
|
||||
6KyUrAUH26aIpBLZdIoQwtUCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -0,0 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBxCkDg3LLkypdPy7/15f9BCdBzvEzaVkETaU0FG8Kgl geminux-dev
|
||||
@@ -0,0 +1,7 @@
|
||||
[connection]
|
||||
# Enable aggressive IEEE 802.11 power save for Wi-Fi radio standby savings.
|
||||
wifi.powersave = 3
|
||||
|
||||
[keyfile]
|
||||
# Allow geminux-usb-gadget init script to manage usb0 (172.16.42.1/24) cleanly.
|
||||
unmanaged-devices = interface-name:usb0
|
||||
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Update /run/geminux/modem-state and refresh geminux-statusd on cellular/network transitions.
|
||||
IFACE="${1:-}"
|
||||
ACTION="${2:-}"
|
||||
|
||||
mkdir -p /run/geminux
|
||||
case "$IFACE:$ACTION" in
|
||||
ccmni*:up)
|
||||
printf '4G:LTE\n' > /run/geminux/modem-state
|
||||
;;
|
||||
ccmni*:down)
|
||||
printf '4G:READY\n' > /run/geminux/modem-state
|
||||
;;
|
||||
esac
|
||||
|
||||
pkill -USR1 geminux-statusd 2>/dev/null || true
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/bin/X -nolisten tcp vt1 "$@"
|
||||
@@ -0,0 +1,34 @@
|
||||
Section "OutputClass"
|
||||
Identifier "SimpleDRM KMS"
|
||||
MatchDriver "simpledrm"
|
||||
Driver "modesetting"
|
||||
Option "PrimaryGPU" "true"
|
||||
Option "SWcursor" "true"
|
||||
Option "AccelMethod" "glamor"
|
||||
Option "DRI" "3"
|
||||
EndSection
|
||||
|
||||
Section "OutputClass"
|
||||
Identifier "Mediatek DRM"
|
||||
MatchDriver "mediatek"
|
||||
Driver "modesetting"
|
||||
Option "PrimaryGPU" "true"
|
||||
Option "AccelMethod" "glamor"
|
||||
Option "DRI" "3"
|
||||
Option "TearFree" "true"
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "DSI-1"
|
||||
Option "Rotate" "left"
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "Unknown-1"
|
||||
Option "Rotate" "left"
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "None-1"
|
||||
Option "Rotate" "left"
|
||||
EndSection
|
||||
@@ -0,0 +1,13 @@
|
||||
Section "InputClass"
|
||||
Identifier "Gemini Touchscreen"
|
||||
MatchIsTouchscreen "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "libinput"
|
||||
# Panel scans 1080x2160 portrait, mounted left-side-up (Rotate "left" / 270 deg).
|
||||
# Kernel nt36xxx driver reports portrait coords; transform to 2160x1080 landscape.
|
||||
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
|
||||
Option "Tapping" "on"
|
||||
Option "TappingDrag" "on"
|
||||
Option "ClickMethod" "clickfinger"
|
||||
Option "ScrollMethod" "twofinger"
|
||||
EndSection
|
||||
@@ -0,0 +1,12 @@
|
||||
Section "InputClass"
|
||||
Identifier "Gemini Physical Keyboard"
|
||||
MatchIsKeyboard "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "libinput"
|
||||
Option "XkbRules" "evdev"
|
||||
Option "XkbModel" "pc105"
|
||||
Option "XkbTypes" "complete+geminux"
|
||||
Option "XkbLayout" "planet_vndr/geminux"
|
||||
Option "XkbVariant" "us"
|
||||
Option "AutoRepeat" "300 35"
|
||||
EndSection
|
||||
@@ -0,0 +1,14 @@
|
||||
+etc/X11/xorg.conf.d
|
||||
+etc/bluetooth/main.conf
|
||||
+etc/conf.d/tinydm
|
||||
+etc/conf.d/zram-init
|
||||
+etc/doas.d
|
||||
+etc/fonts/local.conf
|
||||
+etc/fstab
|
||||
+etc/modules-load.d/geminux.conf
|
||||
+etc/NetworkManager/conf.d
|
||||
+etc/pipewire/pipewire.conf.d
|
||||
+etc/wireplumber/wireplumber.conf.d
|
||||
+etc/sysctl.d/99-geminux-power.conf
|
||||
+etc/tinydm.d
|
||||
+etc/udev/rules.d
|
||||
@@ -0,0 +1,6 @@
|
||||
[General]
|
||||
Name = Geminux-GeminiPDA
|
||||
FastConnectable = false
|
||||
|
||||
[Policy]
|
||||
AutoEnable = false
|
||||
@@ -0,0 +1,8 @@
|
||||
# Hardware bring-up toggles for /etc/init.d/geminux-hwinit
|
||||
GEMINUX_ENABLE_PANFROST="yes"
|
||||
GEMINUX_ENABLE_AUDIO="yes"
|
||||
GEMINUX_ENABLE_CONSYS="yes"
|
||||
GEMINUX_ENABLE_CAMERA="yes"
|
||||
GEMINUX_ENABLE_CCCI="yes"
|
||||
GEMINUX_ENABLE_MEDIATEK_DRM="no"
|
||||
GEMINUX_ENABLE_A72="no"
|
||||
@@ -0,0 +1,3 @@
|
||||
# TinyDM display manager configuration for Geminux (UID 10000 autologin)
|
||||
rc_cgroup_cleanup="yes"
|
||||
AUTOLOGIN_UID=10000
|
||||
@@ -0,0 +1,12 @@
|
||||
# ZRAM swap configuration for Geminux (2 GiB LZ4 hardware-friendly compressed swap)
|
||||
load_on_start=yes
|
||||
unload_on_stop=yes
|
||||
num_devices=1
|
||||
|
||||
type0=swap
|
||||
flag0=16383
|
||||
size0=2048
|
||||
algo0=lz4
|
||||
labl0=zram_swap
|
||||
|
||||
rc_before="bootmisc tmpfiles.setup"
|
||||
@@ -0,0 +1,5 @@
|
||||
permit persist :wheel
|
||||
permit nopass :wheel as root cmd /usr/bin/geminux-power-ctl
|
||||
permit nopass :wheel as root cmd /usr/sbin/geminux-checkpw
|
||||
permit nopass :wheel as root cmd /sbin/poweroff
|
||||
permit nopass :wheel as root cmd /sbin/reboot
|
||||
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Enable OpenType ligatures universally on Fira Code -->
|
||||
<match target="font">
|
||||
<test name="family" compare="contains">
|
||||
<string>Fira Code</string>
|
||||
</test>
|
||||
<edit name="fontfeatures" mode="append">
|
||||
<string>calt</string>
|
||||
<string>liga</string>
|
||||
</edit>
|
||||
<edit name="antialias" mode="assign"><bool>true</bool></edit>
|
||||
<edit name="hinting" mode="assign"><bool>true</bool></edit>
|
||||
<edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
|
||||
<edit name="rgba" mode="assign"><const>rgb</const></edit>
|
||||
</match>
|
||||
|
||||
<!-- Primary monospace / system font: Fira Code + Nerd Icons + Noto coverage -->
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Fira Code</family>
|
||||
<family>DejaVuSansM Nerd Font</family>
|
||||
<family>Noto Sans Mono</family>
|
||||
<family>Noto Sans Mono CJK SC</family>
|
||||
<family>Noto Color Emoji</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Fira Code</family>
|
||||
<family>Noto Sans</family>
|
||||
<family>DejaVuSansM Nerd Font</family>
|
||||
<family>Noto Sans CJK SC</family>
|
||||
<family>Noto Color Emoji</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Noto Serif</family>
|
||||
<family>Fira Code</family>
|
||||
<family>Noto Color Emoji</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
@@ -0,0 +1,2 @@
|
||||
LABEL=geminux-root / ext4 defaults,noatime,commit=60 0 1
|
||||
tmpfs /tmp tmpfs defaults,nosuid,nodev,size=512M 0 0
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/sbin/openrc-run
|
||||
# OpenRC service for MT6797 CCCI/CLDMA modem daemon.
|
||||
|
||||
supervisor=supervise-daemon
|
||||
name="geminux-ccci"
|
||||
description="Geminux MT6797 CCCI modem control daemon"
|
||||
command="/usr/sbin/geminux-ccci-daemon"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after modules
|
||||
before modemmanager
|
||||
}
|
||||
Executable
+73
@@ -0,0 +1,73 @@
|
||||
#!/sbin/openrc-run
|
||||
# Sequential, logged hardware driver bring-up after USB NCM and sshd are up.
|
||||
|
||||
description="Geminux ordered MT6797X hardware driver bring-up"
|
||||
LOG_FILE="/var/log/geminux-hwinit.log"
|
||||
|
||||
depend() {
|
||||
need localmount udev
|
||||
after geminux-usb-gadget sshd dbus elogind
|
||||
before tinydm networkmanager wpa_supplicant modemmanager geminux-leds geminux-powerd geminux-ccci
|
||||
}
|
||||
|
||||
log_msg() {
|
||||
printf '[%s] %s\n' "$(date '+%Y-%m-%d %H:%M:%S' 2>/dev/null || echo 'boot')" "$1" >> "$LOG_FILE"
|
||||
}
|
||||
|
||||
load_group() {
|
||||
grp="$1"
|
||||
shift
|
||||
log_msg "group=$grp start ($*)"
|
||||
sync
|
||||
for mod in "$@"; do
|
||||
if modprobe "$mod" >> "$LOG_FILE" 2>&1; then
|
||||
log_msg " modprobe $mod: OK"
|
||||
else
|
||||
rc=$?
|
||||
log_msg " modprobe $mod: rc=$rc (non-fatal)"
|
||||
fi
|
||||
done
|
||||
sync
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Initializing Geminux MT6797X hardware drivers"
|
||||
mkdir -p /var/log
|
||||
: > "$LOG_FILE"
|
||||
if [ -r /sys/firmware/devicetree/base/chosen/atag,videolfb-lcmname ]; then
|
||||
lcm="$(tr -d '\0' < /sys/firmware/devicetree/base/chosen/atag,videolfb-lcmname 2>/dev/null || true)"
|
||||
log_msg "chosen.lcm=$lcm"
|
||||
fi
|
||||
|
||||
load_group input_leds leds-aw9120 gemini-lid regulator-haptic stk3310 novatek-nt36xxx
|
||||
|
||||
if [ "${GEMINUX_ENABLE_AUDIO:-yes}" = "yes" ]; then
|
||||
load_group audio snd-soc-mt6797-afe snd-soc-mt6351 snd-soc-aw8738 mt6797-mt6351 mtk-btcvsd mt6797-btcvsd
|
||||
fi
|
||||
|
||||
if [ "${GEMINUX_ENABLE_PANFROST:-yes}" = "yes" ]; then
|
||||
load_group panfrost rt5735-regulator clk-mt6797-mfg panfrost
|
||||
fi
|
||||
|
||||
if [ "${GEMINUX_ENABLE_CONSYS:-yes}" = "yes" ]; then
|
||||
load_group consys mt6797-consys mt6797-wlan-core mac btmt6797
|
||||
fi
|
||||
|
||||
if [ "${GEMINUX_ENABLE_CCCI:-yes}" = "yes" ]; then
|
||||
load_group ccci mt6797-ccci-cldma
|
||||
fi
|
||||
|
||||
if [ "${GEMINUX_ENABLE_CAMERA:-yes}" = "yes" ]; then
|
||||
load_group camera clk-mt6797-cam mt6797-seninf hi556
|
||||
fi
|
||||
|
||||
if [ "${GEMINUX_ENABLE_MEDIATEK_DRM:-no}" = "yes" ]; then
|
||||
load_group mediatek_drm clk-mt6797-mm mtk-mmsys mtk-mutex phy-mtk-mipi-dsi-drv panel-novatek-nt36672e mediatek-drm
|
||||
fi
|
||||
|
||||
if [ "${GEMINUX_ENABLE_A72:-no}" = "yes" ]; then
|
||||
load_group a72 mt6797-a72 clk-mt6797-mcusys cpufreq-dt mtk-cci-devfreq
|
||||
fi
|
||||
|
||||
eend 0
|
||||
}
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/sbin/openrc-run
|
||||
# OpenRC service for Geminux AW9120 notification/charging LED daemon.
|
||||
|
||||
supervisor=supervise-daemon
|
||||
name="geminux-leds"
|
||||
description="Geminux AW9120 LED event daemon"
|
||||
command="/usr/sbin/geminux-leds"
|
||||
|
||||
depend() {
|
||||
need localmount udev
|
||||
after modules
|
||||
}
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/sbin/openrc-run
|
||||
# OpenRC service for Geminux event-driven lid, A72 gating, and suspend daemon.
|
||||
|
||||
supervisor=supervise-daemon
|
||||
name="geminux-powerd"
|
||||
description="Geminux power, lid-suspend, and CPU cluster daemon"
|
||||
command="/usr/sbin/geminux-powerd"
|
||||
|
||||
depend() {
|
||||
need localmount udev
|
||||
after modules
|
||||
}
|
||||
Executable
+73
@@ -0,0 +1,73 @@
|
||||
#!/sbin/openrc-run
|
||||
# OpenRC service for USB ConfigFS NCM Ethernet gadget (172.16.42.1/24).
|
||||
|
||||
description="Geminux USB NCM networking gadget"
|
||||
|
||||
G=/sys/kernel/config/usb_gadget/g1
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after bootmisc
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Configuring Geminux USB NCM gadget"
|
||||
mount -t configfs none /sys/kernel/config 2>/dev/null || true
|
||||
if [ ! -d /sys/kernel/config/usb_gadget ]; then
|
||||
ewarn "USB ConfigFS not available; skipping usb0 gadget"
|
||||
eend 0
|
||||
return 0
|
||||
fi
|
||||
|
||||
for role_file in /sys/class/usb_role/*/role; do
|
||||
[ -w "$role_file" ] || continue
|
||||
if [ "$(cat "$role_file" 2>/dev/null || true)" = "none" ]; then
|
||||
echo "device" > "$role_file" 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
|
||||
udc_name="$(ls -1 /sys/class/udc 2>/dev/null | head -n1 || true)"
|
||||
if [ -z "$udc_name" ]; then
|
||||
ewarn "No UDC controller present; skipping usb0 gadget"
|
||||
eend 0
|
||||
return 0
|
||||
fi
|
||||
|
||||
mkdir -p "$G" "$G/strings/0x409" "$G/configs/c.1/strings/0x409" "$G/functions/ncm.usb0"
|
||||
echo "0x1d6b" > "$G/idVendor"
|
||||
echo "0x0104" > "$G/idProduct"
|
||||
echo "0x0100" > "$G/bcdDevice"
|
||||
echo "0x0200" > "$G/bcdUSB"
|
||||
echo "Planet Computers" > "$G/strings/0x409/manufacturer"
|
||||
echo "Gemini PDA Geminux USB NCM" > "$G/strings/0x409/product"
|
||||
echo "geminux-x27" > "$G/strings/0x409/serialnumber"
|
||||
echo "42:00:17:42:00:01" > "$G/functions/ncm.usb0/dev_addr" 2>/dev/null || true
|
||||
echo "42:00:17:42:00:02" > "$G/functions/ncm.usb0/host_addr" 2>/dev/null || true
|
||||
echo "NCM Network" > "$G/configs/c.1/strings/0x409/configuration"
|
||||
echo 250 > "$G/configs/c.1/MaxPower"
|
||||
ln -sfn "$G/functions/ncm.usb0" "$G/configs/c.1/ncm.usb0"
|
||||
|
||||
if [ -z "$(cat "$G/UDC" 2>/dev/null || true)" ]; then
|
||||
echo "$udc_name" > "$G/UDC" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
i=0
|
||||
while [ "$i" -lt 10 ] && ! ip link show usb0 >/dev/null 2>&1; do
|
||||
usleep 100000 2>/dev/null || sleep 1
|
||||
i=$((i + 1))
|
||||
done
|
||||
|
||||
if ip link show usb0 >/dev/null 2>&1; then
|
||||
ip addr replace 172.16.42.1/24 dev usb0 2>/dev/null || true
|
||||
ip link set usb0 up 2>/dev/null || true
|
||||
fi
|
||||
eend 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Geminux USB NCM gadget"
|
||||
if [ -w "$G/UDC" ]; then
|
||||
echo "" > "$G/UDC" 2>/dev/null || true
|
||||
fi
|
||||
eend 0
|
||||
}
|
||||
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2020 Oliver Smith
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
supervisor=supervise-daemon
|
||||
|
||||
name="tinydm"
|
||||
description="tinydm"
|
||||
|
||||
command="/usr/bin/autologin"
|
||||
command_args="tinydm-run-session"
|
||||
|
||||
depend() {
|
||||
provide display-manager
|
||||
need localmount dbus elogind
|
||||
after geminux-hwinit sshd
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
[ -z "$AUTOLOGIN_UID" ] && AUTOLOGIN_UID=10000
|
||||
|
||||
user="$(getent passwd "${AUTOLOGIN_UID}" | cut -d: -f1)"
|
||||
if [ -z "$user" ]; then
|
||||
eerror "ERROR: unable to find user with uid $AUTOLOGIN_UID"
|
||||
return 1
|
||||
fi
|
||||
|
||||
command_args="$user $command_args"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Geminux @GEMINUX_VERSION@ (@GEMINUX_CODENAME@) \n \l
|
||||
Planet Computers Gemini PDA (MT6797X / Helio X27)
|
||||
@@ -0,0 +1,71 @@
|
||||
# Geminux Linux VT console keymap for Gemini PDA US physical keyboard
|
||||
# Matches X11 layout: Left Meta (Fn, keycode 125) = AltGr, Fn+1..0 = F1..F10,
|
||||
# Shift+Fn+1..0 = ~ ` £ € < > [ ] { }
|
||||
include "qwerty-layout"
|
||||
include "linux-with-alt-and-altgr"
|
||||
strings as usual
|
||||
|
||||
keycode 125 = AltGr
|
||||
keycode 56 = Alt
|
||||
|
||||
keycode 2 = one exclam F1 asciitilde
|
||||
altgr keycode 2 = F1
|
||||
shift altgr keycode 2 = asciitilde
|
||||
keycode 3 = two at F2 grave
|
||||
altgr keycode 3 = F2
|
||||
shift altgr keycode 3 = grave
|
||||
keycode 4 = three numbersign F3 sterling
|
||||
altgr keycode 4 = F3
|
||||
shift altgr keycode 4 = sterling
|
||||
keycode 5 = four dollar F4 euro
|
||||
altgr keycode 5 = F4
|
||||
shift altgr keycode 5 = euro
|
||||
keycode 6 = five percent F5 less
|
||||
altgr keycode 6 = F5
|
||||
shift altgr keycode 6 = less
|
||||
keycode 7 = six asciicircum F6 greater
|
||||
altgr keycode 7 = F6
|
||||
shift altgr keycode 7 = greater
|
||||
keycode 8 = seven ampersand F7 bracketleft
|
||||
altgr keycode 8 = F7
|
||||
shift altgr keycode 8 = bracketleft
|
||||
keycode 9 = eight asterisk F8 bracketright
|
||||
altgr keycode 9 = F8
|
||||
shift altgr keycode 9 = bracketright
|
||||
keycode 10 = nine parenleft F9 braceleft
|
||||
altgr keycode 10 = F9
|
||||
shift altgr keycode 10 = braceleft
|
||||
keycode 11 = zero parenright F10 braceright
|
||||
altgr keycode 11 = F10
|
||||
shift altgr keycode 11 = braceright
|
||||
|
||||
keycode 14 = BackSpace Delete
|
||||
shift keycode 14 = Delete
|
||||
keycode 15 = Tab Tab
|
||||
altgr keycode 15 = Caps_Lock
|
||||
keycode 23 = i I plus plusminus
|
||||
altgr keycode 23 = plus
|
||||
keycode 24 = o O minus
|
||||
altgr keycode 24 = minus
|
||||
keycode 25 = p P equal
|
||||
altgr keycode 25 = equal
|
||||
keycode 36 = j J underscore
|
||||
altgr keycode 36 = underscore
|
||||
keycode 37 = k K semicolon
|
||||
altgr keycode 37 = semicolon
|
||||
keycode 38 = l L quotedbl
|
||||
altgr keycode 38 = quotedbl
|
||||
keycode 40 = backslash bar colon
|
||||
altgr keycode 40 = colon
|
||||
keycode 50 = m M apostrophe
|
||||
altgr keycode 50 = apostrophe
|
||||
keycode 51 = comma slash
|
||||
keycode 52 = period question
|
||||
keycode 103 = Up
|
||||
altgr keycode 103 = Prior
|
||||
keycode 108 = Down
|
||||
altgr keycode 108 = Next
|
||||
keycode 105 = Left
|
||||
altgr keycode 105 = Home
|
||||
keycode 106 = Right
|
||||
altgr keycode 106 = End
|
||||
@@ -0,0 +1,49 @@
|
||||
# Enforce MT6797X safe hardware initialization order
|
||||
softdep clk_mt6797_mcusys pre: mt6797_a72
|
||||
softdep cpufreq_dt pre: mt6797_a72 clk_mt6797_mcusys
|
||||
softdep mtk_cci_devfreq pre: clk_mt6797_mcusys
|
||||
softdep mediatek_drm pre: clk_mt6797_mm mtk_mmsys mtk_mutex phy_mtk_mipi_dsi_drv panel_novatek_nt36672e
|
||||
softdep panfrost pre: clk_mt6797_mfg rt5735_regulator
|
||||
|
||||
# Prevent automatic MODALIAS coldplug in sysinit (udev-trigger / modprobe -b);
|
||||
# /etc/init.d/geminux-hwinit loads validated drivers sequentially after sshd and usb0.
|
||||
blacklist xhci_mtk_hcd
|
||||
blacklist xhci_plat_hcd
|
||||
blacklist mtk_musb
|
||||
blacklist musb_hdrc
|
||||
blacklist mt6797_a72
|
||||
blacklist clk_mt6797_mcusys
|
||||
blacklist cpufreq_dt
|
||||
blacklist mtk_cci_devfreq
|
||||
blacklist da9213_regulator_legacy
|
||||
blacklist mt6797_vsram_regulator
|
||||
blacklist mt6797_gate_unused
|
||||
blacklist mt6797_spm_sleep
|
||||
blacklist mediatek_drm
|
||||
blacklist mtk_mmsys
|
||||
blacklist mtk_mutex
|
||||
blacklist phy_mtk_mipi_dsi_drv
|
||||
blacklist panel_novatek_nt36672e
|
||||
blacklist sii902x
|
||||
blacklist panfrost
|
||||
blacklist rt5735_regulator
|
||||
blacklist clk_mt6797_mfg
|
||||
blacklist novatek_nt36xxx
|
||||
blacklist mt6797_consys
|
||||
blacklist mt6797_wlan_core
|
||||
blacklist btmt6797
|
||||
blacklist mt6797_btcvsd
|
||||
blacklist mtk_btcvsd
|
||||
blacklist snd_soc_mt6797_afe
|
||||
blacklist snd_soc_mt6351
|
||||
blacklist snd_soc_aw8738
|
||||
blacklist mt6797_mt6351
|
||||
blacklist mt6797_ccci_cldma
|
||||
blacklist mt6797_seninf
|
||||
blacklist clk_mt6797_cam
|
||||
blacklist hi556
|
||||
blacklist mt6797_vdec
|
||||
blacklist clk_mt6797_vdec
|
||||
blacklist mt6797_vdec_probe
|
||||
blacklist mt6797_vdec_replay
|
||||
blacklist bmi160_i2c
|
||||
@@ -0,0 +1,3 @@
|
||||
# Hardware modules are loaded sequentially after USB NCM and sshd by
|
||||
# /etc/init.d/geminux-hwinit (configured via /etc/conf.d/geminux-hwinit)
|
||||
# so early boot never stalls on coldplug probing.
|
||||
@@ -0,0 +1,3 @@
|
||||
Welcome to Geminux @GEMINUX_VERSION@ (@GEMINUX_CODENAME@) on Gemini PDA (MT6797X).
|
||||
Userspace tracks Alpine Edge via apk; kernel, XLibre, suckless, and UI packages are pinned to @geminux.
|
||||
Run 'geminux-power-audit' to inspect battery, A72 cluster gating, ZRAM, and suspend settings.
|
||||
@@ -0,0 +1,7 @@
|
||||
NAME="Geminux"
|
||||
ID=geminux
|
||||
ID_LIKE=alpine
|
||||
VERSION_ID=@GEMINUX_VERSION@
|
||||
VERSION="@GEMINUX_VERSION@ (@GEMINUX_CODENAME@)"
|
||||
PRETTY_NAME="Geminux @GEMINUX_VERSION@ (@GEMINUX_CODENAME@) for Gemini PDA"
|
||||
HOME_URL="https://github.com/planetcom"
|
||||
@@ -0,0 +1,6 @@
|
||||
#%PAM-1.0
|
||||
auth sufficient pam_permit.so
|
||||
account sufficient pam_permit.so
|
||||
session optional pam_env.so
|
||||
-session optional pam_elogind.so
|
||||
session sufficient pam_permit.so
|
||||
@@ -0,0 +1,7 @@
|
||||
# Larger PipeWire quantum buffers reduce audio DSP/CPU wakeups for battery life.
|
||||
context.properties = {
|
||||
default.clock.rate = 48000
|
||||
default.clock.min-quantum = 1024
|
||||
default.clock.quantum = 2048
|
||||
default.clock.max-quantum = 4096
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
# Universal UTF-8 and Geminux X11 environment
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export LANGUAGE=en_US.UTF-8
|
||||
export TERMINAL=st
|
||||
export EDITOR=nano
|
||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
export GDK_BACKEND=x11
|
||||
export QT_QPA_PLATFORM=xcb
|
||||
@@ -0,0 +1,69 @@
|
||||
! Geminux Unified Theme: GeminuxHelio
|
||||
theme.name: GeminuxHelio
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #0f1419
|
||||
theme.bgBar: #0b0e14
|
||||
theme.bgHeader: #131922
|
||||
theme.bgFooter: #0b0e14
|
||||
theme.bgOverlay: #161d26
|
||||
theme.bgAltEven: #121820
|
||||
theme.bgAltOdd: #18202a
|
||||
theme.bgInput: #0b0e14
|
||||
theme.bgInputFocus: #1b2838
|
||||
theme.bgButton: #1d2633
|
||||
theme.bgSearch: #243040
|
||||
theme.bgBubbleIn: #1b2632
|
||||
theme.bgBubbleOut: #1c3244
|
||||
theme.bgToast: #132230
|
||||
|
||||
theme.fgMain: #e6e1cf
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #7b8898
|
||||
|
||||
theme.selBg: #2b5278
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #59c2ff
|
||||
theme.accentAlt: #ffb454
|
||||
theme.highlight: #ff8f40
|
||||
theme.border: #283444
|
||||
theme.divider: #364559
|
||||
|
||||
theme.success: #7fd962
|
||||
theme.info: #59c2ff
|
||||
theme.warning: #ffb454
|
||||
theme.danger: #f07178
|
||||
theme.dangerBg: #4c1d24
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #0b0e14
|
||||
dmenu.foreground: #e6e1cf
|
||||
dmenu.selbackground: #2b5278
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #243040
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #ffb454
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #0b0e14
|
||||
dwm.foreground: #e6e1cf
|
||||
dwm.border: #283444
|
||||
dwm.selbackground: #2b5278
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #59c2ff
|
||||
dwm.normbgcolor: #0b0e14
|
||||
dwm.normbordercolor: #283444
|
||||
dwm.normfgcolor: #e6e1cf
|
||||
dwm.selbgcolor: #2b5278
|
||||
dwm.selbordercolor: #59c2ff
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #0f1419
|
||||
st.foreground: #e6e1cf
|
||||
st.cursorColor: #59c2ff
|
||||
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,6 @@
|
||||
# Geminux interactive shell configuration
|
||||
export LANG="${LANG:-en_US.UTF-8}"
|
||||
export LC_ALL="${LC_ALL:-en_US.UTF-8}"
|
||||
PS1='[\u@\h \W]\$ '
|
||||
alias ll='ls -la'
|
||||
alias power-audit='geminux-power-audit'
|
||||
@@ -0,0 +1,4 @@
|
||||
export ENV="$HOME/.bashrc"
|
||||
if [ -r /etc/profile.d/10-geminux-env.sh ]; then
|
||||
. /etc/profile.d/10-geminux-env.sh
|
||||
fi
|
||||
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/bin/geminux-session
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: CatppuccinLatte
|
||||
|
||||
theme.name: CatppuccinLatte
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #eff1f5
|
||||
theme.bgBar: #eff1f5
|
||||
theme.bgHeader: #e6e9ef
|
||||
theme.bgFooter: #dce0e8
|
||||
theme.bgOverlay: #d5d9e2
|
||||
theme.bgAltEven: #e9ecf1
|
||||
theme.bgAltOdd: #e2e5ec
|
||||
theme.bgInput: #ffffff
|
||||
theme.bgInputFocus: #d2d9f7
|
||||
theme.bgButton: #e4e7ee
|
||||
theme.bgSearch: #ccd0da
|
||||
theme.bgBubbleIn: #dcebd8
|
||||
theme.bgBubbleOut: #d6dcf5
|
||||
theme.bgToast: #3b4880
|
||||
|
||||
theme.fgMain: #4c4f69
|
||||
theme.fgBright: #1e1e2e
|
||||
theme.fgMuted: #7c7f93
|
||||
|
||||
theme.selBg: #7287fd
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #8839ef
|
||||
theme.accentAlt: #1e66f5
|
||||
theme.highlight: #df8e1d
|
||||
theme.border: #bcc0cc
|
||||
theme.divider: #9ca0b0
|
||||
|
||||
theme.success: #40a02b
|
||||
theme.info: #04a5e5
|
||||
theme.warning: #fe640b
|
||||
theme.danger: #d20f39
|
||||
theme.dangerBg: #9e0b2b
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #e6e9ef
|
||||
dmenu.foreground: #1e1e2e
|
||||
dmenu.selbackground: #7287fd
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #ccd0da
|
||||
dmenu.outforeground: #1e1e2e
|
||||
dmenu.highlight: #df8e1d
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #eff1f5
|
||||
dwm.foreground: #4c4f69
|
||||
dwm.border: #bcc0cc
|
||||
dwm.selbackground: #7287fd
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #7287fd
|
||||
dwm.normbgcolor: #eff1f5
|
||||
dwm.normbordercolor: #bcc0cc
|
||||
dwm.normfgcolor: #4c4f69
|
||||
dwm.selbgcolor: #7287fd
|
||||
dwm.selbordercolor: #7287fd
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #e6e9ef
|
||||
st.foreground: #4c4f69
|
||||
st.cursorColor: #8839ef
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: CatppuccinMocha
|
||||
|
||||
theme.name: CatppuccinMocha
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #1e1e2e
|
||||
theme.bgBar: #1e1e2e
|
||||
theme.bgHeader: #181825
|
||||
theme.bgFooter: #11111b
|
||||
theme.bgOverlay: #11111b
|
||||
theme.bgAltEven: #242538
|
||||
theme.bgAltOdd: #2a2b40
|
||||
theme.bgInput: #181825
|
||||
theme.bgInputFocus: #43335e
|
||||
theme.bgButton: #292a3d
|
||||
theme.bgSearch: #3b3c54
|
||||
theme.bgBubbleIn: #243330
|
||||
theme.bgBubbleOut: #332847
|
||||
theme.bgToast: #2b223d
|
||||
|
||||
theme.fgMain: #cdd6f4
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #7f849c
|
||||
|
||||
theme.selBg: #724b9e
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #cba6f7
|
||||
theme.accentAlt: #89b4fa
|
||||
theme.highlight: #f9e2af
|
||||
theme.border: #45475a
|
||||
theme.divider: #6c7086
|
||||
|
||||
theme.success: #a6e3a1
|
||||
theme.info: #89dceb
|
||||
theme.warning: #fab387
|
||||
theme.danger: #f38ba8
|
||||
theme.dangerBg: #873951
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #181825
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #724b9e
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #3b3c54
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #f9e2af
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #1e1e2e
|
||||
dwm.foreground: #cdd6f4
|
||||
dwm.border: #45475a
|
||||
dwm.selbackground: #724b9e
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #724b9e
|
||||
dwm.normbgcolor: #1e1e2e
|
||||
dwm.normbordercolor: #45475a
|
||||
dwm.normfgcolor: #cdd6f4
|
||||
dwm.selbgcolor: #724b9e
|
||||
dwm.selbordercolor: #724b9e
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #181825
|
||||
st.foreground: #cdd6f4
|
||||
st.cursorColor: #cba6f7
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: Cyberpunk
|
||||
|
||||
theme.name: Cyberpunk
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #000000
|
||||
theme.bgBar: #000000
|
||||
theme.bgHeader: #000000
|
||||
theme.bgFooter: #000000
|
||||
theme.bgOverlay: #000000
|
||||
theme.bgAltEven: #050a10
|
||||
theme.bgAltOdd: #09121c
|
||||
theme.bgInput: #000000
|
||||
theme.bgInputFocus: #002b4d
|
||||
theme.bgButton: #08121e
|
||||
theme.bgSearch: #0d1f33
|
||||
theme.bgBubbleIn: #00241a
|
||||
theme.bgBubbleOut: #002240
|
||||
theme.bgToast: #001d36
|
||||
|
||||
theme.fgMain: #e0f7ff
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #4d88a8
|
||||
|
||||
theme.selBg: #0066cc
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #00f0ff
|
||||
theme.accentAlt: #0088ff
|
||||
theme.highlight: #fcee0a
|
||||
theme.border: #004477
|
||||
theme.divider: #006699
|
||||
|
||||
theme.success: #00ff9f
|
||||
theme.info: #00f0ff
|
||||
theme.warning: #fcee0a
|
||||
theme.danger: #ff0055
|
||||
theme.dangerBg: #8a002e
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #000000
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #0066cc
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #0d1f33
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #fcee0a
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #000000
|
||||
dwm.foreground: #e0f7ff
|
||||
dwm.border: #004477
|
||||
dwm.selbackground: #0066cc
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #0066cc
|
||||
dwm.normbgcolor: #000000
|
||||
dwm.normbordercolor: #004477
|
||||
dwm.normfgcolor: #e0f7ff
|
||||
dwm.selbgcolor: #0066cc
|
||||
dwm.selbordercolor: #0066cc
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #000000
|
||||
st.foreground: #e0f7ff
|
||||
st.cursorColor: #00f0ff
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: Default
|
||||
|
||||
theme.name: Default
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #222222
|
||||
theme.bgBar: #222222
|
||||
theme.bgHeader: #1c1c1c
|
||||
theme.bgFooter: #181818
|
||||
theme.bgOverlay: #161616
|
||||
theme.bgAltEven: #282828
|
||||
theme.bgAltOdd: #2e2e2e
|
||||
theme.bgInput: #1a1a1a
|
||||
theme.bgInputFocus: #1b3b4b
|
||||
theme.bgButton: #2a2a2a
|
||||
theme.bgSearch: #383838
|
||||
theme.bgBubbleIn: #262d32
|
||||
theme.bgBubbleOut: #1f2d38
|
||||
theme.bgToast: #102535
|
||||
|
||||
theme.fgMain: #dddddd
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #999999
|
||||
|
||||
theme.selBg: #005577
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #f4d03f
|
||||
theme.accentAlt: #0088bb
|
||||
theme.highlight: #ffc978
|
||||
theme.border: #444444
|
||||
theme.divider: #666666
|
||||
|
||||
theme.success: #2ecc71
|
||||
theme.info: #5dade2
|
||||
theme.warning: #e67e22
|
||||
theme.danger: #e74c3c
|
||||
theme.dangerBg: #922b21
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #1c1c1c
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #005577
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #383838
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #ffc978
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #222222
|
||||
dwm.foreground: #dddddd
|
||||
dwm.border: #444444
|
||||
dwm.selbackground: #005577
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #005577
|
||||
dwm.normbgcolor: #222222
|
||||
dwm.normbordercolor: #444444
|
||||
dwm.normfgcolor: #dddddd
|
||||
dwm.selbgcolor: #005577
|
||||
dwm.selbordercolor: #005577
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #1c1c1c
|
||||
st.foreground: #dddddd
|
||||
st.cursorColor: #f4d03f
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: Dracula
|
||||
|
||||
theme.name: Dracula
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #282a36
|
||||
theme.bgBar: #282a36
|
||||
theme.bgHeader: #21222c
|
||||
theme.bgFooter: #1c1d26
|
||||
theme.bgOverlay: #191a21
|
||||
theme.bgAltEven: #2e303e
|
||||
theme.bgAltOdd: #343746
|
||||
theme.bgInput: #21222c
|
||||
theme.bgInputFocus: #3f476b
|
||||
theme.bgButton: #313442
|
||||
theme.bgSearch: #44475a
|
||||
theme.bgBubbleIn: #283b36
|
||||
theme.bgBubbleOut: #343952
|
||||
theme.bgToast: #2f354d
|
||||
|
||||
theme.fgMain: #f8f8f2
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #6272a4
|
||||
|
||||
theme.selBg: #6272a4
|
||||
theme.selFg: #f8f8f2
|
||||
theme.accent: #bd93f9
|
||||
theme.accentAlt: #ff79c6
|
||||
theme.highlight: #f1fa8c
|
||||
theme.border: #44475a
|
||||
theme.divider: #6272a4
|
||||
|
||||
theme.success: #50fa7b
|
||||
theme.info: #8be9fd
|
||||
theme.warning: #ffb86c
|
||||
theme.danger: #ff5555
|
||||
theme.dangerBg: #8f2828
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #21222c
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #6272a4
|
||||
dmenu.selforeground: #f8f8f2
|
||||
dmenu.outbackground: #44475a
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #f1fa8c
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #282a36
|
||||
dwm.foreground: #f8f8f2
|
||||
dwm.border: #44475a
|
||||
dwm.selbackground: #6272a4
|
||||
dwm.selforeground: #f8f8f2
|
||||
dwm.selborder: #6272a4
|
||||
dwm.normbgcolor: #282a36
|
||||
dwm.normbordercolor: #44475a
|
||||
dwm.normfgcolor: #f8f8f2
|
||||
dwm.selbgcolor: #6272a4
|
||||
dwm.selbordercolor: #6272a4
|
||||
dwm.selfgcolor: #f8f8f2
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #21222c
|
||||
st.foreground: #f8f8f2
|
||||
st.cursorColor: #bd93f9
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: EverforestDark
|
||||
|
||||
theme.name: EverforestDark
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #2d353b
|
||||
theme.bgBar: #2d353b
|
||||
theme.bgHeader: #232a2e
|
||||
theme.bgFooter: #1e2428
|
||||
theme.bgOverlay: #1b2024
|
||||
theme.bgAltEven: #323b41
|
||||
theme.bgAltOdd: #374248
|
||||
theme.bgInput: #232a2e
|
||||
theme.bgInputFocus: #384d3c
|
||||
theme.bgButton: #343f44
|
||||
theme.bgSearch: #475258
|
||||
theme.bgBubbleIn: #324236
|
||||
theme.bgBubbleOut: #34453a
|
||||
theme.bgToast: #2d4034
|
||||
|
||||
theme.fgMain: #d3c6aa
|
||||
theme.fgBright: #fdf6e3
|
||||
theme.fgMuted: #859289
|
||||
|
||||
theme.selBg: #426348
|
||||
theme.selFg: #fdf6e3
|
||||
theme.accent: #a7c080
|
||||
theme.accentAlt: #7fbbb3
|
||||
theme.highlight: #dbbc7f
|
||||
theme.border: #475258
|
||||
theme.divider: #56635f
|
||||
|
||||
theme.success: #a7c080
|
||||
theme.info: #7fbbb3
|
||||
theme.warning: #e69875
|
||||
theme.danger: #e67e80
|
||||
theme.dangerBg: #82383a
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #232a2e
|
||||
dmenu.foreground: #fdf6e3
|
||||
dmenu.selbackground: #426348
|
||||
dmenu.selforeground: #fdf6e3
|
||||
dmenu.outbackground: #475258
|
||||
dmenu.outforeground: #fdf6e3
|
||||
dmenu.highlight: #dbbc7f
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #2d353b
|
||||
dwm.foreground: #d3c6aa
|
||||
dwm.border: #475258
|
||||
dwm.selbackground: #426348
|
||||
dwm.selforeground: #fdf6e3
|
||||
dwm.selborder: #426348
|
||||
dwm.normbgcolor: #2d353b
|
||||
dwm.normbordercolor: #475258
|
||||
dwm.normfgcolor: #d3c6aa
|
||||
dwm.selbgcolor: #426348
|
||||
dwm.selbordercolor: #426348
|
||||
dwm.selfgcolor: #fdf6e3
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #232a2e
|
||||
st.foreground: #d3c6aa
|
||||
st.cursorColor: #a7c080
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,69 @@
|
||||
! Geminux Unified Theme: GeminuxHelio
|
||||
theme.name: GeminuxHelio
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #0f1419
|
||||
theme.bgBar: #0b0e14
|
||||
theme.bgHeader: #131922
|
||||
theme.bgFooter: #0b0e14
|
||||
theme.bgOverlay: #161d26
|
||||
theme.bgAltEven: #121820
|
||||
theme.bgAltOdd: #18202a
|
||||
theme.bgInput: #0b0e14
|
||||
theme.bgInputFocus: #1b2838
|
||||
theme.bgButton: #1d2633
|
||||
theme.bgSearch: #243040
|
||||
theme.bgBubbleIn: #1b2632
|
||||
theme.bgBubbleOut: #1c3244
|
||||
theme.bgToast: #132230
|
||||
|
||||
theme.fgMain: #e6e1cf
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #7b8898
|
||||
|
||||
theme.selBg: #2b5278
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #59c2ff
|
||||
theme.accentAlt: #ffb454
|
||||
theme.highlight: #ff8f40
|
||||
theme.border: #283444
|
||||
theme.divider: #364559
|
||||
|
||||
theme.success: #7fd962
|
||||
theme.info: #59c2ff
|
||||
theme.warning: #ffb454
|
||||
theme.danger: #f07178
|
||||
theme.dangerBg: #4c1d24
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #0b0e14
|
||||
dmenu.foreground: #e6e1cf
|
||||
dmenu.selbackground: #2b5278
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #243040
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #ffb454
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #0b0e14
|
||||
dwm.foreground: #e6e1cf
|
||||
dwm.border: #283444
|
||||
dwm.selbackground: #2b5278
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #59c2ff
|
||||
dwm.normbgcolor: #0b0e14
|
||||
dwm.normbordercolor: #283444
|
||||
dwm.normfgcolor: #e6e1cf
|
||||
dwm.selbgcolor: #2b5278
|
||||
dwm.selbordercolor: #59c2ff
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #0f1419
|
||||
st.foreground: #e6e1cf
|
||||
st.cursorColor: #59c2ff
|
||||
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: GitHubDark
|
||||
|
||||
theme.name: GitHubDark
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #0d1117
|
||||
theme.bgBar: #0d1117
|
||||
theme.bgHeader: #090c10
|
||||
theme.bgFooter: #06090c
|
||||
theme.bgOverlay: #05070a
|
||||
theme.bgAltEven: #12171f
|
||||
theme.bgAltOdd: #161b22
|
||||
theme.bgInput: #090d11
|
||||
theme.bgInputFocus: #122d52
|
||||
theme.bgButton: #161b22
|
||||
theme.bgSearch: #21262d
|
||||
theme.bgBubbleIn: #11261e
|
||||
theme.bgBubbleOut: #11243d
|
||||
theme.bgToast: #0f233d
|
||||
|
||||
theme.fgMain: #c9d1d9
|
||||
theme.fgBright: #f0f6fc
|
||||
theme.fgMuted: #8b949e
|
||||
|
||||
theme.selBg: #1f6feb
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #58a6ff
|
||||
theme.accentAlt: #3fb950
|
||||
theme.highlight: #e3b341
|
||||
theme.border: #30363d
|
||||
theme.divider: #484f58
|
||||
|
||||
theme.success: #3fb950
|
||||
theme.info: #58a6ff
|
||||
theme.warning: #d29922
|
||||
theme.danger: #f85149
|
||||
theme.dangerBg: #8e2520
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #090c10
|
||||
dmenu.foreground: #f0f6fc
|
||||
dmenu.selbackground: #1f6feb
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #21262d
|
||||
dmenu.outforeground: #f0f6fc
|
||||
dmenu.highlight: #e3b341
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #0d1117
|
||||
dwm.foreground: #c9d1d9
|
||||
dwm.border: #30363d
|
||||
dwm.selbackground: #1f6feb
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #1f6feb
|
||||
dwm.normbgcolor: #0d1117
|
||||
dwm.normbordercolor: #30363d
|
||||
dwm.normfgcolor: #c9d1d9
|
||||
dwm.selbgcolor: #1f6feb
|
||||
dwm.selbordercolor: #1f6feb
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #090c10
|
||||
st.foreground: #c9d1d9
|
||||
st.cursorColor: #58a6ff
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: GruvboxDark
|
||||
|
||||
theme.name: GruvboxDark
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #282828
|
||||
theme.bgBar: #282828
|
||||
theme.bgHeader: #1d2021
|
||||
theme.bgFooter: #181a1b
|
||||
theme.bgOverlay: #141617
|
||||
theme.bgAltEven: #2e2c2b
|
||||
theme.bgAltOdd: #353230
|
||||
theme.bgInput: #1d2021
|
||||
theme.bgInputFocus: #5c3f14
|
||||
theme.bgButton: #32302f
|
||||
theme.bgSearch: #504945
|
||||
theme.bgBubbleIn: #333824
|
||||
theme.bgBubbleOut: #45341c
|
||||
theme.bgToast: #3d2e18
|
||||
|
||||
theme.fgMain: #ebdbb2
|
||||
theme.fgBright: #fbf1c7
|
||||
theme.fgMuted: #928374
|
||||
|
||||
theme.selBg: #b57614
|
||||
theme.selFg: #fbf1c7
|
||||
theme.accent: #fabd2f
|
||||
theme.accentAlt: #83a598
|
||||
theme.highlight: #fe8019
|
||||
theme.border: #504945
|
||||
theme.divider: #665c54
|
||||
|
||||
theme.success: #b8bb26
|
||||
theme.info: #83a598
|
||||
theme.warning: #fe8019
|
||||
theme.danger: #fb4934
|
||||
theme.dangerBg: #9d0006
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #1d2021
|
||||
dmenu.foreground: #fbf1c7
|
||||
dmenu.selbackground: #b57614
|
||||
dmenu.selforeground: #fbf1c7
|
||||
dmenu.outbackground: #504945
|
||||
dmenu.outforeground: #fbf1c7
|
||||
dmenu.highlight: #fe8019
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #282828
|
||||
dwm.foreground: #ebdbb2
|
||||
dwm.border: #504945
|
||||
dwm.selbackground: #b57614
|
||||
dwm.selforeground: #fbf1c7
|
||||
dwm.selborder: #b57614
|
||||
dwm.normbgcolor: #282828
|
||||
dwm.normbordercolor: #504945
|
||||
dwm.normfgcolor: #ebdbb2
|
||||
dwm.selbgcolor: #b57614
|
||||
dwm.selbordercolor: #b57614
|
||||
dwm.selfgcolor: #fbf1c7
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #1d2021
|
||||
st.foreground: #ebdbb2
|
||||
st.cursorColor: #fabd2f
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: GruvboxLight
|
||||
|
||||
theme.name: GruvboxLight
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #fbf1c7
|
||||
theme.bgBar: #fbf1c7
|
||||
theme.bgHeader: #f2e5bc
|
||||
theme.bgFooter: #e8d8ab
|
||||
theme.bgOverlay: #e2d1a2
|
||||
theme.bgAltEven: #f5e9be
|
||||
theme.bgAltOdd: #ede0b5
|
||||
theme.bgInput: #fff9de
|
||||
theme.bgInputFocus: #e6cba1
|
||||
theme.bgButton: #ede0b4
|
||||
theme.bgSearch: #d5c4a1
|
||||
theme.bgBubbleIn: #e2e6b8
|
||||
theme.bgBubbleOut: #ebd5b3
|
||||
theme.bgToast: #593b10
|
||||
|
||||
theme.fgMain: #3c3836
|
||||
theme.fgBright: #1d2021
|
||||
theme.fgMuted: #7c6f64
|
||||
|
||||
theme.selBg: #b57614
|
||||
theme.selFg: #fbf1c7
|
||||
theme.accent: #af3a03
|
||||
theme.accentAlt: #076678
|
||||
theme.highlight: #d65d0e
|
||||
theme.border: #d5c4a1
|
||||
theme.divider: #bdae93
|
||||
|
||||
theme.success: #79740e
|
||||
theme.info: #076678
|
||||
theme.warning: #b57614
|
||||
theme.danger: #9d0006
|
||||
theme.dangerBg: #790004
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #f2e5bc
|
||||
dmenu.foreground: #1d2021
|
||||
dmenu.selbackground: #b57614
|
||||
dmenu.selforeground: #fbf1c7
|
||||
dmenu.outbackground: #d5c4a1
|
||||
dmenu.outforeground: #1d2021
|
||||
dmenu.highlight: #d65d0e
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #fbf1c7
|
||||
dwm.foreground: #3c3836
|
||||
dwm.border: #d5c4a1
|
||||
dwm.selbackground: #b57614
|
||||
dwm.selforeground: #fbf1c7
|
||||
dwm.selborder: #b57614
|
||||
dwm.normbgcolor: #fbf1c7
|
||||
dwm.normbordercolor: #d5c4a1
|
||||
dwm.normfgcolor: #3c3836
|
||||
dwm.selbgcolor: #b57614
|
||||
dwm.selbordercolor: #b57614
|
||||
dwm.selfgcolor: #fbf1c7
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #f2e5bc
|
||||
st.foreground: #3c3836
|
||||
st.cursorColor: #af3a03
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: Kanagawa
|
||||
|
||||
theme.name: Kanagawa
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #1f1f28
|
||||
theme.bgBar: #1f1f28
|
||||
theme.bgHeader: #16161d
|
||||
theme.bgFooter: #13131a
|
||||
theme.bgOverlay: #111117
|
||||
theme.bgAltEven: #252530
|
||||
theme.bgAltOdd: #2a2a37
|
||||
theme.bgInput: #181820
|
||||
theme.bgInputFocus: #25394b
|
||||
theme.bgButton: #272733
|
||||
theme.bgSearch: #363646
|
||||
theme.bgBubbleIn: #232e28
|
||||
theme.bgBubbleOut: #22303f
|
||||
theme.bgToast: #1d2b3a
|
||||
|
||||
theme.fgMain: #dcd7ba
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #727169
|
||||
|
||||
theme.selBg: #2d4f67
|
||||
theme.selFg: #dcd7ba
|
||||
theme.accent: #e6c384
|
||||
theme.accentAlt: #7e9cd8
|
||||
theme.highlight: #ffa066
|
||||
theme.border: #363646
|
||||
theme.divider: #54546d
|
||||
|
||||
theme.success: #98bb6c
|
||||
theme.info: #7fb4ca
|
||||
theme.warning: #ff9e3b
|
||||
theme.danger: #e82424
|
||||
theme.dangerBg: #821414
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #16161d
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #2d4f67
|
||||
dmenu.selforeground: #dcd7ba
|
||||
dmenu.outbackground: #363646
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #ffa066
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #1f1f28
|
||||
dwm.foreground: #dcd7ba
|
||||
dwm.border: #363646
|
||||
dwm.selbackground: #2d4f67
|
||||
dwm.selforeground: #dcd7ba
|
||||
dwm.selborder: #2d4f67
|
||||
dwm.normbgcolor: #1f1f28
|
||||
dwm.normbordercolor: #363646
|
||||
dwm.normfgcolor: #dcd7ba
|
||||
dwm.selbgcolor: #2d4f67
|
||||
dwm.selbordercolor: #2d4f67
|
||||
dwm.selfgcolor: #dcd7ba
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #16161d
|
||||
st.foreground: #dcd7ba
|
||||
st.cursorColor: #e6c384
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: LinuxConsole
|
||||
|
||||
theme.name: LinuxConsole
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #000000
|
||||
theme.bgBar: #000000
|
||||
theme.bgHeader: #000000
|
||||
theme.bgFooter: #080808
|
||||
theme.bgOverlay: #050505
|
||||
theme.bgAltEven: #0a0a0a
|
||||
theme.bgAltOdd: #121212
|
||||
theme.bgInput: #050505
|
||||
theme.bgInputFocus: #002b55
|
||||
theme.bgButton: #141414
|
||||
theme.bgSearch: #1f1f1f
|
||||
theme.bgBubbleIn: #0a240a
|
||||
theme.bgBubbleOut: #001f3f
|
||||
theme.bgToast: #001a33
|
||||
|
||||
theme.fgMain: #aaaaaa
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #686868
|
||||
|
||||
theme.selBg: #0055aa
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #55ff55
|
||||
theme.accentAlt: #55ffff
|
||||
theme.highlight: #ffff55
|
||||
theme.border: #333333
|
||||
theme.divider: #555555
|
||||
|
||||
theme.success: #55ff55
|
||||
theme.info: #55ffff
|
||||
theme.warning: #ffff55
|
||||
theme.danger: #ff5555
|
||||
theme.dangerBg: #880000
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #000000
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #0055aa
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #1f1f1f
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #ffff55
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #000000
|
||||
dwm.foreground: #aaaaaa
|
||||
dwm.border: #333333
|
||||
dwm.selbackground: #0055aa
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #0055aa
|
||||
dwm.normbgcolor: #000000
|
||||
dwm.normbordercolor: #333333
|
||||
dwm.normfgcolor: #aaaaaa
|
||||
dwm.selbgcolor: #0055aa
|
||||
dwm.selbordercolor: #0055aa
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #000000
|
||||
st.foreground: #aaaaaa
|
||||
st.cursorColor: #55ff55
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: LynxLair
|
||||
|
||||
theme.name: LynxLair
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #000000
|
||||
theme.bgBar: #000000
|
||||
theme.bgHeader: #000000
|
||||
theme.bgFooter: #000000
|
||||
theme.bgOverlay: #000000
|
||||
theme.bgAltEven: #080705
|
||||
theme.bgAltOdd: #121212
|
||||
theme.bgInput: #000000
|
||||
theme.bgInputFocus: #4d3008
|
||||
theme.bgButton: #121212
|
||||
theme.bgSearch: #2b1c07
|
||||
theme.bgBubbleIn: #0f211f
|
||||
theme.bgBubbleOut: #382308
|
||||
theme.bgToast: #2e1d06
|
||||
|
||||
theme.fgMain: #efe5c0
|
||||
theme.fgBright: #fff8dc
|
||||
theme.fgMuted: #a89984
|
||||
|
||||
theme.selBg: #9e6210
|
||||
theme.selFg: #fff8dc
|
||||
theme.accent: #e0a044
|
||||
theme.accentAlt: #ffb84d
|
||||
theme.highlight: #e3dc82
|
||||
theme.border: #5c3b0c
|
||||
theme.divider: #9e6210
|
||||
|
||||
theme.success: #00d67d
|
||||
theme.info: #588883
|
||||
theme.warning: #e0a044
|
||||
theme.danger: #d62828
|
||||
theme.dangerBg: #5f0f1e
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #000000
|
||||
dmenu.foreground: #efe5c0
|
||||
dmenu.selbackground: #9e6210
|
||||
dmenu.selforeground: #fff8dc
|
||||
dmenu.outbackground: #4d3008
|
||||
dmenu.outforeground: #fff8dc
|
||||
dmenu.highlight: #ffb84d
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #000000
|
||||
dwm.foreground: #efe5c0
|
||||
dwm.border: #5c3b0c
|
||||
dwm.selbackground: #9e6210
|
||||
dwm.selforeground: #fff8dc
|
||||
dwm.selborder: #e0a044
|
||||
dwm.normbgcolor: #000000
|
||||
dwm.normbordercolor: #5c3b0c
|
||||
dwm.normfgcolor: #efe5c0
|
||||
dwm.selbgcolor: #9e6210
|
||||
dwm.selbordercolor: #e0a044
|
||||
dwm.selfgcolor: #fff8dc
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #000000
|
||||
st.foreground: #efe5c0
|
||||
st.cursorColor: #e0a044
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: MatrixGreen
|
||||
|
||||
theme.name: MatrixGreen
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #0a140c
|
||||
theme.bgBar: #0a140c
|
||||
theme.bgHeader: #070e08
|
||||
theme.bgFooter: #050b06
|
||||
theme.bgOverlay: #040905
|
||||
theme.bgAltEven: #0e1c11
|
||||
theme.bgAltOdd: #132416
|
||||
theme.bgInput: #071009
|
||||
theme.bgInputFocus: #143d1f
|
||||
theme.bgButton: #102013
|
||||
theme.bgSearch: #18301c
|
||||
theme.bgBubbleIn: #112b16
|
||||
theme.bgBubbleOut: #16381d
|
||||
theme.bgToast: #0f3018
|
||||
|
||||
theme.fgMain: #a8ffb2
|
||||
theme.fgBright: #e0ffe4
|
||||
theme.fgMuted: #52995b
|
||||
|
||||
theme.selBg: #196627
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #00ff41
|
||||
theme.accentAlt: #2ecc71
|
||||
theme.highlight: #80ff9d
|
||||
theme.border: #1e4224
|
||||
theme.divider: #2d6336
|
||||
|
||||
theme.success: #00ff41
|
||||
theme.info: #5dade2
|
||||
theme.warning: #f1c40f
|
||||
theme.danger: #e74c3c
|
||||
theme.dangerBg: #922b21
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #070e08
|
||||
dmenu.foreground: #e0ffe4
|
||||
dmenu.selbackground: #196627
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #18301c
|
||||
dmenu.outforeground: #e0ffe4
|
||||
dmenu.highlight: #80ff9d
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #0a140c
|
||||
dwm.foreground: #a8ffb2
|
||||
dwm.border: #1e4224
|
||||
dwm.selbackground: #196627
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #196627
|
||||
dwm.normbgcolor: #0a140c
|
||||
dwm.normbordercolor: #1e4224
|
||||
dwm.normfgcolor: #a8ffb2
|
||||
dwm.selbgcolor: #196627
|
||||
dwm.selbordercolor: #196627
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #070e08
|
||||
st.foreground: #a8ffb2
|
||||
st.cursorColor: #00ff41
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: MonokaiPro
|
||||
|
||||
theme.name: MonokaiPro
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #272822
|
||||
theme.bgBar: #272822
|
||||
theme.bgHeader: #1e1f1c
|
||||
theme.bgFooter: #191a17
|
||||
theme.bgOverlay: #161714
|
||||
theme.bgAltEven: #2d2e27
|
||||
theme.bgAltOdd: #33342c
|
||||
theme.bgInput: #1f201c
|
||||
theme.bgInputFocus: #52253b
|
||||
theme.bgButton: #31322b
|
||||
theme.bgSearch: #414339
|
||||
theme.bgBubbleIn: #2c3624
|
||||
theme.bgBubbleOut: #402432
|
||||
theme.bgToast: #3b1f2e
|
||||
|
||||
theme.fgMain: #f8f8f2
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #90908a
|
||||
|
||||
theme.selBg: #a61c52
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #a6e22e
|
||||
theme.accentAlt: #66d9ef
|
||||
theme.highlight: #e6db74
|
||||
theme.border: #49483e
|
||||
theme.divider: #75715e
|
||||
|
||||
theme.success: #a6e22e
|
||||
theme.info: #66d9ef
|
||||
theme.warning: #fd971f
|
||||
theme.danger: #f92672
|
||||
theme.dangerBg: #8a1540
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #1e1f1c
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #a61c52
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #414339
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #e6db74
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #272822
|
||||
dwm.foreground: #f8f8f2
|
||||
dwm.border: #49483e
|
||||
dwm.selbackground: #a61c52
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #a61c52
|
||||
dwm.normbgcolor: #272822
|
||||
dwm.normbordercolor: #49483e
|
||||
dwm.normfgcolor: #f8f8f2
|
||||
dwm.selbgcolor: #a61c52
|
||||
dwm.selbordercolor: #a61c52
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #1e1f1c
|
||||
st.foreground: #f8f8f2
|
||||
st.cursorColor: #a6e22e
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: NordFrost
|
||||
|
||||
theme.name: NordFrost
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #2e3440
|
||||
theme.bgBar: #2e3440
|
||||
theme.bgHeader: #242933
|
||||
theme.bgFooter: #1f242d
|
||||
theme.bgOverlay: #1d212a
|
||||
theme.bgAltEven: #333a47
|
||||
theme.bgAltOdd: #39404f
|
||||
theme.bgInput: #262b36
|
||||
theme.bgInputFocus: #394b68
|
||||
theme.bgButton: #363d4c
|
||||
theme.bgSearch: #434c5e
|
||||
theme.bgBubbleIn: #354249
|
||||
theme.bgBubbleOut: #344459
|
||||
theme.bgToast: #2b3c54
|
||||
|
||||
theme.fgMain: #e5e9f0
|
||||
theme.fgBright: #eceff4
|
||||
theme.fgMuted: #9099ab
|
||||
|
||||
theme.selBg: #5e81ac
|
||||
theme.selFg: #eceff4
|
||||
theme.accent: #88c0d0
|
||||
theme.accentAlt: #81a1c1
|
||||
theme.highlight: #ebcb8b
|
||||
theme.border: #4c566a
|
||||
theme.divider: #616e88
|
||||
|
||||
theme.success: #a3be8c
|
||||
theme.info: #88c0d0
|
||||
theme.warning: #d08770
|
||||
theme.danger: #bf616a
|
||||
theme.dangerBg: #7a373e
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #242933
|
||||
dmenu.foreground: #eceff4
|
||||
dmenu.selbackground: #5e81ac
|
||||
dmenu.selforeground: #eceff4
|
||||
dmenu.outbackground: #434c5e
|
||||
dmenu.outforeground: #eceff4
|
||||
dmenu.highlight: #ebcb8b
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #2e3440
|
||||
dwm.foreground: #e5e9f0
|
||||
dwm.border: #4c566a
|
||||
dwm.selbackground: #5e81ac
|
||||
dwm.selforeground: #eceff4
|
||||
dwm.selborder: #5e81ac
|
||||
dwm.normbgcolor: #2e3440
|
||||
dwm.normbordercolor: #4c566a
|
||||
dwm.normfgcolor: #e5e9f0
|
||||
dwm.selbgcolor: #5e81ac
|
||||
dwm.selbordercolor: #5e81ac
|
||||
dwm.selfgcolor: #eceff4
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #242933
|
||||
st.foreground: #e5e9f0
|
||||
st.cursorColor: #88c0d0
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: OneDark
|
||||
|
||||
theme.name: OneDark
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #282c34
|
||||
theme.bgBar: #282c34
|
||||
theme.bgHeader: #21252b
|
||||
theme.bgFooter: #1b1f24
|
||||
theme.bgOverlay: #181a1f
|
||||
theme.bgAltEven: #2c313a
|
||||
theme.bgAltOdd: #323842
|
||||
theme.bgInput: #21252b
|
||||
theme.bgInputFocus: #293d59
|
||||
theme.bgButton: #2f343e
|
||||
theme.bgSearch: #3e4451
|
||||
theme.bgBubbleIn: #28362e
|
||||
theme.bgBubbleOut: #253447
|
||||
theme.bgToast: #202f42
|
||||
|
||||
theme.fgMain: #abb2bf
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #5c6370
|
||||
|
||||
theme.selBg: #2c5380
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #61afef
|
||||
theme.accentAlt: #c678dd
|
||||
theme.highlight: #e5c07b
|
||||
theme.border: #3e4451
|
||||
theme.divider: #5c6370
|
||||
|
||||
theme.success: #98c379
|
||||
theme.info: #56b6c2
|
||||
theme.warning: #d19a66
|
||||
theme.danger: #e06c75
|
||||
theme.dangerBg: #823037
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #21252b
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #2c5380
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #3e4451
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #e5c07b
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #282c34
|
||||
dwm.foreground: #abb2bf
|
||||
dwm.border: #3e4451
|
||||
dwm.selbackground: #2c5380
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #2c5380
|
||||
dwm.normbgcolor: #282c34
|
||||
dwm.normbordercolor: #3e4451
|
||||
dwm.normfgcolor: #abb2bf
|
||||
dwm.selbgcolor: #2c5380
|
||||
dwm.selbordercolor: #2c5380
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #21252b
|
||||
st.foreground: #abb2bf
|
||||
st.cursorColor: #61afef
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: RosePine
|
||||
|
||||
theme.name: RosePine
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #191724
|
||||
theme.bgBar: #191724
|
||||
theme.bgHeader: #1f1d2e
|
||||
theme.bgFooter: #14121d
|
||||
theme.bgOverlay: #12101a
|
||||
theme.bgAltEven: #1f1d2e
|
||||
theme.bgAltOdd: #26233a
|
||||
theme.bgInput: #15131f
|
||||
theme.bgInputFocus: #3b2e52
|
||||
theme.bgButton: #232036
|
||||
theme.bgSearch: #332f4c
|
||||
theme.bgBubbleIn: #1d2c36
|
||||
theme.bgBubbleOut: #2c2440
|
||||
theme.bgToast: #28203b
|
||||
|
||||
theme.fgMain: #e0def4
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #6e6a86
|
||||
|
||||
theme.selBg: #6e5694
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #ebbcba
|
||||
theme.accentAlt: #c4a7e7
|
||||
theme.highlight: #f6c177
|
||||
theme.border: #403d52
|
||||
theme.divider: #524f67
|
||||
|
||||
theme.success: #9ccfd8
|
||||
theme.info: #31748f
|
||||
theme.warning: #f6c177
|
||||
theme.danger: #eb6f92
|
||||
theme.dangerBg: #852d47
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #1f1d2e
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #6e5694
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #332f4c
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #f6c177
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #191724
|
||||
dwm.foreground: #e0def4
|
||||
dwm.border: #403d52
|
||||
dwm.selbackground: #6e5694
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #6e5694
|
||||
dwm.normbgcolor: #191724
|
||||
dwm.normbordercolor: #403d52
|
||||
dwm.normfgcolor: #e0def4
|
||||
dwm.selbgcolor: #6e5694
|
||||
dwm.selbordercolor: #6e5694
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #1f1d2e
|
||||
st.foreground: #e0def4
|
||||
st.cursorColor: #ebbcba
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: SolarizedDark
|
||||
|
||||
theme.name: SolarizedDark
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #002b36
|
||||
theme.bgBar: #002b36
|
||||
theme.bgHeader: #00212b
|
||||
theme.bgFooter: #001b24
|
||||
theme.bgOverlay: #00171f
|
||||
theme.bgAltEven: #04313d
|
||||
theme.bgAltOdd: #083845
|
||||
theme.bgInput: #00232c
|
||||
theme.bgInputFocus: #0d4a66
|
||||
theme.bgButton: #063541
|
||||
theme.bgSearch: #0d4352
|
||||
theme.bgBubbleIn: #0c3b38
|
||||
theme.bgBubbleOut: #093e54
|
||||
theme.bgToast: #083a52
|
||||
|
||||
theme.fgMain: #93a1a1
|
||||
theme.fgBright: #fdf6e3
|
||||
theme.fgMuted: #657b83
|
||||
|
||||
theme.selBg: #268bd2
|
||||
theme.selFg: #fdf6e3
|
||||
theme.accent: #b58900
|
||||
theme.accentAlt: #2aa198
|
||||
theme.highlight: #cb4b16
|
||||
theme.border: #164c5a
|
||||
theme.divider: #586e75
|
||||
|
||||
theme.success: #859900
|
||||
theme.info: #268bd2
|
||||
theme.warning: #cb4b16
|
||||
theme.danger: #dc322f
|
||||
theme.dangerBg: #801d1b
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #00212b
|
||||
dmenu.foreground: #fdf6e3
|
||||
dmenu.selbackground: #268bd2
|
||||
dmenu.selforeground: #fdf6e3
|
||||
dmenu.outbackground: #0d4352
|
||||
dmenu.outforeground: #fdf6e3
|
||||
dmenu.highlight: #cb4b16
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #002b36
|
||||
dwm.foreground: #93a1a1
|
||||
dwm.border: #164c5a
|
||||
dwm.selbackground: #268bd2
|
||||
dwm.selforeground: #fdf6e3
|
||||
dwm.selborder: #268bd2
|
||||
dwm.normbgcolor: #002b36
|
||||
dwm.normbordercolor: #164c5a
|
||||
dwm.normfgcolor: #93a1a1
|
||||
dwm.selbgcolor: #268bd2
|
||||
dwm.selbordercolor: #268bd2
|
||||
dwm.selfgcolor: #fdf6e3
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #00212b
|
||||
st.foreground: #93a1a1
|
||||
st.cursorColor: #b58900
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: SolarizedLight
|
||||
|
||||
theme.name: SolarizedLight
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #fdf6e3
|
||||
theme.bgBar: #fdf6e3
|
||||
theme.bgHeader: #e6dfca
|
||||
theme.bgFooter: #e0d9c3
|
||||
theme.bgOverlay: #ddd6c1
|
||||
theme.bgAltEven: #f7f0dd
|
||||
theme.bgAltOdd: #efe8d5
|
||||
theme.bgInput: #ffffff
|
||||
theme.bgInputFocus: #d5e5f2
|
||||
theme.bgButton: #e8e1cc
|
||||
theme.bgSearch: #d9d2bd
|
||||
theme.bgBubbleIn: #e3f0d8
|
||||
theme.bgBubbleOut: #d5e6f5
|
||||
theme.bgToast: #1b4f72
|
||||
|
||||
theme.fgMain: #283739
|
||||
theme.fgBright: #073642
|
||||
theme.fgMuted: #657b83
|
||||
|
||||
theme.selBg: #268bd2
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #b58900
|
||||
theme.accentAlt: #2aa198
|
||||
theme.highlight: #cb4b16
|
||||
theme.border: #93a1a1
|
||||
theme.divider: #839496
|
||||
|
||||
theme.success: #2aa198
|
||||
theme.info: #268bd2
|
||||
theme.warning: #cb4b16
|
||||
theme.danger: #dc322f
|
||||
theme.dangerBg: #a93226
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #e6dfca
|
||||
dmenu.foreground: #073642
|
||||
dmenu.selbackground: #268bd2
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #d9d2bd
|
||||
dmenu.outforeground: #073642
|
||||
dmenu.highlight: #cb4b16
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #fdf6e3
|
||||
dwm.foreground: #283739
|
||||
dwm.border: #93a1a1
|
||||
dwm.selbackground: #268bd2
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #268bd2
|
||||
dwm.normbgcolor: #fdf6e3
|
||||
dwm.normbordercolor: #93a1a1
|
||||
dwm.normfgcolor: #283739
|
||||
dwm.selbgcolor: #268bd2
|
||||
dwm.selbordercolor: #268bd2
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #fdf6e3
|
||||
st.foreground: #283739
|
||||
st.cursorColor: #b58900
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,71 @@
|
||||
! Space to setup configversion
|
||||
! configversion: 7bff124b2de16292fe6e7a7e5d3322ae
|
||||
! Geminux Unified Theme: TokyoNight
|
||||
|
||||
theme.name: TokyoNight
|
||||
theme.fontFace: Fira Code
|
||||
theme.iconFontFace: DejaVuSansM Nerd Font
|
||||
theme.baseFontSize: 22
|
||||
|
||||
theme.bgMain: #1a1b26
|
||||
theme.bgBar: #1a1b26
|
||||
theme.bgHeader: #16161e
|
||||
theme.bgFooter: #13141c
|
||||
theme.bgOverlay: #111219
|
||||
theme.bgAltEven: #1f2335
|
||||
theme.bgAltOdd: #24283b
|
||||
theme.bgInput: #14151e
|
||||
theme.bgInputFocus: #283457
|
||||
theme.bgButton: #222638
|
||||
theme.bgSearch: #2f3549
|
||||
theme.bgBubbleIn: #1f2d30
|
||||
theme.bgBubbleOut: #222c4a
|
||||
theme.bgToast: #1d2945
|
||||
|
||||
theme.fgMain: #c0caf5
|
||||
theme.fgBright: #ffffff
|
||||
theme.fgMuted: #565f89
|
||||
|
||||
theme.selBg: #3d59a1
|
||||
theme.selFg: #ffffff
|
||||
theme.accent: #7aa2f7
|
||||
theme.accentAlt: #bb9af7
|
||||
theme.highlight: #e0af68
|
||||
theme.border: #3b4261
|
||||
theme.divider: #545c7e
|
||||
|
||||
theme.success: #9ece6a
|
||||
theme.info: #7dcfff
|
||||
theme.warning: #e0af68
|
||||
theme.danger: #f7768e
|
||||
theme.dangerBg: #8c2d42
|
||||
|
||||
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
dmenu.background: #16161e
|
||||
dmenu.foreground: #ffffff
|
||||
dmenu.selbackground: #3d59a1
|
||||
dmenu.selforeground: #ffffff
|
||||
dmenu.outbackground: #2f3549
|
||||
dmenu.outforeground: #ffffff
|
||||
dmenu.highlight: #e0af68
|
||||
|
||||
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
|
||||
dwm.background: #1a1b26
|
||||
dwm.foreground: #c0caf5
|
||||
dwm.border: #3b4261
|
||||
dwm.selbackground: #3d59a1
|
||||
dwm.selforeground: #ffffff
|
||||
dwm.selborder: #3d59a1
|
||||
dwm.normbgcolor: #1a1b26
|
||||
dwm.normbordercolor: #3b4261
|
||||
dwm.normfgcolor: #c0caf5
|
||||
dwm.selbgcolor: #3d59a1
|
||||
dwm.selbordercolor: #3d59a1
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true
|
||||
st.termname: xterm-256color
|
||||
st.background: #16161e
|
||||
st.foreground: #c0caf5
|
||||
st.cursorColor: #7aa2f7
|
||||
Xft.dpi: 168
|
||||
@@ -0,0 +1,4 @@
|
||||
PermitRootLogin yes
|
||||
PasswordAuthentication yes
|
||||
PubkeyAuthentication yes
|
||||
UsePAM yes
|
||||
@@ -0,0 +1,7 @@
|
||||
# Geminux memory, ZRAM, and battery power tuning
|
||||
vm.swappiness = 100
|
||||
vm.page-cluster = 0
|
||||
vm.dirty_writeback_centisecs = 1500
|
||||
vm.dirty_expire_centisecs = 3000
|
||||
vm.vfs_cache_pressure = 50
|
||||
kernel.nmi_watchdog = 0
|
||||
@@ -0,0 +1,6 @@
|
||||
# Sourced by tinydm-run-session for X11 sessions
|
||||
if [ -r /etc/profile.d/10-geminux-env.sh ]; then
|
||||
. /etc/profile.d/10-geminux-env.sh
|
||||
fi
|
||||
export XDG_SESSION_TYPE=x11
|
||||
export DESKTOP_SESSION=geminux
|
||||
@@ -0,0 +1,10 @@
|
||||
# MT6797 CCCI/CLDMA serial and network ports for ModemManager probing
|
||||
ACTION!="add|change|move|bind", GOTO="mm_mt6797_end"
|
||||
|
||||
KERNEL=="ttyC0", ENV{ID_MM_DEVICE_PROCESS}="1", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1", GROUP="dialout", MODE="0660"
|
||||
KERNEL=="ttyC1", ENV{ID_MM_PORT_IGNORE}="1", GROUP="dialout", MODE="0660"
|
||||
KERNEL=="ttyC2", ENV{ID_MM_DEVICE_PROCESS}="1", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1", GROUP="dialout", MODE="0660"
|
||||
KERNEL=="ttyC3", ENV{ID_MM_PORT_IGNORE}="1", GROUP="dialout", MODE="0660"
|
||||
SUBSYSTEM=="net", KERNEL=="ccmni*", ENV{ID_MM_DEVICE_PROCESS}="1", ENV{ID_MM_PORT_TYPE_NET}="1"
|
||||
|
||||
LABEL="mm_mt6797_end"
|
||||
@@ -0,0 +1,9 @@
|
||||
# Hardware permissions and runtime PM for Gemini PDA x27 peripherals
|
||||
SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys%p/brightness", RUN+="/bin/chmod 0664 /sys%p/brightness"
|
||||
SUBSYSTEM=="leds", RUN+="/bin/chgrp wheel /sys%p/brightness", RUN+="/bin/chmod 0664 /sys%p/brightness"
|
||||
KERNEL=="ccci_*", GROUP="dialout", MODE="0660"
|
||||
KERNEL=="ccci_monitor", SYMLINK+="ccci_md_ctl"
|
||||
SUBSYSTEM=="video4linux", GROUP="video", MODE="0660"
|
||||
|
||||
# Enable USB autosuspend on non-HID peripherals
|
||||
ACTION=="add", SUBSYSTEM=="usb", ENV{ID_INPUT}=="", TEST=="power/control", ATTR{power/control}="auto"
|
||||
@@ -0,0 +1,22 @@
|
||||
# Suspend idle ALSA and BlueZ audio nodes after 3 seconds to gate audio clocks.
|
||||
monitor.alsa.rules = [
|
||||
{
|
||||
matches = [ { node.name = "~alsa_.*" } ]
|
||||
actions = {
|
||||
update-props = {
|
||||
session.suspend-timeout-seconds = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
monitor.bluez.rules = [
|
||||
{
|
||||
matches = [ { node.name = "~bluez_.*" } ]
|
||||
actions = {
|
||||
update-props = {
|
||||
session.suspend-timeout-seconds = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
# Apply a Geminux .xth theme across .Xresources, xrdb, dunst, dwm, st, and libgemui apps.
|
||||
set -eu
|
||||
|
||||
HOME_DIR="${HOME:-/home/user}"
|
||||
THEME_DIR="$HOME_DIR/.xthemes"
|
||||
TARGET="${1:-}"
|
||||
|
||||
if [ -z "$TARGET" ]; then
|
||||
if [ -d "$THEME_DIR" ]; then
|
||||
ls -1 "$THEME_DIR"/*.xth 2>/dev/null | xargs -r -n1 basename | sed 's/\.xth$//'
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -f "$TARGET" ]; then
|
||||
THEME_FILE="$TARGET"
|
||||
elif [ -f "$THEME_DIR/$TARGET.xth" ]; then
|
||||
THEME_FILE="$THEME_DIR/$TARGET.xth"
|
||||
elif [ -f "/etc/skel/.xthemes/$TARGET.xth" ]; then
|
||||
THEME_FILE="/etc/skel/.xthemes/$TARGET.xth"
|
||||
else
|
||||
echo "Error: theme '$TARGET' not found in $THEME_DIR" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cp -f "$THEME_FILE" "$HOME_DIR/.Xresources"
|
||||
if [ -n "${DISPLAY:-}" ] && command -v xrdb >/dev/null 2>&1; then
|
||||
xrdb -merge "$HOME_DIR/.Xresources" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
/usr/bin/geminux-sync-dunst-theme
|
||||
|
||||
# Signal live applications (dwm, st, libgemui apps) to reload .Xresources via SIGUSR1
|
||||
for proc in dwm st geminux-dialer geminux-callscreen geminux-sms geminux-contacts \
|
||||
geminux-net geminux-camera geminux-control geminux-themes geminux-lock; do
|
||||
for pid in $(pidof "$proc" 2>/dev/null || true); do
|
||||
kill -USR1 "$pid" 2>/dev/null || true
|
||||
done
|
||||
done
|
||||
Executable
+64
@@ -0,0 +1,64 @@
|
||||
#!/bin/sh
|
||||
# Geminux application and quick-action launcher using Pango/HarfBuzz dmenu.
|
||||
set -eu
|
||||
|
||||
LAUNCHER_LIST="
|
||||
Terminal|st
|
||||
Dialer|geminux-dialer
|
||||
SMS Messages|geminux-sms
|
||||
Contacts|geminux-contacts
|
||||
Network & Radios|geminux-net
|
||||
Camera|geminux-camera
|
||||
Control Center|geminux-control
|
||||
Themes|geminux-themes
|
||||
Lock Screen|geminux-lock
|
||||
Suspend Now|doas /usr/bin/geminux-power-ctl suspend
|
||||
"
|
||||
|
||||
build_menu() {
|
||||
printf '%s\n' "$LAUNCHER_LIST" | sed '/^[[:space:]]*$/d' | cut -d'|' -f1
|
||||
for dir in /usr/share/applications /usr/local/share/applications "${HOME:-/home/user}/.local/share/applications"; do
|
||||
[ -d "$dir" ] || continue
|
||||
for df in "$dir"/*.desktop; do
|
||||
[ -f "$df" ] || continue
|
||||
grep -q '^NoDisplay=true' "$df" 2>/dev/null && continue
|
||||
name="$(awk -F= '/^Name=/{print $2; exit}' "$df")"
|
||||
[ -n "$name" ] && printf ' %s\n' "$name"
|
||||
done
|
||||
done | sort -u
|
||||
if command -v dmenu_path >/dev/null 2>&1; then
|
||||
dmenu_path
|
||||
fi
|
||||
}
|
||||
|
||||
choice="$(build_menu | awk '!seen[$0]++' | dmenu -l 12 -i -p 'Geminux:')"
|
||||
[ -n "$choice" ] || exit 0
|
||||
|
||||
pinned_cmd="$(printf '%s\n' "$LAUNCHER_LIST" | awk -F'|' -v sel="$choice" '$1 == sel {print $2; exit}')"
|
||||
if [ -n "$pinned_cmd" ]; then
|
||||
setsid sh -c "$pinned_cmd" >/dev/null 2>&1 </dev/null &
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case "$choice" in
|
||||
" "*)
|
||||
app_name="${choice# }"
|
||||
for dir in /usr/share/applications /usr/local/share/applications "${HOME:-/home/user}/.local/share/applications"; do
|
||||
[ -d "$dir" ] || continue
|
||||
for df in "$dir"/*.desktop; do
|
||||
[ -f "$df" ] || continue
|
||||
n="$(awk -F= '/^Name=/{print $2; exit}' "$df")"
|
||||
if [ "$n" = "$app_name" ]; then
|
||||
ex="$(awk -F= '/^Exec=/{print $2; exit}' "$df" | sed 's/ %[fFuUdDnNickvm]//g')"
|
||||
if [ -n "$ex" ]; then
|
||||
setsid sh -c "$ex" >/dev/null 2>&1 </dev/null &
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
;;
|
||||
*)
|
||||
setsid sh -c "$choice" >/dev/null 2>&1 </dev/null &
|
||||
;;
|
||||
esac
|
||||
Executable
+80
@@ -0,0 +1,80 @@
|
||||
#!/bin/sh
|
||||
# Geminux XLibre + DWM X11 desktop session launcher
|
||||
set -eu
|
||||
|
||||
if [ -z "${DBUS_SESSION_BUS_ADDRESS:-}" ] && command -v dbus-run-session >/dev/null 2>&1; then
|
||||
exec dbus-run-session -- "$0" "$@"
|
||||
fi
|
||||
|
||||
HOME_DIR="${HOME:-/home/user}"
|
||||
if [ -r /etc/profile.d/10-geminux-env.sh ]; then
|
||||
. /etc/profile.d/10-geminux-env.sh
|
||||
fi
|
||||
|
||||
if [ ! -f "$HOME_DIR/.Xresources" ] && [ -f /etc/skel/.Xresources ]; then
|
||||
cp -f /etc/skel/.Xresources "$HOME_DIR/.Xresources"
|
||||
fi
|
||||
if [ ! -d "$HOME_DIR/.xthemes" ] && [ -d /etc/skel/.xthemes ]; then
|
||||
cp -a /etc/skel/.xthemes "$HOME_DIR/.xthemes"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME_DIR/.Xresources" ] && command -v xrdb >/dev/null 2>&1; then
|
||||
xrdb -merge "$HOME_DIR/.Xresources" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
if command -v xrandr >/dev/null 2>&1; then
|
||||
while IFS= read -r line; do
|
||||
case "$line" in
|
||||
*" connected "*)
|
||||
out="${line%% connected*}"
|
||||
out="${out%% *}"
|
||||
case "$line" in
|
||||
*" 1080x2160+"*)
|
||||
xrandr --output "$out" --rotate left 2>/dev/null || true
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
done <<EOF
|
||||
$(xrandr --query 2>/dev/null || true)
|
||||
EOF
|
||||
fi
|
||||
|
||||
if command -v setxkbmap >/dev/null 2>&1; then
|
||||
setxkbmap -rules evdev -model pc105 -layout 'planet_vndr/geminux' -variant us 2>/dev/null || true
|
||||
fi
|
||||
|
||||
if command -v geminux-sync-dunst-theme >/dev/null 2>&1; then
|
||||
geminux-sync-dunst-theme 2>/dev/null || true
|
||||
fi
|
||||
|
||||
if command -v xset >/dev/null 2>&1; then
|
||||
# Suspend and backlight blanking are managed event-driven by geminux-powerd.
|
||||
xset s off -dpms 2>/dev/null || true
|
||||
xset r rate 260 35 2>/dev/null || true
|
||||
fi
|
||||
|
||||
PIDS=""
|
||||
cleanup() {
|
||||
for p in $PIDS; do
|
||||
kill "$p" 2>/dev/null || true
|
||||
done
|
||||
}
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
start_bg() {
|
||||
if command -v "$1" >/dev/null 2>&1; then
|
||||
"$@" >/dev/null 2>&1 &
|
||||
PIDS="$PIDS $!"
|
||||
fi
|
||||
}
|
||||
|
||||
start_bg pipewire
|
||||
start_bg pipewire-pulse
|
||||
start_bg wireplumber
|
||||
start_bg dunst
|
||||
start_bg geminux-statusd
|
||||
start_bg geminux-modem-ctl
|
||||
start_bg geminux-bt-obex
|
||||
|
||||
exec dwm
|
||||
+119
@@ -0,0 +1,119 @@
|
||||
#!/bin/sh
|
||||
# Synchronize dunst notification colors and font with active .Xresources/.xth theme.
|
||||
set -eu
|
||||
|
||||
HOME_DIR="${HOME:-/home/user}"
|
||||
XRES_FILE="${GEMINUX_XRESOURCES:-$HOME_DIR/.Xresources}"
|
||||
if [ ! -r "$XRES_FILE" ] && [ -r /etc/skel/.Xresources ]; then
|
||||
XRES_FILE="/etc/skel/.Xresources"
|
||||
fi
|
||||
|
||||
get_xres() {
|
||||
key="$1"
|
||||
def="$2"
|
||||
if [ -r "$XRES_FILE" ]; then
|
||||
val="$(awk -F: -v k="$key" '
|
||||
$0 !~ /^[[:space:]]*[!#]/ {
|
||||
kpart = $1
|
||||
gsub(/^[[:space:]]+|[[:space:]]+$/, "", kpart)
|
||||
if (kpart == k) {
|
||||
sub(/^[^:]*:[[:space:]]*/, "", $0)
|
||||
gsub(/^[[:space:]"'\'']+|[[:space:]"'\'']+$/, "", $0)
|
||||
print $0
|
||||
}
|
||||
}
|
||||
' "$XRES_FILE" | tail -n 1)"
|
||||
if [ -n "$val" ]; then
|
||||
printf '%s' "$val"
|
||||
return
|
||||
fi
|
||||
fi
|
||||
printf '%s' "$def"
|
||||
}
|
||||
|
||||
BG_MAIN="$(get_xres "theme.bgMain" "#0f1419")"
|
||||
BG_OVERLAY="$(get_xres "theme.bgOverlay" "$(get_xres "theme.bgHeader" "$BG_MAIN")")"
|
||||
FG_MAIN="$(get_xres "theme.fgMain" "#e6e1cf")"
|
||||
FG_BRIGHT="$(get_xres "theme.fgBright" "$FG_MAIN")"
|
||||
FG_MUTED="$(get_xres "theme.fgMuted" "#7b8898")"
|
||||
ACCENT="$(get_xres "theme.accent" "$(get_xres "theme.selBg" "#59c2ff")")"
|
||||
BORDER="$(get_xres "theme.border" "#283444")"
|
||||
DANGER="$(get_xres "theme.danger" "#f07178")"
|
||||
DANGER_BG="$(get_xres "theme.dangerBg" "#4c1d24")"
|
||||
FONT_FACE="$(get_xres "theme.fontFace" "Fira Code")"
|
||||
|
||||
BASE_SIZE="$(get_xres "theme.baseFontSize" "22")"
|
||||
case "$BASE_SIZE" in
|
||||
''|*[!0-9]*) BASE_SIZE=22 ;;
|
||||
esac
|
||||
PT_SIZE="$(awk -v b="$BASE_SIZE" 'BEGIN {
|
||||
pt = b * 0.55
|
||||
if (pt < 9.0) pt = 9.0
|
||||
if (pt > 16.0) pt = 16.0
|
||||
printf "%.1f", pt
|
||||
}')"
|
||||
|
||||
OUT_CONF="${GEMINUX_DUNSTRC:-$HOME_DIR/.config/dunst/dunstrc}"
|
||||
mkdir -p "$(dirname "$OUT_CONF")"
|
||||
|
||||
cat > "$OUT_CONF.tmp" <<EOF
|
||||
# Auto-generated by geminux-sync-dunst-theme from active .Xresources theme
|
||||
[global]
|
||||
monitor = 0
|
||||
follow = mouse
|
||||
width = 560
|
||||
height = (0, 220)
|
||||
origin = top-right
|
||||
offset = (16, 48)
|
||||
notification_limit = 5
|
||||
progress_bar = true
|
||||
padding = 12
|
||||
horizontal_padding = 16
|
||||
text_icon_padding = 12
|
||||
frame_width = 2
|
||||
frame_color = "$ACCENT"
|
||||
separator_color = "$BORDER"
|
||||
corner_radius = 6
|
||||
idle_threshold = 120
|
||||
font = $FONT_FACE $PT_SIZE
|
||||
markup = full
|
||||
format = "<b>%s</b>\n%b"
|
||||
alignment = left
|
||||
vertical_alignment = center
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
icon_position = left
|
||||
max_icon_size = 48
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
mouse_left_click = do_action, close_current
|
||||
mouse_middle_click = close_current
|
||||
mouse_right_click = close_all
|
||||
|
||||
[urgency_low]
|
||||
background = "$BG_MAIN"
|
||||
foreground = "$FG_MUTED"
|
||||
frame_color = "$BORDER"
|
||||
timeout = 5
|
||||
|
||||
[urgency_normal]
|
||||
background = "$BG_OVERLAY"
|
||||
foreground = "$FG_MAIN"
|
||||
frame_color = "$ACCENT"
|
||||
timeout = 8
|
||||
|
||||
[urgency_critical]
|
||||
background = "$DANGER_BG"
|
||||
foreground = "$FG_BRIGHT"
|
||||
frame_color = "$DANGER"
|
||||
timeout = 0
|
||||
EOF
|
||||
mv -f "$OUT_CONF.tmp" "$OUT_CONF"
|
||||
|
||||
if [ "${1:-}" != "--no-restart" ] && command -v dunstctl >/dev/null 2>&1; then
|
||||
if pidof dunst >/dev/null 2>&1; then
|
||||
dunstctl reload "$OUT_CONF" 2>/dev/null || {
|
||||
killall -q dunst 2>/dev/null || true
|
||||
DISPLAY="${DISPLAY:-:0}" dunst -config "$OUT_CONF" >/dev/null 2>&1 </dev/null &
|
||||
}
|
||||
fi
|
||||
fi
|
||||
@@ -0,0 +1,7 @@
|
||||
NAME="Geminux"
|
||||
ID=geminux
|
||||
ID_LIKE=alpine
|
||||
VERSION_ID=@GEMINUX_VERSION@
|
||||
VERSION="@GEMINUX_VERSION@ (@GEMINUX_CODENAME@)"
|
||||
PRETTY_NAME="Geminux @GEMINUX_VERSION@ (@GEMINUX_CODENAME@) for Gemini PDA"
|
||||
HOME_URL="https://github.com/planetcom"
|
||||
@@ -0,0 +1,97 @@
|
||||
// Geminux XKB symbols for Planet Computers Gemini PDA
|
||||
// US layout default: Fn+1..0 -> F1..F10, Shift+Fn+1..0 -> secondary symbols,
|
||||
// Fn+Alt (either order) -> Super_L (Mod4).
|
||||
|
||||
partial hidden alphanumeric_keys modifier_keys
|
||||
xkb_symbols "modifiers" {
|
||||
key <LWIN> {
|
||||
type[Group1] = "GEMINUX_FN",
|
||||
[ ISO_Level3_Shift, ISO_Level3_Shift, Super_L ]
|
||||
};
|
||||
key <LALT> {
|
||||
type[Group1] = "GEMINUX_LALT",
|
||||
[ Alt_L, Meta_L, Super_L ]
|
||||
};
|
||||
modifier_map Mod1 { Alt_L, Meta_L };
|
||||
modifier_map Mod4 { Super_L };
|
||||
modifier_map Mod5 { ISO_Level3_Shift };
|
||||
};
|
||||
|
||||
partial hidden alphanumeric_keys
|
||||
xkb_symbols "common_keys" {
|
||||
key <ESC> { [ Escape, Escape, XF86Sleep, XF86PowerDown ] };
|
||||
key <BKSP> { [ BackSpace, Delete, XF86Tools, Delete ] };
|
||||
key <TAB> { [ Tab, ISO_Left_Tab, Caps_Lock, Caps_Lock ] };
|
||||
key <UP> { [ Up, Up, Prior, Prior ] };
|
||||
key <SPCE> { [ space, space, XF86AudioRecord, nobreakspace ] };
|
||||
key <LEFT> { [ Left, Left, Home, Home ] };
|
||||
key <DOWN> { [ Down, Down, Next, Next ] };
|
||||
key <RGHT> { [ Right, Right, End, End ] };
|
||||
};
|
||||
|
||||
default partial alphanumeric_keys
|
||||
xkb_symbols "us" {
|
||||
include "planet_vndr/geminux(modifiers)"
|
||||
include "planet_vndr/geminux(common_keys)"
|
||||
|
||||
name[Group1] = "Gemini PDA English (US)";
|
||||
|
||||
// Level1 = Digit, Level2 = Shift, Level3 (Fn) = F1..F10, Level4 (Shift+Fn) = Symbol
|
||||
key <AE01> { type="FOUR_LEVEL", [ 1, exclam, F1, asciitilde ] };
|
||||
key <AE02> { type="FOUR_LEVEL", [ 2, at, F2, grave ] };
|
||||
key <AE03> { type="FOUR_LEVEL", [ 3, numbersign, F3, sterling ] };
|
||||
key <AE04> { type="FOUR_LEVEL", [ 4, dollar, F4, EuroSign ] };
|
||||
key <AE05> { type="FOUR_LEVEL", [ 5, percent, F5, less ] };
|
||||
key <AE06> { type="FOUR_LEVEL", [ 6, asciicircum, F6, greater ] };
|
||||
key <AE07> { type="FOUR_LEVEL", [ 7, ampersand, F7, bracketleft ] };
|
||||
key <AE08> { type="FOUR_LEVEL", [ 8, asterisk, F8, bracketright ] };
|
||||
key <AE09> { type="FOUR_LEVEL", [ 9, parenleft, F9, braceleft ] };
|
||||
key <AE10> { type="FOUR_LEVEL", [ 0, parenright, F10, braceright ] };
|
||||
|
||||
key <AD01> { type="FOUR_LEVEL", [ q, Q, XF86AudioPlay, Greek_OMEGA ] };
|
||||
key <AD02> { type="FOUR_LEVEL", [ w, W, XF86AudioPrev, Lstroke ] };
|
||||
key <AD03> { type="FOUR_LEVEL", [ e, E, XF86AudioNext, trademark ] };
|
||||
key <AD04> { type="FOUR_LEVEL", [ r, R, Print, registered ] };
|
||||
key <AD05> { type="FOUR_LEVEL", [ t, T, XF86AudioMute, yen ] };
|
||||
key <AD06> { type="FOUR_LEVEL", [ y, Y, leftarrow, rightarrow ] };
|
||||
key <AD07> { type="FOUR_LEVEL", [ u, U, downarrow, uparrow ] };
|
||||
key <AD08> { type="FOUR_LEVEL", [ i, I, plus, plusminus ] };
|
||||
key <AE12> { type="FOUR_LEVEL", [ equal, plus, equal, plus ] };
|
||||
key <AD09> { type="FOUR_LEVEL", [ o, O, minus, Ooblique ] };
|
||||
key <AD10> { type="FOUR_LEVEL", [ p, P, equal, THORN ] };
|
||||
|
||||
key <AC01> { type="FOUR_LEVEL", [ a, A, XF86TaskPane, AE ] };
|
||||
key <AC02> { type="FOUR_LEVEL", [ s, S, ssharp, section ] };
|
||||
key <AC03> { type="FOUR_LEVEL", [ d, D, XF86TopMenu, ETH ] };
|
||||
key <AC04> { type="FOUR_LEVEL", [ f, F, XF86UWB, ordfeminine ] };
|
||||
key <AC05> { type="FOUR_LEVEL", [ g, G, eng, ENG ] };
|
||||
key <AC06> { type="FOUR_LEVEL", [ h, H, division, dead_diaeresis ] };
|
||||
key <AC07> { type="FOUR_LEVEL", [ j, J, underscore, dead_circumflex ] };
|
||||
key <AC08> { type="FOUR_LEVEL", [ k, K, semicolon, degree ] };
|
||||
key <AC09> { type="FOUR_LEVEL", [ l, L, quotedbl, dead_caron ] };
|
||||
key <AC11> { type="FOUR_LEVEL", [ backslash, bar, colon, dead_acute ] };
|
||||
|
||||
key <AB01> { type="FOUR_LEVEL", [ z, Z, guillemotleft, dead_belowdot ] };
|
||||
key <AB02> { type="FOUR_LEVEL", [ x, X, guillemotright, dead_abovedot ] };
|
||||
key <AB03> { type="FOUR_LEVEL", [ c, C, XF86AudioLowerVolume, copyright ] };
|
||||
key <AB04> { type="FOUR_LEVEL", [ v, V, XF86AudioRaiseVolume, leftsinglequotemark ] };
|
||||
key <AB05> { type="FOUR_LEVEL", [ b, B, XF86MonBrightnessDown,rightsinglequotemark ] };
|
||||
key <AB06> { type="FOUR_LEVEL", [ n, N, XF86MonBrightnessUp, exclamdown ] };
|
||||
key <AB07> { type="FOUR_LEVEL", [ m, M, apostrophe, dead_grave ] };
|
||||
key <AB08> { type="FOUR_LEVEL", [ comma, slash, XF86Option, multiply ] };
|
||||
key <AB09> { type="FOUR_LEVEL", [ period, question, U263A, dead_tilde ] };
|
||||
};
|
||||
|
||||
partial alphanumeric_keys
|
||||
xkb_symbols "gb" {
|
||||
include "planet_vndr/geminux(us)"
|
||||
|
||||
name[Group1] = "Gemini PDA English (UK)";
|
||||
|
||||
key <AE02> { type="FOUR_LEVEL", [ 2, quotedbl, F2, numbersign ] };
|
||||
key <AE03> { type="FOUR_LEVEL", [ 3, sterling, F3, backslash ] };
|
||||
key <AC08> { type="FOUR_LEVEL", [ k, K, at, degree ] };
|
||||
key <AC09> { type="FOUR_LEVEL", [ l, L, semicolon, dead_caron ] };
|
||||
key <AC11> { type="FOUR_LEVEL", [ apostrophe, asciitilde, colon, dead_acute ] };
|
||||
key <AB07> { type="FOUR_LEVEL", [ m, M, grave, dead_grave ] };
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
// XKB key types for Gemini PDA physical keyboard (Fn+Alt = Super_L / Mod4)
|
||||
|
||||
default partial xkb_types "geminux" {
|
||||
virtual_modifiers LevelThree, Alt;
|
||||
|
||||
type "GEMINUX_LALT" {
|
||||
modifiers = Shift + LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level3;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Fn+Alt (Mod4)";
|
||||
};
|
||||
|
||||
type "GEMINUX_FN" {
|
||||
modifiers = Shift + Alt;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Alt] = Level3;
|
||||
map[Shift+Alt] = Level3;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt+Fn (Mod4)";
|
||||
};
|
||||
};
|
||||
Loaded 100 of 816 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user