Forum UEFI Shell Flash tool [V1.57] for MSI boards! ✔

Svet

Well-known member
Administrator
Joined
Nov 20, 2003
Messages
82,889
1724015935636.gif


log2.png


Download tool from the link:
>>> Latest Forum UEFI Shell Flash tool <<<


This tool will allow automated flashing MSI boards from UEFI Shell.

Important:
Do NOT use it on a MSI AMD boards from 3
xx boards Series. [like X370/B350]

(its OK to use for X399 and A320, AMD models as 3xx exception)

It's OK to use for any other newer than [X370/B350] MSI AMD boards or Intel boards.



16mb.jpg


32mb.jpg



u6KCDQh.jpg

V1.13 Add extra support for ME FW Update for all MSI Z490 Series:
MPG Z490 CARBON EK X
MEG Z490 UNIFY
MEG Z490I UNIFY
MPG Z490 GAMING CARBON WIFI
Z490-A PRO
MPG Z490 GAMING EDGE WIFI
MPG Z490 GAMING PLUS
MAG Z490 TOMAHAWK
MEG Z490 GODLIKE
MEG Z490 ACE
MPG Z490M GAMING EDGE WIFI

V1.31 Add extra support for FW for Raptor Lake boards for all MSI Z790 Series:
PRO Z790-S WIFI
MPG Z790 CARBON WIFI
MPG Z790 EDGE WIFI DDR4
MAG Z790 TOMAHAWK WIFI DDR4
MPG Z790 EDGE WIFI
MAG Z790 TOMAHAWK WIFI
Z790 GAMING PRO WIFI
Z790 GAMING WIFI
MPG Z790I EDGE WIFI
PRO Z790-P DDR4
PRO Z790-P WIFI DDR4
PRO Z790-P
PRO Z790-P WIFI
PRO Z790-A WIFI DDR4
PRO Z790-A WIFI
MEG Z790 GODLIKE
MEG Z790 ACE

Updated tool version to V1.32
* Minor optimisations
* Added mini display status, with current status and detected numbers of USB devices in the system.
* Updated ME-FW for Z490 Series to 14.1.70.2228 (released BIOSes few days ago by MSI after ~2 years from prevision FW update to handle latest security fixes and vulnerabilities)

Updated tool version to V1.33
* implement self update feature
* a lot of performance and memory optimizations
* hundreds of other small tweaks, improvements, code refactoring

1.png


2.png



Updated tool version to V1.34
* minor refactoring
* updated self-crafted ME-FW for MSI Z790 boards to 16.1.30.2264

Updated tool version to V1.35
* minor bug fixes. [sometimes in rare case was possible to throw error msg. while preparing the USB key]

Updated tool version to V1.36
* updated and patched 2nd flasher
* add support for B650 & X670 board Series
* applied different optimizations and improvements.

Updated tool version to V1.37
-add enhanced flash support[ME-FW Flash] for B760 Series:
MPG B760M EDGE TI WIFI
MPG B760I EDGE WIFI
MPG B760I EDGE WIFI DDR4
MAG B760 TOMAHAWK WIFI
MAG B760 TOMAHAWK WIFI DDR4
MAG B760M MORTAR MAX WIFI
MAG B760M MORTAR MAX WIFI DDR4
MAG B760M MORTAR WIFI
MAG B760M MORTAR
MAG B760M MORTAR WIFI DDR4
MAG B760M MORTAR DDR4
MAG B760M MORTAR WIFI II
MAG B760M MORTAR II
PRO B760-P WIFI
PRO B760-P WIFI DDR4
PRO B760-P DDR4
PRO B760-VC WIFI
PRO B760-VC
B760 GAMING PLUS WIFI
PRO B760-P DDR4 II
PRO B760M-A WIFI
PRO B760M-A WIFI DDR4
PRO B760M-A DDR4 II
PRO B760M-A DDR4
PRO B760M-P
PRO B760M-P DDR4
PRO B760M-G
PRO B760M-G DDR4
PRO B760M-B
PRO B760M-E
PRO B760M-E DDR4

Updated tool version to V1.38

*Updated self-crafted ME-FW for Z790 and B760 boards from 16.1.30.2264 to 16.1.30.2330

