Contribute
Register

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

Joined
Sep 18, 2011
Messages
38
Motherboard
Gigabyte GA-H61M-D2P-B3 F10
CPU
i3
Graphics
GTX 1050
Mac
iMac
You didn't follow the instructions. Go to the OP on this thread and search for "Catalina"
I don't mean to hijack the topic, but I can report back that I got my AlesisFirewire.kext to load to /System/Library/Extensions. It's a pretty beautiful thing.

I'm now using my old 8-input Alesis MultiMix8FireWire mixer with a 2017 iMac running OS 10.15.2. I'm using the mixer to a Firewire400-to-Firewire800 cable plugged into a FireWire800-to-Thunderbolt2 adapter which is plugged into a Thunderbolt2-to-Thunderbolt3 adapter into the USBc port on my iMac.

I tested it out in GarageBand, and it works - multi-track recording at once and everything! Thanks, tonymacx86 community!

Steps I used to get it working:

1. Boot the iMac into recovery mode via [Cmd] [R].
2. Once at the recovery screen, go to Utilities>Terminal and type the following:
csrutil disable; csrutil status [enter]
3. Then type the following:
nvram boot-args="kext-dev-mode=1" [enter] and reboot.
4. Once rebooted, place the kext on the desktop and run Hackintool.app.
a. Select "Tools", then the first little kext icon at the bottom, and then follow the steps.
b. Verify that it shows up in /Library/Extensions. If it doesn't, then go to step c.
c. Use kextBeast and set it to /Library/Extensions. If it doesn't work, then go to step d.
d. Open Terminal and type the following:

sudo spctl --master-disable
sudo mount -uw
sudo killall Finder
sudo cp -R ~/Desktop/AlesisFirewire.kext /Library/Extensions
sudo chown -v -R root:wheel /System/Library/Extensions
sudo touch /System/Library/Extensions
sudo chmod -v -R 755 /Library/Extensions
sudo chown -v -R root:wheel /Library/Extensions
sudo touch /Library/Extensions

sudo kextcache -i /

e. Try kextBeast again, but try the /System/Library/Extensions folder as the target again.
f. If it still doesn't show up again, then run the normal "AlesisFirewire Driver [v3.5.6].dmg" driver installer from Alesis. It should magically work this time.
5. Reboot.
6. If it still doesn't work, then do step 4-5 again.
7. For kicks, run the permissions fixer.
8. Reboot back into recovery mode and go to Utilities>Terminal and type the following:
csrutil enablecsrutil status [enter]
nvram boot-args="kext-dev-mode=0" [enter]
reboot [enter]
9. Verify that the audio source shows up now in System/Library/Extensions, and as a sound input in System Preferences, and test it out in Garage Band with multiple sources at once.

I expect someone could shorten all of these steps into something super efficient. The steps in the initial post of this thread didn't work by themselves on an actual iMac. But, it's working now. Woot woot!:clap::headbang:
 

Attachments

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,673
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
1. You're stating that if Clover detects FakeSMC in /L/E it will not load anything from /Other. Prerequisite is the "Detect" flag. Does this definitely apply to VirtualSMC as well?

Yes as long as Lilu + VirtualSMC is installed in /L/E and "Inject Kexts" is set to "Detect" then Clover will not inject Kexts, I use this myself on all my Hacks.

2. I copy the kexts with the finder to /L/E and then run the Hackingtool to repair the permissions and rebuild the cache is that sufficient? Or do I have to "Install" them with the Hackingtool. Does Hackingtool maybe set any other parameters in the system?

Do not use Finder to copt the kexts, use Hackintool's Install kexts feature, or use the Terminal method as detailed in the guide.

3. How can I verify which kexts were loaded from L/E and which ones from /Other?

Examine the output of the kextcache command (the last block of red text in hackingtool), or simply execute the command at anytime in terminal :-

Code:
sudo kextcache -i /

Each line will show the path from which the kext was loaded by the kernel.

Cheers
Jay
 
Joined
Sep 30, 2016
Messages
19
Motherboard
Asus Maximus IX Hero
CPU
i7-7700k
Graphics
HD 630
Mobile Phone
iOS
Hello Community. I have question, I have a debate of using the kexts int /L/E and set in config.plist detect instead of inject and put them in /EFI/Clover/kexts/other.

in this guide says that the kexts will be inside the kernel, so the SO will run more flawless and smooth; but in many treads I read that I have to set SIP completely disable because if I did not do that at any time being if the cache has to be rebuild it could crash with sip enable.

and in other guides (USB, Power management, iMessages) suggest to use the kexts to be injected so that way you could full enable SIP, (in the iMessages guide request to sip be disabled) and you will have less problems to update in the future etc etc.

