Social

Resources

The new Xiaomi Android One device, the Mi A1, is turning out to be a very interesting device. This is the first device from Xiaomi that does not run MIUI out of the box. Instead, the device runs stock Android with Google Apps and a few Xiaomi add-ons, providing a Pixel-like experience at a price range and hardware package that ordinarily should not expect the same.

As users on the 4pda.ru forums found out, and as we can confirm with our own review unit, the Xiaomi Mi A1 indeed comes with A/B partition support.

What this means is that the Xiaomi Mi A1 comes with two set of partitions, where one set is utilized when the device is active, while the other set comes into play whenever a new update is to be applied. New updates are downloaded and installed onto the inactive slots while the active slots continue to do their work in keeping the phone switched on and working. When the update is finished installing, the device reboots to switch the active slot with the inactive-but-updated slot to give the user a seamless upgrade experience with little to no device downtime except a simple reboot. Since the userdata partition is shared across the slots, all downloaded apps and other personal user data remain available for either slot to use.

A/B partitions have their own set of pros and cons. Having an extra set of partitions acts as a backup in case things go wrong during an update. If the device is unable to boot into an updated slot within a few attempts, it will reboot into the older slot and the user can continue using his device while the update is retried. The seamless update experience also benefits end users who no longer have to stare at the “Android is Upgrading” screen for minutes as they wait for the update to apply.

On the other hand, A/B partitions are essentially two sets of partitions that exist when only one is really needed most of the time. As a result, the end user gets a lower amount of storage since an additional part of the phone storage is reserved for these extra partitions. This may not be a problem on devices with a large amount of internal memory as A/B partition changes need only some extra space (as the need for more space gets adjusted against the removal of the now-obsolete cache and recovery partitions).

Additionally, if you are curious to see the changes the Xiaomi Mi A1 brings to the table, Xiaomi has posted the full system image for the device on its website. The system image available is for version N2G47H.7.8.23 (Android N) and comes in at 1.28GB in size.

The Xiaomi Mi A1 goes on its first sale on 12th September in India.

What are your thoughts on the Xiaomi Mi A1 and its use of Nougat’s A/B partitioning layout for seamless updates? Let us know your thoughts in the comments below!

About Author

Commerce and Law graduate with a passion for all things Android, Aamir frequently helps people get the best out of their budget smartphones through generous use of custom roms and kernels. He receives press releases at [email protected]

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer? | Terms of Service