Updated UEFI flash-tool version to V1.39
  • * Fixed issue for Z490 Series:
    • - Unable to perform ME-FW update if the current installed ME-FW version is too old [like: 14.0.xx.xxxx]
  • * Modify Multi tank update to do not flash Non Boot part, if the target platform ID is different or not updated successful.

Updated UEFI flash-tool version to V1.40
  • - Fixed issue: Boot to shell unable to map USB key if they are too many devices in the system.
    • - Add: Display AGESA version for supported BIOS files.
    • - Minor improvements.
    • - Minor GUI update.

Updated UEFI flash-tool version to V1.41
  • * Update: Extend AGESA support detection.
  • * Add: Display Intel ME-FW version for supported BIOS files. [different bases in different colours]
Updated UEFI flash-tool version to V1.42
  • * Update: Optimize and speed-up detection for AGESA & Intel ME-FW
    • * Update: Secondary flasher
    • * Add: Add support for additional custom flash command for 256MBit Intel BIOSes

Updated UEFI flash-tool version to V1.43
  • * Fix: Fixed issue unable to overwrite target if the read only flag has been set
    • * Add: Add Intel ME-FW flash support for Z690 Series:
    • MEG Z690 GODLIKE
      MEG Z690 ACE
      MEG Z690 UNIFY
      MEG Z690 UNIFY-X
      MEG Z690I UNIFY
      MPG Z690 CARBON WIFI
      MPG Z690 CARBON EK X
      MPG Z690 FORCE WIFI
      MPG Z690 EDGE WIFI
      MPG Z690 EDGE WIFI DDR4
      MAG Z690 TOMAHAWK WIFI
      MAG Z690 TOMAHAWK WIFI DDR4
      MAG Z690 TORPEDO
      MAG Z690 TORPEDO EK X
      MAG Z690M MORTAR WIFI
      PRO Z690-A WIFI
      PRO Z690-A
      PRO Z690-A DDR4
      PRO Z690-P WIFI
      PRO Z690-P DDR4

Updated UEFI flash-tool version to V1.44
  • * Optimize: ME-FW detection related to system info [not related to flash ME-FW detection]
  • * Improve: Fix ME-FW 14.xx detection "not found" issue to specified class BIOSes [not related to flash ME-FW detection]

Updated UEFI flash-tool version to V1.45
  • * Minor bug fixes

Updated UEFI flash-tool version to V1.46
  • * Fixed rare issue: pressing enter multiple times while loading bios sometimes shows a new empty form.
  • * Fixed issue: Browse for BIOS file appear at left side and dialog position always reset at next execution.
  • * Improve USB BIOS guard handle.
  • * Minor GUI update
  • * Other minor internal optimizations.
  • * Add: Add Intel ME-FW flash support for B660 & H670 Series:
    • -MAG H670 TOMAHAWK WIFI DDR4
      -MAG B660 TOMAHAWK WIFI
      -MAG B660 TOMAHAWK WIFI DDR4
      -MAG B660 TOMAHAWK EVA e-PROJECT
      -MAG B660M MORTAR MAX WIFI DDR4
      -MAG B660M MORTAR WIFI
      -MAG B660M MORTAR
      -MAG B660M MORTAR WIFI DDR4
      - MAG B660M MORTAR DDR4
      -MAG B660M BAZOOKA
      - MAG B660M BAZOOKA DDR4
      - PRO B660 - A
      - PRO B660 - A DDR4
      - PRO B660M - A WIFI
      - PRO B660M - A WIFI DDR4
      - PRO B660M - A
      - PRO B660M - A DDR4
      - PRO B660M - A CEC WIFI DDR4 V2
      - PRO B660M - A CEC WIFI DDR4
      - PRO B660M - VC WIFI DDR4
      - PRO B660M - P WIFI DDR4
      - PRO B660M - P DDR4
      - PRO B660M - G
      - PRO B660M - G DDR4
      - PRO B660M - B
      - PRO B660M - B DDR4
      - PRO B660M - E DDR4​
    • Updated UEFI flash-tool version to V1.47​
  • * Add: Display Tool's Intel ME-FW Flash Versions
  • * Add: Visual indicators when supported BIOS file is loaded in compare to tool's FW Flash versions:
  • - flashing orange if the BIOS ME-FW is lower that tool's FW flash version.
  • - flashing green if the BIOS ME-FW is the same as tool's FW flash version.
  • - flashing light blue if the BIOS ME-FW is higher than tool's FW flash version.
  • * Update Intel ME-FW Flash image for Z790, Z690, B760, B660, H670 Series to 16.1.30.2361
    • Updated UEFI flash-tool version to V1.48
  • * Add flash Intel ME support for PRO Z790-A MAX WIFI.
  • * Add flash support for MPG X570S CARBON MAX WIFI.

