Fastboot flash recovery recovery img
Now type the following commands in your PC.įastboot flash recovery twrp.img (this command will replace Mi stock recovery with custom TWRP recovery in your Mi mobile)įastboot reboot (this cmd is used to reboot mobile in fastboot mode) Type fastboot flash recovery twrp.img into the command line and wait for the.
#Fastboot flash recovery recovery img android#
If your device asks for permission to “Allow USB Debugging”, tap OK. Requirements:Your Android device Unlocked bootloader ADB and Fastboot. Connect your Mi mobile via USB cable to your PC.Ĭd C:\adb (this command is to access the adb folder in C drive)Īdb reboot bootloader (Your Mi device should go to the fastboot mode).Make sure you enabled USB debugging in your Mi mobile under developer’s option.So the ramdisk.cpio in boot.img is that of recovery. On A/B devices, no ramdisk is required for normal boot because system.img is mounted as rootfs when processing Device Tree (dtb) which is appended to kernel image usually.
#Fastboot flash recovery recovery img driver#