Trim Enabler 2.0 Beta 2

Trim Enabler 2.0 Beta 2
November 17, 2011 Oskar


UPDATED: see bottom


Still some stuff I need to work on, so still Beta

Changes:

  • Rewritten from AppleScript to 100% Objective-C
  • Features new S.M.A.R.T tool to learn about your drive’s health
  • New icon, courtesy of vegrafik
  • No longer installs an old driver, instead patches your current*

*Previous Trim Enabler never was a longterm solution, although a label in the app said “Only for Snow Leopard” I made a claim on this blog that it would not be any problems to use it in Lion. Well as some users have pointed out, using an older driver could lead to slower speeds and I admit I did take the advice the wrong way and chose to ignore it. My apologies to those persons and the users for my ignorance and for taking so long to fix the issue.

    If you have patched in Lion with previous Trim Enabler (1.1 or 1.2, not the 2.0 Beta 1) then I suggest you proceed with following steps to update your driver to the latest version:

  1. Type in terminal: diskutil mount ‘Recovery HD’
  2. Open Recovery HD in Finder
  3. Navigate to BaseSystem.dmg (it is hidden, so you will need to set Finder to show hidden files), open/mount it
  4. Open BaseSystem in Finder, navigate to System/Library/Extensions/IOAHCIFamily.kext
  5. Use Kexthelper app to install that kext back to your system
  6. Use Trim Enabler 2.0
  • Slider button and status text does not update properly on patch/unpatch, that is why there is a Update button, press it 3 seconds after you have activated or deactivated the switch to properly update status

Should not be too hard to fix, but I am drowning in school work so that’s why I’m releasing it as Beta 2. It will also be useful to gather feedback for a final v.2.0 release, I can only test so much with one computer.

Should be compatible with Snow Leopard 10.6.8 or Lion.

Please report back with your experience.

Download Trim Enabler 2.0 Beta 2

___________________________________________________________________________________________________

Update
See new post: http://www.cindori.org/?p=562

Comments are disabled. Please continue the discussion in the Forum.
Showing legacy comments below.

