I recently install crDroid 9.0 Custom ROM on my Redmi note 4. I was excited to try out the new ROM and all the features that come with these Custom ROMs. While custom ROMs offer a lot of flexibility and feature additions compared to the preinstalled operating systems offered by OEMs, they also come with some issues that could leave users wanting for more. For example, in this case, after installing crDroid ROM, I noticed that my Google Pay stopped working. After some meddling, I found the problem, which was the exposed nature of the root and bootloader status of the device. In order to search for a solution to my problem, I started my journey on Google search engine looking for some clues and help. That is when I stumbled upon Magisk manager. With hopes that Magisk will solve my financial payment woes I embarked to install it onto my device and voila! Google Pay started working. For those of you, who are affected by the same issue this post is for you. So, let us jump in.
There are different ways to install Magisk module onto a rooted device. If you are rooted, then we can just use Magisk Manager to install Magisk framework. Or, if you want to pass SafetyNet on a rooted device, you can switch from SuperSU to Magisk SU. But the best way to do it is to start fresh by installing Magisk on a non-rooted phone using TWRP.
Why we prefer this way, you ask? Well, using TWRP we can install Magisk and root the phone in one shot and also, we don’t have to remove old binaries.
Let’s begin with the installation procedure.
Step 1: Install TWRP Recovery
In order to proceed with this step, we need to install custom recovery i.e. TWRP so that we can boot into recovery and flash the Magisk Zip file. Just like Magisk, there are multiple ways to install TWRP.
If your phone supports Fastboot interface(nowadays most phones do), you can use this guide to install TWRP. I advise you to follow steps 1–5 strictly as they are depicted, But if your phone doesn’t support Fastboot mode, then the instruction to install TWRP may vary. We will deal that part in future blog posts.
Step 2: Install Magisk Manager App
After TWRP is successfully installed, we will boot into Android and install the Manager app. Using this app, we will be able to download, update and manage Magisk framework and its different modules.
Since Magisk Manager is no longer downloadable from Play Store, so enabling “Unknown Sources” will let us install it. Or you can just head to the link provided below, which will show all the available versions of the Magisk Manager app. Download the latest version, then when that is done, tap and launch the APK. Finally, click on “Install” when asked for.
Step 3: Downloading the Magisk ZIP
Open the Magisk Manager app from the launcher. You will be greeted with a popup asking if you would like to install Magisk framework. Press “Install”, then click “Download Zip Only” on the next popup. Sit tight and wait until notification comes up at the bottom of the app’s main menu stating that the app has been downloaded.
Step 4: Flash Magisk using TWRP
Now, we boot the phone into recovery mode, then click on the “Install” button in TWRP’s menu. From there navigate to the device’s folder or location when the Magisk ZIP file is located. To install, just swipe the slider from left to right of the screen to install Magisk, then tap “Reboot System”.
Step 5: Verifying System Root & SafetyNet Status of the Device
Next, open the Magisk Manager app. If everything went off without an error, you will see a message on top of the screen which says “MAGISKSU (topjohnwu)” with a green tick mark next to it. This message indicates that your phone has been rooted successfully and since it has been done using Magisk, it is a system-less root.
In addition to this, the other main advantage of Magisk is that you can have your phone rooted without setting off SafetyNet. To verify that your phone still passes Google’s SafetyNet check, press the corresponding button towards the top of the screen. If you see two tick mark after this procedure, then you are all set to go. After this head to Play Store and install Google Pay app. The app should be working fine now, without any issues.
If you encounter any issue and the phone fails to pass the SafetyNet test, then it must be because of the left-out binaries from previous root or mod. You may have to do a bit of troubleshooting to fix it, but we got you covered- just write down your problem in the comment section and I will get back to you instantly.
Disclaimer: This article is for informational purposes only and doesn’t promote any company or product. Rooting and changing the security settings of your device may compromise the device and, in some instances, void warranty. Do it at your own risk.