Magisk
by topjohnwu · GPL-3.0 · open source
The best-known way to root Android: patch your phone’s boot image with the Magisk app, flash it, and get root access, modules and Zygisk without touching the system partition.
Needs:Unlocked bootloader · fastboot · Android 7.0+
2113 Apps is independent, not affiliated with or endorsed by topjohnwu. Official sources: source code on GitHub.
- Version
- 31.1
- Size
- 10.7 MB
- Requires
- Android 7.0+
- Updated
- 2026-10-25
Introduction
Magisk is a suite of open-source tools for customising Android, and the best-known way to root a phone. It works by patching the boot image rather than modifying the system partition, which is why it’s often called “systemless” root. The APK here is the Magisk app: you use it to install Magisk, then to manage root access and modules afterwards.
What changed in 31.1
Version 31.1 is the first stable release after a substantial app rewrite. The Compose and Material 3 app adds a built-in terminal and one patching pipeline for raw images, OTA zips, payload.bin, factory-image zips, Samsung firmware and remote URLs. Firmware suggestions are limited to Pixel and Googlebook devices. On a Googlebook, it can patch an Aluminium OS recovery image and write recovery media to a selected USB drive, erasing that drive.
This release also removes several established workflows. Magisk no longer shows reactive superuser prompts: approve each root app ahead of time in the Superuser tab. App hiding/repackaging and its stub app are gone, as are the obsolete superuser-access-mode and reauthentication settings. Magisk also no longer reinstalls its app automatically if it disappears. These are developer-listed changes; we verified the APK and source but did not root a phone with this release.
What it includes
From the project’s README:
- MagiskSU, which grants root access to the apps you allow.
- Magisk modules, which modify read-only partitions without actually changing them.
- MagiskBoot, a tool for unpacking and repacking boot images.
- Zygisk, which runs code inside every app’s process. Frameworks such as LSPosed use it; see how to install LSPosed.
Installing it for the first time
Rooting always starts with an unlocked bootloader, which usually wipes the phone. The official installation guide then goes like this:
- Install the Magisk app and open it. The home screen shows whether your device has a ramdisk in its boot partition; that decides which image you patch.
- Get the correct raw boot.img, init_boot.img, vendor_boot.img or recovery.img from your phone’s exact firmware. Magisk 31.1 can instead take the official OTA
.zip,payload.bin, factory-image.zipor a direct HTTPS URL and extract the target image itself. - In the app, tap Install → Patch firmware / image, then choose Select from storage or Enter image URL. Pixel phones also offer Download latest Pixel factory image for the installed build.
- Copy
magisk_patched-[version]_[random_strings].imgto your computer and flash it in fastboot mode to the partition it came from. - Reboot, open Magisk, and let it finish setting up its environment.
Samsung devices have their own procedure, described in the guide. Our guide to rooting Android walks through unlocking the bootloader brand by brand, the Samsung procedure and how to undo it all. The guide is also firm about one rule: never flash a patched image made by someone else or on another device, even the same model. Always patch the image on the phone you are rooting.
Already rooted with Magisk? The developer recommends updating from inside the app with Direct Install, not by repeating these steps.
About this file
The developer states that GitHub is the only official source of Magisk downloads and information. The file here is the standard Magisk-v31.1.apk from that GitHub release, unmodified: its hash matches the one GitHub publishes for the release, and it is signed with the developer John Wu’s own certificate (the fingerprint is under More Information). Version 31.1 now requires Android 7.0 or later; the previous 30.7 APK supported Android 6.0. Treat any “Magisk” that doesn’t match this signer, or that comes as a pre-patched image, as suspect.
Not sure Magisk is the right choice? Our comparison of KernelSU, APatch and Magisk explains how they differ.
What’s inside the APK
Trackers
No code matching the tracker signatures we check, including Exodus Privacy’s list and our published supplements.
Native code
Runs on 64-bit and older 32-bit ARM phones.
Android versions
Built for Android 17 (target API 37).
Permissions
3 of them need your approval first.
CPU types in this build: arm64-v8a (64-bit ARM, almost every phone since 2017); armeabi-v7a (32-bit ARM, older and budget phones); x86 (32-bit Intel, emulators); x86_64 (64-bit Intel, emulators and Chromebooks).
Asks you first (3)
Android shows a prompt before the app can use these.
- Show notifications (Android 13+) · POST_NOTIFICATIONS
- Read shared storage (Android 12 and older) · READ_EXTERNAL_STORAGE
- Write shared storage (Android 10 and older) · WRITE_EXTERNAL_STORAGE
You switch these on in Settings (1)
Special app access. Nothing is granted until you turn it on yourself.
- Install unknown apps · REQUEST_INSTALL_PACKAGES
Granted at install (7)
Low-risk permissions Android grants automatically, plus any we have not classified.
- ACCESS_NETWORK_STATE
- FOREGROUND_SERVICE
- HIDE_OVERLAY_WINDOWS
- INTERNET
- QUERY_ALL_PACKAGES
- RUN_USER_INITIATED_JOBS
- UPDATE_PACKAGES_WITHOUT_USER_ACTION
More Information
- Package name
- com.topjohnwu.magisk
- Version
- 31.1 (build 31100)
- File size
- 10.7 MB (10,679,283 bytes)
- Requires
- Android 7.0 or later
- Category
- Root & Mods
- License
- GPL-3.0
- Developer
- topjohnwu
- Source code
- github.com/topjohnwu/Magisk
- Released
- Oct 25, 2026
- Signer SHA-256
- b4cb83b4dad99f997dbe872f013aa16c14eec41d167021f371f7e1330f273ee6
- File SHA-256
- 89cefac0a318afa39fb3880c45c87b036c05bc1ebf02a7a715b7f8d7c26ac6e7
- Checked
- , against the v31.1 release on GitHub · how we check · verify it yourself
Common questions
Is this APK the official Magisk release?
Yes. It is the file from the project’s v31.1 release on GitHub, byte for byte, and it matches the SHA-256 checksum GitHub publishes for it. It is signed with the certificate we recorded when we first checked Magisk (SHA-256 b4cb83b4dad99f997dbe872f013aa16c14eec41d167021f371f7e1330f273ee6); a release signed with a different key would not be published here.
What Android version does Magisk need?
Android 7.0 or later (API level 24). Version 31.1 is built for Android 17 (target API 37). Runs on 64-bit and older 32-bit ARM phones.
Can Magisk access the internet?
Yes. The APK requests Android’s internet permission. In total it declares 11 permissions, and 3 of them need your approval first.
Does Magisk contain trackers?
No known trackers: our scan of version 31.1 found no code matching the tracker signatures it checks. Those include Exodus Privacy’s list and the published local supplements described on How We Check; the scan doesn’t show what data the app itself sends.
Is Magisk open source?
Yes. Magisk is released under the GPL-3.0 licence, and its source code is published at https://github.com/topjohnwu/Magisk.
Older versions of Magisk
| Version | Released | Requires | Download |
|---|---|---|---|
| v31.1 · current | Oct 25, 2026 | Android 7.0+ | Magisk 31.1 APK · 10.7 MB |
| v30.7 | Feb 23, 2026 | Android 6.0+ | Magisk 30.7 APK · 11.6 MB |
| v30.6 | Dec 1, 2025 | Android 6.0+ | Magisk 30.6 APK · 12.9 MB |
| v29.0 | May 14, 2025 | Android 6.0+ | Magisk 29.0 APK · 11.8 MB |
| v28.1 | Dec 7, 2024 | Android 6.0+ | Magisk 28.1 APK · 11.7 MB |
We host the current version and the 4 before it. Each older file is signed with the same key as the current one, so newer versions install over it as normal updates. 30.7, 30.6 also match the checksums GitHub publishes. GitHub has no published checksum for 29.0, 28.1, so those were checked by signature and file size. The permissions and trackers listed above describe the current version. Full changelog.