Magisk+Xposed+Root switch+Pokémon GO
If you follow Android Police, there's a good chance you've got a rooted device, whether it be an easy-to-root Nexus or something like a Galaxy that takes more effort to do so. It's also very possible that you play Pokémon GO, which can probably be considered the fad of the year. For those of you who fall into both of those categories, you're probably frustrated that with the latest version (0.37), you'll now be forbidden from playing the game on your phone, just because some no-gooders used GPS spoofing and/or Xposed modules to get ahead. Even RootCloak doesn't work. Not to worry though, as there's a fairly simple way to circumvent this block.
Magisk is a mod developed by XDA user topjohnwu, who is also responsible for the systemless Xposed flashable zip. Essentially, Magisk (which is short for Magic Mask) "aims to overcome these difficulties [of systemless mods] and create a universal interface for everyone to develop and use systemless mods."
Magisk first gained some popularity when it was discovered that it could enable Android Pay on rooted devices, due to its ability to go around the SafetyNet API. Since Pokémon GO also uses the SafetyNet API, several users have found out that Magisk works for it as well.
The installation of Magisk will also enable Android Pay.
Disclaimer: Android Police isn't responsible for any harm to your device - proceed at your own risk.
Prerequisites
To use Magisk, you'll need a device with an unlocked bootloader that is running Android 5.0+. topjohnwu recommends that your device be restored to a stock system and boot. If you can't do that, you must fully remove any form of root access and Xposed. You will need a custom recovery. For this guide, I'll be using a Moto X Pure Edition on Android 6.0 Marshmallow that has been rooted with SuperSU v2.78 and has TWRP 3.0.2-2 to demonstrate how to unroot and get rid of Xposed.
The Steps
Depending on where you sourced your root and Xposed methods from, your steps may be slightly different. If you're on a custom ROM, even unrooting may not do the trick. If you don't have Xposed, skip #2.
- To unroot, open SuperSU, go to the Settings tab, navigate down to the Cleanup section, and choose "Full unroot." A bunch of prompts will pop up; do restore the stock boot image, but don'trestore the stock recovery image. Your device will then reboot, and when it finishes, root access will be gone. NOTE: If you're unencrypted and restore the stock boot image, you may think that your device is bootlooping, but it is actually re-encrypting (thanks, Max).

left: SuperSU's Settings panel. middle left: click YES. middle right: click NO. right: after reboot, SuperSU is gone.
- To get rid of Xposed, go to the official Xposed download site's uninstaller/ section, then choose the one you need. Since the Moto X Pure runs a 64-bit processor, the Snapdragon 808, I picked "xposed-uninstaller-20150831-arm64.zip." There are also options for arm and x86 architectures.
- To flash this uninstaller, you must enter your custom recovery. For the Moto X PE (it'll differ for every device, Google how to enter recovery), power off the device, then hold the volume down button and power button together to enter the bootloader. From there, use the volume buttons to scroll to "Recovery," and press power to boot you into whichever custom recovery you have installed. In your custom recovery, hit "Install," navigate to your Download folder, and flash the uninstaller. After that, click "Wipe cache/dalvik," then "Reboot system." It'll take a while for the apps to finish optimizing.
1: fastboot. 2: scroll to recovery. 3: hit Install, select the uninstaller .zip. 4: swipe to confirm flash. 5: clear cache/dalvik. 6: swipe to wipe. 7: reboot system. 8: optimizing apps
- Now, head over to Magisk's XDA thread and download Magisk (this link to Magisk v6 will initiate the download).
- Flash Magisk-v6.zip (or the most current version) on your device in recovery. After that, reboot.

- Now, you'll have to re-root; however, you can't use a normal method. You'll have to download a special Magisk version of phh's SuperUser 17 (link will initiate download). Flash this through your custom recovery just like you did with the Xposed uninstaller and Magisk. After that, install phh SuperUser from the Play Store.

- Install Magisk Manager v1.2 here (link will initiate the download).
- *OPTIONAL* If you want Xposed, you must download a systemless version (which is also by topjohnwu). To do this, download the Material Design Xposed Installer (excellent app, by the way) and install the systemless version (v86.5) from the Systemless tab. Grant Xposed Superuser access and allow the phone to install Xposed automatically. When the phone reboots, you'll have to wait for a few minutes for apps to optimize.
- Xposed zip is universal across all architectures, so arm/arm64/x86 devices should all download the same zip.
SDK 21: Android 5.0 | SDK 22: Android 5.1 | SDK 23: Android 6.0
"alt" version is only for some specific Samsung devices. If you don't know what this is, just use the regular version.
Latest version (v86.3) uses Magisk Interface (reliable + support 5.0+)
(v86.2) uses SuperSU's su.d (not reliable + Marshmallow only)
(v85.7) uses boot patch (reliable, but Marshmallow only)

You're finished! To play Pokémon GO, simply head to Magisk Manager and turn off root with the Root Toggle. When you're done playing and want root access back, just re-enable it.

Magisk+Xposed+Root switch+Pokémon GO的更多相关文章
- 联想 A5(L18011) 免解锁BL 免rec Magisk Xposed ROOT 救砖 ZUI 3.9.068
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- ZUK Z2 Pro(Z2121) 免解锁BL 免rec Magisk Xposed ROOT 救砖 ZUI 4.0.247
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- Moto P30(XT1943-1) 免解锁BL 免rec 保留数据 Magisk Xposed ROOT 救砖 ZUI 4.0.374
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- 联想 Z5 Pro(L78031)免解锁BL 免rec 保留数据 ROOT Magisk Xposed 救砖ZUI 10.0.355
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- 联想 Z5(L78011) 免解锁BL 免rec 保留数据 ROOT Magisk Xposed 救砖 ZUI 10.5.254
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- 联想 Z5S(L78071)免解锁BL 免rec 保留数据 ROOT Magisk Xposed 救砖 ZUI 10.5.370
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- 联想 S5 Pro(L78041)免解锁BL 免rec 保留数据 ROOT Magisk Xposed 救砖 ZUI 5.0.123
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- 联想 S5【K520】免解锁BL 免rec 保留数据 Magisk Xposed 救砖 ROOT ZUI 3.7.490
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
- 联想 S5 Pro GT(L78091)免解锁BL 免rec 保数据 ROOT Magisk Xposed 救砖 ZUI5.0.047
>>>重点介绍<<< 第一:本刷机包可卡刷可线刷,刷机包比较大的原因是采用同时兼容卡刷和线刷的格式,所以比较大第二:[卡刷方法]卡刷不要解压刷机包,直接传入手机后用 ...
随机推荐
- CGLIB动态代理模式
概念: 第三方技术CGLIB动态代理和JDK代理不同的是,JDK代理需要提供接口,而CGLIB代理不需要: 它只需要一个非抽象类就能实现动态代理 例子: /** * 非抽象类 * @author Ad ...
- sqlalchemy 常用总结
mysql-5.7安装 https://blog.csdn.net/since_1904/article/details/70233403 flask-sqlalchemy教程 http://www. ...
- ie下的值改变事件
前两天在页面上写了一个值改变事件,值是用js改变的,用的oninput方法和onpropertyChange方法,但是可能是因为框架的缘故,在ie浏览器下,陷入了莫名其妙的循环中.然后考虑是在加载的时 ...
- Docker入门笔记(1)
Docker入门笔记(1) 1.安装Docker yum -y install docker-ce 2.查看Docker版本 [root@localhost ~]# docker -v Docker ...
- pycharm 工具栏Tool中找不到Run manager.py Task
pycharm 工具栏Tool中找不到Run manager.py Task 在做Django项目的过程中, 无法进入pycharm提供的Run manager.py Task交互环境 出现这种问题是 ...
- Python学习 day11
一.装饰器 装饰器是在不改变函数调用方式的情况下,需要在函数前后新增功能.有些类似aop,不知道原理是否相同,表现是一样的. 装饰器严格遵守了“开放封闭原则” 1.基本装饰器 def wrapper( ...
- MVC流程
控制器:调用模型,并调用视图,将模型产生数据传递给视图,并让相关视图去显示 模 型:获取数据,并处理返回数据 视 图:是将取得的数据进行组织.美化等,并最终向用户终端输出 第一步 浏览者 -& ...
- 解决C#中dynamic类型作为泛型参数的反射问题
C#中dynamic类型作为泛型参数传递过去后,反射出来的对象类型是object,我用老外的这篇博文中的代码跑起来,得出的结果是:Flying using a Object map (a map),将 ...
- 带双反斜杠的Json数据至单反斜杠的Json数据处理
假如你光看标题,你只能哦呵呵了!我也看不懂.还是先描述下问题吧.这里是使用微信接口返回了一些数据.因为该串数据包含html标签所以TX是对该串数据进行了编码的.所有的数据是通过Unicode编码的,然 ...
- 9、在Shell脚本中调用其他脚本
在Shell脚本的执行过程中,Shell脚本支持调用另一个Shell脚本,调用的格式为:程序名 实例:在Shell脚本test1中调用test2. 1.调用test2#test1脚本root@ubun ...








