Contents of the docs
Lenovo Tab M10 (3rd Gen) Home Assistant Kiosk · Docs
Troubleshooting
Reading Unisoc boot loops without a UART: the 2-second versus 10-second rule, the init_user0_failed recovery and what uboot_log and sysdumpdb reveal.
Most of the day spent on this device went into boot loops. Here is how to tell them apart and read what little the hardware gives you without a soldered UART.
The duration tells you the stage
- Loop under 2–3 seconds (logo flashes, instant reboot) → the bootloader (LK) blocks before the
kernel starts. A signature/AVB problem in
vbmeta,bootorvendor_boot. On this device this means a modifiedvbmetathat the Lenovo-keyed bootloader rejects. - Loop around 10–15 seconds (logo stays up) → the kernel started and Android
initcrashes. Verity, mounts, SELinux or Treble. On this device: a GSI that fails dm-verity because it is not signed with the baked GSI key. - Recovery with
init_user0_failed/ NEED TO WIPE USERDATA → almost there. The system booted; only the primary user's data could not be initialized. Wipe userdata.
Reading the logs without a UART
adb is dead during a loop and the signed stock FDL2 refuses read_mem, but spd_dump can read
partitions directly from eMMC. Two are useful:
uboot_log— the bootloader log. It showsg_sprd_vboot_cmdline, includingandroidboot.veritymode=enforcing, and the AVB result per partition.sysdumpdb— the Unisoc crash dump. Only populated on a real kernel panic; a clean init-triggered reboot leaves it empty (Not exception mode. do nothing).
# in the spd_dump FDL session, read into a folder:
r uboot_log r sysdumpdbThen grep the dumps for strings:
strings -n 6 uboot_log.bin | grep -iE 'veritymode|avb_slot_verify|vbmeta'
strings -n 6 sysdumpdb.bin | grep -iE 'panic|init|selinux|mount'Checking the signing key
avbtool reveals which key a vbmeta or a GSI is signed with:
python3 avbtool.py info_image --image vbmeta_a.bin # Public key (sha1), chain descriptorsOn the TB328FU the stock vbmeta is signed with Lenovo's own key, not the AOSP test key — which is why
a self-signed vbmeta never boots.
Tip
If you only remember one rule: do not touch vbmeta. Everything that failed here touched it.