With the passage of time now it seems more difficult to root Android Smartphones. Because Google is making it almost impossible for us to root Android Smartphones with their latest updates. And now its not that easy to enjoy all the perks of rooting without sacrificing something in the process. The credit goes to SafetyNet. If you try to change or modify anything in system partition, SafetyNet will trip. Even the small changes is enough to trip SafetyNet. With the help of SafetyNet, apps can easily identify the root status of your Android Smartphone, even if you hide the root. And they can deny to run on the device. Android Pay, Pokemon Go, Snapchat and Netflix are the few common examples. Not only this but the app has even stopped appearing on the Play store.
Once SafetyNet tripped, your rooted Android device will appear as an Uncertified device on the Play Store. And all the apps that has anything to do with Payments or DRM Content, it will not run on your rooted Android device. But special thanks to all those Android enthusiasts and developers who always find a way out to make things possible even if it seems impossible. And they deliver methods to run such apps on your rooted phone. But you may have to change your rooting methods for this in some cases.
How to revert changes made to the system partition
If you have rooted your Android device using SuperSU, first you will need to unroot it and remove the SuperSU from the device. You’ll also need to uninstall all the mods and undo any changes that you have made to your device system partition. But you don’t have to worry about it, because you can still enjoy the root via topjohnwu’s MagiskSU instead and enjoy all the perks or rooting systemlessly, without even touching any system files.
1. Uninstall SuperSU
From your device app drawer launch the SuperSU app and go to Settings. Now scroll down to Full Unroot option and select it. A warning dialogue box will appear, simply tap Continue. It will ask you to restores the stock boot image, select Yes. Then it will prompt if you want to restore the stock recovery image as well, select No this time. This is because you still need to install Magisk from recovery. The complete unrooting process will take only few seconds and then your device will automatically reboot.
2. Uninstall Xposed Framework
If Xposed Framework is installed on your device, you’ll need to uninstall it as well. The procedure is same just like any other mods you may have installed. You don’t need to worry about loosing Xposed Framework because you can easily install it again via Magisk.
Follow the steps to uninstall Xposed, in the Xposed Installer app go to the Framework section and simply tap Uninstaller. A pop-up will appear, select Uninstall. This process will take only few seconds. Simply reboot your device once the process is finished. On next boot your device may take longer than usual to boot.
3. Uninstall Other Mods and undo changes
We assume that you have uninstall SuperSU and Xposed Framework, but there is something more you will need to do. SafetyNet tripped chances are still there if you have any other mods installed or have made any changes to the system partition. For example removal of bloatware from the system partition. Some Ad-blocking apps like Adaway will also need to be disabled for the time being. You can active them again after rooting with Magisk.
If you’ve been using your rooted device for a while then it might be difficult to track the changes you’ve made to the system partition. So the best way to restore your system partition would be to re-flash the stock system image for your phone via Fastboot. But if you don’t have the system image, you can re-flash the entire stock firmware.
4. Install Magisk
Once your system partition is back to in its original form, now it’s time to install Magisk. If Magisk is already installed on your device via SuperSU, you will still need to install it again.
Once Magisk is up and running, launch the app and go to Settings. Enable BusyBox, Magisk Hide, and Systemless hosts and return back to the Status section. Now tap on the SafetyNet check button/card at the bottom. It should say SafetyNet Passed.
5. Clear Play Store data
This is the last step that you’ll need to do if you want to use apps like Android Pay, Netflix, etc. on your rooted Android devices. If you were previously rooted your Android device with a rooting method that didn’t pass the SafetyNet check, your device shows up as an Uncertified on Play Store.
Now that your previous rooting method does not pass the SafetyNet check. So head over to Settings>>Apps and select Google Play Store. Tap on the Force Stop button then go to Storage and select CLEAR DATA.
Next, launch the Play Store app and head over to Settings from the navigation drawer. Scroll down to the bottom and you’ll see your device reported as Certified under Device certification.
You may also like: How to Make Google Chrome Load Pages Faster on Android
Replace old mods with Magisk systemless mods
Magisk is kinda Xposed, a framework and offers number of systemless mods, including Xposed. You can even download Xposed or any other Magisk compatible mods form the Download section in the Magisk Manager app. The good thing about these mods is that none of these will trip the SafetyNet because they don’t change or modify the system partition at all. To restore Adaway, simply download and install Systemless Adaway APK.
One thing you should keep in mind that do not use any root apps or mods that change or modify the system partition in any way or it will trip SafetyNet. Most of the tasks you want to do can be done via Magisk mods like uninstalling system apps, converting user apps to system apps, using Greenify’s root features, etc.