Jump to content
158 posts in this topic

Recommended Posts

I know that I don't need to set the kext-dev-mode myself when patching with clover, but I was a littlest curious if clover automatically enables this when you choose to patch something.

 

And about that FakeSMC-thingy. That can't be correct. I have booted just fine with FakeSMC and its plugins in clover/kexts/10.10 (or other) since Yosemite release. Injection of course, thats the only way i would do it.

No, it doen't enable it automatically.

 

I think, I'm not sure, If you have FakeSMC and other kexts in EFI folder ( not in /System/Library/Extensions ) you don't need to enable kext-dev-mode. And this is the best way to leave your system as clean as possible :)

  • 2 weeks later...

I patched the original IOAHCI kext, but my hackintosh keeps not recognizing my SSD at all, as it was a mere HDD. Any idea how to solve this? Here is a screenshot. Until now, I had been using Chameleon SSD, which stopped working after 10.10.2 upgrade.

I patched the original IOAHCI kext, but my hackintosh keeps not recognizing my SSD at all, as it was a mere HDD. Any idea how to solve this? Here is a screenshot. Until now, I had been using Chameleon SSD, which stopped working after 10.10.2 upgrade.

 

Use 3rd or 4th methos (only one!). 3rd if you have Clover, 4th in other cases.

 

EDIT: Ho appena notato che sei italiano. Quindi te lo dico anche in italiano perché in inglese so spiegarmi poco XD

 

Usa il terzo o il quarto metodo. Il terzo lo puoi usare, e sarebbe consigliato usarlo, se hai Clover installato altrimenti usa il quarto metodo. Inoltre posso consigliarti anche si usare il secondo metodo da linea di comando e vedere se ti da qualche errore.

Come preferisci. Uso Chameleon, ho provato inizialmente il quarto metodo, non ha funzionato (addirittura mi diceva che il kext non era utilizzabile, pur avendolo installa con Kext Helper ed avendo ricostruito la cache), dopodiché ho provato il secondo, altrettanto inutile. Mi chiedo piuttosto perché in Sistema non riconosca il chipset (come vedo in altri screenshot) né riesca a vederlo come SSD. Mi manca un kext? Solo ora ci faccio caso, e questo SSD lo uso da almeno un anno.

 

Al riguardo, vedo che è comune al Pandora team l'odio per la lingua di Shakespeare  :D  Infatti sto traducendo daccapo Pandora, perché mi fa piacere dare una mano e perché Miky è stato sempre gentilissimo e paziente con me. E già che ci sono, complimenti per il tool, semplicemente geniale e user-friendly.

Allora per il riconoscimento del chipset puoi scaricare questo zip http://www.mediafire.com/download/15bm771pbe1ki57/Extensions.zip e copiare solamente il kext "AHCIPortInjector.kext" in /S/L/E o installarlo con Kext helper.

 

Per quanto riguarda l'SSD:

  • rimetti il kext originale
  • ricrea la cache con 
    sudo touch /System/Library/Extensions && sudo kextcache -u /
  • riavvia

  • esegui il metodo 4 (o 2)

 

P.S. Beh se non so parlarla e scriverla bene meglio usare la mia lingua madre :) Grazie per l'aiuto! E si, Micky è un grande! :)

I know that I don't need to set the kext-dev-mode myself when patching with clover, but I was a littlest curious if clover automatically enables this when you choose to patch something.

 

And about that FakeSMC-thingy. That can't be correct. I have booted just fine with FakeSMC and its plugins in clover/kexts/10.10 (or other) since Yosemite release. Injection of course, thats the only way i would do it.

 

Most developers believe placing kexts in clover is not a good thing only for the installer.  There reasoning has something to do with the order in which the way the Apple Native Drivers load and the ones in clover will load if its not coordinated correctly can cause issues specifically ACPI related issues.   I have not tested FakeSMC placed in /System/Library/Extensions because I also have them in clover/kexts, but if you place it in /S/L/E, then yes you have to have the kext-dev-mode enabled.  I enable that option anyhow so I don't know if its needed with kexts in clover?

 

