Does switching between ROMs signed with same AVBroot keys need unlocked bootloader? #361
-
If I have signed and flashed one ROM with AVBroot and relocked the bootloader, and I want to switch to a different ROM (for example, from GrapheneOS to CalyxOS), if I continue using AVBroot with the same signing keys, do I still need to unlock the bootloader to flash the new ROM? |
Beta Was this translation helpful? Give feedback.
Answered by
chenxiaolong
Oct 6, 2024
Replies: 1 comment 7 replies
-
In theory, no, though I've never personally tried it. If you end up trying this, I would suggest wiping data and flashing the new OS's OTA in the same recovery session. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, those are good questions.
An OTA contains the full OS and also the bootloader.
For the initial setup documentation, yes. The
fastboot flashall
step only flashes the partitions that avbroot modified, not all partitions, which is why the correct OS must already be installed.With what you're planning to do, every partition will get flashed during OTA installation, so that's not really relevant here.