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

推荐订阅源

AI
AI
TaoSecurity Blog
TaoSecurity Blog
H
Heimdal Security Blog
Help Net Security
Help Net Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
N
News | PayPal Newsroom
V2EX - 技术
V2EX - 技术
博客园 - 【当耐特】
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Secure Thoughts
C
CERT Recently Published Vulnerability Notes
罗磊的独立博客
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy & Cybersecurity Law Blog
有赞技术团队
有赞技术团队
S
Schneier on Security
S
SegmentFault 最新的问题
Google Online Security Blog
Google Online Security Blog
H
Hacker News: Front Page
The Last Watchdog
The Last Watchdog
Schneier on Security
Schneier on Security
PCI Perspectives
PCI Perspectives
IT之家
IT之家
Project Zero
Project Zero
博客园 - 司徒正美
P
Privacy International News Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Security Latest
Security Latest
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
NISL@THU
NISL@THU
Webroot Blog
Webroot Blog
N
Netflix TechBlog - Medium
L
Lohrmann on Cybersecurity

梓言堂 - Yuk's Blog

使用Obsidian优雅地写Hugo博客文章 魔改PaperMod主题和博客改动 Android抓包和中间人攻击实现HTTP数据拦截篡改 从Wordpress迁移到Hexo,我都做了些什么 脚本助手:云手机上跑脚本的好伙伴 Caddy搭建Typecho并用脚本监控重启 Sony Xperia XZ1(G8342)强刷笔记 Android软件数据备份以及管理优化 记一次使用Crontab的错误排查 以更低的价格购买和续费域名 使用AirtestIDE和iOS-Tagent实现iOS端自动化测试 Python虚拟环境大杂烩
Android 提取boot.img 并安装Magisk
Yuk · 2024-01-22 · via 梓言堂 - Yuk's Blog

一、卡刷包提取boot.img

  1. 下载提取boot.img的工具 payload-dumper-go

    也可以用scoop安装(推荐)

    scoop bucket add main
    scoop install main/android-payload-dumper
    
  2. 去~~ xiaomifirmwareupdater~~ (2024.8.17更新:域名更换) XM Firmware Updater用IDM下载Recovery卡刷包,记得多尝试下载源,速度差别很大

  3. 打开powershell,执行

    # 只提取boot.img
    .\payload-dumper-go.exe -partitions boot /path/to/payload.bin
    # 全提取
    .\payload-dumper-go.exeo /path/to/payload.bin
    
  4. 在当前目录下生成一个 extracted_* 前缀文件夹,里面就是提取到的 boot.img 文件

二、Patch并刷入

  1. 提取的boot.img传到手机后,用magisk patch这个boot

  2. 如果fastboot 驱动没装,去下载 miflash_unlock解锁工具,然后在设备管理器中更新驱动选择下载解压的路径即可

  3. 打开powershell,执行

    adb reboot fastboot
    # 替换原boot.img文件
    fastboot flash boot magisk_patched_xxxxx.img
    fastboot reboot
    
    # 卡米就尝试关闭AVB校验
    # 关闭AVB校验
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img