Enable TRIM OS X 10.9 Mavericks in terminal

Jun 18, 2013 00:21

1. 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.original

2. 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

3. sudo touch /System/Library/Extensions/

4. sudo reboot now

5. sudo diskutil repairPermissions /

6. sudo update_dyld_shared_cache -force

7. sudo kextcache -system-prelinked-kernel && sudo kextcache -system-caches

8. sudo shutdown -r now

mac os x

Previous post Next post
Up