Test model: Mi 10 Extreme Commemorative Edition (Mi 10 Ultra)
Today, I updated the MIUI version to 12.1.1 and found that the Android version has been upgraded to 11. Next, I wanted to flash the TWRP of wzsx150 , but found that the data cannot be mounted after flashing, and it does not support Android 11.
After searching on the Internet, I found that Magisk can be flashed without TWRP, that is, to patch boot.img with Magisk, and then flash it in with the command line.
step
- Unlock the mobile phone, for example, my mobile phone is an official Xiaomi mobile phone to unlock BootLoader
- Download the full package, for example, my mobile phone is Mi 10/Pro/Youth Edition/Extreme Commemorative Edition-MIUI Download
- Connect the mobile phone to the computer, open the downloaded full package with compression software, and copy the boot.img to the mobile phone
- Install Magisk APK
- Open Magisk, click "Install" -> select and patch a file, select the boot.img that was just moved to the phone , and a "magisk_patched_xxx.img" will be generated after success, move this file to the computer (if it does not show reconnect mobile phone), preferably in the same directory as fastboot.exe
- [For MediaTek] Remove vbmeta.img from the downloaded full package, preferably in the same directory as fastboot.exe
- Connect the mobile phone to the computer, turn on the debugging mode, and enter the following command on the command line ( ADB toolkit_Baidu search )
# 重启手机到 BootLoader 模式,也可以根据自己的手机型号手动操作
adb reboot bootloader
# 【联发科专用】关闭 AVB2.0 验证(MTK)
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
# 如果这一步显示找不到设备,重启到 BootLoader 模式的时候不要连数据线,等进入 BL 界面后再插数据线
# 成功后 fastboot reboot 或者手动重启手机,打开 Magisk 会发现已经安装好啦
fastboot flash boot magisk_patched_xxx.img
The solution to fastboot not finding the device in Win10/Win11
All the time wait for device
, it is useless to plug in the data cable after entering BL.
Find the Android/mobile phone model in the device, right-click to delete:
then find a green version of the driver wizard ( drive wizard single file_Baidu search ), and install the driver according to the prompts.
References
- How to make magisk_patched.img - OnePlus 8 Series- OnePlus Mobile Community Official Forum
- Download Xiaomi ROM: Xiaomi mobile phone, Xiaomi tablet and other Xiaomi models, its national version, global version, European version (European version), Indian version, Indonesian version, Russian version (Russian version), Turkish version, Taiwan version (Taiwan version) Xiaomi ROM