How to Install Magisk for any Android device
Hey Guys, in this tutorial we will tell you about how can your Install Magisk on your Android. Google has introduced new security measures added to run banking apps on your android device. For these applications to work, your device needs to pass the SafetyNet test and should not have external ROM installed on the system. Apps such as Android Pay, Pokemon Go, Snapchat, IRCTC, etc. will not work if you have rooted your android device with SuperSU. When you are not able to run your favourite and much needed apps on your phone, the first thought is to go back and unroot the system. However, there are options to get around this. As a workaround of handling this issue while keeping root on your device, Chainfire developed the systemless root methods. This method lets you root your phone without making any modification to Android's system partition. So, using this method will let you pass the system net test and install applications such as Android Pay.
Magisk was developed when developer topjohnwu followed Chainfire's lead and developed a way to alter system files while leaving the system partition untouched. Magisk can be considered as a magical mask or a cover that conceals root from your apps. By using magisk, one can also revert any modification makes with much less effort. With its systemless nature and other added benefits, developers are now actively creating magisk modules. If you want to pass the SafetyNet Test on your rooted device, you can also migrate to Magisk SU from SuperSU.
In this post, we will take you through the steps and help you install Magisk on your android device, whether you already have a rooted android device or are first time setting up root access. If you already have rooted device and are looking for a quick magisk installation, here are steps.
Installing Magisk on a Rooted Android Device
Step 1: Download Magisk Manager & Install APK
Now, if you have already have your device rooted, installing magisk is very simple. For this, you need to install magisk manager on your device. Magisk manager helps you updates your root binaries (similar to SuperSU) and add Magisk modules. This app comes with a repository of popular Magisk Modules (such as systemless AdAway) and will do all the dirty work for you by installing and updating Magisk's underlying framework.
Magisk manager was previously available on Google Play but has been discontinued now. You can download it free of cost from apkmirror and install it on your android device. The latest apk for the app can be download from here - Download Magisk APK
Once you have downloaded the apk on your android device, tap on it to install. For this, make sure you have allowed installation from external sources on your device. You can turn on this feature by going to settings -> security -> Unknown sources. Use the screenshots given below as a guide:
Step 2: Installing Magisk
Once you have your magisk manager installed, launch it. Before continuing, the app will ask you for specific permissions. Before you can continue to install magisk, you have to grant it superuser and storage permissions as they are required to correctly place the Magisk files in the appropriate directories and folder. Follow the screenshots given below:
Once the necessary permissions have been given, Magisk manager will automatically check if Magisk is installed on your device or not. If it is not present, (in the current scenario), a screen will pop up offering to take you to the download page. To proceed, tap on "Go to 'Install' Section" option on the pop up.
The next steps are quite straightforward. In the Install Section, tap on 'Download and Install'.
This will direct you to another pop up and asks you to confirm if you want to install magisk zip file. Tap on Install to proceed.
Step 3: Rebooting your device
To complete the installation process, your device will need a reboot. Magisk manager will ask you if you want to reboot the device. Tap on 'Reboot Now' or you can choose to do it later. Once your device has rebooted, your device will be all set and you can try different magisk modules from the wide variety that magisk manager comes with. Play around and explore.
Installing Magisk on a Unrooted Android Device
If you are looking at installing magisk on a non-rooted device, then you can do this by flashing Magisk zip using TWRP. Team Win Recovery Project (TWRP) is an open-source recovery image used with android devices. This method requires flashing Magisk zip directly on TWRP. So, the first step is to install the custom recover.
Step 1: Installing TWRP
As stated by the name, the recovery is customized for different devices. It also varies on rooted and unrooted devices. If you have a rooted device, installation of TWRP needs to be followed by a full uprooting by SuperSU.
To install TWRP, you need to first install ADB and Fastboot on your computer. ADB and Fastboot comes as a part of SDK tools or you can install just ADB and Fastboot, using Google - Download
In order to flash Magisk image using Fastboot, your device need to have an 'unlocked' bootloader. If you have already unlocked it, you can skip this step.
Now, before you unlock your bootloader, you need to enable Developer options on your device.
The next step would be to enable "OEM unlocking" in the developer menu.
If the option is grayed out in your device, it means that you cannot flash your images using Fastboot.
Next, in order to run Fastboot commands on your device, the device needs to be put in bootloader mode. This varies from device to device. Check instructions for your specific device. Once you are in the bootloader mode, connect the device to your computer using USB. Rest of the work will be done on computer.
Moving to the computer side, navigate to the directory where you installed ADB and Fastboot and open a ADB shell. The next step is to unlock the bootloader. Note that unlocking the bootloader will wipe away all the data in your device, so keep a backup. Once you unlock your bootloader, your phone will reboot into fastboot mode.
Step 2: Download and Flash the Magisk Zip
With an unlocked TWRP installed and an unlocked bootloader, next step is download Magisk zip file. This file will install the underlying Magisk framework for your device and is freely available from here - Download Magisk ZIP
Flashing this zip will give systemless root. Once you have the file downloaded, boot your system in recovery mode. The process varies from device to device and you search for instructions for your device online.
When you are in TWRP's main menu, tap the Install button.
Next, navigate to the folder containing Magisk zip file. Once you have selected the desired file, swipe the slider at the bottom of the screen. This will install and then you can tap on "Reboot System" to move to the next step.
Step 3: Installing Magisk Manager
To finish installation and manage different magisk module, you need to install Magisk Manager. Follow Step 1 in the same guide under "Installing Magisk on a Rooted Android Device"
Step 4: Checking the Installation
The last step is to ensure everything went without a glitch. Open the Magisk Manager app and you should see a message at the top of the screen that says - "MAGISKSU(topjohnwu)" and a green check mark. This means that your phone is now rooted with Magisk and is a systemless root.
So guys, this was the way which you can use for Install Magisk Manager on your Android device. So let's install magisk manager on your phone with this tutorial. If you have any questions while using this tutorial, then let me know via comments below. Stay tuned at apktrendz for more cool tips & tricks like these.