r/embeddedlinux • • Apr 22 '26

project Android Verified Boot for embedded Linux

I built a toolkit that brings AVB (Android Verified Boot) to Embedded Linux.

Current practice: the root hash sits inside an initramfs that's only verified at an earlier stage. Once in RAM there's a multi-second TOCTOU window before the verity/dmsetup stage fires. JTAG, voltage glitch, DMA outside the IOMMU: overwrite the hash and the kernel is happy with it. No crypto broken but device pwned!

avb-utils brings AVB dm-verity-style to embedded Linux shipped on billions of Android devices, with host signing, target verification tools and PQC ML-DSA support.

https://github.com/embetrix/avb-utils

5 Upvotes

10 comments sorted by

View all comments

Show parent comment

0

u/Thin_Dragonfruit2254 Apr 22 '26

Yeah, I read it, made it work, was fun..I also implementend TEE on some boards with Rockchip using Das U-boot, also fun.. watch the video: it's is quite enlightening.