Please disable your adblock and script blockers to view this page
You Are Here: Home » DIY » Doubts About Delete KextCaches You Should Clarify
DIY kextcaches

Doubts About Delete KextCaches You Should Clarify

The kextcaches is the program which belongs to Apple family that creates caches for the particular kext,This actually speed up kext loading time at the time of booting the Mac OS X.It is invoked automatically as needed to rebuild system caches.

kextcaches

kextcaches collect specific data from the info dictionaries of kexts.There are many individual caches for specific subsets of data; they care collectively called system info caches. These caches are used to optimize disk I/O when working with kexts during late system startup and beyond.  To update the system kext info caches for the root volume, use the -system-caches option.

The last type of kext cache is the mkext cache, which contains the essential files (info dictionary and executable) for an arbitrary set of kexts; executables are unrelocated.  Mkext is a legacy format that was used on prior releases of Mac OS X.  To create an mkext cache, use one of the -mkext, -mkext1, or a-mkext2 options, with appropriate filtering options, described below.

Delete kextcaches via Terminal

# in Terminal
sudo rm -r /System/Library/Caches/com.apple.kext.caches

 And Then run Kext Wizard to repair permissions & rebuild caches.

You can also use Kext Utility but if you are OS X El Capitan user then it will add rootless=0 which Disable System Integrity Protection instead of this you can use this Tool 

echo "********************************************************"
echo "Before run this script, boot your system with boot arg:"
echo "kext-dev-mode=1"
echo "use it just to rebuild cache."
echo "script by: rodrigocunha@inanelymac"
echo "********************************************************"
echo "."
echo "Fixing ownership and permissions..."
chmod -R 755 /System/Library/Extensions/*
chown -R root:wheel /System/Library/Extensions/*
chown root:admin /
echo "Rebuilding kext cache..."
kextcache -system-prelinked-kernel
kextcache -system-caches
echo "."
echo "process complete."
read -p "press a key to reboot"
echo "rebooting..."
shutdown -r now

Source Link Special Thanks to rodrigocunha from InsanelyMac 

Apple recommended method to Delete and update kextcaches via Terminal  

sudo rm -r /System/Library/Caches/com.apple.kext.caches
sudo touch /System/Library/Extensions
sudo kextcache -update-volume /
 Quick Note:-This delete and update kextcahes is works on both Hackintosh as well as Macintosh system and this is working on OS X 10.5 to 10.11

About the author

Pratik N Borkar

Every one Call him a Freak Smartass as tittle but no one knows that he is Avid Apple Fan & Technophilic who passionate about new techno kind a stuff and Apple's new creation like OS X and iOS ,Also He would like to share blog with useful tips,techniques and resources for Hackintosh and Macintosh for Apple addicts.