From my experience with working with EmlyDinesh himself doing beta testing on his Bluetooth/Elan touch pad drivers I promise you placing kexts like these work just fine in clover/kexts, and these are very sensitive ones to, so I think the developers theory may not be so correct. Even Slice the developer of Clover will not agree to placing kexts such as these in Clover.   I have all my drivers in Clover.  Ethernet/LegacyAGPM/FakeSMC and all its sensors like CPU etc., and get this, even VoodooHDA works from there.  HDADisabler.kext also works in there.

 

If you have modified your AppleHDA drivers then yes that must remain in /System/Library/Extensions and you will need kext-dev-mode enabled.

 

That is my 2 cents worth!!

 

I apologize for the off topic!!

Allora per il riconoscimento del chipset puoi scaricare questo zip http://www.mediafire.com/download/15bm771pbe1ki57/Extensions.zip e copiare solamente il kext "AHCIPortInjector.kext" in /S/L/E o installarlo con Kext helper.

 

Per quanto riguarda l'SSD:

  • rimetti il kext originale
  • ricrea la cache con 
    sudo touch /System/Library/Extensions && sudo kextcache -u /
  • riavvia

  • esegui il metodo 4 (o 2)

 

P.S. Beh se non so parlarla e scriverla bene meglio usare la mia lingua madre :) Grazie per l'aiuto! E si, Micky è un grande! :)

 

Ciao, scusa la domanda, col sistema in firma e Clover, basta che copi le stringhe del terzo metodo nel config.plist e basta?

E funziona anche se ho due dischi SSD?

Ecco! Mi mancava proprio questo kext. Purtroppo non è cambiato nulla installandolo. Mi chiedo quale possa essere il problema.

 

Per il nome del chipset non ti preoccupare, è solo una cosa visiva e nulla più. Sei riuscito ad attivare il TRIM? Hai rimesso il kext originale, ricreato la chache, riavviato, patchato e riavviato? 

 

Ciao, scusa la domanda, col sistema in firma e Clover, basta che copi le stringhe del terzo metodo nel config.plist e basta?

E funziona anche se ho due dischi SSD?

 

Si certo. Funziona senza alcun problema.

Per il nome del chipset non ti preoccupare, è solo una cosa visiva e nulla più. Sei riuscito ad attivare il TRIM? Hai rimesso il kext originale, ricreato la chache, riavviato, patchato e riavviato? 

 

Sì, ma continua a non funzionare. Non è che mi preoccupo del nome, è che non mi dice nemmeno chipset sconosciuto: noto che su altri sistemi appare almeno questo. Sono abbastanza certo che finché non riconoscerà il chipset non riconoscerà nemmeno un SSD, continuando a trattarlo come un normale drive, perché semplicemente manca la voce "TRIM=Sì/No".

I tried 3rd method, use last clover version 3152. Doesnt work for plextor M5Pro 128gig, OSX Yosemite.

Any ideas why?

 

ps. and please, write in English :)

 

Have you using Clover Configurator?

Sì, ma continua a non funzionare. Non è che mi preoccupo del nome, è che non mi dice nemmeno chipset sconosciuto: noto che su altri sistemi appare almeno questo. Sono abbastanza certo che finché non riconoscerà il chipset non riconoscerà nemmeno un SSD, continuando a trattarlo come un normale drive, perché semplicemente manca la voce "TRIM=Sì/No".

 

Allora dovresti chiedere da qualche altra parte per il chipset, io non so come aiutarti. Quel poco che so te l'ho fatto provare ma non ha funzionato.

Hi,
 
I had a look at the original Apple 'IOAHCIBlockStorage' driver extracted from the last OS10.10.2 software update. The string "APPLE SSD" can be found in two locations. The first one matches your patch. i.e "0041 5050 4c45 2053 5344 00", but the second occurrence will not be detected because the bytes read "0041 5050 4c45 2053 5344 20", the trailing character being a space (ASCII code 0x20). Do you know what happens when the two occurrences are zeroed out?
 
