Magisk

OTA Upgrade Guides

Magisk does not modify read-only partitions by default, which makes applying official OTAs much simpler. OTA updates are only supported on devices with A/B partitions (Seamless System Updates). On A/B devices, the OTA is installed to the inactive slot while the system is running, allowing the Magisk app to install Magisk onto the updated partitions and preserve root across the update. The exact workflow in this document is only tested on Pixel devices, as procedures for other devices may vary.

NOTE: In order to apply OTAs, you HAVE to make sure you haven’t modified any read-only partitions yourself (such as /system or /vendor) in any way. Even remounting the partition to rw will tamper block verification!!

Prerequisites

Installing the OTA

  1. Install the OTA as you normally would (Settings → System → System Update) and wait for the installation to fully complete (both “Installing system update” and “Optimizing your device”). Do not press the “Restart now” or “Reboot” button yet!
  2. Go to the Magisk app and select (Install → Install to Inactive Slot (After OTA)) to install Magisk to the updated slot.

  1. Once the Magisk installation is complete, go back to the system OTA update screen and press Restart now to reboot from there into the updated slot.