Contribute
Register

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

Status
Not open for further replies.
Dear @RehabMan

Problem Reporting


Provide a detailed and concise description of the problem.

problem: unable to see nvme drives during installation

I did the below following according to the past previous post with your guidance but still to no avail, not sure if i am missing out anything.
View attachment 249102
i have provided every 'problem reporting steps' here in one post, hope this helps..



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

View attachment 249096

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

EFI Clover.zip attached below for your reference.

View attachment 249103
View attachment 249104

The md5 of your HackrNVMeFamily binary in EFI/Clover/kexts/Other/HackrNVMeFamily-10_12_4.kext/Contents/MacOS/HackrNVmeFamily is: a73ea485067687af813d716645ea371c

It it is not correct for the 10.12.4 kext.
Should be: ba321f2b26770f1f9faebbf627b29b35

It means you did not generate it correctly ... you should have noticed that the script warned you about unmatched MD5 sums...
 
The md5 of your HackrNVMeFamily binary in EFI/Clover/kexts/Other/HackrNVMeFamily-10_12_4.kext/Contents/MacOS/HackrNVmeFamily is: a73ea485067687af813d716645ea371c

It it is not correct for the 10.12.4 kext.
Should be: ba321f2b26770f1f9faebbf627b29b35

It means you did not generate it correctly ... you should have noticed that the script warned you about unmatched MD5 sums...

i am a little confused.

did i do it wrongly?

i clone the repo onto my macbook pro laptop, did a ./patch_nvme.sh --spoof 10_12_4

is it wrong?

shaunstanislaus@Master:~/workspace/patch-nvme.git|master⚡
⇒ ./patch_nvme.sh --spoof 10_12_4
Creating patched HackrNVMeFamily-10_12_4.kext
WARNING: Vanilla MD5 (c7bc37c638dfb1d51cb5ec1ea53c9b1e) does not match expected MD5 (cd81a56a2baa193cc1c66e8b52a618e7)

how do you solve this MD5 error? why am i getting an error? @RehabMan
 
i am a little confused.

did i do it wrongly?

i clone the repo onto my macbook pro laptop, did a ./patch_nvme.sh --spoof 10_12_4

is it wrong?

shaunstanislaus@Master:~/workspace/patch-nvme.git|master⚡
⇒ ./patch_nvme.sh --spoof 10_12_4
Creating patched HackrNVMeFamily-10_12_4.kext
WARNING: Vanilla MD5 (c7bc37c638dfb1d51cb5ec1ea53c9b1e) does not match expected MD5 (cd81a56a2baa193cc1c66e8b52a618e7)

how do you solve this MD5 error? why am i getting an error? @RehabMan

It seems that your MacBook Pro is not running 10.12.4.
md5 c7bc37c638dfb1d51cb5ec1ea53c9b1e is for 10.11.6 with security update 2017-001, not 10.12.4.
 
It seems that your MacBook Pro is not running 10.12.4.
md5 c7bc37c638dfb1d51cb5ec1ea53c9b1e is for 10.11.6 with security update 2017-001, not 10.12.4.

yes my macbook pro is currently on 10.11.6

but shouldn't i spoof the value 10.12.4 cause i am installing 10.12.4 on my desktop?

or you are saying that the value should be of my laptop that i am spoofing from?

maybe you can enlighten me, @RehabMan

i should do ⇒ ./patch_nvme.sh --spoof 10_11_6sec2017-001 ?

shaunstanislaus@Master:~/workspace/patch-nvme.git|master⚡
⇒ ./patch_nvme.sh --spoof 10_11_6_sec2017-001
Creating patched HackrNVMeFamily-10_11_6_sec2017-001.kext
Vanilla MD5 matches expected MD5 entry (c7bc37c638dfb1d51cb5ec1ea53c9b1e)
Patched MD5 matches expected MD5 entry (d1cc8edfc0023d62f1ae81240b93fdac)

OMG , IT SHOWS THE 1TB NVME as internal now!

what do i format it as, Scheme and what name should i give it? @RehabMan
unnamed.jpg

any idea why it doesn't detect the plextor nvme M8Pe?
 
Last edited:
yes my macbook pro is currently on 10.11.6

but shouldn't i spoof the value 10.12.4 cause i am installing 10.12.4 on my desktop?

