Magisk, explained root Android without touching /system
Magisk is the open-source tool most people use to root Android phones. This independent guide covers whether your phone can be rooted, how to install Magisk, which modules are still maintained, and how to fix what goes wrong. Every page is built from Magisk's own documentation and other primary sources, and links to them.
What is Magisk?
A suite of open-source tools for customizing Android, by John Wu (topjohnwu) and contributors, licensed under GPL-3.0.
Systemless, in one paragraph
Magisk patches only the partition that holds your phone's boot ramdisk (boot, init_boot, vendor_boot or recovery). Root access, modules and property changes are applied in memory at every boot, so /system and /vendor stay untouched and restoring the stock image returns the phone to stock. It needs an unlocked bootloader and Android 7.0 or newer; v30.7, the previous release, still runs on Android 6.0. How Magisk works
What happens when a rooted phone boots
- BootPatched boot imageOnly its ramdisk is changed
- First
magiskinitrunsHands over to Android's own init and patches the SELinux policy as it loads - Early bootMagisk daemon startsLoads modules at the
post-fs-datastage - RunningRoot, modules, ZygiskAll applied in memory;
/systemis never written
magiskinit, magiskd). Details: how Magisk works.MagiskSU
Root access for apps and shells, controlled per app in the Superuser tab.
CustomizeMagisk modules
Change system files, properties and SELinux rules without writing to /system.
Zygisk
Run module code inside every app process; the base for LSPosed-style frameworks.
Boot imagesMagiskBoot
Unpack, patch and repack Android boot images, and extract them from payload.bin.
resetprop
Change any system property, including read-only ro.* ones.
magiskpolicy
Patch the SELinux policy instead of switching it to permissive.
What changed recently
Checked October 26, 2026. Each tile links to the details.
- Magisk stablev31.1October 25, 2026. Download
- What v31.1 changedAndroid 7.0+, no pop-upsRoot is granted in the Superuser tab; app hiding is gone. Details
- SamsungBlocked on One UI 8+What still works
- LSPosedNow VectorThe original stops at Android 14. Vector guide
- Play Integrity FixOriginal removedUse a maintained fork. Which one
- Android 17RootableZygisk support from v31.0. Details
Where are you?
Jump straight to the guides for the stage you're at.
Before you root
Rooting
After rooting
Something broke
Rooting for the first time
The whole process, in the order you will do it. Every step links to its full guide.
-
Check your phone can be unlocked
Everything depends on unlocking the bootloader. Carrier-locked phones, Samsung phones on One UI 8 or later, and US and Canada Samsung models can't be unlocked. Your brand's guide shows the current status for your model.
-
Unlock the bootloader
This erases the phone, so back up first. Each brand does it differently: a fastboot command on Pixel, OnePlus and Nothing, an approval process on Xiaomi and Motorola.
-
Get your stock firmware
You need the image from the exact build you are running; there is no universal download. The root method checker tells you whether to patch
init_boot.img,boot.img, recovery or the Samsung AP file. -
Patch it in the Magisk app and flash it
Full steps: patch a boot image, or compare all install methods.
-
Turn on USB debugging before installing modules
Then a bad module can always be removed over adb, and Magisk's automatic Safe Mode covers the rest. See fixing a bootloop.
Rooting by phone brand
Unlock status as of October 2026. Each guide has a model finder and step-by-step instructions.
Google Pixel
UnlockableOne fastboot command, no waiting period. Patch init_boot.img on Pixel 7 and newer.
Samsung Galaxy
Blocked on One UI 8+Samsung removed bootloader unlocking in One UI 8. Only Galaxy phones still on One UI 7, outside the US and Canada, can be rooted.
Galaxy guide →OnePlus
UnlockableFastboot unlock, no wait on global units. Extract init_boot.img from payload.bin. Do not downgrade the 13 or 15.
Nothing and CMF
UnlockableFastboot unlock, no wait, no regional locks found. init_boot.img on everything newer than Phone (2).
Xiaomi, Redmi and POCO
Approval neededCommunity app application, a 30-day-old account and a 72-hour or longer wait. China-region phones cannot be unlocked.
Xiaomi guide →Motorola
Code requiredUnlock code from Motorola, warranty void, no carrier models. The image to patch varies by model.
Motorola guide →Most-read modules
With their maintainer, latest release and status. The module catalog lists 21 more.
-
PlayIntegrityFork
MaintainedSpoofs device properties to Google Play services. Restores the basic and legacy device verdicts; cannot give Android 13+ device integrity alone.
-
Vector (LSPosed fork)
MaintainedThe maintained continuation of LSPosed: runs Xposed modules through Zygisk, scoped to the apps you pick.
-
Universal GMS Doze
UnmaintainedLets Doze restrict Google Play services. Also disables Find My Device on every boot; officially supports up to Android 15.
Magisk and the alternatives
KernelSU and APatch root from the kernel; Shizuku gives apps system access without root.
Magisk vs KernelSU
Magisk vs KernelSU compared: how each roots, GKI and LKM, metamodules, Zygisk, App Profile, switching safely between them, and which to choose.
Magisk vs APatch
Magisk vs APatch: kernel patching vs ramdisk patching, ARM64 and kernel 3.18 to 6.12 limits, the SuperKey, APM and KPM modules, and switching safely.
KernelSU vs APatch
KernelSU vs APatch: which kernels each supports, LKM vs KernelPatch, App Profile vs SuperKey, KPM modules, and how to switch between them safely.
Magisk vs Shizuku
Shizuku isn't root: it lets apps use system APIs with ADB or root privileges. What each can and can't do, how Shizuku starts, and when you need Magisk.
Questions about Magisk
What is Magisk?
Magisk is an open-source suite for customizing Android, developed by John Wu (topjohnwu) and contributors and licensed under GPL-3.0. It provides root access (MagiskSU), a module system, Zygisk and MagiskBoot, all without modifying the system partition. How it works
Can Magisk be installed without unlocking the bootloader?
No. Magisk's installation guide requires an unlocked bootloader, and no app or website can get around a locked one. Whether your phone can be unlocked depends on the brand and, for Samsung, the One UI version. Check your phone
Is Magisk safe to use?
Magisk itself is open source and published only on its GitHub repository. The risks come from what surrounds it: unlocking wipes the phone and weakens its security, a wrong image can stop it booting, and a bad module runs with root. Download only from GitHub, patch the image from your own build, and keep USB debugging on. Recovering from a bootloop
Does rooting void the warranty?
It depends on the manufacturer. On Samsung, installing Magisk trips the Knox fuse permanently; Motorola voids the warranty as soon as it issues an unlock code. Other brands' terms vary; each brand guide quotes what the manufacturer says.
Does Magisk hide root from banking apps?
No. Magisk's FAQ says it no longer handles root hiding, which is left to modules, and since 2025 Google's Play Integrity device verdict on Android 13 and later needs a locked bootloader. What can and can't pass
Can I remove Magisk later?
Yes. Uninstall it from the Magisk app, or flash your stock image back. Relock the bootloader only once everything is stock again. How to uninstall Magisk
Is this the official Magisk website?
No. Magisk has no official website beyond its GitHub repository and documentation. Magisk Guide is an independent, unofficial reference that summarizes those sources and links to them on every page. About this site
Every guide on this site
The complete list, grouped by topic.
Start here
Guides
Devices
- Can your phone be rooted? Magisk guides by brand
- How to root a Google Pixel with Magisk
- Rooting a Samsung Galaxy with Magisk: what still works in 2026
- How to root a OnePlus phone with Magisk
- How to root a Nothing Phone or CMF Phone with Magisk
- How to root Xiaomi, Redmi and POCO phones with Magisk
- How to root a Motorola phone with Magisk
Modules and Zygisk
Troubleshooting
Reference
About
About this site
Magisk Guide is an independent, unofficial reference, not affiliated with the Magisk project or its author. Pages summarize Magisk's documentation and release notes, Android's developer documentation and the documentation of the other projects covered, and each page lists its sources. Nothing is hosted here: links go to the official releases. Spot a mistake? Email hello@magiskguide.com. Read how this site is written.