oxmc 1e4b73a66c recoveryboot: chain-load into the recovery partition on BCB request
The RPi firmware can't read the BCB in misc, so 'adb reboot recovery' /
factory reset never reached recovery: init writes boot-recovery and
reboots, the firmware ignores the reboot arg, and Android just boots
normally again.

pawlet-recoveryboot is a vendor oneshot (post-fs-data) that reads the
BCB command field (misc offset 0 — the HAL's PawletBootControl lives at
4096, no overlap) and, on boot-recovery, reboots with arg '3': the
firmware's PM_RSTS partition mechanism (same driver path as the
updater's tryboot) boots GPT partition 3 = recovery once. Stock
recovery reads its args from the untouched BCB, clears it when done,
and the next reboot is normal. A /metadata attempt counter clears the
BCB after 2 failed tries so an unbootable recovery can't wedge the
device.
2026-07-15 11:40:46 -07:00
2026-03-21 19:08:46 -07:00
2026-03-21 19:08:46 -07:00
S
Description
No description provided
67 MiB
Languages
C 55.8%
C++ 40.1%
Roff 1.3%
Makefile 1.1%
Assembly 0.7%
Other 0.9%