Hardware Overview & Zero-Blob Model
Every hardware CLI under /usr/local/bin/ is preinstalled in the Debian rootfs image and redistributes zero proprietary Android /vendor or super binaries.
Zero-Blob Runtime Architecture
Section titled “Zero-Blob Runtime Architecture”How do Tensor Edge TPU, Mali-G78 OpenCL, the 4-lens camera ISP, AoC Context Hub sensors, and BCM47765 GNSS work on pure Debian glibc Linux without Android init, Binder servicemanager, or redistributed vendor blobs?
- Read-only
/vendormount: On boot,mount-vendor.serviceparses the device’s ownsuperpartition (AOSPliblpSHA-256 verification) and mounts/dev/mapper/headless-vendorread-only at/vendor. - Ephemeral bionic extraction (
headless_bionic.py): Hardware CLIs that talk to vendor bionic libraries (gpu-ctl,sensors-ctl,gnss-ctl) share/usr/local/lib/headless_bionic.py, which extractslinker64,libc.so,libm.so,libdl.so(via RO loop mount ofcom.android.runtime.apex) and 9 tiny/system/lib64support libs (~490 KiB via temporary ROdmsetupofsystem_<slot>) into/run/headless-bionicwith atomic generation symlinks andflocklocking. (camera-ctlandtpu-ctlmanage their own isolated extractors under/run/headless-cameraand/run/headless-tpu.) - Open-source Binder-free C shims & workers: Pure-C arm64 workers and tiny shim
.solibraries compiled fromtools/{tpu,camera,gpu,sensors,gnss}/live in/usr/local/lib/headless-*/and run inside private mount namespaces (unshare -m) so the Debian host filesystem stays spotless. - Native kernel subsystems everywhere else: Exynos MFC video encode/decode, SMFC JPEG, ALSA stereo audio, CS40L25A haptics, BCM4389 Bluetooth, ST21NFC, Qorvo DW3000 UWB, VL53L3 ToF, TI LM3644TT torch, Renesas P9412 Qi wireless power, ODPM power telemetry, buttons, and
/dev/kvmtalk straight to Linux kernel interfaces with zero bionic dependency.
Single-Command Hardware Dashboard (hw-status)
Section titled “Single-Command Hardware Dashboard (hw-status)”Run a non-invasive health audit across all subsystems anytime (works without sudo):
# Human-readable matrixhw-status
# Machine-readable JSONhw-status --jsonOn GS101 (raven / oriole), hw-status checks all 22 subsystems. On non-GS101 SoCs, it automatically switches to a 12-subsystem portable matrix (kvm, hwrng, wifi, ethernet, bluetooth, drm_gpu, v4l2_media, audio, usb_typec, battery, haptics, buttons) plus device metadata from /etc/headless-phone/device.conf.
22 / 22 Verified Subsystems (Pixel 6 Pro raven)
Section titled “22 / 22 Verified Subsystems (Pixel 6 Pro raven)”| Subsystem | Hardware / Kernel Node | CLI Tool | Verified Live Result |
|---|---|---|---|
| Edge TPU (NPU) | Tensor Abrolhos (/dev/abrolhos) |
tpu-ctl |
On-device TFLite → DGC; MobileDet COCO 1.24 ms TPU / 3.3 ms pipe (~300 FPS, 0.31 W) |
| GPU Compute | ARM Mali-G78 MP20 (/dev/mali0) |
gpu-ctl |
OpenCL 3.0, 20 CUs @ 848 MHz, 11.5 GiB global mem, 549.7 GFLOPS FP32, 21.5 GB/s SAXPY |
| Video Decode | Exynos MFC (/dev/video6) |
mfc-decode |
Zero-copy DMA-BUF H.264/HEVC/VP8/VP9/AV1: 464.7 FPS 1080p H.264, 156.6 FPS 4K HEVC |
| Video Encode | Exynos MFC (/dev/video7) |
mfc-encode |
Zero-copy DMA-BUF H.264/HEVC/VP8/VP9: 251 FPS 1080p H.264, 84.8 FPS 4K HEVC (0.67 W) |
| JPEG Codec | Exynos SMFC (/dev/video12) |
hw-jpeg |
V4L2 USERPTR hardware JPEG: 720p 3.7 ms enc / 4.6 ms dec, 4K 28.5 ms enc |
| Cameras (ISP) | 4 sensors (/dev/lwis-*, APEX) |
camera-ctl |
Wide (0.2), Ultrawide (0.3), 4× Tele (0.4), Front (1); 2-cam stream-multi, night mode, manual focus |
| AoC Sensors | Context Hub (/dev/acd-com.google.usf) |
sensors-ctl |
38 sensors: IMU, barometer, magnetometer, light, proximity, temperatures |
| Stereo Audio | Dual CS35L41 + 3× MEMS mics | audio-ctl |
google,aoc-snd-card MMAP playback & capture; 880 Hz loopback 498.2× SNR |
| Haptics (LRA) | Cirrus CS40L25A (/sys/class/leds/vibrator) |
haptics-ctl |
11 ROM waveforms + timed buzz/patterns with fail-safe activate=0 teardown |
| Bluetooth 5.2 | Broadcom BCM4389C1 (/dev/ttySAC16) |
bt-ctl |
3 Mbps FastDownload (BCM.hcd in 1.69 s), native Linux hci0 (bt-init.service) + BLE scan |
| NFC Reader | ST21NFC (/dev/st21nfc) |
nfc-ctl |
Zero-blob pure NCI 2.0 init & NFC-A/B/F/V tag polling |
| UWB (8 GHz) | Qorvo DW3000 (wpan0 / phy0) |
uwb-ctl |
6LoWPAN IPv6 mesh (2.13 ms RTT on ch 9 @ 7.99 GHz), FiRa region, 136 calibration keys |
| Dual-Freq GNSS | Broadcom BCM47765 (/dev/ttyBCM, 1PPS) |
gnss-ctl |
L1+L5 multi-constellation NMEA streaming + hardware bbd_pps 1PPS |
| Laser ToF | ST VL53L3 (/dev/ispolin_ranging1) |
tof-range |
30 Hz multi-object millimeter ranging with sigma, SPAD, signal/ambient MCPS |
| Dual-LED Torch | TI LM3644TT (/dev/lwis-flash-lm3644) |
flashlight |
Independent LED1/LED2 mA brightness, blink, fail-safe auto-off on close |
| Qi Wireless | Renesas P9412 (p9221 8-003c) |
wireless-power |
Qi RX telemetry + Reverse Battery Share TX (rtx on/off with SOC guard) |
| Virtualization | ARM64 EL2 KVM (/dev/kvm) |
90-headless-hw-access.rules |
KVM_API_VERSION=12 (kvm group 0660) |
| Power & Buttons | s2mpg10/11-odpm, gpio_keys, hwrng, Wi-Fi 6, GigE |
power-metrics, hw-buttons |
16-rail mW telemetry + Prometheus; Power/Vol+/Vol- short & long press |