Skip to content

qbootctl: upgrade to 0.1.1 and move to community

Caleb Connolly requested to merge calebccff/aports:qbootctl-community into master

I'd like to include qbootctl in the v22.06 and future stable releases of postmarketOS, it fixes some usability issues on a few Qualcomm devices such as the OnePlus 6.

In summary, qbootctl implements the userspace side of Qualcomm's A/B upgrade support, specifically setting a "boot successful" flag stored in the GPT partition header. Without this the bootloader on these devices will assume that the current "slot" is not bootable and switch to the inactive slot. For postmarketOS users this almost always results in a soft-bricked device until you can attach it to a computer and fix it manually with fastboot.

If it's OK to do so, I'll follow up this MR with one to backport qbootctl to 3.16.

Merge request reports