blog
blog copied to clipboard
redmi9 lancelot 刷机
线刷底包
底包(线刷包)下载地址 https://miuiver.com/tag/lancelot-stable-rom/
https://bkt-sgp-miui-ota-update-alisgp.oss-ap-southeast-1.aliyuncs.com/V13.0.5.0.SJCCNXM/lancelot_images_V13.0.5.0.SJCCNXM_20220919.0000.00_12.0_cn_6c83eb6895.tgz
这个底包是 MIUI 13(Android 12)
- 进入 fastboot 模式
- 执行 flash_all.sh 脚本
刷入 TWRP
TWRP 下载地址: https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/lancelot/
下载 A12 版本: twrp-3.4.2_A12-lancelot-dimenzino.img
用下面的命令刷入
fastboot flash recovery twrp-3.4.2_A12-lancelot-dimenzino.img
然后进入 recovery
fastboot reboot recovery
选则【高级】【防止覆盖TWRP】
安装 Magisk
https://github.com/topjohnwu/Magisk/releases
https://magiskcn.com/
- 先安装 apk
- 再使用 boot.img (线刷包里有)生成 magisk_patched-30200_nJ5Uo.img
- 再进入 fastboot 安装
fastboot flash boot magisk_patched-30200_nJ5Uo.img
fastboot reboot
隐藏 Magisk
隐藏三步曲:
- 随机包名
设置–隐藏应用–输入新名称–继续安装–修改成功
- 隐藏 root
- https://github.com/LSPosed/LSPosed.github.io/releases/latest
- 隐藏应用列表
- https://github.com/Dr-TSNG/ApplistDetector/releases
- https://github.com/LSPosed/LSPosed/releases
- https://github.com/Dr-TSNG/Hide-My-Applist/releases
Shamiko 白名单模式
adb shell
su
mkdir /data/adb/shamiko
touch /data/adb/shamiko/whitelist
自动开启 wifi adb
https://github.com/mrh929/magisk-wifiadb/releases
其他软件
https://github.com/pppscn/SmsForwarder