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

Svet

Well-known member
Administrator
Joined
Nov 20, 2003
Messages
81,943
Screenshot 2024-05-15 133800.png


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

older version V1.33 and above can self-update to the latest one

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

older version V1.33 and above can self-update to the latest one


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

older version V1.33 and above can self-update to the latest one

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

older version V1.33 and above can self-update to the latest one


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

older version V1.33 and above can self-update to the latest one


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.

older version V1.33 and above can self-update to the latest one


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.

older version V1.33 and above can self-update to the latest one

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]
older version V1.33 and above can self-update to the latest one

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
older version V1.33 and above can self-update to the latest one

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
older version V1.33 and above can self-update to the latest one

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]
older version V1.33 and above can self-update to the latest one

Updated UEFI flash-tool version to V1.45
  • * Minor bug fixes
older version V1.33 and above can self-update to the latest one

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​

    • Older version V1.33 and above can self-update to the latest one
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
    • Older version V1.33 and above can self-update to the latest one

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.

    • Older version V1.33 and above can self-update to the latest one


-------------
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,017
  • Screenshot 2023-04-24 192122.png
    Screenshot 2023-04-24 192122.png
    48.9 KB · Views: 2,496
  • 3a.png
    3a.png
    62.3 KB · Views: 3,524
  • log0.png
    log0.png
    57.6 KB · Views: 4,483
  • log1.png
    log1.png
    57.1 KB · Views: 4,459
Last edited:
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.​

older version V1.33 and above can self-update to the latest one
 
I was using the UEFI Flash tool Installer to flash my B660M-A DDR4 WIFI CEC and it failed ~50% through the Erasing Flash phase. Is my BIOS now corrupted and I need to figure out how to spi flash bios?

That issue been tested and results are PASS.
There is no issue, flashed from 1st BIOS version to the latest one, multiple times and goes well each time like expecting.
Looks like indeed you are having some kind of major instability on your PC prior to the BIOS flash attempt.


Hello, I currently have a B450 gaming mag meta 5 (Ms-B930) with a B450M pro vdh max card. I would like to set up the original bios for this card (MS-7A38) with your software but I receive an error, I have the photo attached for you! what do I have to do ? THANKS

No update for this yet for that particular cross-flash behaviour.
 
That issue been tested and results are PASS.
There is no issue, flashed from 1st BIOS version to the latest one, multiple times and goes well each time like expecting.
Looks like indeed you are having some kind of major instability on your PC prior to the BIOS flash attempt.




No update for this yet for that particular cross-flash behaviour.

Thank you for your communication and your kindness for watching
 
I have an MPG z790 edge wifi , I have tried to flash my bios following the guide and get the error message General Error: Can't locate drive map
 

Attachments

  • 20240211_034609.jpg
    20240211_034609.jpg
    272.9 KB · Views: 33
Last edited:
I have an MPG z790 edge wifi , I have tried to flash my bios following the guide and get the error message General Error: Can't locate drive map

Disconnect any other USB drives before proceed, leave only the USB key that you going to flash from.
If needs try a different USB key.
 
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.

older version V1.33 and above can self-update to the latest one
 
@Svet Quick question, my MSI Pro Z790-A WIFI motherboard is misbehaving. I tried flashing BIOS using the Flash BIOS slot & button. After several attempts, with four different USB sticks, I am giving up on this route. The MOBO detects the stick and starts flashing red, but it never completes.

I am first going to try MSI support. Hopefully, they'll help. If not, I may try using this tool as my last resort.

Obviously, I cannot run this tool (on the new MOBO) to create the bootable UEFI stick. Assuming I provide a compatible BIOS file, can I run this tool on an older PC (completely different MOBO) to create the stick? And, then use the created stick with my new MOBO?

I worry because in the tool, under "Computer's Data & USB Keys", my old PC's information (PRIME Z270-A / 0906) is detected and displayed. Is this information used when creating the USB stick? Or, is it purely informational?

Thank you very much for creating this tool. Also, thank you for any help you can provide.

