Skip to content

Releases

Lapis v0.5.0 — CardputerZero + uConsole combined release

Choose a tag to compare

@ankurCES ankurCES released this 26 Nov 18:49

Lapis v0.5.0 — combined CardputerZero + uConsole release

This release carries both device images plus the Android companion app(s).

What's in this release

CardputerZero image — lapis-zero-arm64.img.xz

Debian Trixie arm64 for the M5Stack CardputerZero (CM0, 512 MB). Same
monochrome agent OS as before, rebuilt 2026-11-26 with this round's daemon:

  • BLE paired-phone Wi-Fi change (no PIN): an already-paired phone proves its
    api_token over BLE and can wifi_scan / wifi_connect / finish_provisioning
    only. Wrong or revoked tokens count as failed attempts (3-strike lockout).
  • New REST endpoints: GET /v1/wifi, GET /v1/wifi/scan, POST /v1/wifi/connect,
    POST /v1/wifi/forget, POST /v1/wifi/ble.
  • Passwords never on a command line: secured networks get a root 0600
    NetworkManager keyfile + nmcli connection load / up uuid (deleted on failure)
    instead of nmcli … password.
  • Cross-language paired_vector added to tests/vectors/ble_crypto_vectors.json.
  • daemon test suite: 301 passed, 1 xfailed.

flash:

# macOS / Linux
xzcat lapis-zero-arm64.img.xz | sudo dd of=/dev/rdiskX bs=4m
# (Linux: /dev/sdX) — rdiskX is the raw device; confirm it in `diskutil list` first

Windows: flash the .img.xz with BalenaEtcher or Rufus (extract with 7-Zip first).

Lapis-Deck image — lapis-deck-cm4-trixie-arm64.img.xz

Headless Debian 13 trixie arm64 cyberdeck OS for the ClockworkPi uConsole (CM4).
DRM/KMS HUD, SDR, Meshtastic, GPS, NetOps and the same policy-gated agent harness
as Lapis-Zero; no X11.

This round adds:

  • HUD fleet workspace (add a tailnet machine for the agent) and the NET / Wi-Fi
    workspace (scan, join, forget, or let the phone set it).
  • Same BLE paired-phone Wi-Fi flow, shared protocol with Lapis-Zero.
  • HUD screenshot walkthrough in the README.

Android companion app(s)

Both are dev.lapiszero.app (same identity), rebuilt 2026-11-26 with the new
adaptive launcher icon, "Lapis Zero" launcher name and the "Pair a new Lapis Zero"
device card:

  • app-debug.apk — the android/ tree (what prior releases carried).
  • lapis-deck-companion-debug.apk — the uConsoleCM4/companion-android tree;
    this copy has the Wi-Fi-change flow and KVM-hosts / fleet features, and is the one
    to install for the Lapis-Deck (uConsole). Same applicationId, so install one or the
    other, not both.

Checksums (SHA-256)

asset size sha256
lapis-zero-arm64.img.xz 639,160,516 d8678faaf825dda1866fe88cb83876103fa1c810bf0b02bd75ce85ad89ca7354
lapis-deck-cm4-trixie-arm64.img.xz 839,337,592 676c9e33f1a45d3bf0c1b4f4903397ee22008a4dcdb4ac51dfcf562a1e2a12ab
app-debug.apk 51,858,249 869256d3c6cb3a20e2a4f50de2afc4d6bdd9f11d1088caa2eaabf9e4ee1001df
lapis-deck-companion-debug.apk 52,677,912 b5b6a7302116a1037eaa63c1312a9a92b0b598f0584011ec0922d51c7b077c0a

Repository: https://github.com/ankurCES/Lapis-Zero (Apache-2.0, Rust + Python + Kotlin)

Lapis-Deck v0.1.0 — cyberdeck OS for the ClockworkPi uConsole (CM4)

Choose a tag to compare

@ankurCES ankurCES released this 26 Nov 05:19

Lapis-Deck v0.1.0 — cyberdeck OS for the ClockworkPi uConsole (CM4)

