Contribute
Register

[GUIDE] Installing 3rd Party Kexts - El Capitan, Sierra, High Sierra, Mojave, Catalina

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,663
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
@jaymonkey Thank you for your response. I also want to shift from FakeSMC currently I used in my system, to using VirtualSMC. Is it already stable enough to be used? Do I still need Lilufriend as some posts suggested so?

@soeryobadja,

I've stuck with FakeSMC to-date as it works fine on all my Hacks and have never had an issue with it .... having said that I do keep an eye on VirtualSMC's development and recently I've noticed it being used in more and more builds so I think its fair to say that its stability and compatibility is improving with every new release.

I would say that it is probably advisable to use LiluFriend as a belt and braces approach since SMC emulation needs to be loaded very early in the MacOS boot phase and without it there is no way to guarantee the kext load order from /L/E.

Cheers
Jay
 
Joined
Jan 19, 2018
Messages
143
Motherboard
Q87 ThinkCentre M93p
CPU
i5-4790T
Graphics
Intel HD4600
Mobile Phone
Android
@soeryobadja,

I've stuck with FakeSMC to-date as it works fine on all my Hacks and have never had an issue with it .... having said that I do keep an eye on VirtualSMC's development and recently I've noticed it being used in more and more builds so I think its fair to say that its stability and compatibility is improving with every new release.

I would say that it is probably advisable to use LiluFriend as a belt and braces approach since SMC emulation needs to be loaded very early in the MacOS boot phase and without it there is no way to guarantee the kext load order from /L/E.

Cheers
Jay
@jaymonkey
As usual, a very very clear explanation from you.
Thank you very much for your advise. I will stick with FakeSMC for my current machine, while thinking to use VirtualSMC on my newest build to see how it works.

Thanks again.
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,663
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
As usual, a very very clear explanation from you.
Thank you very much for your advise. I will stick with FakeSMC for my current machine, while thinking to use VirtualSMC on my newest build to see how it works.

@soeryobadja,

Like you I have considered trying VirtualSMC several times in the past, but every time I backed out of it.
FakeSMC has had many years of development, is super stable and is guaranteed to work on all systems so I see no reason to change things just for the sake of it.

VirtualSMC does has some benefits over FakeSMC on laptops as it can enable battery management without having to patch the DSDT and as it matures more benefits will be added.

Without doubt VirtualSMC is the future of SMC emulation on hackintosh systems once Clover is depreciated in favour of the new OpenCore boot loader where it will be the preferred SMC emulation solution.

Cheers
Jay
 
Joined
Sep 21, 2019
Messages
1
Motherboard
asrock z97 extreme6
CPU
i7-4790k
Graphics
GT740
Hi, I have the same system configuration with you, could you share your efi file to me and I totally a newer here?
ASRock Z97 Extreme 6 | i7-4790K | Vega 64 Liquid Cooled + HD 4600 IGPU | 16GB RAM
 
Joined
May 7, 2014
Messages
4
Motherboard
Dell Precision T5500
CPU
Xeon > need model #
Graphics
K5000
Excellent and informative guide. Thank you.
 
Joined
Dec 10, 2016
Messages
62
Motherboard
Gigabyte GA-Z170X Gaming 7
CPU
i7-6700
Graphics
RX 580
Mac
iMac, MacBook Pro
Mobile Phone
iOS
Excellent explanation about the kexts. I learned more about it and now I realized it's necessary to have them in /L/E. Is there a guide on how to put kexts in Library/Extensions in UEFI Shell x64? The reason why I am asking is because I already tried to update to Catalina before seeing this post. It couldn't get past installing the Kernels for injected Kexts...Any suggestions what should I do with this? Is it even related to Kexts or something else? I'm completely locked out and unable to access any of the drives on Hackintosh.
 

Attachments

Joined
Feb 13, 2011
Messages
329
Motherboard
Asus Vivobook S15 / x510UAR
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
Android
@mnsrit :
  1. ALWAYS clone your running OS FIRST to a separate partition

  2. test-boot it via Clover

  3. install the new OS either into the clone or the original
That way you can ALWAYS access the new OS from the old one....

Basics, bra .. ;)
 
Last edited:
Joined
Dec 10, 2016
Messages
62
Motherboard
Gigabyte GA-Z170X Gaming 7
CPU
i7-6700
Graphics
RX 580
Mac
iMac, MacBook Pro
Mobile Phone
iOS
@mnsrit :
  1. ALWAYS clone your running OS FIRST to a separate partition

  2. test-boot it via Clover

  3. install the new OS either into the clone or the original
That way you can ALWAYS access the new OS from the old one....

