How to Install Magisk and Safely Root Your Android

Plus, how to use the Magisk Uninstaller

Magisk is a popular tool for rooting Android devices and installing custom modules to enhance Android’s functionality. It also has the ability to hide the fact your Android is rooted from select apps, making it a powerful tool for anyone using a rooted device and relying on apps that usually won’t work on rooted devices. Here's how to install Magisk and safely root your Android device.

Before You Start

Before you can install Magisk on your device, you’re going to need a few things. First, you’re going to need to unlock your phone’s bootloader. With some devices, like the unlocked Pixel phones, this is simple. For others, it’s much more complex or even altogether impossible.

Once you have your phone’s bootloader unlocked, you can install the TWRP custom recovery. This recovery utility makes it simple to back up your phone and flash custom ROMs as well as other modifications, like Magisk.

How to Install Magisk

  1. First, you’re going to need to download Magisk. Go to the XDA Magisk release thread, and download the latest stable release.

    Do not unpack the ZIP file. TWRP flashes whole ZIP files. 

  2. Plug your device in to your computer via USB.

  3. Swipe down from the top of your phone’s screen, then tap USB charging this device > Transfer files.

    Android USB transfer files
  4. Navigate to the location where you phone is mounted, if it didn’t open automatically. Copy the Magisk zip file into the Download folder on your phone.

    Copy Magisk ZIP to your Phone
  5.  Safely remove your phone from your computer.

  6. You’ll need to reboot your phone into recovery now. This process is different for every device, but you can usually do so by pressing the Volume Down and Power keys.

  7. When your device reboots, you should see a screen with the Android mascot laying down and a menu set on Start. Use the up and down volume keys to cycle through the menu, and select Recovery mode.

  8. The device will reboot again. This time, it’ll open to TWRP. You may need to enter your device password here to access the storage. When you arrive in the main TWRP menu, tap Install.

  9. Navigate through your storage to the Download folder were you copied Magisk. Choose the ZIP file.

  10. TWRP will then display a screen with information about the Magisk zip and the option to check if you want to install additional ZIP files. You don’t need to install anything else right now. When you’re ready, swipe the blue slider at the bottom to the right to begin installing Magisk.

    Install Magisk with TWRP
  11. TWRP will run thorough the process of installing Magisk on your system. When it’s done, it’ll display a message across the top of the screen announcing the install was successful. Tap Reboot System at the bottom of the screen to reboot your device.

    Magisk installed with TWRP
  12. Your device will reboot normally. Once your device is done rebooting, it will be rooted and running Magisk. Open your apps, and launch the Magisk Manager to see the status of your installation.

    Magisk Manager app on Android

How to Uninstall Magisk Using Magisk Manager

If, for some reason, you decide you don't want Magisk on your device anymore, there's a simple way to remove it using the Magisk Manager app.

  1. Open the Magisk Manager app.

  2. Near the bottom of the screen, tap Uninstall.

  3. A message will pop up asking if you're sure. Tap Complete Uninstall.

  4. Magisk will work on uninstalling itself. When it's done, it'll display a message asking you to reboot the device.

    Uninstall Magisk on Android
  5. When your device is done rebooting, Magisk will be gone, and your device will be back to normal.