A second target for the Lapis project: a standalone Debian 13 trixie arm64 cyberdeck OS
for the ClockworkPi uConsole with a Raspberry Pi CM4 (and the HackerGadgets AIO board). No X11,
no Wayland, no display manager — it boots straight into a keyboard- and gamepad-first HUD on
DRM/KMS.

What's in it

  • HUD (lapis-ui): 1280×720 DRM/KMS interface, keyboard + gamepad first.
  • Control plane (lapis-daemon): 127.0.0.1:8421, Policy Gate, BLE provisioning, hardware, tools.
  • Agent harness (Python): chats, fleet KVM (VNC/SSH), remote CLI harnesses, MCP tools.
  • Radios: SDR (RTL-SDR/SoapySDR/HackRF/Airspy), Meshtastic (AIO SX1262), GPS + PPS + chrony.
  • NetOps: Tailscale (seeded key + tailscale serve), tcpdump/nmap, readsb.
  • Companion app: the existing Lapis-Zero Android app pairs with and controls it, unchanged.

Flash

diskutil list                                   # find the card, e.g. /dev/disk6
os-image/flash.sh /dev/disk6                    # refuses internal disks, verifies after write

Or Raspberry Pi Imager: Choose OS → Use custom → os-list.json.

Checksums

File SHA-256
lapis-deck-cm4-trixie-arm64.img.xz b14f9429102a978c87cf4221fd46e1b20ecbd79c7d0d16c4ed61dfd507580f2c
extracted .img (4,202,692,608 B) 284003d76f451ee599dca0afc3145321631a9b899f89056d3fc763c1e8185168

Apache-2.0. Built 2026-11-25. See uConsoleCM4/ in the repo for source, SPEC.md, and the
hardware checklist.

v0.3.3 — Claude Code token file + Gemini CLI JSON parsing

Choose a tag to compare

@ankurCES ankurCES released this 25 Nov 17:39

Lapis-Zero OS v0.3.3 — Claude Code token file + Gemini CLI JSON parsing

CardputerZero (M5Stack CM0, 512 MB RAM). Daemon-only release; lapis-ui is unchanged from 0.3.2.

What changed

  • Claude Code on a Mac host — its login lives in the login Keychain, which a session over SSH
    can't open, so chats ended "Not logged in · Please run /login". Each run now reads
    ~/.claude/lapis-token (made with claude setup-token, chmod 600) into
    CLAUDE_CODE_OAUTH_TOKEN when it isn't already set. The token never leaves the host, and a
    /login reply now explains how to make one.
  • Gemini CLI now runs with -o json and a new read_gemini parses its answer object past the
    TERM=dumb / "Ripgrep is not available" warnings (and no longer shows them as the ticker line).

Checksum

File Bytes SHA-256
lapis-zero-arm64.img.xz 641,771,016 547393d629daaa64cd384afdb328150097c3ba6be40450f3737fa59d57f75e25
lapis-zero-arm64.img (extracted) 5,368,709,120 81b3634c2573e8f7eae22c1ae5c1025ef727c4e81efb2b0840b52be382732456

Flash it

# macOS (replace with your device, e.g. /dev/disk4)
xz -dc lapis-zero-arm64.img.xz | sudo dd of=/dev/rdisk4 bs=4m

# Linux
xz -dc lapis-zero-arm64.img.xz | sudo dd of=/dev/sdX bs=4M

Windows: use BalenaEtcher or Rufus and select the .xz directly (Etcher decompresses it).

First boot

Insert the card, power on. The device brings up its own Tailscale KVM; find it with
tailscale status and open the lapis-ui or the Android app.

Verified: 285 tests pass, ruff clean, mypy unchanged.

Lapis-Zero v0.3.2 — device screensaver + app chat overhaul

Choose a tag to compare

@ankurCES ankurCES released this 25 Nov 15:41

Lapis-Zero OS v0.3.2 — device screensaver + app chat overhaul

CardputerZero (M5Stack CM0, 512 MB) · Debian Trixie arm64 · Rust UI + Python daemon

Device (image)

  • New idle screensaver: after 20 s idle, the agent head fills the LCD at 12 fps (breathing, blinking, drifting, with a clock). Esc-hold and push-to-talk release still wake it; other keys are swallowed.

Companion app (Android)

  • Sessions as tabs, a "Start a session" row per host, tool logos, user bubbles, Markdown answers, folded tool steps, plain-text previews.