Basis, bra .. ;)
Thank you. I did back it up to another internal drive before trying to install the Catalina. Yet I now can’t access that either :(. I may have to nuke it.
 
Joined
Feb 13, 2011
Messages
329
Motherboard
Asus Vivobook S15 / x510UAR
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
Android
Also always backup your working EFI partition to a separate partition which you call Clover and test boot from it into your hackOS. That way you can always boot.

Simply boot from Windows or Linux (Live), create a Clover partition, feed it with a known working EFI folder, and boot from it into your backed up macOS. Also you should be able to boot from your installer USB (flash) drive
 
Joined
Sep 6, 2016
Messages
6
Motherboard
661-5577 MC511LL/A, A1312, EMC 2390
CPU
Intel Core i7 870
Graphics
Radeon HD5750
Mac
iMac
I`ve tried to install 3rd Party Kexts into /Library/Extensions through Hackintool on Catalina 10.15.2 as recommended here and received panic:

panic(cpu 6 caller 0xffffff800626520a): Kernel trap at 0xffffff7f8a8c4430, type 14=page fault, registers:

CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x000000001d9d7000, CR4: 0x00000000001626e0

RAX: 0xffffff80a8198f00, RBX: 0xffffff873eb4e000, RCX: 0xffffff80a83f2e30, RDX: 0xffffff80a83f2e30

RSP: 0xffffff873eb13b50, RBP: 0xffffff873eb13c80, RSI: 0x0000000000000010, RDI: 0x0000000000000000

R8: 0x0000000000000000, R9: 0x0000000000001000, R10: 0x0000000000000001, R11: 0x0000000000000000

R12: 0xffffff8006c6e1e0, R13: 0xffffff8006c23d10, R14: 0xffffff8006c23150, R15: 0xffffff80a768b000

RFL: 0x0000000000010286, RIP: 0xffffff7f8a8c4430, CS: 0x0000000000000008, SS: 0x0000000000000000

Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x6, PL: 0, VF: 1



Backtrace (CPU 6), Frame : Return Address

0xffffff873eb135b0 : 0xffffff800613bb1b mach_kernel : _handle_debugger_trap + 0x47b

0xffffff873eb13600 : 0xffffff80062733e5 mach_kernel : _kdp_i386_trap + 0x155

0xffffff873eb13640 : 0xffffff8006264e5e mach_kernel : _kernel_trap + 0x4ee

0xffffff873eb13690 : 0xffffff80060e2a40 mach_kernel : _return_from_trap + 0xe0

0xffffff873eb136b0 : 0xffffff800613b207 mach_kernel : _DebuggerTrapWithState + 0x17

0xffffff873eb137b0 : 0xffffff800613b5eb mach_kernel : _panic_trap_to_debugger + 0x21b

0xffffff873eb13800 : 0xffffff80068d24f9 mach_kernel : _panic + 0x61

0xffffff873eb13870 : 0xffffff800626520a mach_kernel : _sync_iss_to_iks + 0x2aa

0xffffff873eb139f0 : 0xffffff8006264f08 mach_kernel : _kernel_trap + 0x598

0xffffff873eb13a40 : 0xffffff80060e2a40 mach_kernel : _return_from_trap + 0xe0

0xffffff873eb13a60 : 0xffffff7f8a8c4430 com.apple.driver.AppleAHCIPort : __ZN13AppleAHCIPort14InitializePortEv + 0x21e

0xffffff873eb13c80 : 0xffffff7f8a8c9d92 com.apple.driver.AppleAHCIPort : __ZN27AppleIntelPchSeriesAHCIPort14InitializePortEv + 0x1a

0xffffff873eb13cb0 : 0xffffff7f880b0788 com.apple.iokit.IOAHCIFamily : __ZN10IOAHCIPort5startEP9IOService + 0x3b0

0xffffff873eb13d10 : 0xffffff7f8a8c41f1 com.apple.driver.AppleAHCIPort : __ZN13AppleAHCIPort10AttachPortEP9IOService + 0x29

0xffffff873eb13d30 : 0xffffff7f8a8c3040 com.apple.driver.AppleAHCIPort : __ZN9AppleAHCI20CreateIndividualPortEj + 0x10c

0xffffff873eb13d70 : 0xffffff7f8a8c2b74 com.apple.driver.AppleAHCIPort : __ZN9AppleAHCI11CreatePortsEv + 0x2a

0xffffff873eb13da0 : 0xffffff7f8a8c25c3 com.apple.driver.AppleAHCIPort : __ZN9AppleAHCI5startEP9IOService + 0x53d

0xffffff873eb13de0 : 0xffffff800681ae46 mach_kernel : __ZN9IOService14startCandidateEPS_ + 0xf6

0xffffff873eb13e40 : 0xffffff800681a9f1 mach_kernel : __ZN9IOService15probeCandidatesEP12OSOrderedSet + 0xb21

0xffffff873eb13ef0 : 0xffffff8006819d3e mach_kernel : __ZN9IOService14doServiceMatchEj + 0x2ce

0xffffff873eb13f50 : 0xffffff800681c4dd mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x15d

0xffffff873eb13fa0 : 0xffffff80060e213e mach_kernel : _call_continuation + 0x2e

Kernel Extensions in backtrace:

com.apple.iokit.IOAHCIFamily(290.0.1)[1348CB77-02A5-333C-BD2D-2E33F6B182FA]@0xffffff7f880af000->0xffffff7f880c9fff

com.apple.driver.AppleAHCIPort(999.1.1)[440D7F9B-DE37-375D-AFE0-EABC372B001E]@0xffffff7f8a8c1000->0xffffff7f8a8dcfff

dependency: com.apple.iokit.IOAHCIFamily(290.0.1)[1348CB77-02A5-333C-BD2D-2E33F6B182FA]@0xffffff7f880af000

dependency: com.apple.iokit.IOPCIFamily(2.9)[1286D5E5-A6A1-3C44-A244-04C068903DB2]@0xffffff7f86ea5000



BSD process name corresponding to current thread: kernel_task

Boot args: -v debug=0x100 keepsyms=1 ngfxcompat=1 npci=0x2000



Mac OS version:

Not yet set



Kernel version:

Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64

Kernel UUID: C3E7E405-C692-356B-88D3-C30041FD1E72

Kernel slide: 0x0000000005e00000

Kernel text base: 0xffffff8006000000

__HIB text base: 0xffffff8005f00000

System model name: MacPro6,1 (Mac-F60DEB81FF30ACF6)

System shutdown begun: NO

Panic diags file unavailable, panic occurred prior to initialization



System uptime in nanoseconds: 5515772318

last loaded kext at 4327123704: >usb.!UXHCIPCI 1.2 (addr 0xffffff7f87420000, size 204800)

last unloaded kext at 1950350530: org.netkas.driver.FakeSMC 1800 (addr 0xffffff7f8a9e0000, size 69632)

loaded kexts:
 
Top