惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
小众软件
小众软件
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
B
Blog
量子位
B
Blog RSS Feed
Vercel News
Vercel News
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
爱范儿
爱范儿
Jina AI
Jina AI
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG

轶哥博客

blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog
blog
2022-02-22 · via 轶哥博客

红米K30至尊纪念版(天玑1000)刷最新版MIUI13内测版(cezanne 22.2.18)后不能root,magisk刷了后root拿不到,官方root提示:“很抱歉,当前版本暂不支持开启root权限,可能是root包未准备好或该版本已撤包”。Recovery也自动恢复成小米官方版本了。

安装Magisk Manager APP后提示提示Ramdisk为"是",但是无法正常授权,拿不到Root权限。点击安装后提示“选择并修补一个文件”。

以下为解决方法联发科芯片手机刷入Magisk boot解决方案。

准备

  • 安装SDK Platform Tools,MAC用户直接:brew install --cask android-platform-tools
  • 打开USB调试
  • 获取ROM完整卡刷包(最新MIUI系统安装包)

前期工作

使用ZIP解压工具解压完整的ROM卡刷包(最新MIUI系统安装包),找到boot.imgvbmeta.img两个文件,复制出来备用。

打开Magisk ManagerAPP,点击Magisk后边的安装,选择安装方式为选择并修改一个文件,从电脑端复制boot.img文件到手机并选中该文件,点击开始,仔细阅读修改结果并从结果中复制patch后的文件(一般在Download文件夹下,文件名类似magisk_patched-24100_gk0te.img)到电脑。

刷机

通过adb devices命令确认已经连上手机。

➜  adb reboot bootloader
➜  fastboot flash boot magisk_patched-24100_gk0te.img
Sending 'boot' (65536 KB)                          OKAY [  1.766s]
Writing 'boot'                                     OKAY [  0.144s]
Finished. Total time: 1.927s
➜  fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (4 KB)                            OKAY [  0.082s]
Writing 'vbmeta'                                   OKAY [  0.007s]
Finished. Total time: 0.102s
➜  fastboot reboot
Rebooting                                          OKAY [  0.003s]
Finished. Total time: 0.003s

按上面的指示的行执行命令。

执行第一个命令的时候重启到bootloader,先等待重启完成。

倒数第二个命令对于联发科CPU的手机是必要的,如果缺少该命令会导致设备无限重启

验证

重启后即具备root权限。但是Magisk ManagerAPP界面没有变化,也没有明确提示,不过功能可以正常使用。