LineageOS 15.1 now supports A/B devices starting with the Motorola Moto Z2 Force

in #android6 years ago

One of the more exciting changes that Android Nougat 7.0 brought was the introduction of A/B dual partition scheme for devices launched with this OS version. This change tackled how Android system updates are applied to devices, with the aim to provide a seamless upgrade experience to the user where a simple and quick reboot brings them into the updated OS. This change also added the benefit of a failsafe which ensured that at least one workable booting system remains on the device during an OTA update, allowing devices to “rollback” to the older system if an OTA fails to boot.

Unfortunately, not every device that has received Android 7.0 supports this A/B dual partition scheme. This A/B partition scheme is mostly seen on devices that originally shipped with Android Nougat 7.0+, as updating a device to Nougat and then supporting this change would require a repartitioning, which was considered a risky proposition by many OEMs. Here is a list of devices that support A/B seamless updates. Alternatively, you can also manually check whether your device supports seamless updates.

While the A/B dual partition scheme is largely well received, it did pose a challenge for the custom ROM community. A/B devices did not come with a recovery partition as the Android system did not have a need for these partitions, so the community had to adapt its ways. TWRP v3.1.0 was released with support for A/B devices, while Magisk brought support for A/B devices with version 14.1.

Now, LineageOS 15.1 is adding in support for A/B devices. Support was delayed on 15.1 as the LineageOS team was working to fix their addon.d script. This script is responsible for backing up GApps and Lineage’s SU addon, and it needed modifications to properly work with A/B devices. The following people were involved in making this development happen (apologies if we missed anyone.)

Contributions to making A/B support possible for LineageOS 15.1
Initially, only the Motorola Moto Z2 Force (nash) has been added to the roster, with support expected for more devices in the future. The Moto Z2 Force’s build will roll out tomorrow.

We expect the following devices to soon receive support once all of the device-specific bugs have been fixed:

Google Pixel
Google Pixel XL
Google Pixel 2
Google Pixel 2 XL
Essential Phone PH-1
Xiaomi Mi A1
In fact, we expect the Xiaomi Mi A1 to receive support very soon given the comments here. Likewise, a bug related to the Bluetooth MAC needs to be fixed before the build for the Essential Phone will land. We’ll keep you updated once the official LineageOS 15.1 builds for the other A/B devices start to roll out.2641f826c17af8c06eb87d63daa7b440.png

Sort:  

@abhitaknews thanks for this amazing information, I upvote u please upvote me to grow

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
http://xda-developers-forum.blogspot.com/2018/06/lineageos-151-now-supports-ab-devices.html