3 ms·
Do you know if OnePlus uses the same A/B style OTA updates as Pixel devices and whether it supports setting a custom bootloader key? If so, you might be able t
by chenxiaolong 4y ago
Do you know if OnePlus uses the same A/B style OTA updates as Pixel devices and whether it supports setting a custom bootloader key?
If so, you might be able to use my avbroot project [1]. It roots the boot image, signs it with your own key, and replaces the OTA verification certificate with your own, so you can install future updates signed by your key while the bootloader is locked.
[1] https://github.com/chenxiaolong/avbroot https://github.com/chenxiaolong/avbroot
EDIT: I read a bit about OnePlus devices. Looks like they do indeed support locking the bootloader with a custom signing key installed. So I went ahead and added support for OnePlus' OTAs in avbroot: https://github.com/chenxiaolong/avbroot/pull/32 https://github.com/chenxiaolong/avbroot/pull/32. There are only minor differences compared to Pixel's OTA images.
- FieryTransition 4y agoThat is awesome, definitely going to try again using your method!