ARMAGEDDON Posted March 14, 2011 Share Posted March 14, 2011 So, now we know that TRIM is hardcoded in IOAHCIBlockStorage, со does any one know how to hack this driver, to expand support for non-Apple SSDs ?? Link to comment Share on other sites More sharing options...
ARMAGEDDON Posted March 25, 2011 Author Share Posted March 25, 2011 Joy my mac friends! Today, from Russia and Germany, there is a discovery of how to enable TRIM Support for third-party SSD. Simply rename APPLE SSD in IOAHCIBlockStorage.kext binary to the first 9 symbols of the your SSD name with spaces if presented, but no more than 9 positions in HEX. And remember some things: 1) You need IOAHCIFamiliy.kext from 10J3210. 2) Always rebuild the Kernel Extensions cache. 3) Repair Permissions. Reboot and Enjoy! And there is a more detailed info. armdn - is me. :wink2: Link to comment Share on other sites More sharing options...
ARMAGEDDON Posted March 25, 2011 Author Share Posted March 25, 2011 It works. For me as minimum. Checked with hdparm method from linux. On linux trim is turned off by default. Link to comment Share on other sites More sharing options...
magnifico Posted March 25, 2011 Share Posted March 25, 2011 Only Lion ? Or Snow Leopard 10.6.6 Thanks Link to comment Share on other sites More sharing options...
ARMAGEDDON Posted March 25, 2011 Author Share Posted March 25, 2011 10.6.7 and 10.7 Link to comment Share on other sites More sharing options...
magnifico Posted March 25, 2011 Share Posted March 25, 2011 Thank's i dont have 10.6.7 , now upgrade, if send my IOAHCIFAMILY kext to you, please it modifies for me ???? Link to comment Share on other sites More sharing options...
ntsmkfob Posted March 25, 2011 Share Posted March 25, 2011 It's certainly put Trim Support = Yes for my Samsung PB22J SSD on System Profiler. I already had the VBM1901Q firmware installed, which added Trim support to the drive. I guess someone will do some benchmarks before and after to see if it actually speeds things up. Fingers crossed. Thanks to Armageddon for putting us on to this. Link to comment Share on other sites More sharing options...
magnifico Posted March 26, 2011 Share Posted March 26, 2011 10.6.7 and 10.7 Hi, you have said that the IOAHCIFamily.Kext, must be that one 10.6.7, but I see that is version 2,04 and not 2.05 10.6.7 and 10.7 Hi, you have said that the IOAHCIFamily.Kext, must be that one 10.6.7, but I see that is version 2,04 and not 2.05 Link to comment Share on other sites More sharing options...
magnifico Posted March 26, 2011 Share Posted March 26, 2011 Which editor , you have used? Thank's Link to comment Share on other sites More sharing options...
magnifico Posted March 27, 2011 Share Posted March 27, 2011 He Men magnifico10... can you not read ???i hav write here a link for the universal-patch this musst NOT change with hexeditor !! is it patched finish !! Here is the Link for this Manual !! and read this please !!! Universal IOAHCI-Patch 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 and here is this File: IOAHCIBlockStorage.zip see in this manual, we insert this File in the IOAHCIFamily-kext Hi man, it does not work, and it does not see not even two SSD To you it works? Link to comment Share on other sites More sharing options...
magnifico Posted March 27, 2011 Share Posted March 27, 2011 Ok , perfect job now Perfect result on my ssd vertex 2 in raid 0 Link to comment Share on other sites More sharing options...
magnifico Posted March 27, 2011 Share Posted March 27, 2011 Yes you see is WORK !!!I see you hav RAID ? i hav normal as AHCI-Mode my 2x SSD-Drive. And i hav 1 HDD (Seagate 1TB) installed. I happy that by you works. Greeting from germany to Itali Raid Software 0 on my SSD VERTEX 2 Thanks for greeting Link to comment Share on other sites More sharing options...
dabear Posted March 27, 2011 Share Posted March 27, 2011 Does anyone know how to verify contents of disk sectors in os x? Basically, I want to check if TRIM is actually working. On linux I can use the hdparm command, but that does not exist on os x. Here is how to test automatic TRIM support on Ubuntu linux: http://www.ocztechnologyforum.com/forum/sh...ll=1#post479503 So basically to verify TRIM working, we need to: 1) write to a temp file 2) find its starting block in the file system 3) delete the file 4) wait a couple of minutes for trim to zero out the deleted files blocks 5) read the sector of the previous file, to verify that it only contains zeros. Finding a file's begin_lba and how to read only sectors of a disk is the issue. Link to comment Share on other sites More sharing options...
Guest lemoon Posted May 5, 2011 Share Posted May 5, 2011 Nice read, thanks guys! BTW: just read this "Install Mac OS 10.7 Lion on a unsupported Mac system", does this really works? Link to comment Share on other sites More sharing options...
nanofunk.net Posted July 28, 2011 Share Posted July 28, 2011 after running the TRIM ENABLER, my system freezes from time to time. i am not completely sure if enabling trim really is the problem, since the console.app does not show any information except "IOSurface: buffer allocation size is zero" (which seems to be related to flash and not the ssd). anyone else having issues? Link to comment Share on other sites More sharing options...
Recommended Posts