- Joined
- Jul 23, 2011
- Messages
- 10
- Motherboard
- Gigabyte GA-Z77X-UD5H v1.1 F14
- CPU
- Intel i7-3770K @ 4.5GHz
- Graphics
- Nvidia GeForce 670
- Mac
- Classic Mac
- Mobile Phone
MacMan/tonymac,
After the "MacBook Air and MacBook Pro Update 2.0" install, the TRIM patch in MultiBeast 5.2.1 does not patch the new driver properly. It looks like the terminating byte in the match has changed once again. Here is the fixed patch for this version of the driver.
Also, since there are now at least 3 versions of this patch needed, how about a different approach that gets all of them in one script? Then you can just have one "TRIM Enabler" option in MultiBeast instead of many version-specific scripts.
See the attachment for my approach for a 'universal TRIM enabler' script.
Thanks so much for this site and all the work you do!
After the "MacBook Air and MacBook Pro Update 2.0" install, the TRIM patch in MultiBeast 5.2.1 does not patch the new driver properly. It looks like the terminating byte in the match has changed once again. Here is the fixed patch for this version of the driver.
Code:
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
Also, since there are now at least 3 versions of this patch needed, how about a different approach that gets all of them in one script? Then you can just have one "TRIM Enabler" option in MultiBeast instead of many version-specific scripts.
See the attachment for my approach for a 'universal TRIM enabler' script.
Thanks so much for this site and all the work you do!