Home » Tips » Android » 8.0 Android Oreo » How to Check if You’re on Partition Slot A or Slot B?
check active partition slot

How to Check if You’re on Partition Slot A or Slot B?

With the introduction of Android 8.0, Google included a new partition system for the operating system. Instead of having one set of partitions for the OS, the OEM could implement 2. It can be very useful to know if partition slot A or slot B is currently active and you can learn how to check by using this Fastboot command.

So when you download an OTA update, the new firmware for a smartphone with this dual partition scheme is actually being installed to the opposite partition than you’re currently on. So, if you’re on partition slot A then the update will be installed to Slot B (and vice versa).

There are both positives and negatives that go with an OEM implementing this partition system.

The negative is that the OS now takes up twice as much space as it did before. This requires OEMs to increase the internal storage capacity so the user (ultimately) has the same amount of usable space. This also drives up the price and essentially prevents these low-end phones with 8GB of storage to not implement the feature.

There are a number of positive reasons for an OEM to use this system though. Firstly, the updates install in the background so you don’t have to sit at an ‘Installing New Update’ screen for 30+ minutes. These updates can be downloaded and installed even if your usable internal storage is full.

It can also allow you to quickly ‘rollback’ to a previous update in case you’re not a fan of the new one, or ran into a bootloop.

You likely already know if your device currently supports the A/B partition system or not. In any case, I’ll probably do a tutorial about that in the future I have created the tutorial to check and see if your device supports the A/B partition slot setup (and Android’s Seamless System Updates).

Once you figure out if your device supports it, you can follow this guide to check and see what your active partition slot is.

In order to complete the tutorial below, you're going to need some things set up ahead of time. Please follow the how to install ADB and Fastboot tools guide if you haven't done so already. Then you will need to follow the how to enable Developer Mode guide, as well as the tutorial that shows you how to enable USB Debugging Mode.

You will then need to open a command prompt within the within the same folder as your ADB and Fastboot tools and execute the "adb devices" command (without quotes) to start the ADB service. Then connect the device to the PC with a USB cable and you should see the prompt to grant USB Debugging Mode access from the PC the phone is connected to.

Once granted, you can then test this by running the command "adb devices" again (without quotes) in a command prompt or PowerShell to make sure the computer recognizes the device.

Time needed: 10 minutes.

How to Check if Partition Slot A or Slot B is Currently Active?

  1. Make sure the smartphone is connected to the PC with a USB cable

  2. Now boot the smartphone into Fastboot Mode

    This process will vary from device to device but usually involves holding certain button(s) down during the boot cycle.

  3. Open up a Command Prompt, Windows PowerShell, or a Terminal in the same folder as your ADB and Fastboot files

  4. Type out the following command. . .

  5. fastboot getvar all

  6. . . .then press Enter on the keyboard

  7. Wait for a lot of text to finish scrolling and look for the (bootloader) current-slot text

    This should actually be toward the bottom without the need to scroll up.

  8. The letter after this text will be the currently active partition slot for your device

    check active partition slot
    In this instance, my device was currently using partition slot B.


So, as long as you are semi-comfortable with the command prompt then you won’t have any troubles here at all. For absolute beginners, most of the work you’ll be doing is installing ADB and Fastboot tools. I recommend using the Minimal ADB & Fastboot installer as it creates an easy to use desktop shortcut for launching a Command Prompt.

For those who are more comfortable, you can download and extract Google’s basic toolset if you want.

Either way, the goal is to get a Command Prompt, Windows PowerShell, or a Terminal open and in the same directory as your ADB and Fastboot files. With that done, you simply need to execute that fastboot getvar all command and you’re done. From there, just look for the current-slot entry and that’s your answer.

It will either say current-slot:a or current-slot:b. If it lists slot A then that is the slot which is currently active. You will stay in slot A until you either install an OTA update (and reboot) or you manually change the currently active slot with a Fastboot command. I’ll cover this in a future tutorial as well.

Also, if you have TWRP installed then you can just boot into Recovery Mode and check in the Reboot section.

If this tutorial helped you in any way, please consider donating via PayPalPatreon, Cryptocurrency, or GoFundMe. If you can't afford to donate then sharing this on social networks such as Facebook, Twitter, XDA, forums, etc. will also help a lot. I would also appreciate suggestions for Android tips and tutorials that you would like to see in the future.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top