Updated UEFI flash-tool version to V1.49
  • * Appy totally different .efi solution for the issue "too many bios file". [The issue should be totally solved now and no longer happens.]
  • * Updated internal assembly modules.
  • * Code refactoring and minor optimizations.
  • * Add flash Intel ME support for newest released Z790 mainboards:
    • -MEG Z790 GODLIKE MAX
      -MEG Z790 ACE MAX
      -MPG Z790 CARBON MAX WIFI
      -MPG Z790 CARBON MAX WIFI II
      -MPG Z790 CARBON WIFI II
      -MPG Z790 EDGE MONSTER HUNTER EDITION
      -MPG Z790 EDGE TI MAX WIFI
      -MAG Z790 TOMAHAWK MAX WIFI
      -Z790 PROJECT ZERO
      -Z790 GAMING PLUS WIFI
      -PRO Z790-P II
      -PRO Z790-VC WIFI

Updated UEFI flash-tool version to V1.50
  • * Updated and re-arranged GUI (including changes for more easy text reading).
  • * Fixed some minor typos related to error messages.
  • * Update Intel ME-FW Flash image for Z790, Z690, B760, B660, H670 Series to 16.1.32.2473
  • * Add new feature: Display Raptor Lake-S B0 CPU's uCode version for supported BIOSes.

  • Updated UEFI flash-tool version to V1.51
  • Fixed bug in .efi module causing func callback's issue in some cases.


  • Updated UEFI flash-tool version to V1.52:
    • * Update .efi detections.
    • * Update other assembly modules.
  • Older version V1.33 and above can self-update to the latest one

  • Updated UEFI flash-tool version to V1.53
    • * Updated Intel ME-FW flasher for Raptor Lake supported boards.
  • Updated UEFI flash-tool version to V1.54
    • * Updated and patch the secondary flasher.
Updated UEFI flash-tool version to V1.55
  • * Improve async operations when preparing the USB key

  • Updated UEFI flash-tool version to V1.56

    • * Improve compatibility with msi's Corsair prebuilt units [thanks to 'fireboy7050159d02de' for reporting & testing]
    • * Updated internal assembly modules

  • Updated UEFI flash-tool version to V1.57
    • * Updated internal assembly modules /sys lang modules/
    • * Updated replacer module (part of build-in self updater)
    • * Add support for newest msi AMD BIOSes formats: 9.4
    • * Updated .efi & shell script modules
    • * Add support for newest MSI AMD platform boards:
      • - X870 GAMING PLUS WIFI
        • - MEG X870E GODLIKE
          • - MAG X870 TOMAHAWK WIFI
      • - PRO X870-P WIFI
      • - MPG X870E CARBON WIFI

-------------
1656453919586.jpg

1656453919547.jpg

1656453919527.jpg


How to use:
Prepare an USB key and format it in FAT32

