获取root权限工具(安装Magisk面具,获取root权限,刷入手机永久生效)
用到材料/工具:
ADB工具套件
Magisk-23.apk面具
适用本手机的boot.img镜像
Smart Phone Flash Tool
一、在手机上安装Magisk-23.apk面具:adb install c:/tmp/Magisk-23.apk
C:tmpMtk_Droid_Tool_v2.5.3adb>adb devicesadb server is out of date. killing...ADB server didn't ACK* failed to start daemon *error: unknown host serviceC:tmpMtk_Droid_Tool_v2.5.3adb>adb kill-serverC:tmpMtk_Droid_Tool_v2.5.3adb>adb devices* daemon not running. starting it now on port 5037 ** daemon started successfully *List of devices attached8T8HBIZSBU9PCM4S deviceC:tmpMtk_Droid_Tool_v2.5.3adb>adb install c:/tmp/Magisk-23.apk5517 KB/s (6874374 bytes in 1.216s) pkg: /data/local/tmp/Magisk-23.apkSuccess
手机上已经可以看到面具图标了:
二、将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:tmpfastboot>fastboot flash boot magisk_patched-23000_AeWJI.imgSending '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刷机解决