A lot of Android users have rooted devices. And a lot of Android users play Pokemon Go. It’s the breakout hit of the year after all. So those two categories definitely overlap. And that’s something to worry about since Niantic is targeting rooted devices with their latest update. It wasn’t cumbersome enough that some GPS spoofing, botting troublemakers starting Niantic on a path to hunt for blood. Now, they’re coming after your root devices. And even RootCloak isn’t helpful. But not to worry. Like always, there is a solution.
XDA user topjohnwu has developed something called Magisk. Magisk is a mod that is named from the combination fo the words Magic and Mask. Magisk “aims to overcome these difficulties [of systemless mods] and create a universal interface for everyone to develop and use systemless mods.”
It was first made popular by the discovery that it enabled Android Pay on root devices because it could work its way around the SafetyNet API. The latter is also used for Pokemon Go and so you can use it to mask your identity if you’re on a root device.
Make sure you have a device with an unlocked bootloader. topjohnwu recommends that your device be restored to a stock system and boot. If you can’t do that then you’ve got to remove all forms of root access and Xposed. For this guide, the device in use is a Moto X Pure Edition running Android 6.0 Marshmallow rooted with SuperSU v2.78. It has TWRP 3.0.2-2 to demo how to unroot it and get rid of Xposed.
Depending on where you sourced your root and Xposed methods from these steps could be different. Unrooting may not even work if you’re on a custom ROM. You can skip step 2 if you don’t have Xposed altogether.
- SuperSU>Settings Tab>Cleanup Section>Full Unroot. After this many pop ups will appear. Do restore the stock boot image but not the stock recovery image. Then your device will reboot and after that root access will be gone. P.S. If you’re unencrypted and restore the stock boot image you may think your device is bootlooping but it’s actually re-encrypting.
- To get rid of Xposed go to the official download site’s uninstaller section. Choose your uninstaller depending on your device specs. Now, to flash this uninstaller you need to go in to custom recovery. This is different for every device so Google how to do it. For the Moto X Pure Edition, power it off. Then hold the volume down and power button until it enters bootloader. Then use the volume buttons to scroll to Recovery and press the power button to boot in to which ever recovery you have installed. Navigate to the downloads folder and flash the uninstaller. After that click “Wipe cache/dalvik” and Reboot system.
- Now re-root using this method. Go to this link. It’ll initiate the download of a special Magisk version. Flash this through your custom recovery like you did Xposed and Magisk. Then install phh SuperUser from the Play Store.
- And finally install Magisk Manager 1.2 here.
- You’re done! When you want to play Pokemon Go, just go to the Magisk Manager and turn off root access with the Root Toggle. Re-toggle it when you want access back.