In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Xiaomi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .

Mi A2/Lite

[Tips] [ifelixit] Switching between Partitions in A/B Seamless System

2020-03-10 11:55:59
67531 154

Hei Android One users,

With the recent Android 10 update for Mi A2 Lite was mostly welcomed with joy for most of the users meanwhile for some a disaster. Numerous users have feedback black screen, not able to boot even to the most conveniently used term as bricked. Well, A/B seamless updates ensure a workable booting system remains on the disk during an over-the-air (OTA) update.

About A/B system
A/B system updates use two sets of partitions referred to as slots (normally slot A and slot B). The system runs from the current slot while the partitions in the unused slot are not accessed by the running system during normal operation. This approach makes updates fault resistant by keeping the unused slot as a fallback: If an error occurs during or immediately after an update, the system can rollback to the old slot and continue to have a working system.

Advantages of A/B partitions
Each slot has a bootable attribute that states whether the slot contains a correct system from which the device can boot. The current slot is bootable when the system is running, but the other slot may have an old version of the system, a newer version, or invalid data. The advantage of having A/B partitions include being able to switch between slots or partitions should you get a bootloop, you can always revert or rollback to an older update or system on the other partition. This is really useful  and effective in the case to avoid poor performance due to bugs and even massive battery drain while waiting for the upcoming updates.

Required tools
Minimal ADB and Fastboot v1.4.3 and install it on your PC/Laptop, preferably on C\:Drive and choose system-wide installation.

Switching or rollback between the partitions
  • Hold down Volume Down + Power button, simultaneously to enter Fastboot mode
  • Plug your device via USB cable to your PC/Laptop
  • Launch the Command prompt with administrative privileges, right-click the result and then click “Run as Administrator.”
  • To find out the Active partition, type the following command:-

fastboot getvar all

then press Enter, it should return "(bootloader) current-slot:x" value.
  • After knowing the Active slot, just switch to the other, type the following command:-

fastboot set_active a
fastboot set_active b
fastboot set_active other

  • It should return "OKAY" once successful
  • Next Reboot your device.

That's all to it. Even with the worst-case scenario, it is still manageable just by changing or switching between partition slots, be it stock or custom ROM.

"Solving with simplicity"


Number of participants 3 Experience +3 Pack Reason

View Rating Log

2020-03-10 11:55:59
Favorites29 RateRate

Rookie Bunny

massox | from Mi A2


2020-03-10 12:13:29
How long will it take to return after fastboot?
2020-03-10 13:09:10

Super moderator

feds64 Author | from Mi Note 10


How long will it take to return after fastboot?

Less than 5 min depending on units.
2020-03-10 14:04:34
feds64 replied at 2020-03-10 12:04:34
Less than 5 min depending on units.

do you have any video tutorial? that would help me a lot.....
2020-03-10 14:19:00

Super moderator

feds64 Author | from Mi Note 10


do you have any video tutorial? that would help me a lot.....

Maybe next time.
2020-03-10 14:22:53

im trying it .. but maybe im not doing  it on a right way ... thats why its not working
2020-03-10 14:33:03

Super moderator

feds64 Author | from Mi Note 10


im trying it .. but maybe im not doing  it on a right way ... thats why its not working

Did you manage to enter Fastboot? Where did you failed?
2020-03-10 14:40:58

Master Bunny

Rochygl | from app


What's up!
Rollback or not rollback?
Rollback Warning for Mi A2/A2 Lite/A3 after Upgrading to Android Q
2020-03-10 16:16:15
Does this erase the data?
2020-03-10 18:53:57


YES if the Factory Reset is required.
2020-03-10 19:27:11
<<<-->>> Mi A2 <<<-->>>
please sign in to reply.
Sign In Sign Up


Super moderator

3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
New Home
Cast Away
20K Mi Fans
Android Q
Mobile Photography Lover
70K Mi Fans
Eid ul-Fitr Mubarak
Brain Teaser
100K Mi Fans
Selfie Day
Happy July
Mi 9T
Global Fans
My Country My Pride
Mi 9 SE
Check in
Profile Medal
MIUI 9th Birthday
Global Community
Dirgahayu ke-74 Indonesia
80K Medal
wallpaper votes
Redmi 7A
better together slogan
Global Community
device poll
better together with friends
games discuss
Mid-Autumn Festival
200K Mi Fans
400K Mi Fans
300K Mi Fans
500K Mi Fans
step up
close up
All-Star Battle
Best Photo
Answer Mi #3
Redmi Note 8 Series
Design Together
10 years
K2K #3
design wallpaper
First Anniversary
Mi Gamers' Medal
10th mi fan stories
K2K #4
10 years
Mitu Shares Vol.1
Music Medal
Valentine's Day Medal
Xiaomi POP Run Ranking 1-100
Spider-Man Online Event
earth day

Read moreGet new

Xiaomi Comm APP

Stay updated on Mi Products and MIUI

Copyright©2010-2021, All Rights Reserved
Quick Reply To Top Return to the list