Latest Stable Magisk Version: v13.3
Latest Magisk Manager Version: v5.1.1
Hello, welcome to the official Magisk Release / Announcement thread!
Magisk can ROOT your device, along with standard common patches.
It packs with a super powerful Universal Systemless Interface, allowing unlimited potential!
Magisk modifies boot image and add files to /data and /cache
It touches your /system partition only if root installed in /system is detected!
- 100% fully open source and easy to build!
- Magic Mount:
Allow you to do any system (vendor) modification without actually tampering the partitions.
Anything can be loaded with Magisk systemless-ly!
- MagiskSU: Open Source Root Solution
Root your device with MagiskSU, based on phh's Superuser, which is based on CM Superuser.
- Magisk Manager:
MagiskSU Root Management, Upgrade Magisk in-app,
Manage, Upgrade, Download, Install Magisk Modules from the community driven online Magisk Module Repo.
- Magisk Hide:
Hide Magisk from detection, mainly targeting Google's SafetyNet
Allow you to do any modifications to system props (build.prop), including read-only props.
It is also used along with magiskhide for tricking various device states
- Multiple Entry Points:
Provide several entry points to developers, reliably pausing the boot process before everything is done.
Include post-fs (cache) mode, which happens even earlier than data is mounted (used to replace Boot Animation etc.)
- Standard Stuffs:
Remove dm-verity, forceencrypt, unlock partitions blocks to support remount to rw
If you already have Magisk installed, you can directly upgrade through Magisk Manager
For installing Magisk the first time
- Make sure to remove any other root and restore your boot image back to stock
- Download the latest Magisk zip file
- (Easy) Via custom recovery:
- Reboot to a custom recovery and flash the flashable zip
- You don't need a custom recovery and no root is needed, but you will need a stock boot image backup/dump beforehand
- Unzip your downloaded Magisk zip
- Enter the folder you've just extracted (let's call it zip folder), copy your stock boot image here and rename it to boot.img
- Rename the folder with the name of your device's CPU architecture to magisk_inject.
If you don't know your device's architecture, try running adb shell getprop ro.product.cpu.abi to check it out
- Double check if the zip folder contains the following files or folders: META-INF, boot.img, common, magisk_inject
- Open terminal, change the directory to the zip folder, and run the following command one line by a time (you might want to copy them since they are pretty long)
adb shell "rm -rf /data/local/tmp/*" adb push META-INF/com/google/android/update-binary common magisk_inject boot.img /data/local/tmp adb shell "cd /data/local/tmp/magisk_inject; mv ../common/* .; chmod 755 *; sh ../update-binary indep boot_patch.sh ../boot.img; mv ../bin/busybox busybox" adb pull /data/local/tmp/magisk_inject/new-boot.img adb shell "cd /data/local/tmp; rm -rf *.img magisk_inject/*.img update-binary bin common"
- You shall now see a file new-boot.img in the zip folder. This is the magisk-patched boot image. You can now flash the image via fastboot.
- Reboot and check whether Magisk Manager is installed and the version matches the latest one in the OP
If for some reason Magisk Manager isn't installed/upgraded automatically, please install it manually
Latest Uninstaller (Support v1+)
Latest Magisk Manager
Unofficial Pixel (XL) Builds by @goodwin_c
Check here for more troubleshooting!
- The addon.d survival only works on newer TWRP versions, because addon.d was never updated to patch boot image, we are using a small trick to make things work.
- If Magisk Manager crashes when upgrading to a new version, first try to clear the application data before reporting.
- Magisk Manager CANNOT be placed in adoptable storage, or superuser will not work
- MagiskHide does not work on devices running Linux kernel version lower than 3.8
These old kernels lack critical features for hiding Magisk, so it CANNOT be fixed
However, some OEM backports many Linux features back to older kernels, so trying it yourself would be the best bet
- Some of the ASUS devices requires boot image signing, search the forums and sign them yourselves.
- Sony Stock ELF Boot: Please refer to the info when flashing Magisk in custom recovery
- Pixel / Pixel XL: My Pixel XL is coming soon, let's see what I can do when it finally be on my hands
- Q: WebView is crashing on my device when I enable MagiskHide!
A: It's a bug in your ROM, please ask your ROM developer to include this commit to fix the issue
- Q: Safety Net isn't working!
A: Try to toggle MagiskHide in Magisk Manager on/off. The toggle will kill target processes so it will re-run again, or maybe MagiskHide isn't started for some reason
- Q: Safety Net still fails!
A: Magisk can only tested to hide Magisk core features, for Magisk modules it depends on what the module does; most modules will be hidden properly.
If your ROM itself is not able to pass SafetyNet, then there is nothing Magisk can help.
Your best bet is 100% stock ROMs, because your phone manufacturer is forced to release a device passing CTS.
- Q: My device is not supported!
A: Please open an issue on Github, along with your boot image uploaded. No boot image, no fix.
I spent endless hours to create Magisk. If you like my work, feel free to donate.Documentation
https://github.com/topjohnwu/Magisk (Magisk Core Scripts and Boot Image patching)Special Thanks
https://github.com/topjohnwu/magiskpolicy (sepolicy tools used in both Magisk and MagiskSU)
https://github.com/topjohnwu/MagiskSU (Open source root)
https://github.com/topjohnwu/selinux (libsepol for magiskpolicy and Superuser)
https://github.com/topjohnwu/ndk-compression (all compression libraries used in MagiskBoot)
https://github.com/topjohnwu/ndk-busybox-kitchen (patch busybox sources and generate headers and Android.mk based on config)
https://github.com/topjohnwu/ndk-busybox (ndk-build compilable busybox source generated with ndk-busybox-kitchen)
https://github.com/topjohnwu/MagiskManager (Magisk Manager)
- @phhusson for his advice with sepolicy and his sepolicy injection tool, boot image tools, hide su tools, superuser
- @Chainfire for many bits of shell script code, his supolicy in older versions, and the complete documentation How-To SU
- @nkk71 for his original resetprop
- @osm0sis for his shell script for image/zip size detection, unSU, addon.d, also providing numerous support for all kinds of boot image unpacking knowledge
- @Captain_Throwback and @Didgeridoohan for being the No.1 supporter, testing and finding bugs all the time
- @digitalhigh and @DVDandroid for initial contributions to Magisk Manager
Removed Files Total Download Count: 2,237,531
v1: 8746 v2: 2251 v3: 3790 v4: 1220
v5: 2914 v6: 138838 v7: 119744 v8: 116796
v9: 203836 v10.2: 215176 v11.1: 573322 v11.6:438886
v13.0(beta): 274438 v13.3: 137546