The protocol specification, and the primary source for chapter §3.2. It is short enough to read in twenty minutes and doing so removes most of the confusion in this topic. Everything else on this page is commentary on it
system/core/fastboot/device/ (AOSP)
fastbootd — the half of the protocol whose source you can actually read. commands.cpp is one handler per verb; variables.cpp is the authoritative getvar table
system/core/fastboot/fuzzy_fastboot/ (AOSP)
Google's conformance and malformed-input suite for OEM bootloaders. Effectively a published list of the things implementations get wrong. Needs a device to run; reads fine without one. The highest-yield hour available on this subject
AvbVBMetaImageHeader and the two flag constants — primary source for §3.8 and §4.3. All fields big-endian; flags is a uint32 at offset 120
external/avb/libavb/avb_vbmeta_image.c
avb_vbmeta_image_verify() — the hash the chapter recomputed against a real image and got a match for
external/avb/libavb/avb_slot_verify.c
The slot verification entry point a bootloader calls
external/avb/avbtool.py
The host-side AVB tool. Readable Python, and the fastest route to genuinely understanding AVB — the format and the verification logic in one file. avbtool info_image --image vbmeta.img
external/avb/README.md
AVB's own overview, including the rollback-index design
Platform integrity validation — the category the app-side findings in §5.3 belong to
MASVS-RESILIENCE-2
Anti-tampering. An unlocked bootloader is the substrate every tampering technique in this repository is built on
MASVS-STORAGE-1, MASVS-STORAGE-2
Data at rest, protected by the factory-reset guarantee in §3.9
MASVS-CRYPTO-1
Key management and attestation
MASTG device-integrity and root-detection tests
The practical tests
MASVS v2 categories are stable; MASTG test identifiers have been renumbered between
editions. Cite the category confidently and look the test number up at the time of writing
rather than repeating one from memory — a stale ID reads as carelessness in a report.
71-OWASP-Mobile carries the current mapping.
This chapter names no CVE identifiers, deliberately. Bootloader vulnerabilities are real,
published, and per-vendor per-generation; an identifier quoted from memory is worse than an accurate
description of the class. §5.4
describes five classes; look the identifiers up when you write the report.
Where to look, in order of usefulness:
Source
What it carries
Qualcomm Product Security bulletins
Bootloader, XBL and TrustZone issues, with Qualcomm's own identifiers alongside CVEs
Samsung Mobile Security bulletins
SVE identifiers, including bootloader and Knox items
Android Security Bulletin, Bootloader and Kernel components sections
Monthly, with severity and affected versions
MediaTek product security advisories
BROM and preloader issues
system/core/fastboot/fuzzy_fastboot/
Not a CVE list, but a published list of the failure modes that motivated a test suite. Read the test names
Conference tracks worth searching rather than any single talk: Black Hat and DEF CON have carried
bootloader and secure-boot research for years, as have OffensiveCon, Recon and Ekoparty. Search by
chipset generation rather than by talk title — this material ages by silicon revision, and a talk
about a 2018 SoC tells you little about a 2025 one.
Every raw measurement the chapter is built on, verbatim, plus an explicit list of what was deliberately not run and why. Read this before trusting any number in the README
Owns rooting, boot-image patching and magiskboot. This chapter owns the transport and the state machine that make patching possible. Its lab 01 is where the destructive procedure lives