Contribute
Register

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

Joined
Sep 22, 2011
Messages
1,379
Motherboard
HP EliteDesk 800 G5 Mini
CPU
I9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Has anyone observed the warning "relocation failed" when attempting to install the latest AppleALC.kext (1.5.4) in /L/E? Is this a problem and does this preclude installation of AppleALC.kext in /L/E? Details below...

I'm still installing kexts in /L/E with CLOVER r5122 and Catalina 10.15.7. When attempting to install the latest AppleALC.kext (1.5.4), executing 'kextcache -i /' results in the warning below (repeated 4 times). Acidanthera doesn't consider this to be a problem since it doesn't affect OC kext injection and they no longer support CLOVER and kexts installed in /L/E. This warning does not occur with AppleALC.kext 1.5.3. Does anyone know if this warning is a problem for AppleALC.kext installed in /L/E? Thank you.

Code:
kxld[as.vit9696.AppleALC]: Warning: relocation failed because some class in this kext didn't use the OSDeclareDefaultStructors and OSDefineMetaClassAndStructors, or didn't export all vtable symbols, so it still references IOService::_RESERVEDIOService0(), which has been patched with another symbol for binary compatibility. Please make sure all classes that inherit from OSObject use these macros.
Even thought Acidanthera does not support installation of kexts in /Library/Extensions, Vit9696 has fixed the AppleALC.kext issue that caused the errors I had reported. AppleALC.kext 1.5.5 should no longer have these errors and will install without issues in /Library/Extensions.
 
Joined
Sep 17, 2012
Messages
168
Motherboard
Asus Prime Z490-A
CPU
Intel i9-10850k along with Noctua NH-D15 SSO2 D-Type Premium CPU Cooler
Graphics
Primary: Sapphire Pulse RX 570, Secondary: UHD 630
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
I would say the Hackintool is the easier way to do this..Nomsayin'?
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,997
Motherboard
GB Z490 Vision G
CPU
i9 10850K OC @ 5.2 GHz
Graphics
Vega 64 LC + HD 630
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Mobile Phone
  1. iOS
I would say the Hackintool is the easier way to do this..Nomsayin'?

@roboman01,

The use of Hackintool to install kexts in /L/.E is covered in Section 6 of the guide in post #1.

Cheers
Jay
 
Joined
May 10, 2012
Messages
60
Motherboard
X299 PRO/SE
CPU
I7 10920X
Graphics
RX-580 DELL OEM
Mac
  1. Mac Pro
@roboman01,

The use of Hackintool to install kexts in /L/.E is covered in Section 6 of the guide in post #1.

Cheers
Jay
Somehow in Big Sur Lilu+NVMeFix in /L/E does not load NVMeFix only Lilu. This is on MacBook Pro without OC. With OC everything loads but installed in /EFI/OC/Kexts
 
Joined
Oct 10, 2015
Messages
893
Motherboard
Z370 AORUS Gaming 3
CPU
i5-9600K
Graphics
RX 580
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
I would say the guide is only for pre-macOS 11 with Clover. From macOS 11, /L/E should not be considered for either Clover or OpenCore.
 
Joined
Jul 31, 2015
Messages
27
Motherboard
GIGABYTE GA-Z97X-UD3H (rev. 1.2)
CPU
i7 4790K
Graphics
RX 560
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
I realize this is an old topic, but I have a question. I have read the first 12 pages and cleaned up my kexts as you describe. And things are working fine. But I looked into my /S/E file and find the kexts shown in the attached file. This is on my #3 Hackintosh with the Z370 board. The only ones I had in Other were the ones you talk about, and I really have no idea where all of the others came from. ( bear in mind that I built my first hack at 76, four years ago) How do I determine if I need them?? Thanks for any help
 

Attachments

  • kexts 7:19.jpeg
    kexts 7:19.jpeg
    61.2 KB · Views: 11
Joined
Jul 11, 2012
Messages
450
Motherboard
Gigabyte GA Z68XP-UD3
CPU
i7 3770
Graphics
GT 210
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. Android
I realize this is an old topic, but I have a question. I have read the first 12 pages and cleaned up my kexts as you describe. And things are working fine. But I looked into my /S/E file and find the kexts shown in the attached file. This is on my #3 Hackintosh with the Z370 board. The only ones I had in Other were the ones you talk about, and I really have no idea where all of the others came from. ( bear in mind that I built my first hack at 76, four years ago) How do I determine if I need them?? Thanks for any help
ACS6x.kext
ArcMSR.kext
ATTOCelerityFC8.kext
ATTOExpressSASHBA2.kext
ATTOExpressSASRAID2.kext
CalDigitHDProDrv.kext
HighPointIOP.kext
HighPointRR.kext
PromiseSTEX.kext
SoftRAID.kext
are part of MacOS, you can leave them there, they're generally useless.
As for the rest of them, some are drivers installed by some peripheral (HP, Logitech) or some utility (SoundFlower). It's up to you to know whether you're using them or not. Ideally, you should uninstall them properly, if you don't need them any more, but if you leave them there nothing bad should happen. ;-)
In case of doubt, copy their name and search on the web for their use and origin.

I'm not talking about FakeSMC, Lilu, etc. I guess you know what they are, just check that you haven't got them in both Other AND L/E.
All those "hacking" extensions should be at the same place, so if they are already in Other, delete them from L/E (or the other way around depending on your preferences...)
 
Joined
Jul 31, 2015
Messages
27
Motherboard
GIGABYTE GA-Z97X-UD3H (rev. 1.2)
CPU
i7 4790K
Graphics
RX 560
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Thanks Nodarkthings for the quick response. I guess the only two that I question are the 200 and 300 XHCI injector kexts. I seem to remember that they were recommended for the orginal installation
 
Joined
Jul 31, 2015
Messages
27
Motherboard
GIGABYTE GA-Z97X-UD3H (rev. 1.2)
CPU
i7 4790K
Graphics
RX 560
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
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.




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




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
OK, now I run sudo kextcache -i / and came up with the attached file. Can you explain to me why it says they are all loaded twice? I don't understand this. Thanks
 

Attachments

  • kextload order.txt
    4.8 KB · Views: 11

Feartech

Moderator
Joined
Aug 3, 2013
Messages
23,690
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
OK, now I run sudo kextcache -i / and came up with the attached file. Can you explain to me why it says they are all loaded twice? I don't understand this. Thanks
that is fine, they are only loaded the once, although most just keep their 3rd party kexts in their EFI
 
Top