[HowTo] Get full NVMe Support for all Systems with an AMI UEFI BIOS

First I have to say thanks for this documentation, this safed my day!

I bought the adapter QNINE Dual M.2 PCIe Adapter for M.2 NVME HDD (M-Key or B-Key) PCI-e 3.0 x4 Host Controller mit Low Profile Bracket for PC Desktop and a Corsair Force MP510 480 GB NVMe PCIe Gen3 x4 M.2-SSD, but I totally forgot to check the adapter for boot support and it failed, because my ASUS SABERTOOTH 990FX doesn’t support nativly the NVMe protocol.

After a little bit of searching here and there I found this thread: And I successfully done it.
But as I don’t trust downloads from unknown hosts to tools with names like CodeRush’s UEFITool, I was looking for an trustful location and found it at GitHub (https://github.com/LongSoft/UEFITool/releases), just scroll down to “0.26.0”. The A55 release wasn’t working for me, I wasn’t able to select Insert after… because it was disabled. The “0.26.0” was working for me. And yes I know it’s based upon “CodeRush”… but safty first. :wink:

My UEFI-BIOS hadn’t the

entry, it’s just named “7A9354D9-0468-444A-81CE-0BF617D890DF”, so I had to try if it works where I was thinking it’s the right position to add the NvmExpressDxE file, and it was working.

For everyone who have the ASUS SABERTOOTH 990FX rev. 1.01, here is my currently working modded UEFI-BIOS (based upon the latest version 1604 from 2012/10/24):
http://labs.undef.name/asus-sabertooth-nvme/SABERTOOTH-990FX-ASUS-1604_NVMe-DXE4_2018-04-18.zip

This is the result of CrystalDiskMark:
http://labs.undef.name/asus-sabertooth-n…B-NVMe-PCIe.jpg



My Specs
Motherboard: ASUS SABERTOOTH 990FX rev. 1.01
Processor: Octa-Core AMD FX-8350 at 4.4 Ghz
RAM: Corsair DIMM 16 GB DDR3-1600 Quad-Kit at 1600Mhz (9-9-9-24)
SSD: Corsair Force MP510 480 GB NVMe PCIe Gen3 x4 M.2
HDD: Toshiba DT01ACA200 2 TB
Graphics:ZOTAC nVidia GTX 1060 (6GB) with driver 425.31

@undef :
Welcome to the Win-RAID Forum and thanks for your feedback!
It is fine, that you succeeded and now are able to boot off your NVMe SSD and to enjoy its performance.
JFYI: Although nearly all modern mainboard BIOSes are AMI UEFI ones, their internal structure is quite different (depending on the mainboard manufacturer and the specific mainboard model). That is why it is not easy to write a guide, which is unrestricted valid for all AMI UEFI BIOSes.
Regards
Dieter (alias Fernando)

Is there anyone who has succesfully flashed P8Z77-V LX modded bios? I have tried everything and seems like the security measures are too hard to bypass. Now thinking about buying CH341a bios programmer.

@s1me :
If your ASUS mainboard shouldn’t support the “USB Flashback” feature, I recommend to use one of the alternative flashing methods. You can find the links to the related guides within the start post of >this< thread.

@Fernando
I tried AFUWIN which gave me security error. Also tried ASUS AI SUITE which seemed to load the bios, but turned out it didn’t work either.

I’m left with no options since I don’t have the USB flashback support and booting the bios from usb-stick doesn’t work.

Tried to downgrade my bios, but it didn’t help. Thanks for this guide anyways I think I’m just gonna upgrade my mobo to this decade!

@100PIER @Fernando
Thank you. You may be right, both of you.
But I’m pretty certain that flash was successful. My mbo for whatever reason reads ntfs formatted stick and drives natively on bios level, and not Fat32. That is strange. I bought it second hand, maybe it was modded before, don’t know. But can’t know for certain. Anyway, as sonn as I got it, i flashed the latest official bios to it, so I don’t think that any previous mods matter if there were any.
I tried to flash it wit FAT32 and it simply didn’t work.
Here is excerpt from mbo’s manual regarding usb flashback procedure:

So these are the exact symptoms (light flashes for five seconds and turns into a stable lighting) I had with Fat32 formatted stick.
When I formatted stick with NTFS, and retried flashback I had this:

Light flashed for longer time, like the flash was in progress, and afterwards it went out. After that my bios settings were defaulted, the first thing I noticed was that Boot logo was on (I always turn it off) and all other settings were defaulted.

So, thank you very much for your help and explanations, but untill I get NVME ssd and try to install and boot from it, we won’t know for certain. But it sure looked to me like the flash was in progress and like it finished successfully with NTFS formatted stick.
I’m only writing this to help, if anyone else has the same issue with stick format it may help them. The first thing I would check in that case would be EZ Flash utility from BIOS, if it can access and see FAT32 formated drives and sticks, and also for NTFS drives.
I can’t explain why that is (I have suspicions), but every time I go into EZ Flash tool, it can read only from NTFS drives.
It’s not hard to try and replicate, it’s the same every time with my mbo.
I don’t know why my mbo is different in this regard, but I suspect it is not the only one model that does this and is setup like that.
So for anyone that has problems with usb flashback, it’s worth to try with ntfs format. First check in EZ Flash tool what format of stick is accessible and readable, and if one doesn’t work try the other one.
Also bear in mind that the bios has to be named specifically for your model of mbo, for usb flashback to work, it’s an important step.

Regarding the size of the stick, all 3 othat i tried were 8 GB, maybe that was the problem, I don’t have smaller ones than that. If I manage to get my hands on smaller usb stick I will try with it again and post results here.
Anyway, thank you for the enormous work and help you are doing with this. It’s appreciated


EDIT by Fernando: Unneeded fully quoted post and superfluous image removed (to save space), quoted ASUS manual text formatted

@s1me :
Your problem to get the modded BIOS properly flashed can be solved (maybe with the help of @Lost_N_BIOS ). There is no need to buy a new mainboard!

@Maat236
Here are the screenshoots done for BIOS 2104 P8Z77-V Deluxe as example.
You should do similar checks on your side for your motherboard.
I do not recommend EZ Flash method, the Flashback method for updating BIOS should work for sure 100%. For your small USB key (8GB should work, but 4GB does work) you should use (free) Minitool Partitionning tool to Delete all partitions, then MBR initialize, then Create the single partition Formatted FAT32, then copy your properly labelled .CAP file, then do a FlashBack operation. On my side Flashback did take few minutes (3-4 mn, I don’t remember, but never few seconds…)

P8Z77_BIOS_USBkey.PNG

P8Z77_BIOS_USBkey_Properties.PNG

Yes @s1me - I checked your BIOS and BIOS Lock is disabled by default, so you can easily flash mod BIOS with Intel FPT

Check BIOS main page and see if ME FW version is shown, if not then download HWINFO64 and on the large window on left side, expand motherboard and find ME area, inside that get the ME Firmware version.
Once you have that, go to this thread and in the section “C” download the matching ME System Tools Package (ie if ME FW version = 10.x get V10 package, if 9.0-9.1 get V9.1 package, if 9.5 or above get V9.5 package etc)
BIOS 2501 has ME 8.1, so yours is probably similar now, unless you are on much older BIOS
Intel Management Engine: Drivers, Firmware & System Tools

Once downloaded, inside you will find Flash Programming Tool folder, and inside that a Windows or Win/Win32 folder. Select that Win folder, hold shift and press right click, choose open command window here (Not power shell).
At the command prompt type the following command to create BIOS region dump to modify again >> FPTw.exe -bios -d biosreg.bin

Once you have that biosreg.bin file, redo all your modifications on it. Then reflash via FPT >> FPTw.exe -bios -f modbiosreg.bin

DO NOT do this with your current stock modified BIOS file, you will loose your serial, UUID and LAN MAC address. And you can brick your board if using this with encapsulated BIOS (.CAP)
So once again, do not use this with stock BIOS, for any reason, only use with the BIOS you dumped from the first command to dump BIOS. Modify that, then reflash that file only.

@100PIER
Thank you for your effort and suggestions. That’s exactly what I did the first time, I used MiniTool Partition Free, and MBR intialize and the rest of procedure you described. I sometimes use DiskPart for format and partitioning but it sometimes doesn’t work as expected. I partition and reformat various usb sticks very often in my job (it/tech support & service) and MiniTool Partition Wizard is a great free app that never fails. I completely understand that EZ Flash method is not recommended due to its inability to update modded bios cause it fails security verification. I only used it out of curiosity and for troubleshooting.

When usb stick was formatted to FAT32 the flashback attempt lasted for a few seconds and it failed with led light staying on, exactly like described in manual for unsuccessful flashback.
When usb stick was formatted to NTFS, the flashback continued, led light was flashing for a couple of minutes, i didn’t measure the time but to me it looked like 2-3 minutes, and then the led light turned off. Again, exactly like described in manual for successful flashback.

I haven’t seen FAT32 as prerequisit in user manual, for flashback, but I suspect it’s needed for most of the motherboards. In my line of work I’ve flashed countless motherboard to latest bios, and from usb it’s almost always needed for it to be FAT32.
So EZ Flash seeing all my ntfs drives and folders on them, but not FAT32 made me think mbo reads ntfs on bios level and not Fat32, that’s why I tried with NTFS format, and it sure looks to me like the flashback was successful then.

Nevertheless, if I manage to get my hands on a smaller usb stick than 8GB, out of curiosity I will try the procedure again with FAT32.
It was never my intention to argue with any of you guys. I’m really grateful for the work and help you provide here, and the effort you put into it. I only wanted to help, because someone else may fail flashback operation too if his or her mbo also needs ntfs format for it. It doesn’t take long to try it, and I really think it’s worth a try if all other steps are correct and fat32 flashback fails.

@Lost_N_BIOS

Hello and thanks for the great effort you guys are insane!

I followed your instructions and found out my ME version is Intel ME Version: 8.0, Build 1441, Hot Fix 4 with the latest bios update for my motherboard (2501). So I downloaded FPT Tool 8.1 and when I tried to flash modified bios file it gave me this error: "Error 280: Failed to disable write protection for the BIOS space!"

I also tried AFU before and it gave me same kind of error. Maybe I’ll just order SPI flasher and give it a go.

s1me you did the right way with the replace of files through Al Suite?. Because I faced a similar problem as you describe. It is necessary to strictly follow the rules and at the right time to replace files. And then there will be success.

https://mega.nz/#!M1R0DQDb!lc2yHAlfMlCAR…g9MyyvDfFMlNoZU
@Fernando are you shure thats all ok? i already flash but the bios dont recognize the m.2 ssd, uefi only, secure boot off, fastboot off, csm/legacy off, i start with windows 10 pen drive made in rufus uefi mod and nothing, what can i do?
i’am using pcie adapter
i dont know if the flash are right because i flash from bios menu and in the middle of the installation the pc rebooted, i dont know if this bios have flash back button
and i dont see any “PATA” or "PATA SS"

EDIT by Fernando: Unneeded quoted post and blank lines removed (to save space)

or need to flash with this procedure?
https://www.youtube.com/watch?v=tIdj0i7AxCI

@RYZON :
You as the owner of an ASUS mainboard should know better than me, whether the board supports the USB Flashback feature or not (the mainboard’s manual contains the details).
If not and you want to know how to flash a modded BIOS, please look into the ASUS mainboard section’s chapter B of >this< thread.

This question has already >here< been answered by me.

my board is a MSI Z87 Mpower, I just finish flash this way: https://www.youtube.com/watch?v=tIdj0i7AxCI and still dont work i dont know what ot do more, so i think i flash correctly

@Fernando Is the problem in SSD? I’m using an m.2 that is not nvme i think Transcend M.2 SSD 820S

@RYZON :
After the successful flashing of a BIOS with integrated NVMe module you should see a Disk Drive named “PATA” within the BIOS. If you don’t see such entry, I suspect, that the modded BIOS hasn’t been successfully flashed.
The topic of this thread is about how to get NVMe support and not about how to flash a modded BIOS into the BIOS chip of any mainboard.
Please post your BIOS flashing related questions into the thread I have linked within my last post.

EDIT:

Yes, it is a SATA SSD and doesn’t support NVMe. That is why you cannot see the “PATA” entry within the BIOS.

"EDIT" tomorrow i will test with a real nvme 970 evo, thanks for the help

@RYZON :
Which NVMe SSD are you using? As I already told you, the Transcend M.2 SSD 820S is a SATA and no NVMe one.
As long as no NVMe SSD is connected to your mainboard, you will not see a Disk Drive named “PATA” within the BIOS (although you my have done the BIOS modding and the BIOS flashing correctly).

i am using the Transcend M.2 SSD 820s, but if this is a normal SSD but M.2 the board should recognize it or not?
tomorrow i will test with a 970 evo

@RYZON :
Yes the BIOS should detect the Transcend SSD, but will not show it with the name “PATA”.