In my case overwriting the first occurrence shows TRIM enabled. I was just wondering if the two locations should ideally be overwritten.

 

 

IOAHCIBlockStorage binary excerpt

 

0010320: 506f 7765 7253 7461 7465 4f6e 5761 6b65       PowerStateOnWake

0010330: 4b65 790a 0041 5050 4c45 2053 5344 0054     Key..APPLE SSD.T

0010340: 696d 6520 546f 2052 6561 6479 004d 6163      ime To Ready.Mac

0010350: 426f 6f6b 4169 7235 2c31 004d 6163 426f        BookAir5,1.MacBo

0010360: 6f6b 4169 7235 2c32 0041 5050 4c45 2053      okAir5,2.APPLE S

0010370: 5344 2054 5300 5175 6575 6520 4465 7074     SD TS.Queue Dept

0010380: 6800 494f 4d61 7869 6d75 6d42 6c6f 636b       h.IOMaximumBlock

 

 

I am using Clover, Thanks

Alright,

 
I ran the following command:

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|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

sudo touch /System/Library/Extensions/

made sure the two occurrences had been zeroed out in the IOAHCIBlockStorage binary

 

 

0010320: 506f 7765 7253 7461 7465 4f6e 5761 6b65      PowerStateOnWake

0010330: 4b65 790a 0000 0000 0000 0000 0000 0054    Key............T

0010340: 696d 6520 546f 2052 6561 6479 004d 6163     ime To Ready.Mac

0010350: 426f 6f6b 4169 7235 2c31 004d 6163 426f       BookAir5,1.MacBo

0010360: 6f6b 4169 7235 2c32 0000 0000 0000 0000     okAir5,2........

0010370: 0000 2054 5300 5175 6575 6520 4465 7074     .. TS.Queue Dept

0010380: 6800 494f 4d61 7869 6d75 6d42 6c6f 636b      h.IOMaximumBlock

 

 

Rebooted the computer. It didn't make a difference. I guess the important field is the first occurrence after all

Alright,

 

I ran the following command:

 

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|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStoragesudo touch /System/Library/Extensions/
made sure the two occurrences had been zeroed out in the IOAHCIBlockStorage binary

 

 

0010320: 506f 7765 7253 7461 7465 4f6e 5761 6b65      PowerStateOnWake

0010330: 4b65 790a 0000 0000 0000 0000 0000 0054    Key............T

0010340: 696d 6520 546f 2052 6561 6479 004d 6163     ime To Ready.Mac

0010350: 426f 6f6b 4169 7235 2c31 004d 6163 426f       BookAir5,1.MacBo

0010360: 6f6b 4169 7235 2c32 0000 0000 0000 0000     okAir5,2........

0010370: 0000 2054 5300 5175 6575 6520 4465 7074     .. TS.Queue Dept

0010380: 6800 494f 4d61 7869 6d75 6d42 6c6f 636b      h.IOMaximumBlock

 

 

Rebooted the computer. It didn't make a difference. I guess the important field is the first occurrence after all

The error is at

 

s|\x00\x41\x50\x50\x4c\x45\x20\x53\x53\x44|\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00|sg

 

it must be

 

s|\x00\x41\x50\x50\x4c\x45\x20\x53\x53\x44\x00|\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00|sg

 

And the occurences to replace aren't two but only zone.

 

So, restore the originale file and re-run the correct command.

It doesn't make any difference, at least on my system. If you read my previous post, you'll see that I was just experimenting in getting ride of the two 'APPLE SSD' occurrences to check if it would affect any drive parameters recognized by the OS, which it doesn't. Since then I rolled my system back and use Clover dynamic patch injection (the method 3 you describe), so my IOAHCIBlockStorage is not modified on disk and remains the original Apple version.

 

Thanks, anyway.

3rd Method (Clover only)

 