Short guide for now:
1. Run UEFI_Flash_Tool_Installer.exe
2. Select your MSI BIOS File ["Load MSI BIOS File]
load_1a.png

3. Select your USB key drive [from drop down menu, if the USB key is not listed click "Refresh" button]
usb_select.png

4. Click "Create USB Flash key" and wait to finish.
click_to_create.png

under_preparation.png

done.png


Next reboot computer,
and ensure in BIOS Setup:
UEFI Boot is allowed,
and Secure Boot disabled.

After exit from BIOS Setup while computer is booting:
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,
wait patiently to finish,
ensure successfully message on the screen then reboot or power off the computer.


Optional feature: [Patch AMD BIOS for CP_Flash]
This will allow cross-platform flashing to 32MB BIOS from 16MB BIOS for boards with 256Mbit BIOS chip.
The tool will auto detect if the BIOS support such feature and then will Enable that option.
[in a case when board was flashed to the wrong BIOS to help, restore correct BIOS]
CPFlash_select.png

cpf_warning.png

cpf_in_progress.png

View attachment 168805



Or use special version for Blind Flashing only:
(It's useful when need to flash BIOS without display [but the PC can still boot and works fine] and performs auto flashing)
For Blind Flashing only: Forum UEFI Shell Flash tool [V1.32]

Short instructions for for Blind Flashing:
[prepare the USB key for flashing,[use the same steps to prepare it as above] then shutdown the PC,
and disconnect temporary any other storages except that USB key that will be used for flashing]
Then turn on PC and wait auto flashing to start and finish automatically.
[when blind flashing is complete the PC will auto shutdown,
then you can remove the USB key and reconnect the rest of your storages and turn it on]


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: You can use it to downgrade the BIOS too.
Note4: You can cross-platform flash back to correct BIOS 32MB bios. (if the board been flashed to the wrong BIOS by mistake)

EDIT: A video how to use guide made by user efmled:

efmled date=1563998092 said:
I wanted to Thank you Svet very much! You saved many nerves to lot of people! Tool is great! I managed to downgrade my A.90 BIOS on X470 Gaming Plus MB to A.60. And I also created a video tutorial of how to do it. And put the link to this topic in video's description. if somebody is interesting in. Video has two languages text explanation Russian and English.
efmled date=1563998092 said:
You can attach the link to your top message in this discussion theme. :) Thank you Again !
Here is the link to video:

[youtube]
 

Attachments

  • aa_Screenshot 2023-01-27 211418.png
    aa_Screenshot 2023-01-27 211418.png
    43.2 KB · Views: 5,285
  • Screenshot 2023-04-24 192122.png
    Screenshot 2023-04-24 192122.png
    48.9 KB · Views: 2,739
  • 3a.png
    3a.png
    62.3 KB · Views: 3,756
  • log0.png
    log0.png
    57.6 KB · Views: 4,730
  • log1.png
    log1.png
    57.1 KB · Views: 4,771
Last edited:
Got a pro (noob) tip for everyone. Double check which motherboard you have before flashing. I flashed the B450 Gaming Plus firmware, then started having intermittent audio issues. After 2 days of trying to fix it, I realised I had the B450M Gaming Plus motherboard (Which probably explains why M-Flash wasn't working either). A quick revert to the B450M firmware and all is sorted.

Yes, I am stupid :D
 
I have a Z270-A Pro (MS-7A71 Ver: 1.2) with what i believe is a weird mining focus bios mod, i bought the card second hand. It reports v1.J1 as bios version, i cant use Mflash since i doesnt recognize any of the bios file from MSI, i tried all the versions on the website, several usb sticks, several ports, it recognize the stick and the folder structure but none of the bios file shows up.

I believe It is a similar problem to this: Two MSI Z270 SLI PLUS have different graphic output quality (BIOS mod?) He had a Z270 SLI PLUS with the same weird bios v1.J1 and got rid of it.

And thats how i ended up here. Now, I tried your tool but it keeps saying that "theres too many BIOS file on the drive", odd since theres only 1 file at the time. I tried with both v12 and v16 bios file for my motherboard and with 2 different USB drives (32 GB USb 3.0 and 16 GB USB 2.0, FAT32 with a fresh format in every attempt) in different usb ports, always with the same message.

EDIT: I tried again and it worked. The only thing i did different was to extract the BIOS file on my pc and then copy the file to the usb drive instead of doing drag and drop to the bios file from the winrar window to usb drive, wird but whatever it worked. Now i have the latest retail BIOS on the Z270-A Pro. THANKS!

Hi there. I'm having the same problem this guy had, but his fix isn't working for me. I've got a P67A-G45 running 1.J0 (as of today). It seems that no matter what I do, I can't update from the 1.x series of FW to the 5.x series.

I've tried the windows-based installer, live update, m-flash, and am now trying the flash tool in this thread. The contents of the freshly formatted 8gb USB stick are as shown in the attached screenshot. I pulled that .554 file from this thread: https://forum-en.msi.com/index.php?threads/p67a-g45-bios-not-updated.183345/page-2 But, am hitting the same issue with any .5xx file I've tried. Every time I boot to the USB stick and run startup.nsh, I get the "too many bios files" message and there's nothing I can do from there. I know it's detected the right drive in which to look, as I'm able to verify the contents of the USB stick through the UEFI shell and they match what is shown in the screenshots.

I've followed the instructions in this thread's OP as closely as I can, but for the life of me, I simply can't find any way to ensure SecureBoot is off - though, I suspect I wouldn't be able to boot to the USB stick in the first place if it was. Else, I've done everything in this guide and I'm stumped. I'm trying to do a cost-effective upgrade of my son's PC without breaking the bank, and updating the firmware on the board is required for the chip and gpu I want to give him.

Any ideas where to go from here?
 

Attachments

  • Capture.PNG
    Capture.PNG
    5.3 KB · Views: 281
Hi there. I'm having the same problem this guy had, but his fix isn't working for me. I've got a P67A-G45 running 1.J0 (as of today). It seems that no matter what I do, I can't update from the 1.x series of FW to the 5.x series.

I've tried the windows-based installer, live update, m-flash, and am now trying the flash tool in this thread. The contents of the freshly formatted 8gb USB stick are as shown in the attached screenshot. I pulled that .554 file from this thread: https://forum-en.msi.com/index.php?threads/p67a-g45-bios-not-updated.183345/page-2 But, am hitting the same issue with any .5xx file I've tried. Every time I boot to the USB stick and run startup.nsh, I get the "too many bios files" message and there's nothing I can do from there. I know it's detected the right drive in which to look, as I'm able to verify the contents of the USB stick through the UEFI shell and they match what is shown in the screenshots.

I've followed the instructions in this thread's OP as closely as I can, but for the life of me, I simply can't find any way to ensure SecureBoot is off - though, I suspect I wouldn't be able to boot to the USB stick in the first place if it was. Else, I've done everything in this guide and I'm stumped. I'm trying to do a cost-effective upgrade of my son's PC without breaking the bank, and updating the firmware on the board is required for the chip and gpu I want to give him.

Any ideas where to go from here?
Are you saying using windows 7 doesn't work?
 
Not sure I understand your question. I'm running Win10 pro and the update utilities I'm trying to use are the ones available here: https://www.msi.com/Motherboard/support/P67AG45_B3 Is the Windows installer Win7 only? I see (now, after you've asked) that only Win7 and XP are listed. Am I just up a creek trying to update this in Win10?
They don't work in Windows 10, easiest thing to do, is get another drive and install win 7 on it. Use that just for the updates, then plug the windows 10 drive back in. Don't connect win 7 to the internet though.
 
Thanks. @laurence1211 actually got me where I needed to go. Thank you very much, Laurence! I had to flatten the computer and install Win7, then reinstall Win10 after the bios upgrade was done. A pain for sure, but not entirely unexpected for old hardware like this. In any case, I'm all set now.
 
Hi there,

I've just noticed that I've made a big BIG oopsie.
Ages ago, I used this tool to flash my BIOS as I couldn't get the update to work through M-Flash.
Turns out I've flashed the BIOS file for a completely different board, the B450M Mortar instead of the B450M Mortar Max, basically what @zombyp15cb02ea did.

I've tried to flash back to the correct bios, but I get error 0x39: "Multi Tank ROMs' ROM ID do not match platform ROM ID".

Is there anyway to resolve this by forcing an update or am I stuck with the other board's BIOS forever?

Here's the links to the BIOS':
BIOS I flashed: https://download.msi.com/bos_exe/mb/7B89v1E.zip
BIOS I should have flashed: https://download.msi.com/bos_exe/mb/7B89v28.zip

I'm lucky to not have a bricked board, I know, but any help would be appreciated.


EDIT: I have resolved this using a tool normally for modded BIOS', which skipped the platform check and allowed me to restore the correct bios onto my board. Many thanks for your great work however!
 
Last edited:
Hey, so am on GNU+Linux and whenever I add only one bios firmware to the root of the USB and boot into the USB, it says it has selected the correct bios version and then it says too many bios versions found, what might this be the cause of?
Code:
robigan@robigan-MS-7B79 | /media/robigan/USB STICK | ls -la
total 32780
drwxr-xr-x  3 robigan robigan     4096 Jan  1  1970 .
drwxr-x---+ 4 root    root        4096 Jul 14 18:47 ..
-rw-r--r--  1 robigan robigan 33554432 May 18 04:51 E7B79AMS.HC0
drwxr-xr-x  3 robigan robigan     4096 Jan 24 02:00 EFI
This is the output of the root of my USB stick, I cannot understand why else this causes issues, am using this tool also bc I got upgraded to the Click BIOS GSE Lite version and the M-FLASH there seems to be broken, according to the description of the M-FLASH entry, it says to pick a file to update BIOS to and then it'll restart with the bios flasher tool, but it does so and then says "No file found" without ever showing me a prompt of the file to pick from. I have tried with the same format of the root dir MSI docs say to use and even placing the file in the root of the USB, this makes no sesne
 
Hello all
@Svet
It is possible to backup the full BIOS (32mb) on the AMD X570/B550 boards with this tool? I did try the /ATR but I do not know if it needs other attribute so it only backed half of the BIOS belonging to the ZEN3 that I am using now.
I got ZEN/ZEN+ CPUS that I can setup in the board and dump the BIOS and then add the first portion of the BIOS to the second BIOS dump from ZEN2/ZEN3 setup, ending up with the full BIOS backup, but should be easier and nice :) to do all in one step not to mention that not every one is an hardware addict like me to have all Ryzen generations in their hands :)
Thanks.
Be well
 
