The Xiaomi Redmi Note 8 (2021) official firmware on this page will help you upgrade/update your phone MIUI version, move from Beta to Stable ROM (vice versa), un-brick or restore your device to its default factory state.
If you have previously rooted or modified the system (or other) partition of the phone in any way, flashing the Fastboot ROM will overwrite all existing modified system files to replace with factory software. To ensure that all important data on the phone (like contacts, messages, app data, etc.) is safe, back them all up because you could loose data after flashing.
Again, charge the phone to at least 50% so that the flashing process will not be interrupted by low battery. Interrupting the firmware installation means bricking your phone.
Download either the Fastboot or recovery firmware from the link(s) below and follow the recommended flashing instructions immediately after the download options. Do not hesitate to report any broken links detected.
Xiaomi Redmi Note 8 (2021) Fastboot ROM
Xiaomi Redmi Note 8 (2021) Recovery ROM (local update)
Important! Always backup existing firmware before flashing any firmware.
How to flash Xiaomi firmware
After downloading the firmware from above link, get a functional USB cable, then follow the instructions via this link to learn how to flash Xiaomi Fastboot and recovery firmware.
If you have any questions or other contribution please post in comments section for assistance.