FASTBOOTDevice InformationSafe
fastboot getvar current-slot
Check active A/B slot partition
What It Does
Returns which partition slot (either "a" or "b") the device is currently configured to boot from on A/B dual-slot devices.
Command Syntax
Terminal
$
fastboot getvar current-slotUsage Examples
$
fastboot getvar current-slotPrerequisites & Requirements
- A/B dual-slot compatible device in fastboot mode
Related Commands
Found an error or missing flag for
fastboot getvar current-slot?Submit a correction or request additional examples on GitHub.
Having issue? Contact @mkr_infinity
Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.