MSI User Forums admin Svet has prepared a UEFI shell tool that will absolutely flash your BIOS. You can find find the whole thread at:
https://forum-en.msi.com/index.php?topic=302638.0
This tool will allow flashing your MSI's mainboard UEFI BIOS from UEFI Shell.
Prepare an USB key and format it in FAT32
Download the tool from the link:
https://drive.google.com/file/d/1hqEM8AUOEFIkJx9Ct-AFTwCyo0HLIiB5/view?usp=sharing
and extract all contents over the USB key, [FAT32 formatted]
copy/extract the folder structure As Is to the USB key.
Do not omit the folders and sub-folders.
then also add/copy/extract desire MSI UEFI BIOS that you want flash,
on USB key main/root (\) folder.
for example i want to flash a E7A34AMS.M90 BIOS,
and copied the BIOS file on USB key main/root folder
Next reboot computer,
and ensure in BIOS Setup:
UEFI Boot is allowed,
and Secure Boot disabled.
Then boot from USB key,
in UEFI Mode,
You can press F11 during BIOS post/logo screen, then when BBS popup after a while,
choose the prepared USB key with UEFI in front as name.
i.e: choose to boot from:
UEFI USB your drive
then wait, and you will see the BIOS version shown that is going to be flashed.
and you can press a key to proceed with flashing.
If you don't want to proceed with flashing,
you can press "q" to abort at that point.
when flashing starts,
if asked for force flashing answer with "Y",
and wait patiently to finish,
ensure successfuly message on the screen then reboot or power off the computer.
Note1: Be sure to place only one BIOS file on the USB key at the time, before proceed with flashing.
Note2: Due BIOS flashing nature, (which consider every flashing as potential dangerous)
Flash and use at own risk as usual.
Note3: FYI: You can also flash your Ryzen X370/B350 boards back to an older BIOS using this tool