SuperSU made changes to the system partition. This resulted in the tripping on SafetyNet and hence the inability of various apps to function properly. This is where Magisk entered the scene and completely changed the landscape of the custom development. It peromfred its activities in a systemlessly manner, i.e. without making any changes to the system partition. Owing to this reason, it quicky became the go-to choice for everyone and understandably so. With that said, rooting isn’t exactly as easy as it used to be earlier. Extracting the stock boot.img from stock firmware, patching it via Magisk and flashing it via Fastboot, all this does require quite a few efforts. Add to it the A/B partition scheme, and things might become all the more complicated for some. As a result, issues with rooting is all the more evident. If you are also getting bugged with such an issue, then fret not. This guide will show you how to fix the missing Magisk root issue that happened when the root is not properly installed. Without any further ado, let’s get started.
How to Pass SafetyNet test after installing Xposed or EdXposedHow to Pass Magisk SafetyNet on Rooted AndroidFix Magisk Safetynet API Error: Detailed GuideHow to Fix ctsProfile Mismatch Error on Rooted Android
Reason for Missing Magisk Root
This issue mostly happens in A/B Partition devices, when a user is trying to flash the patched boot.img for root. Once that is done, they proceed to check for root via the Root Checker app. Instead of the success message, they are instead greeted with:
Double read this message- no where does it says that root has failed, what it instead indicates is the fact that the process hasn’t been totally completed. Rather the user had left in in between (unknowingly). What really happens is that when you proceed to flash the Magisk patched boot.img, you need to execute the below command: It is for those devices that doesn’t have the recovery partition so we are directly flashing it to the boot partition. But why aren’t we specifying the partition? Well, this is because the command will flash automatically flash it to both A and B Slots. So rather than manually specifying the partition, we only need to use the above command and it will do the rest. Except for the fact that it doesn’t always happen! In some instances, the above command would only flash the magisk patched boot.img file to the current active slot. As a result, when the next time you reboot the device, the slot wold change and you would be taken to the unrooted slot. The Root Checker app automatically check for root in both the slots. When it founds out that only one partition is rooted, it would display the aforementioned error. So with this, you might have got a decent idea regarding the missing Magisk root or the root is not properly installed issue, let’s now check out the steps to fix it. Follow along.
How to Fix No WiFi, Calls, Network after Root or Custom ROMFix Root not working after flashing Magisk patched boot.imgHow to Fix Magisk Bootloop using TWRP Recovery [2 Methods]Root Android 12 via Magisk patched boot.img (without TWRP)
How to Fix Root is not Properly Installed | Missing Magisk Root
The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
STEP 1: Get your Device’s Stock Boot.img
To begin with, you will need to get the stock boot.img for your device. This could be extracted from the device’s stock firmware. However, do keep in mind that you download the same firmware that is currently installed onto your device. If that is well and good, then you ,may take the help of our below guides to extract the boot.img from the firmware:
How to Extract Stock Boot.img from OnePlus OxygenOS Stock ROMHow to Extract Fastboot Images from Realme/Oppo OZIP FirmwareExtract boot.img from boot.img.lz4 and Root SamsungExtract Sony Boot.sin and get the Stock Boot.img FileHow to Extract Boot.img from LG KDZ or DZ FirmwareHow to Extract Boot.img from HTC RUU Firmware
STEP 2: Install Android SDK
Next up, install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.
STEP 3: Enable USB Debugging and OEM Unlock
You will also have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.
So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.
STEP 4: Unlock the Bootloader
Rooting a device also requires you to unlock the device’s bootloader. If you avenn’t done so yet, then please refer to our guide to Unlock Bootloader of Any Android Device.
STEP 5: Patch Stock Boot.img
You will now have to patch the stock boot.img file via Magisk. For that, please refer to our guide to Patch Stock Boot Image via Magisk. Once you have got the patched boot.img file, transfer it from your device to the platform-tools folder on your PC.
STEP 6: Boot to Fastboot Mode
STEP 7: Fix Root is not Properly Installed | Fix Missing Magisk Root
Make sure that you have placed patched boot.img inside the platform-tools folder. Likewise, the Command Prompt window should also be opened inside this platform-tools folder. If that is all well and good, then proceed with the below steps: So with this, you have fixed the missing Magisk root or the root is not properly installed issue. If you have any queries, do let us know in the comments section below. We will get back to you with a solution at the earliest.