FASTBOOTPartitionsCaution
fastboot set_active <a|b|other>
Switch active boot slot on A/B device
Caution RequiredIf the target slot does not contain valid, bootable firmware, the phone will fail to boot until switched back.
What It Does
Changes the active bootable slot on dual-slot A/B partition architectures. Critical for recovering from a bad update on the other slot.
Command Syntax
Terminal
$
fastboot set_active <a|b|other>Usage Examples
$
fastboot set_active a$
fastboot set_active b$
fastboot set_active otherOptions & Flags
| Flag / Parameter | Description |
|---|---|
| other | Toggles active slot to whichever slot is not currently active. |
OFFICIAL COMPANION GUIDE
Flashing Generic System Images (GSI) / Project Treble?
Learn how to enter fastbootd, erase and resize logical dynamic partitions, and disable dm-verity with the complete handbook by @mkr-infinity:
Prerequisites & Requirements
- A/B dual-slot hardware architecture
Related Commands
Found an error or missing flag for
fastboot set_active <a|b|other>?Submit a correction or request additional examples on GitHub.
Having issue? Contact @mkr_infinity
Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.