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

@gamaquintero :
Welcome to the Win-RAID Forum!

The file, which is required for the BIOS modification, is named NvmExpressDxe_4.ffs and available within the start post of this thread. The BIOS modding work should be done by yourself. It is very easy, if you follow the chapter 2 a) of my guide (=start post of this thread). If you should be unsure regarding your BIOS modification, you can attach your work. Then we will check it and let you know, whether it is ready for being flashed or not.
Good luck!
Dieter (alias Fernando)

Thank you for your swift reply Fernandoā€¦

1. I will try to ā€˜Replaceā€™ the original NVMe module with the latest NvmExpressDxe_4 and test.

2. You are of course correct, it is Asus ā€˜H87M-Eā€™ and I too have re-downloaded and checked and find there are no NMVe modules in the original Asus bios - I believe I must have loaded one of my test bioses in error! I have succeeded to insert NVMe module in bios but can you suggest the best way to flash it as CAP file will be protected - should I better to extract the ROM, modify it and then use AFUWINx64 to flash the updated ROM back?

3. Thank you for clarifying that the PciExpressDxe module is not needed for PCIe booting.

Yes, provided, that your mainboard doesnā€™t support the "USB BIOS Fashback" feature. >This< is the matching thread for this question.

Thanks for your reply

I already modified the bios file I get an error "the bios image model does not match the rom memory of the installed bios"

Attachment https://mega.nz/#!HqYlyCzQ!ej_wW6fHQU8FIā€¦PX-7e4gXrBndJAk

I donā€™t know how to perform the update

Fernando
It doesnā€™t let me update for security too. I think it is when saving the project because I do everything well according to the manual.

@gamaquintero :
Questions:

  1. How did you try to get the modded BIOS flashed? You cannot use the normal ASUS BIOS flashing tool. >Here< is the thread about how to get a modded AMI UEFI BIOS properly flashed.
  2. Why did you insert the ā€œsmallā€ variant of the NvmExpressDxe_4 module? I had no problem to get the full sized uncompressed module named NvmExpressDxe_4.ffs properly inserted into the BIOS 2103 for your ASUS Gryphon Z87 mainboard.

OK, so my results of testing are that when the NvmExpressDxe_4 module is inserted into the bios for the Asus H87M-E then the system locks up every time CrystalDiskMark (v6 or v7) is run. I have a fresh and fully updated Win 10 1903 Pro x64 install and have tried with the standard MS NVMe driver as well as various Samsung NVMe drivers including latest v3.2 all with same result i.e. = system lock up when running CrystalDiskMark.

Finally, after replacing with the original NvmExpressDxe module (from circa 2015) everything works fineā€¦I have seen there are maybe 4 versions of the NVMe module but the original one seems to work best for me.

My Z77 Maximus V Gene is also running the original module but not sure I will update it at present.

Hope this may help others so they donā€™t spend hours trying various configurations as I did :slight_smile:

@delprong :
It is your decision, which NVMe module you insert into the BIOS of your mainboard, but for me your report is not a proof, that the first of all released NvmExpressDxe module is better than the much newer and better developed NvmExpressDxe_4 one. Maybe your used benchmark tool is the reason for your reported issue.
Please test the performance with another tool like Anvilā€™s Storage Utility.

Also, I found that easiest way to flash the ā€˜lockedā€™ bios for my Asus H87M-E with a ā€˜moddedā€™ bios was as follows:

  1. Download AFUWINX64 tool (v3.05) into a folder on your boot drive e.g. C:\AFUWINX64
  2. Download the latest original ā€˜cleanā€™ bios for your system e.g. Bios.cap into C:\AFUWINX64
  3. Download MMTool (v4.50) into C:\AFUWINX64
  4. Download the NVMe module you wish to insert e.g. NvmExpressDxe.ffs into C:\AFUWINX64
  5. From CMD prompt run AFUWINX64 to extract backup copy of your ā€˜existingā€™ bios into C:\AFUWINX64 (useā€¦ AFUWINX64.exe Extracted.rom /O )
  6. From CMD prompt run MMTool and load in the Extracted.rom file
  7. Next browse and ā€˜insertā€™ the NVMe module into the CSMCORE section of the Extracted.rom file (as per Fernandoā€™s guide)
  8. Then save a copy of the modded file e.g. BiosNvme.rom into C:\AFUWINX64
  9. From CMD prompt run AFUWINX64 tool to flash your system with original ā€˜cleanā€™ bios you downloaded (useā€¦ AFUWINX64.exe Bios.cap ) THENā€¦
  10. From CMD prompt run AFUWINX64 tool to flash your system with the ā€˜moddedā€™ bios you made in MMTool (useā€¦ AFUWINX64.exe BiosNvme.rom /GAN )

(Note: The /GAN option may not be supported in versions of AFUWINX64 later than v3.05)
Exit CMD prompt and restart your system :slight_smile:

EDIT by Fernando: The list has been formatted by me (to save space and for better readability)