This is valid only if you use Clover bootloader. Add manually the KextPatch in config.plist:

<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>IOAHCIBlockStorage</string>
				<key>Find</key>
				<data>
				AEFQUExFIFNTRAA=
				</data>
				<key>Replace</key>
				<data>
				AAAAAAAAAAAAAAA=
				</data>
				<key>Comment</key>
				<string>TRIM Enabler</string>
			</dict>
		</array>

And reboot. No kernelcache to rebuild!

 

Hi there!

 

I just successfully installed Yosemite on a brand new Crucial MX100 256GB SSD I bought for the occasion.

 

I tried to enable TRIM using this method. In fact the KextPatch was already there, in Clover v2.3k r3185's default config.plist, I just had to uncomment the array.

 

Here's what my config.plist looks like at that point:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP_0001</key>
				<true/>
				<key>AddHDMI_8000000</key>
				<true/>
				<key>AddIMEI_80000</key>
				<false/>
				<key>AddMCHC_0008</key>
				<false/>
				<key>AddPNLF_1000000</key>
				<true/>
				<key>DeleteUnused_400000</key>
				<true/>
				<key>FIX_ACST_4000000</key>
				<true/>
				<key>FIX_ADP1_800000</key>
				<true/>
				<key>FIX_INTELGFX_100000</key>
				<false/>
				<key>FIX_RTC_20000</key>
				<true/>
				<key>FIX_S3D_2000000</key>
				<true/>
				<key>FIX_TMR_40000</key>
				<true/>
				<key>FIX_WAK_200000</key>
				<true/>
				<key>FakeLPC_0020</key>
				<false/>
				<key>FixAirport_4000</key>
				<true/>
				<key>FixDarwin_0002</key>
				<true/>
				<key>FixDisplay_0100</key>
				<true/>
				<key>FixFirewire_0800</key>
				<true/>
				<key>FixHDA_8000</key>
				<true/>
				<key>FixHPET_0010</key>
				<true/>
				<key>FixIDE_0200</key>
				<false/>
				<key>FixIPIC_0040</key>
				<true/>
				<key>FixLAN_2000</key>
				<true/>
				<key>FixRegions_10000000</key>
				<true/>
				<key>FixSATA_0400</key>
				<false/>
				<key>FixSBUS_0080</key>
				<true/>
				<key>FixShutdown_0004</key>
				<true/>
				<key>FixUSB_1000</key>
				<true/>
				<key>NewWay_80000000</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
			<key>ReuseFFFF</key>
			<false/>
		</dict>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>DMAR</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>CpuPm</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>Cpu0Ist</string>
			</dict>
		</array>
		<key>HaltEnabler</key>
		<true/>
		<key>SSDT</key>
		<dict>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<true/>
				<key>PStates</key>
				<true/>
			</dict>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>kext-dev-mode=1</string>
		<key>Debug</key>
		<false/>
		<key>DefaultLoader</key>
		<string>boot.efi</string>
		<key>DefaultVolume</key>
		<string>LastBootedVolume</string>
		<key>Fast</key>
		<false/>
		<key>Legacy</key>
		<string>PBR</string>
		<key>NeverHibernate</key>
		<false/>
		<key>Timeout</key>
		<integer>5</integer>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>ResetHDA</key>
			<true/>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x94401002</string>
			<key>#XHCI</key>
			<string>0x0</string>
		</dict>
		<key>NoDefaultProperties</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>HighCurrent</key>
			<false/>
			<key>Inject</key>
			<true/>
		</dict>
		<key>UseIntelHDMI</key>
		<false/>
	</dict>
	<key>GUI</key>
	<dict>
		<key>#ScreenResolution</key>
		<string>1280x1024</string>
		<key>Theme</key>
		<string>embedded</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>DualLink</key>
		<integer>0</integer>
		<key>#Inject</key>
		<dict>
			<key>ATI</key>
			<true/>
			<key>Intel</key>
			<false/>
			<key>NVidia</key>
			<false/>
		</dict>
		<key>InjectEDID</key>
		<true/>
		<key>LoadVBios</key>
		<true/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>TRIM function for non-Apple SSDs</string>
				<key>Find</key>
				<data>
				QVBQTEUgU1NEAA==
				</data>
				<key>Name</key>
				<string>IOAHCIBlockStorage</string>
				<key>Replace</key>
				<data>
				AAAAAAAAAAAAAA==
				</data>
			</dict>
		</array>
		<key>AppleRTC</key>
		<true/>
		<key>AsusAICPUPM</key>
		<false/>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>KernelHaswellE</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelPm</key>
		<false/>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>#MLB</key>
		<string>C02032109R5DC771H</string>
		<key>ROM</key>
		<string>UseMacAddr0</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>#BiosReleaseDate</key>
		<string>05/03/10</string>
		<key>#BiosVendor</key>
		<string>Apple Inc.</string>
		<key>#BiosVersion</key>
		<string>MB11.88Z.0061.B03.0809221748</string>
		<key>#Board-ID</key>
		<string>Mac-F4208CC8</string>
		<key>#BoardManufacturer</key>
		<string>Apple Inc.</string>
		<key>#BoardSerialNumber</key>
		<string>C02032101R5DC771H</string>
		<key>#BoardType</key>
		<integer>10</integer>
		<key>#BoardVersion</key>
		<string>Proto1</string>
		<key>#ChassisAssetTag</key>
		<string>LatitudeD420</string>
		<key>#ChassisManufacturer</key>
		<string>Apple Inc.</string>
		<key>#ChassisType</key>
		<integer>16</integer>
		<key>#Family</key>
		<string>MacBook</string>
		<key>#FirmwareFeatures</key>
		<string>0xC0001403</string>
		<key>#LocationInChassis</key>
		<string>MLB</string>
		<key>#Memory</key>
		<dict>
			<key>Channels</key>
			<integer>2</integer>
			<key>Modules</key>
			<array>
				<dict>
					<key>Frequency</key>
					<integer>1333</integer>
					<key>Part</key>
					<string>C0001403</string>
					<key>Serial</key>
					<string>00001001</string>
					<key>Size</key>
					<integer>4096</integer>
					<key>Slot</key>
					<integer>0</integer>
					<key>Type</key>
					<string>DDR3</string>
					<key>Vendor</key>
					<string>Kingston</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>1333</integer>
					<key>Part</key>
					<string>C0001404</string>
					<key>Serial</key>
					<string>00001002</string>
					<key>Size</key>
					<integer>4096</integer>
					<key>Slot</key>
					<integer>2</integer>
					<key>Type</key>
					<string>DDR3</string>
					<key>Vendor</key>
					<string>Kingston</string>
				</dict>
			</array>
			<key>SlotCount</key>
			<integer>4</integer>
		</dict>
		<key>#Mobile</key>
		<true/>
		<key>#ProductName</key>
		<string>MacBook1,1</string>
		<key>#SerialNumber</key>
		<string>4H629LYAU9C</string>
		<key>#Slots</key>
		<array>
			<dict>
				<key>Device</key>
				<string>ATI</string>
				<key>ID</key>
				<integer>1</integer>
				<key>Name</key>
				<string>PCIe Slot 0</string>
				<key>Type</key>
				<integer>16</integer>
			</dict>
			<dict>
				<key>Device</key>
				<string>WIFI</string>
				<key>ID</key>
				<integer>0</integer>
				<key>Name</key>
				<string>Airport</string>
				<key>Type</key>
				<integer>1</integer>
			</dict>
		</array>
		<key>#SmUUID</key>
		<string>00000000-0000-1000-8000-010203040506</string>
		<key>#Trust</key>
		<true/>
		<key>#Version</key>
		<string>1.0</string>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>Detect</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>
