Popular Post Marchrius Posted June 5, 2014 Popular Post Share Posted June 5, 2014 (edited) Update x3: Reported that works also in Final Release. Update x2: Reported that works also in DP8. Update x1: Reported that works also in DP2.Hi guys! This is the IOAHCIFamily from Yosemite 10.10 patched to work with all SSD. Download section http://www.insanelymac.com/forum/files/file/256-enable-trim-on-1010-dp1/ Some user have trouble after copying the kext. In toto there are 4 methods to enable TRIM (use only one): Important: Add "kext-dev-mode=1" as Kernel Arguments or the computer won't boot. 1st Method (Obsolete. Use 2nd or 4th instead) Copy the kext, delete kernel cache in /System/Library/Caches/com.apple.kext.cache/Startup/ and launch the following command in terminal: sudo touch /System/Library/Extensions && sudo kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions Then reboot normally. 2nd Method (For real Mac or Chameleon users) Launch this in terminal (are 4 commands): 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.bak sudo perl -pi -e 's|\x00\x41\x50\x50\x4c\x45\x20\x53\x53\x44\x00|\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00|' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage sudo touch /System/Library/Extensions sudo kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions 3rd Method (Clover only) This is valid only if you use Clover bootloader. Add manually the KextPatch in config.plist: <key>KextsToPatch</key> <array> <dict> <key>Name</key> <string>IOAHCIBlockStorage</string> <key>Find</key> <data> AEFQUExFIFNTRAA= </data> <key>Replace</key> <data> AAAAAAAAAAAAAAA= </data> <key>Comment</key> <string>TRIM Enabler</string> </dict> </array> And reboot. No kernelcache to rebuild! If you use Clover Configurator you can follow this steps: go to Kernel and Kext Patches add a new row in name put IOAHCIBlockStorage in find hex put 004150504C452053534400 in replace hex put 0000000000000000000000 in comment you can write what you want (a description for example) in InfoPlistPatch leave it as is (unchecked) Save and reboot. Or you can follow this video: 4th Method (Mac and Hack) Download this app http://www.insanelymac.com/forum/files/file/329-trim-enabler/ and run it. Edited May 5, 2015 by Marchrius 24 Link to comment Share on other sites More sharing options...
Fabio1971 Posted June 5, 2014 Share Posted June 5, 2014 Great job Fabio Link to comment Share on other sites More sharing options...
MattsCreative Posted June 13, 2014 Share Posted June 13, 2014 does not work causes fatal error that can't be repaired sadly but hey i gave it a shot Link to comment Share on other sites More sharing options...
JahStories Posted June 13, 2014 Share Posted June 13, 2014 working perfectly here with the 3rd method Link to comment Share on other sites More sharing options...
Marchrius Posted June 14, 2014 Author Share Posted June 14, 2014 does not work causes fatal error that can't be repaired sadly but hey i gave it a shot Can you post the description of the error? Use the 3rd method if you have Clover. Link to comment Share on other sites More sharing options...
JahStories Posted June 18, 2014 Share Posted June 18, 2014 working on dp2! 1 Link to comment Share on other sites More sharing options...
xKrNMBoYx Posted July 25, 2014 Share Posted July 25, 2014 So impatiently I tried doing this without fully understanding the commands and steps. My Macbook ended up not being able to boot. That "Do Not Enter" or whatever its called sign came up. I ended up having to go into Recovery mode and inputting more commands to get the macbook bootable. I can now use my computer but at every boot up I have a gray loading bar. It's not that slow so it's not an issue with waiting but from what I've read it's not normal for that to appear from a cold boot or restart. What do you guys think the issue is? Link to comment Share on other sites More sharing options...
rokurou Posted July 27, 2014 Share Posted July 27, 2014 Used method 2. Works perfectly on my MacMini mid 2011. Thank you very much! Link to comment Share on other sites More sharing options...
Marchrius Posted July 27, 2014 Author Share Posted July 27, 2014 So impatiently I tried doing this without fully understanding the commands and steps. My Macbook ended up not being able to boot. That "Do Not Enter" or whatever its called sign came up. I ended up having to go into Recovery mode and inputting more commands to get the macbook bootable. I can now use my computer but at every boot up I have a gray loading bar. It's not that slow so it's not an issue with waiting but from what I've read it's not normal for that to appear from a cold boot or restart. What do you guys think the issue is? In the first method you can restore the backupped kext and rebuild kernelcache. With second method you can restore the backupped binary file. With third, you can't sue third in original mac, you simply delete the string in config.plist. I think you have followed the second one. Il not restore all files and follow the second method. Link to comment Share on other sites More sharing options...
MilesTEG1 Posted August 4, 2014 Share Posted August 4, 2014 I put the third method in the config.plist for Clover on my USB drive witch is going to install Yosemite Beta on my SSD. I can see that TRIM is enabled via the System Information. I'll tell you later if it still the case after the installation. Thanks for your methods. Link to comment Share on other sites More sharing options...
Marchrius Posted August 5, 2014 Author Share Posted August 5, 2014 I put the third method in the config.plist for Clover on my USB drive witch is going to install Yosemite Beta on my SSD. I can see that TRIM is enabled via the System Information. I'll tell you later if it still the case after the installation. Thanks for your methods. It should work with the next betas and the final release. If not let me know 1 Link to comment Share on other sites More sharing options...
MilesTEG1 Posted August 6, 2014 Share Posted August 6, 2014 It should work with the next betas and the final release. If not let me know With pleasure It works great under the public beta since install boot Link to comment Share on other sites More sharing options...
allenwkk Posted August 6, 2014 Share Posted August 6, 2014 I used Trim Enabler 3.2.5 for Yosemite public Beta.. the first time I turn on Trim.. the app will modify com.apple.boot.plist to add kext-dev-mode=1 The Trim then works. However on every boot, there is a 5 second delay (this computer encountered errors in boot and will wait five seconds). To fix it, - should add the Kext-dev-mode=1 using Clover config or com.chameleon.boot.plist on Extra (do this immed after install Trim Enabler and before restart... or your system will not boot). - delete the com.apple.boot.plist in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist - rename the com.apple.boot.plist-org back to com.apple.boot.plist the error is due to Trim Enabler was not expecting an Hackintosh. and it modified apple.boot.plist wrongly. Link to comment Share on other sites More sharing options...
MilesTEG1 Posted August 6, 2014 Share Posted August 6, 2014 I used Trim Enabler 3.2.5 for Yosemite public Beta.. the first time I turn on Trim.. the app will modify com.apple.boot.plist to add kext-dev-mode=1 The Trim then works. However on every boot, there is a 5 second delay (this computer encountered errors in boot and will wait five seconds). To fix it, - should add the Kext-dev-mode=1 using Clover config or com.chameleon.boot.plist on Extra (do this immed after install Trim Enabler and before restart... or your system will not boot). - delete the com.apple.boot.plist in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist - rename the com.apple.boot.plist-org back to com.apple.boot.plist the error is due to Trim Enabler was not expecting an Hackintosh. and it modified apple.boot.plist wrongly. Thank you for the intel ! I've no use of Trim Enabler on Yosemite since I use Clover to modify via the KextToPatch a string for enabling Trim. Link to comment Share on other sites More sharing options...
HBP Posted August 8, 2014 Share Posted August 8, 2014 for those who had it fatal screen on them. if you kept the installer (on a different drive) you can go back into the base system.dmg and pull the altered file from the extensions folder to repair the install. I always backup the installer on a thumb drive before installing a beta OS, it has saved my Bacon more then once... mmm Bacon, time for breakfast. HBP Link to comment Share on other sites More sharing options...
Benevides Lecontes Posted August 9, 2014 Share Posted August 9, 2014 The 3rd method works great on Public beta! Link to comment Share on other sites More sharing options...
CooSee Posted August 22, 2014 Share Posted August 22, 2014 tried current Trim Enabler on current Yosemite. now can't boot :-( how to switch back ? ( no Backup ) thx Link to comment Share on other sites More sharing options...
MilesTEG1 Posted August 22, 2014 Share Posted August 22, 2014 tried current Trim Enabler on current Yosemite. now can't boot :-( how to switch back ? ( no Backup ) thx Witch method did you use ? Link to comment Share on other sites More sharing options...
CooSee Posted August 22, 2014 Share Posted August 22, 2014 (edited) Witch method did you use ? none of the methods here. *** replaced with this kext and Trim works, thx to Marchrius Edited August 22, 2014 by CooSee Link to comment Share on other sites More sharing options...
MilesTEG1 Posted August 23, 2014 Share Posted August 23, 2014 none of the methods here. *** replaced with this kext and Trim works, thx to Marchrius I was tired yesterday I don't read well You used the software TrimEnabler Link to comment Share on other sites More sharing options...
Marchrius Posted August 23, 2014 Author Share Posted August 23, 2014 none of the methods here. *** replaced with this kext and Trim works, thx to Marchrius I'm happy to read that! At next update if you use Clover you can use the 3rd method that is more flexible and don't need to replace any kext. Link to comment Share on other sites More sharing options...
MilesTEG1 Posted August 23, 2014 Share Posted August 23, 2014 I'm happy to read that! At next update if you use Clover you can use the 3rd method that is more flexible and don't need to replace any kext. That's what I use That's working great Link to comment Share on other sites More sharing options...
CooSee Posted August 23, 2014 Share Posted August 23, 2014 I used Trim Enabler 3.2.5 for Yosemite public Beta.. the first time I turn on Trim.. the app will modify com.apple.boot.plist to add kext-dev-mode=1 The Trim then works. However on every boot, there is a 5 second delay (this computer encountered errors in boot and will wait five seconds). To fix it, - should add the Kext-dev-mode=1 using Clover config or com.chameleon.boot.plist on Extra (do this immed after install Trim Enabler and before restart... or your system will not boot). - delete the com.apple.boot.plist in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist - rename the com.apple.boot.plist-org back to com.apple.boot.plist the error is due to Trim Enabler was not expecting an Hackintosh. and it modified apple.boot.plist wrongly. i get this, too. can i use the *.plist from Mavericks or can someone upload a working one? thx Link to comment Share on other sites More sharing options...
allenwkk Posted August 23, 2014 Share Posted August 23, 2014 the com.apple.boot.plist from Mavericks should work well. Link to comment Share on other sites More sharing options...
CooSee Posted August 23, 2014 Share Posted August 23, 2014 the com.apple.boot.plist from Mavericks should work well. thx Link to comment Share on other sites More sharing options...
Recommended Posts