Install OFFICIAL TWRP recovery on any Android Device. |Custom recovery to ROOT | Redmi note 5/5plus.
Here's a video of how you can install official TWRP recovery on any device. You can use this recovery to flash custom ROMs as well as root your device.
Hope this is helpful. If you like my content do subscribe.
Commands: 1) fastboot devices
2) fastboot flash recovery (recovery name) .img
Twrp recovery: https://twrp.me/Devices/
Adb And fastboot: https://forum.xda-developers.com/showthread.php?t=2588979