Last edited:
@Svet - Question.

Background - yesterday, I cleanly installed MSI Center on my system, for the X570 GODLIKE, which has dual UEFI fw 'slots' (if there is better terminology, I apologize). I then got everything working fine, and at the tail end of setup noticed, after scanning, that I was still on the E3 βeta fw ver. I told Center to update the fw to E0 stable release, and it got stuck at 50%.

After 3 hours, I had no option but to kill the machine. I've since been able to flash from the back I/O flash port both E0 and E3, but one "slot" refuses to boot the machine at all, and the other, while allowing me to change settings in the settings and boot the rig, won't let M-Flash load, leaving me with the back post for flashing fw as my only method.

With this tool, do you think it would be possible to get at least the one slot that boots working fully correctly, (mainly the M-Flash) or is M-Flash failing to load specifically because one slot is now 'damaged'?

I've also started a ticket with MSI to see what resolutions I can make use of, as the mobo is only a year old from purchase (well 13 months), and if it can be RMAd, cool. But I like to know all of my alternatives.
 
@nkyadav
Background - yesterday, I cleanly installed MSI Center on my system, for the X570 GODLIKE, which has dual UEFI fw 'slots' (if there is better terminology, I apologize). I then got everything working fine, and at the tail end of setup noticed, after scanning, that I was still on the E3 βeta fw ver. I told Center to update the fw to E0 stable release, and it got stuck at 50%.
E0? E3? Those are unknown to me
Can you tell full BIOS ID of those?

, which has dual UEFI fw 'slots'

You mean dual BIOS?

After 3 hours, I had no option but to kill the machine. I've since been able to flash from the back I/O flash port both E0 and E3, but one "slot" refuses to boot the machine at all, and the other, while allowing me to change settings in the settings and boot the rig, won't let M-Flash load, leaving me with the back post for flashing fw as my only method.

I'm confused what is E0 , E3 and what you call "slot. Can you clarify better?
 
It is possible to backup the full BIOS (32mb) on the AMD X570/B550 boards with this tool? I did try the /ATR but I do not know if it needs other attribute so it only backed half of the BIOS belonging to the ZEN3 that I am using now.
I got ZEN/ZEN+ CPUS that I can setup in the board and dump the BIOS and then add the first portion of the BIOS to the second BIOS dump from ZEN2/ZEN3 setup, ending up with the full BIOS backup, but should be easier and nice :) to do all in one step not to mention that not every one is an hardware addict like me to have all Ryzen generations in their hands :)
Thanks.
Be well

Should be possible
 
Back
Top