60 Comments

  1. Joy 6 years ago

    Yeah, everything went very well (MacBook 6.1, Samsung 470). Great work!

    Your nice little app now found her way into my Launchpad, I just love it. But will I be able to update from the so called Beta 2 to the final version?

    You are 20, aren’t you? Hats off! 🙂

  2. Cindori 6 years ago

    Thanks Joy, your comment is warming 🙂
    The Beta 2 does not have the Update feature activated. So you will have to download the final 2.0 when it is finished.

  3. Wolfgang 6 years ago

    Sorry – beta 2 find no SSD Drive in my System????
    SMART say: Corsair CSSD_F120GB2
    Sandforce Driven SSds (3 in my MacPro) Firmware 2.0

    Whats going on?
    Wolfgang from Germany

  4. Cindori 6 years ago

    If u have more then 1 disk then the app can have some trouble detecting SSD name, should have mentioned that under Issues.

    it’s just a info-problem. The patch will still work.

  5. Juice 6 years ago

    Running smooth here (MBP 3,1; X-25M). A few ‘?’ in the SMART panel, but I’m assuming that’s just because my drive has not been added.

    Thanks for your hard work.

  6. Jes 6 years ago

    Thanks for this, just installed corsair SSD, and even though I have no real understanding of the TRIM situation, I want to be enabled.
    Kind regards…

  7. kadh 6 years ago

    Hello,
    Can you improve it so that SMART work in RAID0.
    Thanks.

  8. Mattias Sercu 6 years ago

    Trim enabled on Macbook pro 13″ mid 2010 (MacBookPro7,1) with OCZ Agility 2 running Mac OSX Lion 10.7.2
    No hangs or beachballs, seems to be working fine.
    Thanks.

  9. Francisco R. Martins 6 years ago

    Hi,

    Is it possible to enable the TRIM specification under an Macbook Air with PATA interface? My SSD is a Renice. Was good to have support…

  10. Ali J. 6 years ago

    this version is crashing on me:

    Process: Trim Enabler [496]
    Path: /Users/user/Downloads/Applications/Trim Enabler.app/Contents/MacOS/Trim Enabler
    Identifier: Cindori.Trim-Enabler
    Version: 2.0 (Beta)
    Code Type: X86-64 (Native)
    Parent Process: launchd [207]

    Date/Time: 2011-11-23 11:52:57.770 +0100
    OS Version: Mac OS X 10.6.8 (10K549)
    Report Version: 6

    Interval Since Last Report: 3087072 sec
    Crashes Since Last Report: 38
    Per-App Interval Since Last Report: 1 sec
    Per-App Crashes Since Last Report: 5
    Anonymous UUID: E91FA4AA-C597-4ADD-87E1-887F1DDE28B3

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Application Specific Information:
    abort() called
    *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[NSTableView identifier]: unrecognized selector sent to instance 0x1001413c0’
    *** Call stack at first throw:

    Please don’t post full stack trows, exception is enough //Cin

  11. Marc 6 years ago

    Worked fine on my MacBook Late 2009 with an OCZ Vertex 2 Extended 120GB with Firmware 1.35 on Lion 10.7.2 (11C74). All S.M.A.R.T Values are shown correctly. Checked this via Windows and OCZ Tool Box.

    If you need more Information on that, contact me via given Mail.

    Greets Marc

  12. MacBond 6 years ago

    Not work.
    MacPro 1.1 / 10.7.2 / INTEL SSDSA2M160G2GC
    Starts and hangs, does not meet …

  13. Olli 6 years ago

    I’ve got a 7 months old 240GB OCZ Vertex 2, and just realized that I have to enable TRIM separately. This is the SMART statistics – something to worry about? 2816 GB of writes seems a bit off, I couldn’t have rewritten the whole drive 12 times over?

    Firmware version 1.29
    Hours powered on – 1742 hours
    Power cycle count – 1340 times
    Unexpected power loss – 4 times
    Lifetime writes – 2816 GB
    Lifetime reads – 1408 GB
    Total errors – 18228188
    Retired block count – 0 blocks

    • Cindori 6 years ago

      It should be accurate. You’d be surprised how much cache data is used by the drive. Everytime you click on an internet page, boom, several megabytes are cached. Everytime you run out of RAM, boom, several hundred megabytes are cached. And thats far from all.

      I’m pretty sure I know where the crash is coming from, I will fix it soon.

  14. kadh 6 years ago

    Hello,
    The SMART don t work with the Vertex1,Crucial M4 and C300.

  15. kadh 6 years ago


    kadh:

    Hello,
    The SMART do not work with the Vertex1,Crucial M4 and C300.

  16. Teejay 6 years ago

    Everything well on Crucial C300, Early 2009 MBP 17″.

    I was only wondering if kexthelper app is safe to use…
    No source and an explicit root password request (non-OS driven)…
    I think it’s needed to create an automatic script, but I don’t like that…

    Just used it, and now I’m getting paranoid about this…

  17. Ach 6 years ago

    I get a permanent beachball of death when trying to open the application. Maybe it’s because I have a non-ssd RAID setup in addition to my SSD? Any ideas/fixes?

  18. Rik 6 years ago

    Same for me. It crash when i try to launch it.

  19. Enrico 6 years ago


    Rik:

    Same for me. It crash when i try to launch it.

    Same here. Snow Leopard 10.6.8 + Intel X25-M G2.

  20. matt 6 years ago

    app crashes when trying to open

    Process: Trim Enabler [337]
    Path: /Users/vipgraphic/Downloads/Trim Enabler 3.app/Contents/MacOS/Trim Enabler
    Identifier: Cindori.Trim-Enabler
    Version: 2.0 (Beta)
    Code Type: X86-64 (Native)
    Parent Process: launchd [116]

    Date/Time: 2011-11-27 15:45:09.733 -0600
    OS Version: Mac OS X 10.6.8 (10K549)
    Report Version: 6

    Interval Since Last Report: 229587 sec
    Crashes Since Last Report: 9
    Per-App Interval Since Last Report: 18 sec
    Per-App Crashes Since Last Report: 7
    Anonymous UUID: 15CDBD0B-F40F-4984-84A7-16C52B7FB96E

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

  21. Chris 6 years ago

    Appears to have worked ok but OS X appears to freeze up for 60 seconds every now and then. Can’t click anywhere but when it wakes up all the clicks are played out like they were cached. Undo TRIM with this tool, reboot and it doesn’t lock up again.

    I guess this isn’t really possible ? ?

    However it’s done it a few times in a row now and I can happily fix it be removing the TRIM setting.

    It’s a macBook Pro 8,2 with a Corsair Force 3 240GB SSD.

  22. Stephan 6 years ago

    crash:

    Process: Trim Enabler [306]
    Path: xxxxxxxxxxxxxxxx
    Enabler.app/Contents/MacOS/Trim Enabler
    Identifier: Cindori.Trim-Enabler
    Version: 2.0 (Beta)
    Code Type: X86-64 (Native)
    Parent Process: launchd [196]

    Date/Time: 2011-11-30 08:49:50.366 +0100
    OS Version: Mac OS X 10.6.8 (10K549)
    Report Version: 6

    Interval Since Last Report: 3565609 sec
    Crashes Since Last Report: 12
    Per-App Interval Since Last Report: 1 sec
    Per-App Crashes Since Last Report: 1
    Anonymous UUID: A5D20764-7D60-4D74-AAF5-8A4A1D4B2CCA

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Application Specific Information:
    abort() called
    *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[NSTableView identifier]: unrecognized selector sent to instance 0x100142af0’
    *** Call stack at first throw:
    (

  23. josh hedge 6 years ago

    Process: Trim Enabler [224]
    Path: /Users/Josh/Downloads/Trim Enabler.app/Contents/MacOS/Trim Enabler
    Identifier: Cindori.Trim-Enabler
    Version: 2.0 (Beta)
    Code Type: X86-64 (Native)
    Parent Process: launchd [87]

    Date/Time: 2011-11-30 20:53:09.911 +0000
    OS Version: Mac OS X 10.6.8 (10K549)
    Report Version: 6

    Interval Since Last Report: 2443 sec
    Crashes Since Last Report: 5
    Per-App Interval Since Last Report: 2 sec
    Per-App Crashes Since Last Report: 5
    Anonymous UUID: E935B446-98FC-4ECB-AE34-BEA38041184C

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Application Specific Information:
    abort() called
    *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[NSTableView identifier]: unrecognized selector sent to instance 0x100146270’
    *** Call stack at first throw:

  24. Konstantinos 6 years ago

    It’s crashing before it appears on-screen… Sorry… using OCZ Vertex 2 with latest firmware. I manually patched the driver via Terminal and wanted to see your app! From Console:

    Dec 1 03:48:57 ocz-imac Trim Enabler[1973]: -[NSTableView identifier]: unrecognized selector sent to instance 0x10281f780
    Dec 1 03:48:57 ocz-imac Trim Enabler[1973]: An uncaught exception was raised
    Dec 1 03:48:57 ocz-imac Trim Enabler[1973]: -[NSTableView identifier]: unrecognized selector sent to instance 0x10281f780
    Dec 1 03:48:57 ocz-imac Trim Enabler[1973]: *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[NSTableView identifier]: unrecognized selector sent to instance 0x10281f780’n*** Call stack at first throw:n(n

  25. Cindori 6 years ago

    Try the new Beta 3, it should fix the crashes. See updated post.

  26. LJ 6 years ago

    Tried the new beta 3 but it still crashes before it is up on screen mbp 4.1 osx 10.6.8

  27. Cindori 6 years ago

    Ok, kind of hard to debug when it works fine for me xP

    I will have a friend with same problem come over with his MBP so I can see what’s going on.

  28. Dan 6 years ago

    Can someone please point me to the beta 3 link? It says same link, but it seems like I’m downloading the same beta 2 file and that one doesn’t work for me.

    THanks!

  29. Cindori 6 years ago

    You can check here: (from menu Trim Enabler -> About)
    http://piclair.com/data/tjir7.jpg

    But it seems the bug is not fixed. Will look into it further.

  30. Dan 6 years ago

    Thanks for your response. App will crash before opening on beta 2 and 3 though.

    I don’t know if this is any help, but doesn’t hurt to post it I guess.

    http://pastebin.com/gUCCucd7

  31. josh hedge 6 years ago

    It still force closes on me, It doesn’t even leave a report log.

    Whats up 🙁

  32. Cindori 6 years ago

    It tries to get data about disk, and when it can’t find it, it crasches (tries to set a table cell to null). The bug is simple, I just need to know where to look in the code 🙂

    I have enough crash logs, check back in a few days and I probably have a new update.

  33. josh hedge 6 years ago

    Is it bad using an SSD and not using TRIM? TRIM improves the read and write speeds by a fair bit right?

  34. josh hedge 6 years ago

    Hey Cindori, whats the progress on updating Trim Enabler so it doesn’t crash?

  35. Sam 6 years ago

    I made a comment requesting similar info as above guy but my comment didn’t even appear on the damn list above.

  36. Cindori 6 years ago

    Hey, think I solved it. Got a hold of a friend with same problems as been reported here so I finally got some chance to debug, it was a quick fix.

    Made a new post about it.

    Sam: The spam filter probably catched your comment, there is too much spam for me to review and approve real comments :-/

  37. Doug 6 years ago

    Beta 4 still hangs on launch for one of my machines but not the other. I attempted a manual patch, and the machine hung at boot when it was trying to mount the drive. I had to swap the original kext back in via the recovery partition. Interesting…

    Machine that is hanging:
    Mac Pro (2008) w/ Intel SSDSA2M160G2GC and FileVault

    Machine that is working:
    Mac Pro (2008) w/ OCZ Vertex and no FileVault

  38. Stefan 6 years ago

    I have patched my Lion Installation with previous Trim Enabler 1.2.

    Unfortunately I cannot update the driver to the latest version because I do not have a “Recovery HD”.

    Can I copy the Kext from another unpatched Lion System or can someone upload the file?

    Thanks for your help!

  39. Cindori 6 years ago

    Stefan: You can not copy the command

    diskutil mount ‘Recovery HD’

    because WordPress shows the incorrect citation letters

    here’s what you should use:

    http://piclair.com/data/pr13i.jpg

    Every Lion install has a Recovery HD.

  40. Stefan 6 years ago

    Cindori:

    Thanks! I was already aware of the quotation letters problem.

    Here is a screenshot from my Terminal:
    http://cl.ly/092F3q41452i1v0S0a3O

    I am pretty sure that I don’t have a Recovery HD.
    I upgraded Lion through the App Store and copied my System to a new SSD with SuperDuper. I think this could be the reason why the Recovery HD is missing.

    What do you recommend? I have a second, unmodified Macbook available running on Lion. Can I get the Kext from there?

  41. Cindori 6 years ago

    I see! A good reason as to why the partition is missing.

    Yes, the kext have been identical between computers as far as I know. It should work fine. Install it with Kexthelper.

  42. Stefan 6 years ago

    Thanks! I will try it.

  43. matt 6 years ago

    Working well with 10.7.2 and my 120GB Corsair Force 3 SSD. Thanks!

  44. Arne 6 years ago

    Works great with my Intel 120GB 320 Series drive and Macbook (Late 2006)

  45. Alex 6 years ago

    Does this matter which MacBook you have, or will it work on any?

  46. Dick Moore 6 years ago

    1) How do I turn TrimEnabler 1.1 off or uninstall it?
    2)Will Trim 2.0 just overwrite it or is there something else that needs to be done? I’m running a hackintosh with 10.6.8.

    Thanks for your work!

  47. Cindori 6 years ago

    1. The guide is in the post you just commented on.
    2. Read the guide mentioned in 1.

  48. Dick Moore 6 years ago

    The head of the post is about Lion. I can’t find a “guide” listed as a link up at the top, and the inline comments just don’t relate to 10.6.8. Trying to be a good boy here; not being snarky.

    So, how do I turn off or disable v. 1.1?

    • Cindori 6 years ago

      I forgot it applied to Lion only, sry.
      If you patched in 10.6.8 with 1.1 then you are fine. No need to repatch really. if you want to restore 100% original, the way isto reinstall 10.6.8 combo update

      • Rafael 4 years ago

        For me this is a relatively easy qutsieon, but has a pretty complex answer. The specialty I have actually looked forward to working with is OB/GYN. I find that the ability of a woman’s body to produce a child, endure the amount of abuse it takes during a pregnancy, and the amount of pain endured during delivery is amazing. The joy of being able to be present as life enters the world is truly one of the greatest moments in life. To me that would be the best possible option. I also would love working in the operating room with a surgeon. I have experienced the OR quite a few times, and have been on both sides of the table. I have to say I would love to work with any surgeon in the OR except for Orthopedics. The reason behind that is the surgery’s are pretty brutal when it comes to the skeletal system. Having been in the OR with an Orthopedic surgeon and seeing the use of the saws, hammers and other heavy equipment in order to perform the surgery just sends chills up my spine. I know that type of surgery is not for me. I think my favorite surgeries have to be that of the abdominal cavity. The specialties that I would least like to work for are few, and for simple reasons. Pediatrics is not a specialty for me since I have four children of my own. My Aunt is a neonatal nurse practitioner and I followed her in high school and saw the good, the bad, and the ugly so I can honestly say I could not emotionally handle that type of position. Podiatry is also an area I could not see myself working. The reason behind this is pretty silly, but here goes, I very much dislike other peoples feet especially if they are not well kept. I know in the medical field you will encounter feet on a daily basis, but I could not mainly work with feet on an everyday basis. My last specialty is Orthopedics for the reasons I noted above about the barbaric nature of the surgeries and treatments for the musculoskeletal system. Its just not for me.

  49. Dick Moore 6 years ago

    OK. Thx.

  50. Thank you for sharing your thoughts. I really appreciate your efforts and I am waiting for your further write ups thanks once again.

    Here is my blog post … Sumir Adodra Business Consultant

  51. the 4 years ago

    Place the replacement shingle under the row located abovethe repair
    until the only the part of the home. In the roofing process, industry, your best options, and
    roofing livingston nj provide you with an accurate quote the
    roofing specialist as the basis for the entire project. He deals with only top quality materials and does not block the passage of light, then corrugated fiberglass roofing can create a thermal
    barrier on the roof and have some conversations with a knowledgeable source.

  52. fantastic submit, very informative. I ponder why
    the other experts of this sector do not realize this. You should continue your writing.
    I’m sure, you’ve a great readers’ base already!

  53. Heya my business is with the most important time frame here. I discovered this specific mother board and i also in locating It truly handy & them solved the problem away lots. I hope to grant something back and also guide other people just like you served us.

  54. travail au maroc 4 years ago

    This design is steller! You definitely know how
    to keep a reader entertained. Between your wit and your
    videos, I was almost moved to start my own blog (well, almost…HaHa!) Wonderful job.
    I really loved what you had to say, and more than that, how you presented
    it. Too cool!

  55. As a result, the developer has not yet committed to a release date.
    The same spokesperson also provided some details in regards to mash-up packs.
    All you want do is download the link from the computer and then open it
    on the desktop computer as well as press generate then you have to penetrate the
    join information in which is required and you have the required game in no time without having to spend next to no
    funds on it.

    Here is my web-site :: hearthstone beta Key Giveaway facebook

  56. CedricCix 2 years ago

    Какой вам поисковик больше нравится? ЛИчно мне яндекс

  57. JeffreyLix 1 year ago

    Hello! propecia good internet site.