Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sub5pac3

macrumors newbie
Jun 27, 2012
4
0
Do not do this

You're welcome, and thanks for confirming my theory that this 9-character technique works for non-Intel SSDs too. :p

Apple may have changed something recently, but I just tried this procedure tonight on my late 2011 Macbook Pro with ML 10.8.1 with a Crucial M4 512, and after doing the "touch" step it complained about detecting some kind of change in the IOAHCIBlockStorage file and said it would not be able to use it. I foolishly ignored this (thinking it would somehow not apply after a reboot) and I got the gray screen of death spinning wheel on boot. My drive is encrypted with file vault, so after much searching I found a way to mount it using the recovery mode, then drive utility, unlock volume, exit drive utility, open terminal, then go to /Volumes/ and find the encrypted partition there. Finally, I was then able to use the recovery procedure listed above (with slight path modifications), which did put me back at square one (after many late hours cursing that I ever even found this page).

All readers here should be advised that messing with this file can and will F things up very badly, preventing the system from booting. If one still wishes to give it a try, be sure to have not only a few good, recent backups, but the time to wait for the restore and the time required to try and fix things when it fails.

I get the feeling that Apple is doing this in order to get customers to buy their product exclusively, at a 100-400% markup. And where is the support from the manufacturers? Crucial, Intel, Samsung, etc: we could use some help here if you want us to continue buying your products. No TRIM support = no further revenue from me or others like me (to Apple or the drive vendors).

Lastly, this is not meant as a rant against the hardware hackers who discovered this -- that was in fact very clever and the world needs more people like that. I am very upset with especially Apple though, this is total BS.
 

rheb1026

macrumors member
Jun 19, 2011
44
0
Taxachusetts
Anyone has a 830 with trim enabled? I'm getting 2 Sammies tomorrow and I'd like to know if I should enable the trim or not on ML
thank you

I had TRIM enabled on 10.6 for a long time, but didn't re-enable it for 10.8. I haven't noticed any difference whatsoever in performance, so I'm not going to bother with it for now
 

tekmoe

macrumors 68000
Feb 12, 2005
1,728
565
Have been running Mountain Lion on a Crucial M4 256GB drive in my 2010 MacBook Pro for the last few weeks. No issues whatsoever.
 

shurcooL

macrumors 6502a
Jan 24, 2011
949
140
Apple may have changed something recently, but I just tried this procedure tonight on my late 2011 Macbook Pro with ML 10.8.1 with a Crucial M4 512, and after doing the "touch" step it complained about detecting some kind of change in the IOAHCIBlockStorage file and said it would not be able to use it. I foolishly ignored this (thinking it would somehow not apply after a reboot) and I got the gray screen of death spinning wheel on boot. My drive is encrypted with file vault, so after much searching I found a way to mount it using the recovery mode, then drive utility, unlock volume, exit drive utility, open terminal, then go to /Volumes/ and find the encrypted partition there. Finally, I was then able to use the recovery procedure listed above (with slight path modifications), which did put me back at square one (after many late hours cursing that I ever even found this page).

All readers here should be advised that messing with this file can and will F things up very badly, preventing the system from booting. If one still wishes to give it a try, be sure to have not only a few good, recent backups, but the time to wait for the restore and the time required to try and fix things when it fails.

I get the feeling that Apple is doing this in order to get customers to buy their product exclusively, at a 100-400% markup. And where is the support from the manufacturers? Crucial, Intel, Samsung, etc: we could use some help here if you want us to continue buying your products. No TRIM support = no further revenue from me or others like me (to Apple or the drive vendors).

Lastly, this is not meant as a rant against the hardware hackers who discovered this -- that was in fact very clever and the world needs more people like that. I am very upset with especially Apple though, this is total BS.
Hey,

I'm glad you were able to undo the changes and get a working system back.

What you've described is exactly what happened to me some time ago. That's when I discovered the recovery steps, and like you, I was able to get back to square one.

I, too, got a message about IOAHCIBlockStorage being modified/unusable after doing the "sudo touch ..." step (or its equivalent). I also ignored it, and was greeted by a non-booting system after restarting. Then I got into recovery mode and was able to find a way to undo my changes.

I attributed that problem to me messing up (or not paying enough attention) to the permissions of the IOAHCIBlockStorage file that I modified. Next thing, I re-did the entire procedure except keeping the IOAHCIBlockStorage's file permissions, owner and everything exactly the same as the original, and doing "sudo touch ..." (or its equivalent) resulted in no warning messages, and upon a reboot I had a working TRIM-enabled system.