I hope MSI support will be able to help and I won't need your tool. However, it's nice to have options.
 
@Svet Quick question, my MSI Pro Z790-A WIFI motherboard is misbehaving. I tried flashing BIOS using the Flash BIOS slot & button. After several attempts, with four different USB sticks, I am giving up on this route. The MOBO detects the stick and starts flashing red, but it never completes.

Can your PC boot normally?

Obviously, I cannot run this tool (on the new MOBO) to create the bootable UEFI stick. Assuming I provide a compatible BIOS file, can I run this tool on an older PC (completely different MOBO) to create the stick? And, then use the created stick with my new MOBO?

If the computer can boot yes.

I worry because in the tool, under "Computer's Data & USB Keys", my old PC's information (PRIME Z270-A / 0906) is detected and displayed. Is this information used when creating the USB stick? Or, is it purely informational?

Only for information. It can help to make sure pickup the correct BIOS etc.
You can prepare the USB stick on any PC. [as long you make sure to pickup the correct BIOS that you wanted to flash]
 
Wow! Thanks for getting back so quickly.

Can your PC boot normally?

Not the new PC / MOBO. The only thing it seems to react to (at all) is a USB stick in the Flash Bios slot.

You can prepare the USB stick on any PC. [as long you make sure to pickup the correct BIOS that you wanted to flash]

Thank you. This is what I was hoping. Though, with a little luck, when I give MSI support a call, sometime next week, they'll tell me something dumb I've missed.

I've already tried many of the usual suspects, shuffling around the RAM, using the boot-by-screwdriver trick, clearing the CMOS, etc.

The only other thing I haven't tried yet is pulling the CPU, checking for bent pins, and reseating it. This cause would surprise me. I was very careful/gentle orienting and installing the CPU. I've put off messing with it so far, because it was a real pain getting my Noctua cooler to mate with the mounting bracket.
 
Not the new PC / MOBO. The only thing it seems to react to (at all) is a USB stick in the Flash Bios slot.

If your PC can't boot then you can't use it.

Thank you. This is what I was hoping. Though, with a little luck, when I give MSI support a call, sometime next week, they'll tell me something dumb I've missed.

I've already tried many of the usual suspects, shuffling around the RAM, using the boot-by-screwdriver trick, clearing the CMOS, etc.

The only other thing I haven't tried yet is pulling the CPU, checking for bent pins, and reseating it. This cause would surprise me. I was very careful/gentle orienting and installing the CPU. I've put off messing with it so far, because it was a real pain getting my Noctua cooler to mate with the mounting bracket.

Best open a new topic in correct forum area for troubleshooting.
 
Just wanted to post that I used this tool to successfully flash the correct BIOS version for my motherboard: X370 GAMING PLUS. It previously had the BIOS version for a slightly different MSI X370 board flashed.

Thank you for your help @Svet
 
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]
older version V1.33 and above can self-update to the latest one
 
Hi, got a question. So I just ran the tool on my msi PRO Z790-a Wifi and it failed midway the process. Now my pc won't boot anymore, well it boots but has a black screen while it's spinning. Any idea how to solve this?
 

Attachments

  • Screenshot_20240221-153403.png
    Screenshot_20240221-153403.png
    1.1 MB · Views: 42
Why did you run the tool, and not update normally via M-Flash in the BIOS? This Flash tool here is mostly for special cases, where the normal flashing through M-Flash or Flash BIOS Button doesn't give the desired results. It's not the go-to method for regular BIOS updates.

Have you tried the Flash BIOS Button method? That should be able to recover even from a failed BIOS flash.
 
I was having the same issue as the person here
I have a prebuilt pc and was unable to flash the bios using M-flash.. I'll try using the flash button method now too.
Why did you run the tool, and not update normally via M-Flash in the BIOS? This Flash tool here is mostly for special cases, where the normal flashing through M-Flash or Flash BIOS Button doesn't give the desired results. It's not the go-to method for regular BIOS updates.

Have you tried the Flash BIOS Button method? That should be able to recover even from a failed BIOS flash.
 
Back
Top