By yogesh1970What is TRIM?
To first explain what TRIM is, you’ll need to understand how data is written and deleted on hard disks. You see, a regular spinning hard disk writes data linearly and actually doesn’t remove data immediately. After you empty the Trash (or Recycle Bin), the system just flags the space occupied on that particular part of the drive as empty or “free”. Whenever the system needs to write new data on that space, it firsts deletes any occupying data and then writes the new data on it.
On an SSD, this process slightly different: data is stored in flash memory cells that are grouped into pages. 128 pages are then grouped into blocks. And deletion procedures can only be carried out on the block level i.e. the entire block has to be first cached (read and stored in memory cache), the block erased, then the cached block is modified to include the new data and finally written on the flash media again. This is called the read-erase-modify-write cycle. Sounds tedious, right?
Simply put, TRIM is a command sent from the system to the SSD, telling it to perform the read-erase-modify-write cycle whenever a file is deleted instead of waiting until there is new data to be written. Why is this better? Because ultimately, the SSD’s write performance will remain unaffected over time. Only the deletion process takes a little longer.
Trim enabler on hackinotosh yosemite 10.10
make sure Add "kext-dev-mode=1 in boot flags)
delete previous kext in sys/lib/extensions
install it with kext utility
in terminal give this cmd.
sudo touch /System/Library/Extensions && sudo kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions
this will enable trim on non apple SSD
Chameleon Bootloader Users
NO need to install attached kext.
just type in terminal
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|x00x41x50x50x4cx45x20x53x53x44x00|x00x00x00x00x00x00x00x00x00x00x00|' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
sudo touch /System/Library/Extensions
sudo kextcache -prelinked-kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions
Clover Bootloader users.
NO need to install attached kext
Just type in config.plist file located in efi>clover
By yogesh1970Use HDA enabler in Chameleon or in clover.
so that kext can be loaded,
or patch your DSDT
By yogesh1970Use battery patches from github to enable battery %age in your mackintosh
By yogesh1970This kext will only work if you have defined graphic card location in your dsdt
if you want any help defining G.C in your dsdt ask me
SB>PCI0>p0p1>PEGP for ati cards
By mac123456789Usb Xhci New Version 1.2.7 For 14A329R
By sloeberGJThese are the kexts and DSDT for the asus k53sv, Everything works except: nVidia GT50M due to the nVidia Optimus switching technology and the Intel wireless card.
If you want the wireless to work you can buy an atheros AR5B95 on ebay/amazone. The kext's work in Mountain Lion/Mavericks/Yosemite.
Link to ebay for AR5B95: http://www.ebay.com/itm/NEW-Atheros-AR9285-AR5B195-592775-001-Half-WLAN-WIFI-BT-3-0-BlueTooth-Card-/200928889248
I added a patched bios wich unlocks native powermanagment and all advanced bios options. The bios is only for an Asus K53SV/X53SV/A53SV!!!! If you want it for an other Asus K53** mail me. It is a risky procedure, if it fails i am NOT responsible in any way. It is on your OWN RISK.
Native powermanagment wil fix kernel panicks about power, enables you to install all newer versions of OSX. And in some cases windows will work faster.