Guides

Magisk guides

Rooting with Magisk follows the same path on every phone: unlock, patch, flash, then keep it working through updates. Start at the step you are on. Each guide follows Magisk's own documentation and says where it comes from.

Last updated 4 sourcesHow we check pages

The path at a glance

The path from a stock phone to a rooted one, and after

  1. 1Check your phoneCan it be unlocked?
  2. 2Unlock the bootloaderErases the phone
  3. 3Patch and flashinit_boot, boot or AP
  4. 4Set upSuperuser, modules, Play Integrity
  5. 5Keep it workingUpdates, fixes, uninstall
The order of Magisk's installation and OTA guides. Each stage links to its guide below.

Rooting for the first time

You need an unlocked bootloader, a computer with adb and fastboot, and the stock firmware for the exact build on your phone. Get the Magisk app from its official GitHub release.

  1. Find your phone's brand

    Whether your phone can be unlocked at all, how to unlock it, where its firmware comes from and which image it uses: guides by brand. Samsung phones on One UI 8 or later, and US and Canada Galaxy models, can't be unlocked.

  2. Pick the install method

    Three questions decide whether you patch init_boot.img, boot.img, recovery.img or a Samsung AP file: root method checker, or read how to install Magisk.

  3. Patch a boot image with Magisk

    The main install method in Magisk's documentation; no custom recovery needed. Covers finding the stock image, A/B slots and fastboot errors: step-by-step guide.

Which guide do I need?

If you want to…Read
Root a phone for the first timeInstall Magisk, then patch a boot image
Find the right firmware and unlock steps for your brandDevice guides
Update Magisk, or install an Android update without losing rootUpdate Magisk and keep root
Use banking apps or Google WalletPlay Integrity and root
Recover from a bootloopFix a Magisk bootloop
Fix "Not Installed", "N/A" or apps not getting rootRoot not detected
Go back to stock and relock the bootloaderUninstall Magisk

Sources

This page is written from the sources below. If anything here disagrees with them, the upstream source is correct.

Found a mistake or something out of date? Tell us and we will check it against the source and fix the page. Confirmed corrections are listed in the corrections log.

Report a problem with this page