or you are saying that the value should be of my laptop that i am spoofing from?

maybe you can enlighten me, @RehabMan

i should do ⇒ ./patch_nvme.sh --spoof 10_11_6sec2017-001 ?

shaunstanislaus@Master:~/workspace/patch-nvme.git|master⚡
⇒ ./patch_nvme.sh --spoof 10_11_6_sec2017-001
Creating patched HackrNVMeFamily-10_11_6_sec2017-001.kext
Vanilla MD5 matches expected MD5 entry (c7bc37c638dfb1d51cb5ec1ea53c9b1e)
Patched MD5 matches expected MD5 entry (d1cc8edfc0023d62f1ae81240b93fdac)

OMG , IT SHOWS THE 1TB NVME as internal now!

You can use a 10.11.6 HackrNVMeFamily with 10.12.4, but you should plan on generating a matching kext for your macOS version as per post #1.

what do i format it as, Scheme and what name should i give it? @RehabMan
View attachment 249107

Off-topic.

any idea why it doesn't detect the plextor nvme M8Pe?

You will probably need an additional patch for the Plextor (read patch-nvme README).

Note: It will probably be impossible to make both work if that is the case... Recommend you install matched NVMe SSDs.
 
Hi RehabMan,

Everything fine?

Enlighten me this situation:

In RAID Mode With 2x M.2 NVMe SAMSUNG SM951 MZVPV512HDGL this method is possible? Because the BIOS only shows SATA Mode in RAID.

If i'm ask in wrong topic sorry about that. I read the FAQs about the same, but can't find anything like this trouble.
 
In RAID Mode With 2x M.2 NVMe SAMSUNG SM951 MZVPV512HDGL this method is possible? Because the BIOS only shows SATA Mode in RAID.

No.
You must change the SATA mode to AHCI in order to use your NVMe drives in macOS/OS X.
 
Overview

The purpose of this guide is to explain how to use the class-code spoof technique to keep un-patched IONVMeFamily.kext (incompatible with most PC NVMe SSDs) from loading such that HackrNVMeFamily can be used along side it in EFI/Clover/kexts or installed to the system volume (/Library/Extensions, /System/Library/Extensions).

I first published the technique on insanelymac: http://www.insanelymac.com/forum/to...er-macos-sierra-is-ready/page-29#entry2322636

You should be familiar with the patch_nvme.sh script as discussed in the patch-nvme README on github: https://github.com/RehabMan/patch-nvme

Assumptions:
- installation of Windows on the target
- running install of macOS/OS X (same version as you plan for the target) on existing hack or Mac
- basic config.plist editing skills
- basic MaciASL usage
- basic Clover knowledge
- basic knowledge of installing/injecting kexts

The MaciASL used by this guide is available here: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/
Make sure you have ACPI 6.1 selected in MaciASL->Preferences->iASL.

Hello RehabMan (& TonyMacx86 admins and supporters and followers)

I followed this guide and was able to successfully get the WD BLACK 256 M.2 NVMe to be recognized and loaded. The long frustrating road included multiple boot stick creations and using a second USB stick. On another link here I found a tid-bit of advice that eventually helped, use the USB 2.0 port. My case has dual USB 3.0 ports which worked sometimes for my 16GB USB 2.0 stick and stalled at prohibited logo always with my USB 3.0 stick. Moving the install USB stick to the rear USB 2.0 port worked every time.

I have a few more tweaks for audio and video and I should have a replacement for my real early 2009 iMac.

Thank you RehabMan, and everyone who contributes, for all the great input and hints and tips etc.

James C
Long time Mac user First Time Hackintosh-er
 
I followed this guide and was able to successfully get the WD BLACK 256 M.2 NVMe to be recognized and loaded.

Since you have one of the WD NVMe SSD, maybe you could check if it can be configured as native 4k?
See patch-nvme README for link to post on insanelymac (uses smartctl tools in Linux to determine list of block sizes).
 
No.
You must change the SATA mode to AHCI in order to use your NVMe drives in macOS/OS X.

Hi, RehabMan.

Thanks a lot for a fast replay.

OMG...

The big question is, in the bios only option show me RAID. Don't any other like AHCI.
 
Status
Not open for further replies.
Back
Top