Now that you've messed it up and were able to recover, I can recommend you try again, but pay extra attention to changing only the 9-characters and nothing else. The IOAHCIBlockStorage file size, permissions, owner, etc. should be the same as the original. If you do "sudo touch ..." and see the same message, then replace the file with the original and do "sudo touch ..." again, and hopefully you'll be fine. If you don't see any messages, perhaps that's an indicator of success.

Let me know if you decide to give it another shot. Good luck.
 

nangariel

macrumors member
Oct 18, 2011
44
0
Everything working fine for me (using the method described above - thanks shurcooL :D), you must've made a mistake somewhere, sub5pac3, be careful about the permissions as shurcooL said...

Just a proof here ;):
screen.png
 

nizmoz

macrumors 65816
Jul 7, 2008
1,410
2
Trim enabler doesn't work with my 830 SSD on my 2012 MBP. Not sure why but it says it's enabled but it doesn't support my SSD? I have restarted. I also can't figure out how to do it the other way you guys say here. :(
 

shurcooL

macrumors 6502a
Jan 24, 2011
949
140
Just updated to OS X 10.8.2. It reverted the TRIM hack, so I had to redo it. Followed my own steps (as to not waste time trying to remember the exact steps) and viola. :)

imagews.png
 

Jabberwockish

macrumors newbie
Sep 19, 2012
1
0
Just updated to OS X 10.8.2. It reverted the TRIM hack, so I had to redo it. Followed my own steps (as to not waste time trying to remember the exact steps) and viola. :)
I registered for a MacRumors forum account solely to thank you for posting such clear instructions. I much prefer to do my OS tweaking by hand so long as I can clearly understand the changes I'm making, and modifying strings with a hex editor is much clearer to me than trying to parse perl commands. ;)

Anyway, I can confirm your method works flawlessly with a SanDisk Extreme 240GB (SDSSDX-240G-G25) as my boot drive for OS X 10.8.2. (Whether the SSD's firmware is properly implementing TRIM is another matter.)

Thanks a bunch!
 

Reason077

macrumors 68040
Aug 14, 2007
3,854
4,087
I had TRIM enabled on 10.6 for a long time, but didn't re-enable it for 10.8. I haven't noticed any difference whatsoever in performance, so I'm not going to bother with it for now

You won't notice any immediate difference, but performance will tend to degrade over time without TRIM. I would suggest re-enabling it.
 

krspkbl

macrumors 68020
Jul 20, 2012
2,449
5,883
I'm running a 256GB Crucial M4 (0309) with no problems. Computer specs in my signature.

I updated it to 000F but, maybe I was just imagining it, I felt that it was using more battery. I downgraded back to 0309 and it works absolutely fine so I'm just gonna keep it as is.

I also enabled TRIM but apparently these drives don't need it (they have their own garbage collection thing or something). I see no reason to keep it enabled so I won't.

My computer feels brand new since upgraded to SSD. If you have the money then BUY ONE!
 

Bigmacduck

macrumors regular
Feb 15, 2009
228
5
OWC 3G and 6G work under ML

For MBP (2011) owners: I have the OWC Mercury Extreme Pro 6G SSD and it works perfect on ML

For MacMini (2010) owners: I have the OWC Mercury Extreme Pro 3G SSD and it works perfect on ML

For MBA (2009) owners: I have the OWC Aura Pro MBA SSD and it works perfect on ML


I was so happy with my first OWC SSD in my MBA (2009 Rev C) that I became a repeat buyer. Excellent performance, excellent compatibility, extremely reliable.

I prefer reliability and compatibility over maximum performance. That's why I do not switch manufacturer (or at least not as long as I don't have issues with OWC), I stick to what works for me.

I had two OCZ some years ago and one Crucial (C300). Had problems with stuttering and that's why I will NEVER use their products ever again.
 

RAWR.

macrumors newbie
Sep 21, 2012
1
0
Hi there,

I installed a Samsung 830 256 GB SSD into my MacBook Pro (Early 2011) last Tuesday, did a clean install of Mountain Lion, and enabled TRIM with the TRIM Enabler App.
Everything runs just fine, except for the fact that since then I lost about 2 GB of space on my drive, and I have no idea what the reason could be, no new apps were installed or anything.
I'd really appreciate any ideas on how to stop this and, better yet, gain the space back.

