Jump to content
Micky1979

NVMeP

46 posts in this topic

Recommended Posts

thumb-c14001222a34ac0e24dd0d670325e825-command_icon-1--dragged-.png

 

File Name: NVMeP

File Submitter: Micky1979

File Submitted: 01 Sep 2016

File Category: Patches

 

 

NVMeP

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/

 

 

Usage:

1)

cd /to/a/folder

2)

NVMeP -i "add internal icon fix".

or

NVMeP -a "leave Apple Class code" (default is 0108200 as per specification).

or

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

 

or

NVMeP -k "/path/to/IONVMEFamily.kext (/S/L/E/IONVMEFamily.kext by default)".

Easy ways w/o -s option:

NVMeP

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".

WARNING

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.

 

 

Click here to download this file

Share this post


Link to post
Share on other sites
Advertisement

News

 

El Capitan 10.11.6 has a new update (Security Update). After that IONVMEFamily.kext will be different and old patches for 10.11.6 are no longer compatible: don't use the KextsToPatch!

Use the generated kext instead, NVMeP automatically discovered that latest IONVMEFamily.kext works with old patches that Pike R. Alpha made for 10.11.5. Yes, incredible, but read from this post on.

Share this post


Link to post
Share on other sites

hi Micky1979

 

I tried to use you patch but it KP my machine, previosly I had PikerAlpha, patches manually entered in config.plist, i deleted, them ran your NVME tool, copied the patch over, restarted, KP.

 

  1. Am i also supposed to copy over the data created by the NVME tool in the config.plist as well as the kext
  2. If so, what's the point, should i rather just continue using the manual patches made by Pikeralpha
  3. The KP maybe due to the fact i didn't enter the cpuid into the kext plist, I wasn't sure where to enter this, could you please spell this out for me
  4. thanks for your work, greta tool i'm sure when i can get it to work

TIA

Edited by Allan
Clean

Share this post


Link to post
Share on other sites

1) the NVMeP's help, the README.md and what is already written in this Topic, clearly state that if you use the generated kext, you don't have to use the Clover's KextsToPatch.

 

I think that is easy.

Share this post


Link to post
Share on other sites

ok thanks, then it crashes my sytem

Patches are the same and I've tested it with the Samsung 950Pro nvme (same as your as per your signature), so I wonder if you did something wrong?

  • be sure you don't have any other patches in Clover for IONVMEFamily
  • be sure you have the original IONVMEFamily.kext in /S/L/E
  • be sure (just in the case) to not have the patched kext still prelinked, i.e. rebuild permissions and kexts and reboot.

A ioreg is appreciated to look at your class code, and pict of the kp too (otherwise how can I tell something??)

Share this post


Link to post
Share on other sites

Patches are the same and I've tested it with the Samsung 950Pro nvme (same as your as per your signature), so I wonder if you did something wrong?

  • be sure you don't have any other patches in Clover for IONVMEFamily
  • be sure you have the original IONVMEFamily.kext in /S/L/E
  • be sure (just in the case) to not have the patched kext still prelinked, i.e. rebuild permissions and kexts and reboot.
A ioreg is appreciated to look at your class code, and pict of the kp too (otherwise how can I tell something??)

 

Thanks Micky1979, no other patches in Clover for IONVMEfamily, i just installed the Sierra Beta 7 so everything would be vanilla, and i rebuilt the permission and kexts usingKext Utility.

Not sure if the Crash screen is enough for you sorry

 

Here is my ioreg:

ekwipt Mac Pro.zip

post-91745-0-49808100-1473667171_thumb.jpeg

Share this post


Link to post
Share on other sites

 

Patches are the same and I've tested it with the Samsung 950Pro nvme (same as your as per your signature), so I wonder if you did something wrong?

  • be sure you don't have any other patches in Clover for IONVMEFamily
  • be sure you have the original IONVMEFamily.kext in /S/L/E
  • be sure (just in the case) to not have the patched kext still prelinked, i.e. rebuild permissions and kexts and reboot.
A ioreg is appreciated to look at your class code, and pict of the kp too (otherwise how can I tell something??)

 

Thanks Micky1979, no other patches in Clover for IONVMEfamily, i just installed the Sierra Beta 7 so everything would be vanilla, and i rebuilt the permission and kexts usingKext Utility.

Not sure if the Crash screen is enough for you sorry

 

Here is my ioreg:

 

this is a not problem about NVMEp

Share this post


Link to post
Share on other sites

this is a not problem about NVMEp

 

ok... whats the problem then

 

I do have other issues with the hack but when i use the patches directly in kext to patch in clover, i can see my NVMe drive and it is shown as internal

Share this post


Link to post
Share on other sites

ok... whats the problem then

 

I do have other issues with the hack but when i use the patches directly in kext to patch in clover, i can see my NVMe drive and it is shown as internal

