command line to patch IONVMeFamily.kext for non Apple pci nvme-ssd(s). Based on Pike R. Alpha patches at https://pikeralpha.wordpress.com/2016/06/27/nvmefamily-kext-bin-patch-data/
NVMeP -i "add internal icon fix".
NVMeP -a "leave Apple Class code" (default is 0108200 as per specification).
NVMeP -s [num] "try a specific patch":
0 for Sierra 10.12.1 and later ( .. until the binary is the same)
1 for Sierra DP4 and later (meant 10.12 GM since patches are the same)
2 for Sierra DP1/3
3 for El Capitan 10.11.6 (15G31)
4 for El Capitan 10.11.6 (Beta 4)
5 for El Capitan 10.11.5 (15F34) or 10.11.6 with Security Update (15G1004)
e.g. NVMeP -s 0
NVMeP -k "/path/to/IONVMEFamily.kext (/S/L/E/IONVMEFamily.kext by default)".
Easy ways w/o -s option:
or specifying the path to the kext if working from another partition:
NVMeP -i -k /User/Peter/Desktop/IONVMEFamily.kext
..will find a compatible patch (if any).
NVMeP -h "show help".
NVMeP produces a new kext by copying the original IONVMEFamily.kext into "IONVMEFamilyBorg.kext" and also a configSample.plist containing patches for Clover:
Clover in case of partially patches applied, can cause the corruption of your disk, and anyway in both cases I'm not responsible for any kind of damages or loss of datas. This is a hack, so use only if you have a backup and if you are able to restore the System in case of failure.
IONVMEFamilyBorg.kext (generated by NVMeP "B" version) is based on RehabMan idea here. Datas from Pike's patch extracted by Mork vom Ork here
Source code: https://github.com/Micky1979/NVMeP released under " Creative Commons Attribution-NonCommercial 3.0 Unported" as per Pike R. Alpha will.