All projects

Open source · 2026

Lenovo Tab M10 (3rd Gen) Home Assistant Kiosk

Lenovo Tab M10 as a Home Assistant wall panel

The Lenovo Tab M10 3rd Gen (TB328FU) was meant to join the fleet next to the Weelikeit F83W and the Blackview Tab90. Same plan as always: a cheap tablet showing a Home Assistant dashboard, controlled over MQTT. This time I wanted a pure Android 12 GSI. It turned into a full day of boot loops — and exactly one properly earned "BAM".

Getting there

  • Hardware: Lenovo TB328FU (Wi-Fi), Unisoc T610 / UMS512, Android 12, A/B with dynamic partitions
  • Bootloader: fastboot flashing unlock returns unknown command; the way in is the Unisoc BootROM exploit (CVE-2022-38694)
  • A wall of boot loops: every GSI looped – different images, Android 12/13/14, patched vbmeta, empty vbmeta, deleted product, patched vendor_boot. Each round meant another LMSA restore
  • Forensics without a UART: spd_dump reads uboot_log and sysdumpdb straight from eMMC; the loop duration (2 s vs 10 s) tells you whether the bootloader or init is failing; avbtool shows which key signs vbmeta

The breakthrough

The stock bootloader enforces Lenovo's own AVB key, so any modified vbmeta loops in two seconds. But leaving vbmeta stock sets veritymode=enforcing, and an unsigned GSI fails verity in ten seconds. The way out was hiding in the vendor: Lenovo baked Google's GSI keys into /vendor/avb/, so the official, signed Android 12 GSI passes verified boot untouched – exactly as Google documents. Leave vbmeta stock, flash only system, wipe userdata once, and it boots straight to a pure Android 12.

What I took away

Do not fight verified boot – work with it. The device told me the answer twice: the 2-versus-10-second loop pointed at the stage, and the bootloader log literally printed veritymode=enforcing. Measuring beat guessing, again. And the ceiling is Android 12: only the keys up to s-gsi are baked in, so a newer GSI will never verify. For a Kite kiosk on Home Assistant, A12 is plenty.