AB_OTA_UPDATER := true AB_OTA_PARTITIONS := boot system vendor BOARD_USES_RECOVERY_AS_BOOT := true BOARD_SUPPORTS_AB_SLOTS := true
To understand the error, you have to understand .
Add a build assertion:
Download the latest SDK Platform-Tools directly from Google’s Android Developer site.
After disabling, you can flash using legacy partition names (e.g., boot instead of boot_a ). Not recommended for production, but useful for recovery. -bootloader- slot-suffixes not found
grep -rn "BOARD_BOOTLOADER_SLOT_SUFFIXES\|slot-suffixes" BoardConfig.mk device/*/
Without BOARD_SUPPORTS_AB_SLOTS , the build will not generate slot suffixes. Not recommended for production, but useful for recovery
BOOTLOADER_PARTITION_NAME := bootloader$(BOARD_BOOTLOADER_SLOT_SUFFIXES)
Some modern devices (like the Google Pixel or newer Xiaomi phones) have two "Fastboot" modes: The standard bootloader screen. environment when a user attempts to perform A/B
environment when a user attempts to perform A/B slot-related commands on a device that does not support the A/B partition system 1. Understanding the Error Android devices use one of two partition schemes: A-only (Legacy/Traditional): The device has a single set of partitions (e.g., one ). There are no "slots". A/B (Seamless Updates):
(bootloader) current-slot: a (bootloader) has-slot:boot: yes (bootloader) slot-count: 2