Open Porco-Rosso opened 4 years ago
Hackintool has kext install function as well, here is the link: hackintool
Don’t forget to update it before using it
Guide: tonymacx86 Go to “The Hackintool Method” section.
I found the same page and have tried using hackingtool. The tool output seems to work, but I can not see any of the kexts installed in /Library/Extensions
``` spctl --master-disable mount -uw / killall Finder Installing 'AirportBrcmFixup.kext'... rm -Rf /Library/Extensions/AirportBrcmFixup.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/AirportBrcmFixup.kext /Library/Extensions Installing 'AppleALC.kext'... rm -Rf /Library/Extensions/AppleALC.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/AppleALC.kext /Library/Extensions Installing 'BT4LEContinuityFixup.kext'... rm -Rf /Library/Extensions/BT4LEContinuityFixup.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/BT4LEContinuityFixup.kext /Library/Extensions Installing 'HibernationFixup.kext'... rm -Rf /Library/Extensions/HibernationFixup.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/HibernationFixup.kext /Library/Extensions Installing 'IntelMausiEthernet.kext'... rm -Rf /Library/Extensions/IntelMausiEthernet.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/IntelMausiEthernet.kext /Library/Extensions Installing 'IOElectrify.kext'... rm -Rf /Library/Extensions/IOElectrify.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/IOElectrify.kext /Library/Extensions Installing 'Legacy_Sierra_QMI.kext'... rm -Rf /Library/Extensions/Legacy_Sierra_QMI.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/Legacy_Sierra_QMI.kext /Library/Extensions Installing 'Lilu.kext'... rm -Rf /Library/Extensions/Lilu.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/Lilu.kext /Library/Extensions Installing 'NoTouchID.kext'... rm -Rf /Library/Extensions/NoTouchID.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/NoTouchID.kext /Library/Extensions Installing 'SMCBatteryManager.kext'... rm -Rf /Library/Extensions/SMCBatteryManager.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/SMCBatteryManager.kext /Library/Extensions Installing 'SMCLightSensor.kext'... rm -Rf /Library/Extensions/SMCLightSensor.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/SMCLightSensor.kext /Library/Extensions Installing 'SMCProcessor.kext'... rm -Rf /Library/Extensions/SMCProcessor.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/SMCProcessor.kext /Library/Extensions Installing 'SMCSuperIO.kext'... rm -Rf /Library/Extensions/SMCSuperIO.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/SMCSuperIO.kext /Library/Extensions Installing 'Thunderbolt3Unblocker.kext'... rm -Rf /Library/Extensions/Thunderbolt3Unblocker.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/Thunderbolt3Unblocker.kext /Library/Extensions Installing 'USBInjectAll.kext'... rm -Rf /Library/Extensions/USBInjectAll.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/USBInjectAll.kext /Library/Extensions Installing 'VirtualSMC.kext'... rm -Rf /Library/Extensions/VirtualSMC.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/VirtualSMC.kext /Library/Extensions Installing 'VoodooInput.kext'... rm -Rf /Library/Extensions/VoodooInput.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/VoodooInput.kext /Library/Extensions Installing 'VoodooPS2Controller.kext'... rm -Rf /Library/Extensions/VoodooPS2Controller.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/VoodooPS2Controller.kext /Library/Extensions Installing 'WhateverGreen.kext'... rm -Rf /Library/Extensions/WhateverGreen.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/WhateverGreen.kext /Library/Extensions Installing 'X86PlatformPluginInjector.kext'... rm -Rf /Library/Extensions/X86PlatformPluginInjector.kext cp -R /Volumes/Sandisk/hackingtosh files/macOS-ThinkPad-X1C6-opencore/post/kext/X86PlatformPluginInjector.kext /Library/Extensions Rebuilding KextCache and Repairing Permissions... chown -v -R root:wheel /System/Library/Extensions touch /System/Library/Extensions chmod -v -R 755 /Library/Extensions chown -v -R root:wheel /Library/Extensions touch /Library/Extensions kextcache -i / ```
Things like brightness, audio etc work, but this is from the EFI Kexts, as they worked before I even loaded the HDD EFI. How can I confirm these are working?
Try rebooting and post the result of
# kextstat
# ls -la /Library/Extensions
Thank you! @Porco-Rosso
Here are the outputs:
kextstat
:
```
Index Refs Address Size Wired Name (Version) UUID
ls -la /Library/Extentions
:
total 0
drwxr-xr-x 13 root wheel 416 Jan 12 07:41 .
drwxr-xr-x 62 root wheel 1984 Jan 11 16:01 ..
drwxr-xr-x 3 root wheel 96 Apr 15 2019 ACS6x.kext
drwxr-xr-x 3 root wheel 96 May 8 2018 ATTOCelerityFC8.kext
drwxr-xr-x 3 root wheel 96 May 7 2018 ATTOExpressSASHBA2.kext
drwxr-xr-x 3 root wheel 96 May 7 2018 ATTOExpressSASRAID2.kext
drwxr-xr-x 3 root wheel 96 Aug 18 20:33 ArcMSR.kext
drwxr-xr-x 3 root wheel 96 Aug 31 2013 CalDigitHDProDrv.kext
drwxr-xr-x 3 root wheel 96 Dec 12 14:59 EnergyDriver.kext
drwxr-xr-x 3 root wheel 96 May 3 2018 HighPointIOP.kext
drwxr-xr-x 3 root wheel 96 Dec 5 2017 HighPointRR.kext
drwxr-xr-x 3 root wheel 96 Jul 26 03:36 PromiseSTEX.kext
drwxr-xr-x 3 root wheel 96 Aug 8 2018 SoftRAID.kext
From the output from kextstat, it shows that the kexts are loaded. (As the kexts injected in OpenCore will not be shown). I suspect they are prelinked in kernelcache (Definitely) and or in /System/Library/Extensions
If hackintool does not work try cooying them using terminal and then fix the permissions all at once using
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 /
So doing it manually I managed to make the commands work.
I think there is an error in the Hackingtool command
sudo mount -uw
should be sudo mount -uw /
I think that was the issue.
Unfortunately after shutting down I cannot reboot. I get stuck at the white apple logo boot screen... That might be because I am using the EFI files from https://github.com/tylernguyen/x1c6-hackintosh however...
Could you help explain, what the Post kexts are for? (My system seemed to have been running fine) Also, What are the ACPI files for? The installation process for them is complex and I could tell all major functionality was there.
Any clue how I can boot back into the system to try to fix it? Using my install USB, with working EFI just puts me again at the white apple logo.
EDIT: I just went for another clean install using an external NVMe enclosure. Would still be interested in hearing the difference between your repo and Tylernguyen's and the need for /Library/Extentions over just using EFI-based kexts.
The kexts in post folder are meant to be installed in library/extensions folder. The reason why there are kexts installed in library/extensions is installing kexts in library/extensions gives more stable system operation and more like a real Mac.
However, as you can’t install kexts macOS installer (the usb you created when you install macOS, which boots from a read-only dmg file, named BaseSystem.dmg, not an actual APFS filesystem), kexts are injected by OpenCore instead.
In short, kexts in Library/Extensions are configured and loaded after installation, it is designed for long term use; while kexts in EFI after loaded during Recovery Mode, and macOS installation, which is intended for loading temporarily.
Hi, I am following your guide, and Kextbeast does not run on Catalina, As I understand I can not simply copy the kext files to /Library/Extensions
I can't seem to use Kext installer from Clover Configurator either. Is there an alternative? (I am using OpenCore method)