Skip to content
Nonbiri

iKKO MindOne · Snap Keyboard & DAC Case

Kumi

Custom Rust firmware, studio DSP and hardware SDK for the iKKO Snap keyboard & DAC case.

The iKKO Snap Case adds a physical QWERTY keyboard and a Cirrus Logic CS43198 Hi-Fi DAC to the MindOne, powered by a SpaceTouch SPV5048 RISC-V chip. Its factory firmware resets sound settings on sleep and locks out custom key layers. Kumi replaces it with source-available Rust firmware, dual A/B slots, a 10-band parametric EQ, and a documented control protocol — with a full backup so you can return to stock at any time.

Released · updated

homeiKKO / MindOneQ1W2E3R4T5Y6U7I8O9P0ASDFGHJKL;⇧ZXCVBNM⌫?123•⊕Fn.↵SPV5048 · CS43198 · 500 mAhMindOne 4.02" bayPhone-facing USB-C plugData + Audio (connect PC here)36-key QWERTYMatrix MCU → UART 0x4B3.5 mm outputCS43198 DACBottom USB-CCharging only — no dataREAR · CUTOUT & DAC BAYFRONT · DOCKED MINDONE
Fig. 02 — iKKO Snap Case rear & front elevation (connect a PC to the phone-facing plug, not the bottom port)
  • Kumi 1.2.0

    Signed A/B firmware with anti-rollback, OPSP-1 host pairing & hardware-gated BootROM, no-root Android app (13 UI languages) + 20-language Strip IME.

  • 384 kHz · DSD256 · Live RTA & LUFS

    CS43198 DAC, two-layer EQ (AutoEQ + 10-band PEQ + 5-band Tone), 24-band post-DSP RTA, True-Peak/LUFS Auto-Level, crossfeed, DC + AC impedance.

  • 100% reversible

    Full 4 MiB factory flash backup verified twice before a single byte is written.

Documented from the silicon up

One documented protocol from the silicon up: Android app, desktop CLI, browser WebUSB and a reusable Rust SDK.

Every hardware path — the SPV5048 RISC-V core, CS43198 I2C control, asynchronous UAC2 audio up to 384 kHz and DSD256, 4 MiB flash A/B slots, and the UART protocol to the separate keyboard MCU — was worked out on real hardware and documented so other owners and researchers can keep improving the case or build their own non-commercial tools.

Hardware layout & ports

Two USB-C ports, one data path

When the case is snapped onto a MindOne phone, data and audio flow through the upper phone connector automatically.

Connecting to a computer

The case’s bottom USB-C port is charging-only — it does not connect to the SPV5048 controller. To talk to the case from a Mac, Windows or Linux PC, attach a female-to-male USB-C adapter or a USB hub to the phone-facing USB-C plug (the connector that normally inserts into the MindOne).

Browser WebUSB configurator

Configure Kumi in the browser

Once Kumi firmware is on your case, Chromium browsers on both desktop and Android can configure sound, research EQ presets, headphone impedance and key setups directly over WebUSB — no drivers, no root.

Not connected — plug in a Kumi case or open Demo preview.

EnvironmentHow it works
Kumi firmware · Desktop Chrome / Edge / BraveFull live WebUSB configurator right on this page (audio, EQ presets, DSP, impedance, keys, telemetry). Connect via the case’s phone-facing USB-C plug using a female USB-C adapter or USB hub.
Kumi firmware · Android Chrome (on MindOne)Works directly in Chrome on the phone over WebUSB with no root and no app needed — Kumi exposes a dedicated vendor interface (FF/4B/01) with MS OS 2.0 WinUSB descriptors (WebUSB landing-page BOS is opt-in via `--features webusb`).
Stock firmware · Android phone (first install)Android browsers do not support WebHID, so stock firmware cannot be flashed from a phone browser. Use the Snap Case Android app — it uses standard Android USB Host with no root, backs up the factory flash, and installs Kumi in ~3 minutes.
Stock firmware · Desktop computerUse the `kumi` CLI (`kumi --usb brom backup` / `install`) connected to the phone-facing USB-C plug via a USB hub or female USB-C adapter. Safari and Firefox do not support WebUSB.