Not sure, but it says "PCI Configuration begin", try to add npci=0x2000 (or npci=0x3000) under "Arguments". By chance, can you tryto install patched kext in SLE (repair permission + rebuild cache)?

Share this post


Link to post
Share on other sites

Another guy has the same problem... He can boot if use "nv_disable=1" and or w/o "nvda_drv=1", can you test it? (I see you have the Web driver installed).

Just for couriosity..

Share this post


Link to post
Share on other sites

Not sure, but it says "PCI Configuration begin", try to add npci=0x2000 (or npci=0x3000) under "Arguments". By chance, can you tryto install patched kext in SLE (repair permission + rebuild cache)?

mike sorry , but npci 0xxxxx is obsolete argument, for me him have problem with video card ...but here now is OT , agree?

Share this post


Link to post
Share on other sites

Another guy has the same problem... He can boot if use "nv_disable=1" and or w/o "nvda_drv=1", can you test it? (I see you have the Web driver installed).

Just for couriosity..

 

 

 

Just tried to install straight into s/L/Extensions and drumroll..

 

It works!

 

Also rebuilt cache and kets with Kext Utility!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By 3dimensions
      AppleNVMe Assert failed: ( 0 != data ) Release IDNode file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-470.40.4/IONVMeController.cpp line 5416
       
      Most of NVMe problems with IONVMeFamily were fixed in macOS 10.13 High Sierra so people rarely have this kind of problems so I have not been able to get information on how to fix this problems on newer macOS versions, macOS Catalina in my case.
       
      So if anyone has any idea on how to bypass or fix this problem, let me know.
      My disk specs: (INTEL SSDPEKNW512G8H) 512GB SSD PCIe NVMe M.2
       
      If you need more information, tell me what you need and how to get it with Windows or Ubuntu.
       
      If there is no solution or it is very hard to fix just tell me and I will try to install macOS Catalina on another PC with HDD because things look very grim. 
       
      I am using Clover UEFI Bootloader.
      Uploading EFI folder if you want to take a peek.
      EFI.zip
       
      Computer: HP 15-da1083ns
      Some basic computer specs

    • By Humboldt421
      I would like to use an intel H10 optane SSD module to create a fusion drive container for an osx install. 
      I have an MSI b360i pro AC mobo with intel i5-8400 amd rx580 8gb and 2x 8gb ddr4 2666 
      Its all in a Dan case with the HdPlex 400w Pure DC PSU 
      Its running windows on a Toshiba KXG5A 512 SSD which is fast but i wanted to install osx and I wanted to use a new drive for that, I chose the H10 intel optane drive because from what I gather if I dont use any optane software or bios settings it will appear as two drives to the UEFI firmware, one 32gb Optane drive and the 512 SSD, I wanted to know if I could use this as a fusion drive container. Has anyone done this? Also I need to figure out the DSDT or clover setup to use to make this mobo boot with the hardware I have. I havent built a osx86 box since ML but I think that i can figure it out with some help. Thanks.
    • By peanutman314
      As you might know the Samsung 970 EVO Plus variant causes major issues on hackintosh installs. I want to keep it plugged into my motherboard for use in Windows. However, if it's plugged in, macOS is going to try to index this disk eventually and it will crash macOS even though it's not the main install disk. 

      Because I don't need this disk under macOS I thought it would be a good solution to somehow disable/hide the unsupported disk for macOS. I looked into doing this via Clover but couldn't find anything useful. I'm hoping I can disable the slot via a DSDT patch. I only want to disable one specific M.2 slot, the others should remain functional (I have another working M.2 disk). So disabling the driver is not an option.

      I have very little experience with DSDTs and I have no idea how to do this. I recently created a USB injection patch using RehabMan's excellent guide, so I have some experience with the process, but no idea how to formulate the DSDT patch. 

      I have a Gigabyte Aurus Pro z390 motherboard. Below is a screenshot of IORegistryExplorer showing the other working drive (not the one I want to disable, that one is not plugged in yet). 
       

      I would be very grateful if anyone can point me in the right direction. If anyone knowns of a non-DSDT solution to disable a specific slot (but not all slots) then that's also fine of course.

      Thank you for your time
    • By NoEnd
      Hi everyone, I have ordered an NVME drive to upgrade my hackintosh drive. My question is how to upgrade my system with this drive? should I clone the drive then plug and play or there are other measurements I need to consider? Also which Application you recommend for the clone? I'm using APFS.
       
      Thanks 
    • By viktr
      Hi!
       
      Please help - cannot install mojave on the gb z370n wifi, 8700, 2x samsung 970 nvme, rx570
      Downloaded latest clover and kexts and installation hangs at the beginning.
      Got some errors at boot (during clover boot, before menu appears) then boot "Mojave install" and then it stuck. Please help. Tried to turn off all fixes, tried old apfs.efi instead of apfsdriverloader - all with no success. Maybe it's a known issue and I'm just doing something completely wrong?
       
      ty
       
       


      clover.tar.gz

×