How to Repair and fix Kexts using Terminal on MacOs (Mac OS X)
How to Repair and fix Kexts using Terminal on MacOs (Mac OS X)
November 30, 2017
Some software developers may need to test their unsigned (non certified) kexts or some powerusers may want to load modified kexts (for example for use with not official eGPU solutions and others).
In order to do that just follow the instructions below to achieve unsigned or modified kexts working in your macOS system. Please be careful since it's sensitive part of the system and may lead to critical problems in case if anything is not done in correct way! Please use it at your own risk!
Please note if you are using OS X 10.11 and higher , you must disable SIP (System Integrity Protection) first. If you are using OS X 10.10 or lower just go to Step 2 directly:
Step 1 (OS X 10.11 and higher):
● Turn Off your Mac
● Power On your Mac
● After Startup Chime immediately hold down simultaneously ⌘ + R buttons until booting into Recovery Process has been started
● Once Recovery has been booted, go to Utilities Menu and click on Terminal
● Copy & paste the command below pressing Enter after:
csrutil disable
●Restart your Mac
●Once you are logged into your Administrator account, open Terminal and copy & paste the command below hitting Enter after:
sudo rm /System/Library/PrelinkedKernels/prelinkedkernel
●It will ask you for password to input, type you administrator password
●Next Copy & paste the commands below pressing Enter after each one:
sudo rm /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
sudo rm /System/Library/Caches/com.apple.kext.caches/Startup/loadedkextmt.plist
sudo touch /System/Library/Extensions
sudo kextcache -q -update-volume /
sudo kextcache -system-caches
●Restart your Mac
https://www.asylab.com/single-post/2017/11/30/Change-Screenshot-File-Format-MacOs-Mac-OS-X