Jump to content

Enable Trim on 10.9.2


d620osx
 Share

6 posts in this topic

Recommended Posts

You don't need any app for this...

Just enter this 2 commands in terminal and reboot:

sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x54)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

sudo touch /System/Library/Extensions/

But if you Update to 10.9.3 for example, you need to use this commands again...

 

An other solution is Clover AutoPatching, you add this patch just to your config.plist and thats all, its update proof and it works on every osx version:

<key>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<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>
		</array>
	</dict>

Cheers :-)

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...