Install qbootctl on A/B sdm845 devices

Caleb Connolly requested to merge sdm845-mainline/pmaports:qbootctl into master

qbootctl is a CLI tool for interacting with the Android A/B slot interface as it's implemented on Qualcomm sdm845 (and likely newer) devices.

These device duplicate system partitions like the boot partition. They require the OS to mark the current boot as "successful" otherwise the bootloader will switch to the inactive slot after 7 reboots and mark the current slot as "unbootable". This effectively soft-bricks your device until you can get to a computer to reset it via the bootloader.

This adds qbootctl as a dependency and automatically enables the service to mark boot successful on the OnePlus 6(T) and SHIFT6mq.


Edited by Caleb Connolly

Merge request reports