Contribute
Register

[Guide] HackrNVMeFamily co-existence with IONVMeFamily using class-code spoof

Joined
Oct 4, 2016
Messages
7
Motherboard
Gigabyte GA-Z170N-WIFI
CPU
Intel Core i7-6700K
Graphics
Nvidia GTX 980
Mac
MacBook Pro
Hey Rehabman, thanks for the amazing work!

I have generated a --spoof’ed HackrNVMeFamily-10_12_2.kext matched with an ‘SSDT-NVMe-Pcc.aml’ with the NVMe controller's ACPI ID.

When I place the ‘SSDT-NVMe-Pcc.aml’ in ‘EFI/CLOVER/ACPI/patched’ I get a black screen instead of the Apple logo. It gets stuck there.

When I don’t place the ‘SSDT-NVMe-Pcc.aml’ in ‘EFI/CLOVER/ACPI/patched’, the system boots fine with Apple logo, but disk utility doesn’t see my Samsung 960 EVO.

Please advise.


Your help is massively appreciated.

I forgot to compile to SSDT to AML. Instead I pasted the code bare.
I might be... mentally challenged :lol:
 

Attachments

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I forgot to compile to SSDT to AML. Instead I pasted the code bare.
I might be... mentally challenged :lol:
I assume it is working now....???
 
Joined
Oct 4, 2016
Messages
7
Motherboard
Gigabyte GA-Z170N-WIFI
CPU
Intel Core i7-6700K
Graphics
Nvidia GTX 980
Mac
MacBook Pro
Yes! Apologies for waisting your time.
You're a god.
 
Joined
Dec 31, 2013
Messages
28
Motherboard
mac pro
CPU
xeon
Graphics
Dual Radeon D700 12gb
Mac
iMac, MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
Thank you, RehabMan, for this guide. The good news is that the guide clarifies a lot of the information in your patch-nvme README on github: https://github.com/RehabMan/patch-nvme for those of us who don't have your in depth knowledge.
I have a Intel 750 400GB NVMe U.2 SSD I connected it and did all the above and it works I have it booting mac OS and everthing but my problem is that its not going at full speed and I think it may be Mac OS or the NVMe patch that isn't leting it go to its full potential I am only getting 900MBps read and write and it pegs at this. I ran a speed test under windows for this drive and it gets 2400MBps read and 1200MBps write so I don't understand why mac OS is slowing it down? any ideas???

Thanks

o yeah and I am running Mac OS Sierra 10.12.2
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
but my problem is that its not going at full speed and I think it may be Mac OS or the NVMe patch
It is one of those two. Off-topic here... I don't want to get into troubleshooting performance issues with specific devices that are not well supported by the NVMe drivers, or patches provided by PikeRAlpha.
 
Joined
Dec 31, 2013
Messages
28
Motherboard
mac pro
CPU
xeon
Graphics
Dual Radeon D700 12gb
Mac
iMac, MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
It is one of those two. Off-topic here... I don't want to get into troubleshooting performance issues with specific devices that are not well supported by the NVMe drivers, or patches provided by PikeRAlpha.
ok so your saying my Intel 750 isn't supported by the driver thats why I don't get full speeds?

ok cool thanks.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
ok so your saying my Intel 750 isn't supported by the driver thats why I don't get full speeds?

ok cool thanks.
I have no idea... no experience with it. I have only Samsung 950 Pro. It has excellent performance. We should not be surprised with great performance with the Samsung drives, as it appears Apple tested with Samsung drives (possibly a pre-release of the Samsung 960 EVO).

The purpose of this thread is not to catalog the drives which are compatible with Pike's patches. And it is not the purpose of this thread to discuss how each different drive might perform when used with patched IONVMeFamily.kext on OS X/macOS.

The purpose of this thread is to describe a way to implement Pike's patches without the possibility of partial patches in the upgrade scenario, and without the possibility of panic in the case of both HackrNVMeFamily and IONVMeFamily present.

If you want to discuss the performance of your Intel 750 (perhaps amongst others that have it), I recommend you open your own thread that is dedicated to that topic and the users that wish to discuss it.
 
Last edited:
Joined
Dec 8, 2010
Messages
48
Motherboard
Gigabyte Z370 AORUS Gaming 7
CPU
Intel Core i7-8700K
Graphics
ASUS Radeon RX 570 4GB
Mac
MacBook Pro
Mobile Phone
iOS
Hi again.

You had right about that i had must deleted the IONVMeFamily kext to get my NVMe up and running and not with the spoofed kext.

Now i have done a complete reinstall of 10.12.2

Done what you write in this guide. But it seems like it wont load the HackrNVMeFamily kext.
Added a zip with EFI and updated IOReg.

sudo touch /System/Library/Extensions && sudo kextcache -u / output:

kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext HackrNVMeFamily-10_12_2.kext
KernelCache ID: 1C6016BC441A508B3C91A484D48CA98D
 

Attachments

Joined
Oct 8, 2015
Messages
57
Motherboard
Gigabyte Z97x-UDH5
CPU
i5 4690K
Graphics
Gigabyte GTX 980Ti Windforce
Mac
MacBook Pro
Mobile Phone
iOS
Servus!

I am trying to do a fresh install of MacOS (10.12.2) directly to the Samsung 950 Pro. I have currently El Capitan up and running on the system and checked the ACPI path via IoReg. I created the SSDT with the correct path, added the code from config_patches.plist to my config.plist, and created the HackrNVMeFamily 10_12_2 kext with the --spoof option (I did it in El Capitan, is this the cause of trouble?)

The Disk Utility within the installer does not recognise Samsung 950.

Attached in .zip screenshot of the IoReg location, and the EFI/Clover folder.

I hope I have not overlooked the solution within the tread.

Thanks,
Pave

To use the resulting HackrNVMeFamily*.kext:
- make sure the SSDT-NVMe-Pcc.aml is in EFI/Clover/ACPI/patched
- make sure existing _DSM methods at the NVMe SSD ACPI path are renamed or deleted
- install the HackrNVMeFamily*.kext or inject it via EFI/Clover/kexts

Problem Reporting
Provide a detailed and concise description of the problem.

If your drive is not recognized by the macOS/OS X installer or you are getting a panic...

Provide image from Windows Device Manager showing the ACPI namespace path of your SSD.

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.
 

Attachments

Top