[Updated] The universal solution to activate TRIM

By Machmeter. Original by Guy - 27/03/2011 12:08:40 CEST - Category: Mac OS X

With the help of Maconnect, a member of the forum, we were able to create an extension that will activate the TRIM command on any SSD supporting it. Wether it is an Apple SSD or another brand, whether there is one or more and in that case, even if they are of different brands, the TRIM command should be activated as seen on this screenshot. We say should be because exceptions are always possible.


We tested it both on 10.6.7 and 10.6.6. We haven't tried with earlier versions, but it should work as long as you have the IOAHCIFamily.kext extension in its 2.05 version. (You can download it through this page). If you have more information, please share them on the forum.


The edition of the binary file has already been done, so you just need to place the file at the right place.
First, download  IOAHCIBlockStorage. It is the binary file, not the extension itself. to reach the original file, right click on the extension, choose "Show package contents" and navigate to IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
Replace the original file by the one you downloaded, launch Disk Utility and repair the disk permissions. Check in the list of results that the replaced file is mentioned and marked as repaired. If it is not the case, repair directly the extension, by making a command-I on it, clicking on the lock, entering your password, clicking on "Apply to enclosed items..." and then saying yes to the warning coming-up. It is also explained here.

Once again we would like to warn you, the manipulation itself is not risky as it is very simple, but the type of files involved, the extensions, are very sensitive files in the system.
Here are a few things you should know before doing it:
We haven't been able to test the TRIM command on an extended period of time, so even if the manipulation is successful, there is still a risk for later.
You are about to modify extensions. Be careful to keep a copy of the original extension that you will modify, or even better, the entire system in case an error was preventing any reboot.
Do this modification only if you feel confident, if you are a "bidouilleur" (unfortunately hard to translate in English, as hacker would sound to harsh), otherwise wait for Apple!
Macbidouille and Hardmac cannot be held responsible for any damage occurring to your computer that you may encounter during or after the modification!

[Update] Some readers witnessed some delays during reboot that could be sometimes quite long. Using the "Erase Free Space" in Disk Utility seems to fix the problem.

[Màj2] Cindori, one of our readers, created a software making the TRIM activation automatic.

All you have to do is to launch the software, type your password and once it has done all the work for you just reboot. Of course, though we didn't have any problem with it, you are responsible for the risk you take by using this software, so you should still back-up your system before running it!

All Keywords
Full View
Daily View
List View
Printer Friendly
Tip a friend
Share this page