Power efficiency & firmware architecture

Engineered for battery life and safety

01

4-tier workload DVFS (30–360 MHz)

30 / 90 / 180 / 360 MHz + 1.4 V external DC-DC

Drops to 30 MHz during USB suspend, idles and plays bit-perfect 44.1–48 kHz PCM at 90 MHz, steps to 180 MHz for DSP ≤ 96 kHz / DoP / 88.2–192 kHz, and only clocks 360 MHz for high-rate DSP or 352.8–384 kHz / Native DSD.

02

99.5% PLIC WFI idle sleep

Interrupt-driven wakeups · zero busy polling

Between USB and UART events, the Andes D25F core sleeps in hardware WFI (~99.5% measured live on hardware), waking only on PLIC timer/USB/UART interrupts with L1 I-cache and hot loop pinned in zero-wait-state ILM.

03

Deep DAC & I2S clock shutdown

CS43198 RCO sleep + CMU_CLKEN0 gating + 1 Vrms LV

When no music is playing, Kumi puts the CS43198 into RCO deep sleep, cuts analog rails and audio PLL, gates off the SPV5048 I2S clock block, and uses the true 1 Vrms low-gain output stage (HP_OUT_CTL_1 = 0x11) in Battery Saver mode.

04

Hardened release slots + separate lab build

Production ("slot") vs Lab ("slot-lab") · anti-rollback

Production slots expose only safe telemetry and crash logs: `dev/unlock`, `dev/peek`, `dev/fault`, `dev/poke`, raw I2C and UART mirroring stay disabled (`Unsupported`). Monotonic generation anti-rollback and `FLAG_LAB` separation block downgrades or lab images on release bootloaders, and entering BootROM service mode requires holding `Shift + Backspace` on the case keyboard for 2 s.

Why switch from factory firmware

Stock vs Kumi

AreaStock firmwareKumi firmware
Settings after sleepLost every time the case sleeps after 3 minutes.Saved in a power-fail-safe flash journal and restored automatically on wake.
Equalizer & DSPNo companion app or user-facing audio controls.Two-layer RV32F EQ (AutoEQ headphone base + 10-band PEQ with 16 presets + 5-band Tone), live 24-band post-DSP RTA spectrum, EBU R128 LUFS / 4× True-Peak & optional Auto-Level, ISO 226 dynamic loudness, Subsonic HPF, LR2 Mono-Bass, crossfeed, soft limiter, L/R swap and volume limit.
Headphone diagnosticsNone.CS43198 HPLOAD DC + 1 kHz AC impedance measurement, L / R / Phase 1 kHz test tones, Class-H power modes (including 1 Vrms low-gain LV) and Line-Out.
Keyboard customizationFixed matrix; remapping requires an Android Accessibility workaround.4 layers, Tap/Hold keys, sticky modifiers, Caps Word, 8 key combos (chords), HID mouse keys, 8 × 16-step macros, hardware HID Consumer double-tap media gestures (works screen-off & on PC) and 9 case hotkeys inside the case.
Power efficiencyFixed clock and unoptimized busy loop.4-tier 30/90/180/360 MHz DVFS, 1.4 V DC-DC, ~99.5% WFI idle sleep, deep DAC & I2S shutdown, auto-UAC on jack, and optional stay-awake while USB is active.
Updates & safetyWindows vendor tool; single image.Ed25519-signed A/B updates with monotonic anti-rollback and FLAG_LAB separation, release-locked dev endpoints, hardware Shift + Backspace BootROM guard, emergency keymap passthrough, hardware watchdog and full return to stock.

How the hardware works

Inside the Snap Case

Everything we have measured on the SpaceTouch SPV5048 board is documented openly — memory windows, I2C DAC registers, flash layout, boot ROM service protocol, and the UART link to the keyboard MCU — so anyone can write their own firmware or companion app.

Remaining open hardware questions are documented honestly too: the separate keyboard matrix MCU’s internal firmware and the 500 mAh charger chip’s I2C/fuel-gauge bus have not been identified yet, so battery percentage stays reported as unavailable rather than guessed.

