if the phone is redmi note 5 (dualcam, snapdragon 636), the device codename is WHYRED, and the rom codename is HMNOTE5PRO
so, the last beta update rom (with MIUI12) is xiaomi.eu_multi_HMNote5Pro_20.6.18_v12-9
or last stable rom (with miui11) is xiaomi.eu_multi_HMNote5Pro_V11.0.2.0.PEICNXM_v11-9