: On your Android device, go to Settings > Developer Options and toggle on USB Debugging . Connect : Plug your phone into your PC via USB.
fastboot flash recovery recovery.img : Installs a custom recovery image to your device.
: Launch the "Minimal ADB and Fastboot" shortcut from your desktop to open a command window ready for input. Common Commands adb devices : Checks if your phone is properly connected.
: It includes the standard adb.exe , fastboot.exe , and necessary .dll files to perform tasks like unlocking bootloaders, flashing custom recoveries (like TWRP), or sideloading ROMs. How to Install and Use