magisk模块安装后怎么使用?安装Magisk面具获取root权限
magisk模块安装后怎么使用?安装Magisk面具获取root权限四、通过adb命令fastboot flash boot magisk_patched-23000_AeWJI.img将此启动镜像刷入手机时由于权限原因常常不成功,此时可用SP Flash Tool刷机方式写入生产了一个新的启动文件:magisk_patched-23000_AeWJI.img三、打开Magisk,利用它处理原boot.img后产生一个新的启动镜像,无root权限时“当前”处显示“无法获取”选择之前拷贝到手机的boot.img:开始处理:
用到材料/工具:
- ADB工具套件
- Magisk-23.apk面具
- 适用本手机的boot.img镜像
- Smart Phone Flash Tool
一、在手机上安装Magisk-23.apk面具:adb install c:/tmp/Magisk-23.apk
C:\tmp\Mtk_Droid_Tool_v2.5.3\adb>adb devices
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error: unknown host service
C:\tmp\Mtk_Droid_Tool_v2.5.3\adb>adb kill-server
C:\tmp\Mtk_Droid_Tool_v2.5.3\adb>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
8T8HBIZSBU9PCM4S device
C:\tmp\Mtk_Droid_Tool_v2.5.3\adb>adb install c:/tmp/Magisk-23.apk
5517 KB/s (6874374 bytes in 1.216s)
pkg: /data/local/tmp/Magisk-23.apk
Success
手机上已经可以看到面具图标了:
二、将boot.img拷到手机上
三、打开Magisk,利用它处理原boot.img后产生一个新的启动镜像,无root权限时“当前”处显示“无法获取”
选择之前拷贝到手机的boot.img:
开始处理:
生产了一个新的启动文件:magisk_patched-23000_AeWJI.img
四、通过adb命令fastboot flash boot magisk_patched-23000_AeWJI.img将此启动镜像刷入手机时由于权限原因常常不成功,此时可用SP Flash Tool刷机方式写入
c:\tmp\fastboot>fastboot flash boot magisk_patched-23000_AeWJI.img
Sending 'boot' (7310 KB) OKAY [ 0.722s]
Writing 'boot' FAILED (remote: 'download for partition 'boot' is not allowed
')
fastboot: error: Command failed
选中手机对应的scatter.txt文件:
“boot"处选中新产生的启动文件 magisk_patched-23000_AeWJI.img:
点击“下载”,手机关机状态连接上USB线,等待成功:
“当前”处已经显示“23.0”版本号,表示已获root权限:
相关要点可参考:
- 手机安装magisk获ROOT权限,无须第三方recovery
- GIONEE金立旧手机黑屏、不开机,SP FLASH TOOL刷机解决