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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

梓言堂 - 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