Want to root your Android phone with Magisk?
The quick answer: you install Magisk by patching your phone's boot image in the Magisk app, then flashing that image from your PC.
When I first wrote this guide in 2017, people rooted with Chainfire's SuperSU, and rooted phones stopped getting OTA updates. That's why developer topjohnwu made Magisk: root that doesn't touch your system partition, also called "systemless" root.
Back then, you installed Magisk Manager on a phone that was already rooted, tapped a button, and you were done. That no longer works.
Here, I'll explain what Magisk does, the risks, the install steps and how to give apps root access.
Also Read: What to Do After Rooting Android: 10 Useful Things
TL;DR
- The install method: patch your own phone's boot image in the Magisk app, then flash it from a PC with fastboot.
- Before you start: unlocking the bootloader wipes your phone, and banking apps and Google Wallet may stop working.
- Samsung phones: the steps differ. Follow the Samsung section of Magisk's official guide.
- Get Magisk only from GitHub. Other sites can hand you a modified app with root access to your phone.
What Is Magisk?
Magisk is a free, open-source tool for customizing Android. It supports phones running Android 7.0 and newer.
It has four main parts:
- MagiskSU gives root access to the apps you choose.
- Magisk Modules change read-only parts of the system without really modifying them.
- Zygisk lets modules run code inside apps.
- MagiskBoot unpacks and repacks boot images.
What's New in Magisk 31.1
Magisk 31.1 came out in October 2026. It changed a few things you'll notice right away:
- No more "Grant root?" pop-ups. You give root to apps ahead of time in the "Superuser" tab.
- No more app hiding. The option to repackage the Magisk app under another name is gone. Magisk's notes suggest uninstalling the app after setup if you want to hide it.
- Android 6.0 is dropped. Android 7.0 is now the minimum.
Download Magisk Only From GitHub
In 2017, I linked you to a site called magiskmanager.com. That was never the official home of Magisk.
Magisk's own page says GitHub is the only source of official Magisk downloads. Any other site can hand you a modified app, and this app gets root access to everything on your phone.
Before You Start: The Risks
Read this part first. It can save you a lot of pain.
- Unlocking the bootloader wipes your phone. Android's own rules require a factory reset when you unlock it. Back up first.
- Your warranty may suffer. On Samsung phones, installing Magisk trips the Knox warranty bit, and Magisk's guide says that can't be reversed.
- Banking apps and Google Wallet may stop working. Many apps use Google's Play Integrity check, and a rooted phone fails its device check.
- You can brick your phone. This usually happens by flashing the wrong file. Magisk warns never to flash a patched image someone else shared, even for the same model.
- Not every phone can be unlocked. Samsung removed the bootloader unlock option with One UI 8, and some brands don't allow unlocking at all.
Also Read: Does Rooting Brick Your Phone? The Honest Answer
How to Install Magisk on Android
These are the general steps from Magisk's official installation guide. Samsung phones work differently, so use the Samsung section further down.
Requirements
- An unlocked bootloader. Use your phone maker's official method.
- A PC with ADB and fastboot. Here's my guide to installing them on Windows.
- The official firmware for your exact model and software version, or at least its boot image.
- The latest Magisk app from GitHub.
Step 1: Install the Magisk App and Check "Ramdisk"
Install the Magisk APK you downloaded from GitHub, then open it. The home screen shows a result called "Ramdisk".
- Yes: you'll patch the image that holds the ramdisk. That's
boot.img,init_boot.imgorvendor_boot.img, depending on your phone. - No: you'll patch
recovery.imginstead. Read the "Magisk in Recovery" part of the official guide first, because the process is different.
Step 2: Get Your Phone's Image
You need the image from the exact software version your phone is running right now. The easy way is to give Magisk the full official firmware package (an OTA zip, a payload.bin or a factory image zip), and the app pulls out the right image by itself.
On a Pixel, it's even easier. Magisk can download the matching factory image for you.
Step 3: Patch the Image
- In the Magisk card, tap "Install".
- Choose "Patch firmware / image".
- Pick your source: "Select from storage", "Enter image URL" or, on a Pixel, "Download latest Pixel factory image".
- Start the installation and wait for it to finish.
The patched file is saved in your Download folder. Its name looks like magisk_patched-[version]_[random].img.
Step 4: Copy the Patched Image to Your PC
On your PC, run this command. Use the real file name from your phone.
adb pull /sdcard/Download/magisk_patched-[version]_[random].img
Step 5: Flash It With Fastboot
Restart your phone into fastboot mode:
adb reboot bootloader
Then flash the patched image to the same partition it came from. On a phone with init_boot, that's:
fastboot flash init_boot magisk_patched-[version]_[random].img
If you patched boot.img, use fastboot flash boot instead. Then type fastboot reboot.
Step 6: Finish the Setup
Open the Magisk app, which will ask to fix the environment. Tap to accept, and wait while your phone reboots by itself.
Magisk is now installed.
Samsung Phones
Samsung is a special case. Magisk patches the AP file from Samsung's official firmware, and you flash it from Download mode with a tool called samloader.
The first install needs a full data wipe, on top of the one from unlocking.
Magisk's guide also warns never to restore the stock boot, init_boot, recovery or vbmeta on a rooted Samsung phone. That can brick it.
Follow the Samsung section of the official guide step by step.
How to Give an App Root Access
With Magisk 31.1, apps don't ask for root anymore. Open the Magisk app, go to the "Superuser" tab, and choose which apps get root.
Only give root to apps you trust. Root means full access to your phone, including your chats and passwords.
How to Update or Uninstall Magisk
To update: use the "Direct Install" option inside the Magisk app. The official guide strongly recommends it over patching again.
To uninstall: use the uninstall option in the Magisk app. That's the easiest way.
Magisk vs KernelSU vs APatch at a Glance
In 2017, Magisk was the only name you needed. Now there are two newer root tools that work from inside the phone's kernel.
| Tool | Kernel requirement | Good to know |
|---|---|---|
| Magisk | No GKI kernel needed | Most detailed install guide |
| KernelSU | Google's GKI kernels | Recommended mode patches init_boot or boot |
| APatch | ARM64 phones, Android kernel 3.18 to 6.12 | Has modules too |
- KernelSU officially supports phones with Google's GKI kernels. In its recommended mode, its manager app patches your
init_bootorbootimage, much like Magisk. - APatch supports ARM64 phones with Android kernel versions 3.18 to 6.12.
Both have modules too.
My pick for most people is still Magisk. It has the most detailed install guide, and it doesn't need a GKI kernel like KernelSU does.
What Happened to the Old Magisk Features?
- Magisk Manager was merged into the Magisk app in 2021. The name "Magisk Manager" isn't used anymore.
- MagiskHide was removed in 2022. Its replacement is DenyList, which turns off Magisk's changes for the apps you pick.
- SuperSU isn't part of the process anymore. You don't need a rooted phone to install Magisk.
DenyList can help with simple root checks. But it can't fake the hardware-backed check that Android 13 and newer use, so some banking apps will still refuse to work.
Also Read: 7 Best Android Custom ROMs That Are Still Updated in 2026
Final Thoughts
Installing Magisk takes a few more steps than tapping a button did in 2017. But it's the safe, official way.
Unlock your bootloader, patch your own phone's image, flash it, and keep the original image on your PC in case you need to go back.
The main caveat is that DenyList won't make every banking app work. Some will still refuse to run on a rooted phone.
FAQs
Is Magisk safe to install?
Magisk is free and open source, and GitHub is its only official download source. Rooting still carries risks, like a wiped phone, a warranty that may suffer and banking apps that stop working.
Do I need to unlock the bootloader to install Magisk?
Yes. Magisk's requirements list an unlocked bootloader, and unlocking wipes your phone, so back up first.
Do I need a rooted phone to install Magisk?
No. You patch your boot image in the Magisk app and flash it from your PC, so the phone doesn't need to be rooted first.
Should I use Magisk or KernelSU?
For most people, start with Magisk. It has the most detailed install guide, and it doesn't need a GKI kernel like KernelSU does.
How is installing Magisk on a Samsung phone different?
Magisk patches the AP file from Samsung's official firmware, and you flash it from Download mode with samloader. The first install also needs a full data wipe.
Still stuck? Tell me through the contact page.