But I don't see TRIM showing up in System informations after reboot. What's wrong?

Hi there!

 

I just successfully installed Yosemite on a brand new Crucial MX100 256GB SSD I bought for the occasion.

 

I tried to enable TRIM using this method. In fact the KextPatch was already there, in Clover v2.3k r3185's default config.plist, I just had to uncomment the array.

 

Here's what my config.plist looks like at that point:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP_0001</key>
				<true/>
				<key>AddHDMI_8000000</key>
				<true/>
				<key>AddIMEI_80000</key>
				<false/>
				<key>AddMCHC_0008</key>
				<false/>
				<key>AddPNLF_1000000</key>
				<true/>
				<key>DeleteUnused_400000</key>
				<true/>
				<key>FIX_ACST_4000000</key>
				<true/>
				<key>FIX_ADP1_800000</key>
				<true/>
				<key>FIX_INTELGFX_100000</key>
				<false/>
				<key>FIX_RTC_20000</key>
				<true/>
				<key>FIX_S3D_2000000</key>
				<true/>
				<key>FIX_TMR_40000</key>
				<true/>
				<key>FIX_WAK_200000</key>
				<true/>
				<key>FakeLPC_0020</key>
				<false/>
				<key>FixAirport_4000</key>
				<true/>
				<key>FixDarwin_0002</key>
				<true/>
				<key>FixDisplay_0100</key>
				<true/>
				<key>FixFirewire_0800</key>
				<true/>
				<key>FixHDA_8000</key>
				<true/>
				<key>FixHPET_0010</key>
				<true/>
				<key>FixIDE_0200</key>
				<false/>
				<key>FixIPIC_0040</key>
				<true/>
				<key>FixLAN_2000</key>
				<true/>
				<key>FixRegions_10000000</key>
				<true/>
				<key>FixSATA_0400</key>
				<false/>
				<key>FixSBUS_0080</key>
				<true/>
				<key>FixShutdown_0004</key>
				<true/>
				<key>FixUSB_1000</key>
				<true/>
				<key>NewWay_80000000</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
			<key>ReuseFFFF</key>
			<false/>
		</dict>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>DMAR</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>CpuPm</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>Cpu0Ist</string>
			</dict>
		</array>
		<key>HaltEnabler</key>
		<true/>
		<key>SSDT</key>
		<dict>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<true/>
				<key>PStates</key>
				<true/>
			</dict>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>kext-dev-mode=1</string>
		<key>Debug</key>
		<false/>
		<key>DefaultLoader</key>
		<string>boot.efi</string>
		<key>DefaultVolume</key>
		<string>LastBootedVolume</string>
		<key>Fast</key>
		<false/>
		<key>Legacy</key>
		<string>PBR</string>
		<key>NeverHibernate</key>
		<false/>
		<key>Timeout</key>
		<integer>5</integer>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>ResetHDA</key>
			<true/>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x94401002</string>
			<key>#XHCI</key>
			<string>0x0</string>
		</dict>
		<key>NoDefaultProperties</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>HighCurrent</key>
			<false/>
			<key>Inject</key>
			<true/>
		</dict>
		<key>UseIntelHDMI</key>
		<false/>
	</dict>
	<key>GUI</key>
	<dict>
		<key>#ScreenResolution</key>
		<string>1280x1024</string>
		<key>Theme</key>
		<string>embedded</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>DualLink</key>
		<integer>0</integer>
		<key>#Inject</key>
		<dict>
			<key>ATI</key>
			<true/>
			<key>Intel</key>
			<false/>
			<key>NVidia</key>
			<false/>
		</dict>
		<key>InjectEDID</key>
		<true/>
		<key>LoadVBios</key>
		<true/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>TRIM function for non-Apple SSDs</string>
				<key>Find</key>
				<data>
				QVBQTEUgU1NEAA==
				</data>
				<key>Name</key>
				<string>IOAHCIBlockStorage</string>
				<key>Replace</key>
				<data>
				AAAAAAAAAAAAAA==
				</data>
			</dict>
		</array>
		<key>AppleRTC</key>
		<true/>
		<key>AsusAICPUPM</key>
		<false/>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>KernelHaswellE</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelPm</key>
		<false/>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>#MLB</key>
		<string>C02032109R5DC771H</string>
		<key>ROM</key>
		<string>UseMacAddr0</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>#BiosReleaseDate</key>
		<string>05/03/10</string>
		<key>#BiosVendor</key>
		<string>Apple Inc.</string>
		<key>#BiosVersion</key>
		<string>MB11.88Z.0061.B03.0809221748</string>
		<key>#Board-ID</key>
		<string>Mac-F4208CC8</string>
		<key>#BoardManufacturer</key>
		<string>Apple Inc.</string>
		<key>#BoardSerialNumber</key>
		<string>C02032101R5DC771H</string>
		<key>#BoardType</key>
		<integer>10</integer>
		<key>#BoardVersion</key>
		<string>Proto1</string>
		<key>#ChassisAssetTag</key>
		<string>LatitudeD420</string>
		<key>#ChassisManufacturer</key>
		<string>Apple Inc.</string>
		<key>#ChassisType</key>
		<integer>16</integer>
		<key>#Family</key>
		<string>MacBook</string>
		<key>#FirmwareFeatures</key>
		<string>0xC0001403</string>
		<key>#LocationInChassis</key>
		<string>MLB</string>
		<key>#Memory</key>
		<dict>
			<key>Channels</key>
			<integer>2</integer>
			<key>Modules</key>
			<array>
				<dict>
					<key>Frequency</key>
					<integer>1333</integer>
					<key>Part</key>
					<string>C0001403</string>
					<key>Serial</key>
					<string>00001001</string>
					<key>Size</key>
					<integer>4096</integer>
					<key>Slot</key>
					<integer>0</integer>
					<key>Type</key>
					<string>DDR3</string>
					<key>Vendor</key>
					<string>Kingston</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>1333</integer>
					<key>Part</key>
					<string>C0001404</string>
					<key>Serial</key>
					<string>00001002</string>
					<key>Size</key>
					<integer>4096</integer>
					<key>Slot</key>
					<integer>2</integer>
					<key>Type</key>
					<string>DDR3</string>
					<key>Vendor</key>
					<string>Kingston</string>
				</dict>
			</array>
			<key>SlotCount</key>
			<integer>4</integer>
		</dict>
		<key>#Mobile</key>
		<true/>
		<key>#ProductName</key>
		<string>MacBook1,1</string>
		<key>#SerialNumber</key>
		<string>4H629LYAU9C</string>
		<key>#Slots</key>
		<array>
			<dict>
				<key>Device</key>
				<string>ATI</string>
				<key>ID</key>
				<integer>1</integer>
				<key>Name</key>
				<string>PCIe Slot 0</string>
				<key>Type</key>
				<integer>16</integer>
			</dict>
			<dict>
				<key>Device</key>
				<string>WIFI</string>
				<key>ID</key>
				<integer>0</integer>
				<key>Name</key>
				<string>Airport</string>
				<key>Type</key>
				<integer>1</integer>
			</dict>
		</array>
		<key>#SmUUID</key>
		<string>00000000-0000-1000-8000-010203040506</string>
		<key>#Trust</key>
		<true/>
		<key>#Version</key>
		<string>1.0</string>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>Detect</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>
But I don't see TRIM showing up in System informations after reboot. What's wrong?

 

Use mine and all will works.

  • 4 weeks later...

Hi, just a curiosity, I have on my plist the bellow Clover Trim patch, which seems different than the one posted here....but I'm not sure if that should be considered a problem or not. I got trim working, but....does it works with different patches?

 

==

<key>Comment</key>

<string>TRIM Enabler</string>

<key>Find</key>

<data>

AEFQUExFIFNTRAA=

</data>

<key>Name</key>

<string>IOAHCIBlockStorage</string>

<key>Replace</key>

<data>

AAAAAAAAAAAAAAA=

</data>

===

×
×
  • Create New...