Jump to content

TRIM for Third-Party SSD!


  • Please log in to reply
22 replies to this topic

#1
ARMAGEDDON

ARMAGEDDON

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
  • Location:Saint-Petersburg, Russian Federation
  • Interests:*nix<br />*mac
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 ??

#2
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland

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 ??


yes is a verry importend Problem.

I hope Developer or Hacker found a way for hack this kext or Bundle and this work for
ALL SSD-Products !!.

#3
ARMAGEDDON

ARMAGEDDON

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
  • Location:Saint-Petersburg, Russian Federation
  • Interests:*nix<br />*mac
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!

Posted Image

And there is a more detailed info.

armdn - is me. :wink2:

#4
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland
Hav this read: ???
Just a few more things to conclude:
Before trying to activate TRIM, make sure that your SSD supports it. The first models, even the ones that Apple shipped in 2008 do not support it.
TRIM is a command that was implemented very recently in Mac OS X, so it is still hard to tell whether is really makes a difference.
Theoretically, this command prevents the disk from decreasing in performances while it is filling-up.
Also, we can only see that TRIM is marked as active in System Profiler, but we don't have any proof that would allow us to
say for sure that it is really active.
In the next few weeks, we will keep looking into and we will keep you updated on what we find.


As long as no clear evidence of the actual functions are provided, I use it not to not have disadvantages to gain from it.

#5
ARMAGEDDON

ARMAGEDDON

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
  • Location:Saint-Petersburg, Russian Federation
  • Interests:*nix<br />*mac
It works. For me as minimum. Checked with hdparm method from linux. On linux trim is turned off by default.

#6
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,417 posts
  • Gender:Male
:rolleyes:
Only Lion ?
Or Snow Leopard 10.6.6
Thanks

#7
ARMAGEDDON

ARMAGEDDON

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
  • Location:Saint-Petersburg, Russian Federation
  • Interests:*nix<br />*mac
10.6.7 and 10.7

#8
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,417 posts
  • Gender:Male
Thank's i dont have 10.6.7 , now upgrade, if send my IOAHCIFAMILY kext to you, please it modifies for me ????

#9
ntsmkfob

ntsmkfob

    InsanelyMac Geek

  • Donators
  • 229 posts
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.

#10
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland
Ok i hav succesfull activatet my Kinston 128GB-SSD.

My Quesition is, we can my 2. SSD (is a Mushkin 240GB)
activatet for TRIM ?? is only for 1 SSD or for more avaible ?

#11
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,417 posts
  • Gender:Male

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
:thumbsup_anim:

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
:)

#12
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland

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
;)



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
:D



Hi friend magnifigo10 .... Always cool under pressure, it is not Problem to find 2.05 here as Annex I hang them extra for you to take drastic action.
Attached File  IOAHCIFamily.kext.zip   217.82KB   23 downloads

#13
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland
Here is the absolut fantastic Result for Universal SSD-Trim in MacOSX with More as 1 SSD.
I hav installed this and work !! with my 2 SSD-Drives.

Here read self:

Trim-Universal

Update:

I did just test (benchmark) with Disk Tools Pro MacOSX 10.6.7.
Result: not slow down and not faster speed.
The trim is supposed to be the only slow or stop after a long time? The performance increase
does not come, I thought so.

#14
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,417 posts
  • Gender:Male
:D
Which editor , you have used?
Thank's

#15
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland

:o
Which editor , you have used?
Thank's


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:
Attached File  IOAHCIBlockStorage.zip   100.88KB   18 downloads

see in this manual, we insert this File in the IOAHCIFamily-kext

#16
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,417 posts
  • Gender:Male

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:
Attached File  IOAHCIBlockStorage.zip   100.88KB   18 downloads

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?

#17
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,417 posts
  • Gender:Male
;)
Ok , perfect job now
Perfect result on my ssd vertex 2 in raid 0

Attached Files



#18
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland

:P
Ok , perfect job now
Perfect result on my ssd vertex 2 in raid 0


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

#19
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,417 posts
  • Gender:Male

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

:P Thanks for greeting

#20
pinarek

pinarek

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 643 posts
  • Gender:Male
  • Location:Deutschland

Raid Software 0 on my SSD VERTEX 2

:P Thanks for greeting


Ok my new Friend here.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy