
驱动解锁申请解锁小米手机http://miuirom.xiaomi.com/rom/u1106245679/7.6.727.43/miflash_unlock_7.6.727.43.ziptwrp下载https://twrp.me/xiaomi/adb下载https://dl.google.com/android/repository/platform-tools_r34.0.5-windows.zipOn your device, go into Settings - About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:adb reboot bootloader PS C:\platform-tools .\adb.exe devices List of devices attached 0f37e9d90503 device PS C:\platform-tools .\adb.exe reboot bootloader PS C:\platform-tools .\fastboot.exe boot .\twrp-3.7.0_9-0-mido.img Sending boot.img (24696 KB) OKAY [ 0.590s] Booting OKAY [ 0.784s] Finished. Total time: 1.409s magisk boot 文件后刷入系统 参考https://magiskcn.com/mi-boot.html PS C:\platform-tools .\fastboot.exe flash boot .\boot.img Warning: skip copying boot image avb footer (boot partition size: 0, boot image size: 13942784). Sending boot (13616 KB) OKAY [ 0.320s] Writing boot OKAY [ 0.182s] Finished. Total time: 0.626s PS C:\platform-tools ./fastboot reboot Rebooting OKAY [ 0.007s] Finished. Total time: 0.014s PS C:\platform-tools重启进入bootloaderYou should now be in fastboot mode.Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:fastboot flash recovery twrp.img刷入twrpfastboot reboot重启fastboot boot twrp.img重启进twrp4清在TWRP恢复菜单中选择“擦除”然后选择“高级擦除”。勾选“Dalvik/Art Cache”、“Cache”、“System”和“Data”旁边的框。滑动底部的滑块以擦除所选分区。fastboot常用命令 显示fastboot设备 fastboot devices 获取手机相关信息 fastboot getvar all 重启手机 fastboot reboot 重启到bootloader fastboot reboot-bootloader 擦除分区 fastboot erase (分区名) 例清除system分区fastboot erase system 刷入分区 fastboot flash (分区名) (分区镜像) 例将boot镜像 boot.img 刷入boot分区fastboot flash boot boot.img 引导启动镜像 fastboot boot (分区镜像) 例启动到recovery分区fastboot boot recovery.img 刷入ROM fastboot update (刷机包) 例将 update.zip 刷入fastboot update update.zip 解锁Bootloader fastboot oem unlock (参数见视频视机型而定) 多设备使用 fastboot -s (命令) 通过fastboot devices获取序列号控制多设备中的一个 例清除序列号为abc设备的system分区fastboot -s abc erase system