Nie tutaj był problem. Problem był w samym twrp. Orange twrp nie zadziałało dla Androida 9 i Xiaomi Redmi Note 5 .
Twrp musi mieć obsługę androida 9
Trzeba pobrać najnowsze twrp:
twrp-3.3.1-1-whyred.img
i je zainstalować. Komunikat o hasło się nie pojawi i można zainstalować Magiska
Komendy do instalacji z cmd:
fastboot flash recovery twrp-3.3.1-1-whyred.img
fastboot boot twrp-3.3.1-1-whyred.img
Link do twrp:
https://androidfilehost.com/?fid=6006931924117884758