Hi Fernando,
I am not of course saying this is proof original NVMe module is the best, just that my system was unstable with the newer v4 module for some reason.
I know of Anvilā€™s Storage Utility but Crystal Disk Mark is also a very popular tool for benchmarking a drive so it should not lock up running it.
With the original module inserted Crystal Disk Mark runs fine and I get the following results:

Asus H87M-E - PM981-NVMe-v3-2.png



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

@delprong :
Thanks for your interesting report and for posting the steps how you managed to get the modded BIOS successfully flashed into your ASUS UEFI BIOS. With the exception of the added ā€œGANā€ suffix it is rather similar to the guide, which can be found >here< within the chapter ā€œB. Methods for ASUS mainboards without USB Flashback supportā€. As soon as I have the required time, I will add there your procedure as an alternative method without the need of the " /GAN" suffix and the usage of an older AFUWINx64.exe file.

Further investigations are required to find out the possible reason for your reported issue with the inserted NvmExpressDxe_4.ffs while running the CrystalDiskMark tool.
As first step I would like to do a deeper look into your 2 modded BIOSes, which gave you different results (the one with the NvmExpressDxe and the other with the NvmExpressDxe_4 module).
Please attach them both as *.ZIP archive or post links to them.
Thanks in advance!

@delprong :
Thanks for your PM with the download links to the requested BIOS files.
I have opened them - one after the other - and couldnā€™t find anything extraordinary.

As you certainly know, there are a lot of possible reasons for an unstable running OS, especially when a CPU and SSD stressing benchmark software is running.
According to my knowledge is is very unlikely, that your reported issue has been caused by the latest NVMe BIOS module, which we are offering here since April 2018.
Reasons for my assessment:

  1. The NVMe UEFI module is only active while booting and has no impact on the processes, which are running thereafter. Once the OS has overtaken the management of the system, it is just the NVMe storage driver, which manages the NVMe Controller and is responsable for its performance and stability.
  2. You are the first Forum member, who reported here about a stability issue after having inserted the NvmExpressDxe_4.ffs module into the BIOS. If you consider, that this thread has meanwhile more than 1,5 millions of views and the big amount of NVMe SSD users, who inserted within the past 1,5 years the exactly same module named NvmExpressDxe_4.ffs, you have to admit, that your suspect, that this module caused your stability problem, is really very unlikely.

If you should ever find out the real source (e.g. the in-use NVMe driver, a specific BIOS setting or a specific program running in the background), please let us know it.

Good luck with the usage of your NVMe SSDs!

Thank you Fernando, for taking the time to look at the files.

I understand there are many factors affecting system stability but my test system is basic and just had a clean install of Win 10 updated and with just drivers and the benchmarking software installed. I thought my experiences with the bios etc may be of help to some other forum users but do accept that as there have been no other reports of instability the NVMExpressDxe4 module is most certainly reliable and that I will need to keep looking for another reason.

Thank you for kind assistance.

Hello. everyone anyone know how can i run Boot Windows on NVME SSD with PCI-E Adapaterā€¦
My PC is ACER Veriton with MB: M4610G Bios P01-B0, 8/31/2012
Thanks

Please could you tell me what 1TB Sabrent NVMe SSD drive you got?
(I have the same mobo and am thinking about doing exactly what you did)
Thanks

@Loud :
Welcome to the Win-RAID Forum!
I have moved your request into this better matching Sub-Forum and thread, because booting off an NVMe SSD depends on the BIOS and not on the driver.
If the mainboard BIOS of your ACER PC should be the one, which is offered >here<, it is an AMI Aptio IV UEFI one. This means, that you have good chances to get your system being able to boot off an NVMe SSD, if you follow my guide (= start post of this thead).
Good luck!
Dieter (alias Fernando)

@mrandy :
It was a Sabrent Rocket PCIe 3.0

@niro @mrandy @CompBear
Since the method how to get full NVMe support is absolutely the same for all systems with an AMI UEFI BIOS, I have merged your posts with the title "GA-Z77X-UD5H F16j 2017/11/14 with NVMe support?" into it.
The answer to the title question was: "Yes!"

@niro
Thanks!ā€“is it this one? https://www.sabrent.com/product/SB-ROCKEā€¦ve/#description

EDIT by Fernando: added nickname of the Forum member, to whom the post probably had been addressed

@Lost_N_BIOS :

Thank you!
Looks like a hard one alreadyā€¦
I am not familiar with flash programmers and finding good local specialist may take me much timeā€¦ Cost unknown, results uncertainā€¦
But as I found following feature:
"System/Emergency ROM Flash Recovery with Video - Recovers system BIOS in corrupted Flash ROM"
listed in the specssheet of my HP Z220 I decided to play a bit with AFU. Did not go far however - I get an "Error 46: Problem Getting Flash Information" - regardless if I try to dump BIOS under Windows (afuwinx64) or using AFUDOS.
What do you think about this? In some other thread someone was describing his Fujitsu-Siemens pc BIOS as "currently not moddable" - maybe this is my case as well and I should simply give it up and try USB stick boot method?

Thanks,
Szymon

EDIT by Fernando: Unneeded part of the fully quoted post removed (to save space) and directly addressing to the author added (to get him notified about your post)