how to reinstall ROM android redmi 5 plus


I am searching flow commands for flash system.img in fastboot mode via ADB.
(I found it here before long time, it was question about stuck in logo or something like that but I couldn’t find it again).
Thanks!