audi0fly Posted October 25, 2014 Share Posted October 25, 2014 I'm using clover and tried the 3 method but nothing happens :? Any Ideas ? config.txt Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2075855 Share on other sites More sharing options...
flkflorin Posted October 25, 2014 Share Posted October 25, 2014 i try all 3 solution and no one seems to work , i was failed to boot again Yosemite after i did try thowse and need a fresh install... What else can i do ? Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2075955 Share on other sites More sharing options...
liujianwei Posted October 26, 2014 Share Posted October 26, 2014 i try all 3 solution and no one seems to work , i was failed to boot again Yosemite after i did try thowse and need a fresh install... What else can i do ? Me too,boot failed.don't know how to fix. Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2076449 Share on other sites More sharing options...
VirusX Posted October 26, 2014 Share Posted October 26, 2014 I'm using clover and tried the 3 method but nothing happens :? Any Ideas ? my config.plist looks like this: <dict> <key>Comment</key> <string>Trim Enabler</string> <key>Find</key> <data>QVBQTEUgU1NE</data> <key>Name</key> <string>IOAHCIBlockStorage</string> <key>Replace</key> <data>AAAAAAAAAAAA</data> </dict> I'm not sure why it's different but mine works for me... Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2076451 Share on other sites More sharing options...
Marchrius Posted October 26, 2014 Author Share Posted October 26, 2014 Me too,boot failed.don't know how to fix. i try all 3 solution and no one seems to work , i was failed to boot again Yosemite after i did try thowse and need a fresh install... What else can i do ? Post your config.plist 1 Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2076456 Share on other sites More sharing options...
liujianwei Posted October 26, 2014 Share Posted October 26, 2014 Post your config.plistI used method 2 and method 3,then I boot yosemite fail.I think modified IOAHCIBlockStorage doesn't work.I have change IOAHCIBlockStorage.bak name to IOAHCIBlockStorage,but it still boot fail.I think it need rebuild kext cache to boot.But I dont know how.By the way like my fakesmc.kext in \EFI\CLOVER\kexts\10.10 doesn't work either,because I boot yosemite with long time before use method 2.config.plist.txt Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2076473 Share on other sites More sharing options...
d620osx Posted October 26, 2014 Share Posted October 26, 2014 Thank you OP, method 3 worked for me. In system prefs trim enabled is shown as yes. Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2076667 Share on other sites More sharing options...
kvonlinee Posted October 26, 2014 Share Posted October 26, 2014 (edited) I try method 3, modify IOAHCIBlockStorage.kext is not working for me. I try the software trim enabler, it work great for me. edit: I got it working on clover at replace with long 0 series Edited December 16, 2014 by kvonlinee Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2076717 Share on other sites More sharing options...
liujianwei Posted October 27, 2014 Share Posted October 27, 2014 Post your config.plist When I boot verbose mode I get still waiting for root device and this prohibitory sign.please help I use another Yosemite,run follow command to fix the problem. cd "/Volumes/Macintosh HD" touch System/Library/Extensions kextcache -prelinked-kernel System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K System/Library/Kernels/kernel System/Library/Extensions I use method 2 and find some error your command lose "s" in "com.apple.kext.caches" sudo touch /System/Library/Extensions sudo kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.cache/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions this is correct one touch /System/Library/Extensions kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions I think this is why my Yosemite crashed.Now my Yosemite SSD TRIM works well. 2 Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2076869 Share on other sites More sharing options...
flkflorin Posted October 31, 2014 Share Posted October 31, 2014 cuthead good job , its work !!!! This is what i do to work , i used method 2 : 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 touch /System/Library/Extensionskextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions Thanks !!! 2 Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2079126 Share on other sites More sharing options...
Marchrius Posted October 31, 2014 Author Share Posted October 31, 2014 When I boot verbose mode I get still waiting for root device and this prohibitory sign.please help I use another Yosemite,run follow command to fix the problem. cd "/Volumes/Macintosh HD" touch System/Library/Extensions kextcache -prelinked-kernel System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K System/Library/Kernels/kernel System/Library/Extensions I use method 2 and find some error your command lose "s" in "com.apple.kext.caches" sudo touch /System/Library/Extensions sudo kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.cache/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions this is correct one touch /System/Library/Extensions kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions I think this is why my Yosemite crashed.Now my Yosemite SSD TRIM works well. OPS! Sorry! Thanks, first post corrected! Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2079146 Share on other sites More sharing options...
liujianwei Posted November 1, 2014 Share Posted November 1, 2014 I used 3rd method from 1st page of this topic. I have Dell Latitude e6500 with Yosemite 10.10 Final, SSD 128GB Samsung, bootloader Clover. TRIM seems to be ENABLED, but is it really TRUE? I think, it is cosmetic correction. If I run newest TRIM Enabler.app (version 3.3), I got message: "The patch is not active, but Trim is working. You probably have an Apple SSD, which supports Trim by default." But I and everyone knows, that in Hackintosh are 3rd Party SSD used, not from Apple SSD. Does everyone know, how to determine if TRIM really works? I got the same message from TRIM Enabler,I think it works. cuthead good job , its work !!!! This is what i do to work , i used method 2 : 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 touch /System/Library/Extensionskextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions Thanks !!! You are welcome OPS! Sorry! Thanks, first post corrected! Thanks for your good job. 2 Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2079390 Share on other sites More sharing options...
Lemon4611 Posted November 3, 2014 Share Posted November 3, 2014 Please pardon my ignorance but would I use method 2 to enable trim in Yosemite on my mac mini 2012. I installed a Crucial m-500. Thanks in advance. Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2080391 Share on other sites More sharing options...
Onixs Posted November 3, 2014 Share Posted November 3, 2014 Please pardon my ignorance but would I use method 2 to enable trim in Yosemite on my mac mini 2012. I installed a Crucial m-500. Thanks in advance. Yes Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2080409 Share on other sites More sharing options...
derpuma Posted November 3, 2014 Share Posted November 3, 2014 Method 2 with Kext is working perfectly in 10.10.1 Final Relase... Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2080419 Share on other sites More sharing options...
maRRRco Posted November 4, 2014 Share Posted November 4, 2014 So, we have to first copy the patched kext and then use method 2 ? Or is it enough the 2nd method only ? Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2081022 Share on other sites More sharing options...
Marchrius Posted November 4, 2014 Author Share Posted November 4, 2014 So, we have to first copy the patched kext and then use method 2 ? Or is it enough the 2nd method only ? Only one method. So if you want to use method 2 follow the instruction for method 2. A tips: if you have Clover use the 3rd method Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2081027 Share on other sites More sharing options...
The Real Deal Posted November 4, 2014 Share Posted November 4, 2014 Hi, Firstly i used trim enabler without success at first reboot. It wrotes kext dev in nvram but get stucked at reboot : pci configuration be... Then i used your clover method. I experienced some boots stucked at pci configuration be.. now it is gone, but i still don't explain it. Is there a relation when you alter the kext and pci configuration begin? Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2081053 Share on other sites More sharing options...
Marchrius Posted November 4, 2014 Author Share Posted November 4, 2014 Hi, Firstly i used trim enabler without success at first reboot. It wrotes kext dev in nvram but get stucked at reboot : pci configuration be... Then i used your clover method. I experienced some boots stucked at pci configuration be.. now it is gone, but i still don't explain it. Is there a relation when you alter the kext and pci configuration begin? I think the problem was the kernelcache. Trim enabler is for real mac, on hackintosh you fan have some problem. 1 Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2081055 Share on other sites More sharing options...
maRRRco Posted November 4, 2014 Share Posted November 4, 2014 HELP !! I followed method 2, the terminal reported some errors during step 4, then I reboot and now, after chameleon loading, the system says: kernel overflow ... (something else), this is not a recoverable error, system halted. I restored the original kext with no luck, please, help me. Ok, now I can boot, but, this is the situation: I have a string in chameleon boot plist that link to an adress, to charge the kernel cache at boot. I also changed the bootchache plist in usr/standalone to allow a new preferred decompression "lzss" This is the string <key>Kernel Cache</key><string>/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache</string> In this way chamaleon can load the kernel cache at boot, but probably the last command changed something. So I deleted the string and replaced the old bootcache, and I can boot. Now I'd like to delete the effect of the last command, so I can reload cache at boot. Can you please give me some infos (anche in italiano ) Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2081283 Share on other sites More sharing options...
Marchrius Posted November 5, 2014 Author Share Posted November 5, 2014 HELP !! I followed method 2, the terminal reported some errors during step 4, then I reboot and now, after chameleon loading, the system says: kernel overflow ... (something else), this is not a recoverable error, system halted. I restored the original kext with no luck, please, help me. Ok, now I can boot, but, this is the situation: I have a string in chameleon boot plist that link to an adress, to charge the kernel cache at boot. I also changed the bootchache plist in usr/standalone to allow a new preferred decompression "lzss" This is the string Kernel Cache /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache In this way chamaleon can load the kernel cache at boot, but probably the last command changed something. So I deleted the string and replaced the old bootcache, and I can boot. Now I'd like to delete the effect of the last command, so I can reload cache at boot. Can you please give me some infos (anche in italiano ) If there are errors during steps you mustn't reboot the system. You had problem with rebuilding kernelcache. Check if you have entered the correct command and check if all the Kext have the correct permissions and owner (755 and root:wheel), check if you have the kernel in /System/Library/Kernels/kernel. If not you have problem. Se ci sono problemi durante i passaggi non devi riavviare il sistema. Tu hai avuto problemi nel ricreare la kernelcache. Controlla di aver inserito correttamente il comando, controlla i permessi e il proprietario dei kext (755 e root:wheel), controlla che tu abbia il kernel in /System/Library/Kernels/kernel. Se tutti questi passaggi non sono corretti hai sicuramente problemi. Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2081518 Share on other sites More sharing options...
maRRRco Posted November 5, 2014 Share Posted November 5, 2014 Grazie. Fin troppo gentile. Anyway, now I'm using the patched kext instead of to try again the method, and trim is enabled. I have to reload the kernel cache at boot and see if the problem happens again. Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2081565 Share on other sites More sharing options...
iceage2609 Posted November 8, 2014 Share Posted November 8, 2014 I used Trim Enabler Utility on my very first installation, open the switch to ON ,reboot, rebuild kernelcache via terminal and reboot again and the Trim support worked. I am using Chameleon and Kernel Flag kext-dev-mode=1 On 10.10.1 update though i forgot the Trim issue,so i did the installation but the system didin't hang on boot,don't know why.Worked like a charm. The Trim of course was set to OFF and tried the same trick with Trim Enabler utility but with no success . Tried 3-4 times to reboot but nothing happened. So i uses method 2--Reboot and everything went just fine. What's the procedure i have to do every time before an update to ensure that nothing will go wrong ? I mean, do i have to disable Trim ( don't know how...) update---Run method 2 again and rebuild kernel cache and reboot ? Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2082947 Share on other sites More sharing options...
Marchrius Posted November 8, 2014 Author Share Posted November 8, 2014 I used Trim Enabler Utility on my very first installation, open the switch to ON ,reboot, rebuild kernelcache via terminal and reboot again and the Trim support worked. I am using Chameleon and Kernel Flag kext-dev-mode=1 On 10.10.1 update though i forgot the Trim issue,so i did the installation but the system didin't hang on boot,don't know why.Worked like a charm. The Trim of course was set to OFF and tried the same trick with Trim Enabler utility but with no success . Tried 3-4 times to reboot but nothing happened. So i uses method 2--Reboot and everything went just fine. What's the procedure i have to do every time before an update to ensure that nothing will go wrong ? I mean, do i have to disable Trim ( don't know how...) update---Run method 2 again and rebuild kernel cache and reboot ? To re-enable trim after an update you must simply re-run the application and enable it. Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2082992 Share on other sites More sharing options...
allenwkk Posted November 8, 2014 Share Posted November 8, 2014 iceage2609, I continues using Trim Enabler (3.2.6) in 10.10.1 and it is ok. what I have done , in very upgrade that turn off Trim 1. run Trim enabler, turn on and reboot. 2. it writes a "wrong" script of kext-dev-mode=1 to com.apple.Boot.plist. This will cause a boot error , "wait for 5 seconds" during Chameleon boot. 3. reboot and check Trim is on... if not turn it on again and reboot... then check....if it is on...Then fix the error. 3. fix it by replacing com.apple.Boot.plist in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist to the original one. 4. reboot. I think Trim Enabler will check if there is an update to com.apple.Boot.plist before it will enable Trim.. you did not replace the error and so it will not turn on when you did the update. Link to comment https://www.insanelymac.com/forum/topic/298507-enable-trim-on-non-apple-ssd/page/3/#findComment-2083100 Share on other sites More sharing options...
Recommended Posts