Before going further please make sure that you have successfully installed a Custom Recovery on your device. Go through our guide to do so.
Resurrection Remix for Xiaomi Redmi 5 Android 7.1 Nougat ROMcrDroid Android 7.1.2 ROM for Xiaomi Redmi 5 (Stable Nougat ROM for Rosy)dotOS Android 7.1.2 Nougat ROM for Xiaomi Redmi 5 (Rosy)LineageOS 14.1 for Xiaomi Redmi 5 Nougat ROM (Rosy)
Do you have any other ROM for the suggestion then leave them in the comments below.