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

Svet

Well-known member
Administrator
Joined
Nov 20, 2003
Messages
81,671
log2.png
log1.png
log0.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


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: 4,935
  • Screenshot 2023-04-24 192122.png
    Screenshot 2023-04-24 192122.png
    48.9 KB · Views: 2,426
  • 3a.png
    3a.png
    62.3 KB · Views: 3,445
Last edited:
Lite BIOS version, however there is a no way in advance to tell would be fine or not to flash it.
Because of this the general advice is to do not use it for those series.
But if you want to risk, you can have a try it, there are many positive feedbacks as well.
 
Lite BIOS version, however there is a no way in advance to tell would be fine or not to flash it.
Because of this the general advice is to do not use it for those series.
But if you want to risk, you can have a try it, there are many positive feedbacks as well.
Ok, thanks. I'm have a ticket from support open and I'll see in the coming days if it leads somewhere or not. If not I may try force flashing to downgrade. Pray for me :LOL:
 
Let me know the result if you decide to try it. [and details like from which BIOS version to which BIOS version you are flashing]

P.S: Tool version been updated again to V1.18_V2 with minor changes related to Z670 boards flashing.
 
Update:
- Added separated version of V1.18_V2 intended for Blind Flashing.
[useful when need to fully auto flash BIOS, but there is no display and computer can still boot fine]
 
Last edited:
Update:
- Main Version updated V1.18_V3 with a minor changes related to cross-flashing.
 
Update:
- Blind Flash version updated to V1.18_V3 with a minor changes when flashing is complete to auto shutdown instead of reboot.

Can i use the UEFI Shell Flash tool [V1.18] to solve the issue i am having as mentioned here : https://forum-en.msi.com/index.php?...setup-and-machine-only-boots-with-usb.376802/
The Motherboard is H170A PC MATE . Thanks for any help.

Nope, that too old BIOS class not supported by the tool,
if you want to flash it instead >>Use the MSI HQ Forum USB flasher<<
 
Thanks for this tool.
I used this for MSI B350 PC Mate mobo.
I downgraded from latest bios to E7A34AMS.ALQ version with this tool and it worked flawlessly.
ALQ version allows you to downgrade to AJ0 version with M-Flash method. I did that and finally I have successfully downgraded to Click BIOS 5.

Note :
ALQ version is not available at Support page of MSI.
I used this link :
 
Hi I’m hoping someone can help me I have MSI z390 Mortar board that I got with my medion computer. I have tried the tool and it just shows me a series of commands does not load any bios and at the end of the list it says bios successful but it hasn’t updated. Pics below hopefully someone can point me in the right direction.
 

Attachments

  • DFCFE253-3668-4DDA-892B-EED0BB161E9D.jpeg
    DFCFE253-3668-4DDA-892B-EED0BB161E9D.jpeg
    100.1 KB · Views: 160
  • 5726F3B2-16B9-4035-8DE3-13476034FB2D.jpeg
    5726F3B2-16B9-4035-8DE3-13476034FB2D.jpeg
    84.8 KB · Views: 136
It's issue with the latest update 1.18 V3

Both now are updated to V1.19 to fix this issue + other minor improvements.
Retry with the latest one V1.19
 
Hi Svet thank you so much for your help the updated version worked however I am getting a new error "error: secure flash function is not supported on this file." I am trying to flash with the retail version bios and have tried a few different combinations including the first version and have formatted the usb between each try. Thanks again for your help.
 
That's because your current OEM BIOS and retail BIOS that you trying to flash,
are build via different security mechanisms and your current BIOS do not allow flashing to non - secure/signed BIOS files.

You have to use the correct BIOS file for your board, check it with your OEM vendor.

Or are you intentionally trying to do a cross-flash to retail BIOS?
 
Back
Top