From f96a2887dfbbece2cf7740ab2d882db3329f5a6a Mon Sep 17 00:00:00 2001 From: Andrew Gunnerson Date: Tue, 17 Oct 2023 15:46:57 -0400 Subject: [PATCH] README.md: Add instructions for reverting to stock firmware Fixes: #194 Signed-off-by: Andrew Gunnerson --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 92d308e..9587ed6 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,20 @@ To update Android or Magisk: 4. Reboot. +## Reverting to stock firmware + +To stop using avbroot and revert to the stock firmware: + +1. Unlock the bootloader. This will trigger a data wipe. + +2. Erase the custom AVB public key. + + ```bash + fastboot erase avb_custom_key + ``` + +3. Flash the stock firmware. + ## avbroot Magisk modules avbroot's Magisk modules can be found on the [releases page](https://github.com/chenxiaolong/avbroot/releases) or they can be built locally by running: