在PC端直接为Android设备安装Magisk/KernelSU/APatch模块,避免繁琐的复制和打开管理器安装的流程。
- Python3
- platform-tools(包含adb,fastboot等工具)
- Android设备上已刷入Magisk/KernelSU/APatch等ROOT方案(包括它们的分支在内)
python ./ModuleInstaller.py或
python ./ModuleInstaller.py -hpython ./ModuleInstaller.py <模块ZIP路径>先列出当前已连接设备(示例如下):
$ adb devices
List of devices attached
84976ecc device
192.168.1.4:5555 device然后
python ./ModuleInstaller.py <模块ZIP路径> -d <设备序列号>比如:
python ./ModuleInstaller.py <模块ZIP路径> -d 192.168.1.4:5555