So I tried the 2 options. I don't see any performance difference within any of them; so I ask sip has to be disabled to iMessage to work? I intend to stay in Mojave for a while because the 2 vpn apps for my work that I use are 32 bits so I could not use them in catalina, but if I decide to update to catalina is better to inject the kext ? I tried to many times and the USB ports only works with kexts being detected.

some say in those guides that apple will change things and is better to assume that can no longer use kexts in /L/E

so I see the community divided in two.

what do you think?
 
Joined
Mar 18, 2013
Messages
8
Motherboard
ASUS P8Z77-vpro
CPU
i7-3770K
Graphics
RX 580
2. Where should I install 3rd Party Kexts ?

You should install all 3rd Party kexts (including FakeSMC) to /Library/Extensions (/L/E)
Warning: you can not simply use Finder to copy kexts into /L/E (see Section 7 below)
Jay,
your guide says to install kexts into /L/E...
I have LOTS of kext files in my System/Library/Extensions folder.
like over 300.
- can they cause problems?
- should I delete them - OR- copy them to /L/E?
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
16,812
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
Jay,
your guide says to install kexts into /L/E...
I have LOTS of kext files in my System/Library/Extensions folder.
like over 300.
- can they cause problems?
- should I delete them - OR- copy them to /L/E?
System/Library/Extensions is where apple keeps its system kexts, best leave them there
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,673
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
your guide says to install kexts into /L/E...I have LOTS of kext files in my System/Library/Extensions folder.

@michaelbp,

There are basically two types of kexts.

System Kexts - Are the kexts and drivers written by Apple and are installed in /S/L/E during macOS Install.
3rd Party kexts - Are non Apple supplied kexts and drivers that are installed in /L/E as per the Guide

You should not touch the kexts in /S/L/E or install 3rd party kexts in /S/L/E.

Cheers
Jay
 
Joined
Nov 26, 2012
Messages
1,525
Motherboard
Gigabyte Z370 Aorus Gaming 5
CPU
i7-8700K
Graphics
RX 580
Mac
iMac, MacBook Pro
Mobile Phone
iOS
@jaymonkey I found FakeSMC.kext and related kexts in S/L/E. I understand that they should not be there. I attempted to delete them from S/L/E but was unable to do so. Is there a way to delete them? Additionally, I thought that with VirtualSMC.kext the FakeSMC.kext was not needed. VirtualSMC and related kexts are in kexts/other.
Screen Shot 2020-01-21 at 2.41.50 PM.png

Screen Shot 2020-01-21 at 2.35.33 PM.png

Screen Shot 2020-01-21 at 2.41.50 PM.png
 

Attachments

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,673
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
I found FakeSMC.kext and related kexts in S/L/E. I understand that they should not be there. I attempted to delete them from S/L/E but was unable to do so. Is there a way to delete them?

@elfcake,

I assume your running MacOS Catalina ?, if so then to delete the FakeSMC kexts in /S/L/E you need to do the following:-
  • Run Hackintool
  • Click on the Tools icon (step 1 below)
  • Click on the icon to mount the System drive as Read/Write, enter password when prompted (step 2 below)
  • You should now be able to delete the FakeSMC kexts in /S/L/E using finder (step 3 below)
  • Go back to Hackintool
  • Click on the icon to rebuild kernel kext cache (step 4 below)
  • Reboot
Screenshot 2020-01-22 at 13.04.48.png

Additionally, I thought that with VirtualSMC.kext the FakeSMC.kext was not needed.

Correct, you should not have FakeSMC or any of the FakeSMC sensor kexts installed if using VirtualSMC.

Cheers
Jay
 
Joined
Nov 26, 2012
Messages
1,525
Motherboard
Gigabyte Z370 Aorus Gaming 5
CPU
i7-8700K
Graphics
RX 580
Mac
iMac, MacBook Pro
Mobile Phone
iOS
@elfcake,

I assume your running MacOS Catalina ?, if so then to delete the FakeSMC kexts in /S/L/E you need to do the following:-
  • Run Hackintool
  • Click on the Tools icon (step 1 below)
  • Click on the icon to mount the System drive as Read/Write, enter password when prompted (step 2 below)
  • You should now be able to delete the FakeSMC kexts in /S/L/E using finder (step 3 below)
  • Go back to Hackintool
  • Click on the icon to rebuild kernel kext cache (step 4 below)
  • Reboot
View attachment 446164



Correct, you should not have FakeSMC or any of the FakeSMC sensor kexts installed if using VirtualSMC.

Cheers
Jay
Jay, Thank you! That Hackintool is really amazing.
 
Joined
Jan 20, 2020
Messages
3
Motherboard
Dell Optiplex 7010
CPU
i7-3770
Graphics
RX 570
Mac
iMac
Mobile Phone
iOS
Thank you for the guide. I will do what you say in the guide
 
Top