小米twrp

驱动+解锁

申请解锁小米手机

http://miuirom.xiaomi.com/rom/u1106245679/7.6.727.43/miflash_unlock_7.6.727.43.zip

twrp下载

https://twrp.me/xiaomi/

adb下载

https://dl.google.com/android/repository/platform-tools_r34.0.5-windows.zip

On 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

重启进入bootloader 

You 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

刷入twrp 

fastboot reboot

 重启

fastboot boot twrp.img

重启进twrp

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

猜你喜欢

转载自blog.csdn.net/qq_24768591/article/details/134748662