And out the recovery on phone to flash ir from twrp .... After booted to twrp select install Change to image and flash the twrp.img as the recovery so that every time you boot to recovery by combination buttons it boots directly to twrp hope it helps
Enviado do meu Redmi Note 5 através do Tapatalk