Trim enabler has a lot of problems with how to enable the trim function of ssd.
Here we provide a command line operation method.
1. Back Up Files first
Sudo cp/System/Library/Extensions/IOAHCIFamily. kext/Contents/
PlugIns/IOAHCIBlockStorage. kext/Contents/
MacOS/IOAHCIBlockStorage/System/Library/Extensions/IOAHCIFamily. kext/Contents/
PlugIns/IOAHCIBlockStorage. kext/Contents/MacOS/IOAHCIBlockStorage. original
2. Activate trim
Sudo perl-pi-e's | (x52x6Fx74x61x74x69x6Fx6Ex61x6Cx00). {9} (x00x51) |
$1x00x00x00x00x00x00x00x00 $2 | sg '/System/Library/Extensions/IOAHCIFamily. kext/Contents/PlugIns/IOAHCIBlockStorage. kext/
Contents/MacOS/IOAHCIBlockStorage
3. Clear cache
Sudo kextcache-system-prelinked-kernelsudo
Kextcache-system-caches
4. Restart and trim function is enabled
According to his operation, there is a small error when clearing the cache. It is basically OK and the trim function is enabled.
From 4ngle.org