Go to Advanced → Install Recovery Ramdisk .
fastboot flash recovery twrp-xxx.img fastboot reboot recovery install recovery ramdisk
| Issue | Solution | |-------|----------| | fastboot not detecting device | Install/update USB drivers (Windows) or check udev rules (Linux). | | "Flashing is not allowed" | Bootloader is still locked. Unlock via fastboot oem unlock . | | Recovery boot loops back to stock | Disable "Auto-reboot" in fastboot; manually select recovery. | | Cannot mount /data (encrypted) | Format data ( fastboot format userdata ) – . | | Device stuck in bootloader after flash | Reflash stock boot image: fastboot flash boot stock_boot.img . | Go to Advanced → Install Recovery Ramdisk
| Device Family | Command / Trick | |---------------|------------------| | | fastboot flash vendor_boot twrp-xxx.img (recovery ramdisk goes to vendor_boot) | | Xiaomi (dynamic partitions) | Use fastboot boot first, then flash the TWRP installer ZIP. Never flash directly to boot without patching. | | Samsung (Exynos) | Requires vbmeta disabled: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img | | OnePlus 9/10/11 | fastboot flash boot twrp-xxx.img (replaces boot ramdisk entirely). Have stock boot ready. | Unlock via fastboot oem unlock
Flashing a recovery image directly to the boot partition would overwrite the kernel, preventing the phone from booting into the OS.
with recovery ramdisk contents (using mkbootimg or MagiskBoot):