Every new Mackintosh and Hackintosh user must understand the role of kext but what is kext actually….? It is an abbreviation for kernel extension, it is basically the Mac OS equivalent to a Windows driver,in simple words it is similar to the device driver which inject device ID’s and Vender ID’s to work or perform the hardware properly.
What is KEXT?
Where are kext located?
How to Install a new kext ?
To install new kext open Kext utility and drag the kext
mv KextName.kext KextName.bak
(where kext Name stands for the kext you want to replace) this will rename the kext and this way back it up, which is highly recommended, it is very important to follow this step, it had saved my OS many times
cp -R KextName.kext /System/Library/Extensions
Next you need to fix permissions so the kext can be executed by OS user (root/system)
chmod -R 755 KextName.kext
chown -R 0:0 KextName.kext (this will set the ownership on files to system user (root))
rm /System/Library/Extensions.mkext (this will reset all kext caching done by OSX)
How to uninstall a problematic Kext?
rm -rf name of the kext.kext
sudo rm -rf /System/Library/Caches/*
shutdown -r now
But what if i am not able to boot my OS X and want to delete the problematic kext on this situation you have to boot with Single user mode “-s”
Macintosh user hold the command key before boot the OS X and type “-s”
Hackintosh user simply have to add this flag on chameleon boot menu
To uninstall the Problematic kext to avoid the Kernel Panic see my older guide