I have tested Rehabman's NVMe patch based upon the Pike code. It works and eliminates the shutdown/start-up error problem we've seen with the NMVeGeneric.kext. If you use RehabMan's patch, backup your NMVeGeneric.kext.
https://github.com/RehabMan/patch-nvme
Here's my procedure for using the patch script:
Download the patch .zip file and keep it in your ~/Download folder. Unzip it and note the folder name because mine was named "patch-nvme-master"
Use this Terminal command to determine your installation drive's EFI partition:
Use the EFI Mounter v3 to mount your installation's drive EFI partition
Go to the /EFI/EFI/Clover/kexts/10.11/ folder and drag the NMVeGeneric.kext to a backup location. This will just copy the file, so, after you copied it, trash the NMVeGeneric.kext in the .../10.11/ folder.
Run the following Terminal commands (again, make sure of the patch folder's name in /Downloads):
Code:
cd ~/Downloads/patch-nvme-master
./patch_nvme.sh 10_11_6
Drag the HackrNVMeFamily-10_11_6.kext from the ~/Downloads/patch-nvme-master/ folder to the /EFI/EFI/Clover/kexts/10.11/ folder.
Reboot