Daemon

  • Version bump → 0.3.2 (no functional change; app works with 0.3.1 daemon).

Flash the image

The image is compressed with xz. Extract, then write to an SD card (≥ 8 GB).

macOS / Linux:

xz -dk lapis-zero-arm64.img.xz
sudo dd if=lapis-zero-arm64.img of=/dev/<your-sd-device> bs=4m

Windows: unzip with 7-Zip, then write with Etcher or Rufus (select the .img).

Insert into the CardputerZero, power on, and wait for first boot (hostname lapis-zero). Pairing / VNC / SSH over Tailscale as described in the README.

M5Stack Imager

os-list.json (below) is the M5 Imager manifest with this release's SHA-256 checksums.

Checksums

File Bytes SHA-256
lapis-zero-arm64.img.xz 639,245,984 68cd2d9781e65967c15f6542226b62f624bcdf85c91b6578ed03641c4aa478d9
lapis-zero-arm64.img (extracted) 5,368,709,120 b8cae34048fe98e71fc9d0572c8fb25eb17d66fef5bfa1c64396a45cc4ee9382

Lapis-Zero v0.1.0 — first release

Choose a tag to compare

@ankurCES ankurCES released this 25 Nov 08:17

Lapis-Zero v0.1.0 — first release

Agentic firmware for the M5Stack CardputerZero (Raspberry Pi CM0, 512 MB RAM).

A handheld that operates your computers for you: it looks at the screen over VNC,
clicks, types, runs commands over SSH, and asks before doing anything risky. There is
no cable between the handheld and the machine it controls.

What's in this release

  • lapis-zero-arm64.img.xz — the flashable SD-card image (Debian Trixie arm64 +
    Lapis-Zero). Decompress, then write to a microSD card (see below).
  • app-debug.apk — Android companion app (BLE provisioning, chat relay, live
    screen frames). This is a debug build signed for development — install with
    adb install app-debug.apk or allow unknown sources on the phone.
  • os-list.json — M5Stack Imager manifest for the OS image.

Flash the image to a microSD card

The image is .xz-compressed. Decompress it, then write the raw image to the card.

On a Mac (or Linux):

# 1. Find your card (look for a removable disk ~32 GB)
diskutil list            # macOS
lsblk                    # Linux

# 2. Decompress (pick one)
xz -d lapis-zero-arm64.img.xz          # → lapis-zero-arm64.img
# or, to keep the .xz:
xz -dk lapis-zero-arm64.img.xz

# 3. Write to the card — replace /dev/rdisk4 (or /dev/sdX) with YOUR device.
#    WARNING: this erases everything on the card. Device name must be the raw disk,
#    not a partition (rdisk4, not rdisk4s1).
diskutil unmountDisk disk4                          # macOS: unmount first
sudo dd if=lapis-zero-arm64.img of=/dev/rdisk4 bs=4m   # macOS raw device
# Linux equivalent:
# sudo dd if=lapis-zero-arm64.img of=/dev/sdX bs=4M conv=fsync

On Windows: use balenaEtcher or
Rufus and select the .img file (decompress the .xz first with
7-Zip, or let Etcher handle it).

On macOS you can also use balenaEtcher or ApplePi-Baker for a GUI.

First boot

  1. Insert the card into the CardputerZero and power it on.
  2. First boot resizes the root filesystem and runs the Lapis-Zero installer — it can
    take several minutes. The screen stays on the splash image; be patient.
  3. Set up your agent host + Tailscale network either on the device (Fn-menus) or via
    the BLE pairing flow in the Android app.
  4. See os/docs/ and the repo README.md for the full setup and pairing guide.

Verification

  • Raw image: 4,571,791,360 bytes (SHA-256 shown in os-list.json).
  • os-list.json SHA-256 of the .xz matches this asset.

Tags

Agentic firmware · CardputerZero · M5Stack · Rust · Python · Kotlin · VNC · SSH ·
Tailscale · LLM · KVM · Raspberry Pi CM0 · edge AI


Apache-2.0. Early release — flash at your own risk; the device has shipped only
recently and this is one of the first custom firmwares for it.