Controller
SpaceTouch SPV5048 (Andes D25F RV32IMCF, 360 MHz Core PLL, DVFS 30/90/180/360 MHz, external 1.4 V DC-DC, ~99.5% PLIC WFI idle)
Memory map
64 KiB ILM at 0x0000_0000 (hot loop & DSP) · 256 KiB DLM at 0x0010_0000 (data/stack) · 256 KiB RT40 SRAM at 0x4000_0000 · Flash XIP at 0x4800_0000
Flash A/B map
4 MiB GigaDevice NOR (JEDEC C8 65 16): stage0 (0x000000) · boot journal (0x010000) · Slot A (0x040000, 1 MiB) · Slot B (0x140000, 1 MiB) · crash log (0x240000) · preserved stock copy (0x300000) · settings journal (0x3E0000)
Audio DAC
Cirrus Logic CS43198 on I2C0 at 0x33 (ID 43 19 80; 0x31 absent), I2S0 + DMA ch2, async UAC2 44.1–384 kHz (16/24/32-bit), DoP64/128, Native DSD64/128/256, LRADC0 jack sense
USB interfaces
MUSB High Speed (480 Mb/s) VID:PID 1209:0001 — combined HID keyboard + consumer + optional 3-button mouse/wheel (Report IDs 1–3), UAC2 audio (auto-enabled on jack), vendor postcard-rpc (class FF / subclass 4B / proto 01, bulk 0x03 OUT / 0x82 IN) + MS OS 2.0 WinUSB (opt-in WebUSB BOS), keyed SipHash-2-4 serial
Keyboard MCU
Separate unidentified matrix MCU speaking 0x4B framed packets over UART (relayed HID reports cmd 0x64 + media/status queries); immutable SPV5048 Boot ROM service mode 0666:0888 (512-byte BUXX protocol)
USB-C ports
Phone-facing male USB-C plug carries full SPV5048 USB 2.0 data + power. Bottom USB-C port is charging-only (500 mAh battery / phone PD pass-through; no SPV5048 data lines).

SDK & building your own apps

Shared crates, zero duplication

01

kumi-icd

no_std · postcard-rpc schema

Single source of truth for all 55 RPC endpoints (+ ping), 4 event topics, data structures, validation limits, and packet framing shared across firmware, host tools and web clients.

02

kumi-client

Rust SDK · libusb / adb / virtual case

Typed Rust client for every Kumi capability: audio, parametric EQ, keymap, telemetry, live event stream, and Ed25519-signed A/B updates — plus an in-process virtual case for offline testing.

03

kumi-flasher & kumi-buxx

Pure Rust · zero JNI

Immutable boot ROM protocol (0666:0888), double-verified 4 MiB flash backup, power-fail-resumable install plans, and bit-for-bit return to factory firmware.

04

kumi-jni & WebUSB

Android cdylib + browser protocol

Builds libkumi_jni.so with a pinned JSON contract (contract.json) for Android apps, while the vendor FF/4B/01 bulk interface lets any Chromium web app talk directly to the case with zero drivers.

Every host tool — the Android companion app, the desktop kumi CLI, the Unicorn emulator suite, and this browser configurator — speaks the same versioned postcard-rpc schema defined once in kumi-icd. Source code and signed releases are live at github.com/iasnezhkov/kumi.

License & collaboration

Non-commercial license

Kumi firmware, the Snap Case Android app, the Rust SDK, the WebUSB configurator and hardware documentation are source-available under the PolyForm Noncommercial License 1.0.0. Free for personal, hobbyist, educational and non-commercial research use; use in commercial products or commercial offerings is not permitted.

Commercial use & inquiries

Interested in commercial licensing, OEM integration, custom hardware/firmware work or collaboration? Get in touch directly.

Disclaimer

Everything on these pages is provided as is, with no warranty of any kind, express or implied. Unlocking a bootloader, flashing partitions and running the tools linked here can erase all your data and permanently disable your phone. You do this at your own risk and on your own responsibility. The author accepts no liability for any loss or damage, to your device or otherwise, arising from following anything written here.

A personal research project on a device bought at retail, describing what happened on one unit. Not affiliated with, endorsed by, or supported by iKKO or MediaTek.