Thanks!
 

schrott

macrumors newbie
Oct 8, 2012
4
0
It works! Mountain Lion 10.8.2 MacBook Pro, mid 201

Ok, despite being only 7 MB, the 10.8.1 update managed to change the IOAHCIBlockStorage file and hence break the TRIM support hack.

When I went about applying it again, I've noticed they've changed the IOAHCIBlockStorage format slightly.

In 10.8, the "APPLE SSD" string was mentioned only once in the entire file:

Image

But in 10.8.1, there is "APPLE SSD" and later on there's another "APPLE SSD TS" string, which appears to have something to do with MacBookAir5,1 and MacBookAir5,2 models (the current mid 2012 models).

Image

I've changed just the first occurrence of "APPLE SSD" to "INTEL SSD", leaving the second "APPLE SSD TS" as it was, and it worked fine. Now I have TRIM support on my MacBookPro8,1 with an Intel SSD again (with 15 second boot time).

My guess is that the second "APPLE SSD TS" string is used for MacBookAir5,1 and MacBookAir5,2 models only, and the first "APPLE SSD" string is used for all other MacBook models. But so far this is just an educated guess, so if anyone has any info to add about it, please do.


It works my SSD:

WinKom Pro 240GB - Sata3 - Intel NAND flash sandforce controller 2281, MacBook Pro mid 2012
 

Attachments

  • Bildschirmfoto 2012-10-08 um 16.51.11.png
    Bildschirmfoto 2012-10-08 um 16.51.11.png
    71.1 KB · Views: 201

ZforZelda

macrumors newbie
Nov 28, 2012
2
0
does anyone experienced any crash after enable trim? I'm using Mac mini 2010, first I suspected the 16GB RAM upgrade(https://forums.macrumors.com/posts/16380302/), but the problem seems gone after the TRIM hack been reverted, I'm not quite sure since the problem is very difficult to reproduce, so I'm asking if anybody has similar issues.
 

ihatesleep

macrumors newbie
Nov 16, 2012
1
0
Just updated to OSX 10.8.2 build 12C3012 and is still working on my Macbook Pro, 13" Mid 2012 with an OCZ-VERTEX4.

Thanks!!
 
Last edited:

Vrasteophwaaagh

macrumors newbie
Nov 26, 2012
24
0
ShurcooL:

The issue I'm still having is locating the original of the IOAHCIBlockStorage file. The *backup* copy appears on my desktop, just as your original does. However, searching my drive and looking in the Library/Extensions folder, I can't find the original version to modify as per your method in post #94. Can I simply duplicate the IOAHCIBlockStorage.backup file, change the suffix from .backup to .original, perform the edit and then drop that file into the Extensions folder? If not, is there another way to find that original file?
 

YuckAndMuck

macrumors newbie
Sep 14, 2007
8
1
had to boot from external before TRIM setting would take

I just did this again for 10.8.3, the steps worked as usual.

I have a 2011 MBP 17" with 2 internal drives married together as a "Fusion" drive; a 512GB OCZ Vertex 4 SSD and the original 500GB HD (swapped in place of the DVD drive).

I had enabled the TRIM setting on the SSD a while back (running 10.8.2) using the steps above. Yesterday, I updated to 10.8.3 using the combo updater, which wiped my mods to IOAHCIBlockStorage, so I applied the steps above again, including fixing permissions, touch on Extensions, etc..

Not sure why, but the TRIM setting refused to take (tried several restarts, shutdowns, etc.) until I booted from an external drive and then re-booted from the internal "Fusion" drive again. After this, the TRIM setting shows as Yes (enabled) again. I'm pretty sure I had to do something similar the last time I attempted the setting as well.

Thought I'd mention it here in case it helps others.
 
Last edited:

jorgk

macrumors regular
Mar 20, 2013
113
43
I have a Crucial M4 (256) that is having the same problem. To anyone with a Crucial M4 that is working, did any of you upgrade from Lion or Snow Leopard? Also, did any of you have the trim enabler installed?

Having a Crucial M4 (256) installed when under Lion. SSD FW 0309 (came with 000F, but changed immediately "down" to 0309. Not sure this was needed). Later moved to ML (clean install, then using Migration assistant). There enabled TRIM (see <http://digitaldj.net/2011/07/21/trim-enabler-for-lion>). Having had to re-enable TRIM with each ML update.

Everything is just fine. MBP, 15", late-2011 :D
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.