KernelAndKextPatches - JrCs/Clover-Wiki GitHub Wiki

###Kernel And Kext Patches

######At this section on [config.plist], you can setup "Automatic Binary Patches" that Clover will apply to the kext "on-the-fly" and ending with the necessity to manually "bin patch" the kext at every update or reinstallation...

######There are predefined patches and also, you can make "custom" patches via [KextsToPatch]...

######Some of this patches can be enabled or disabled via [GUI] under [Binaries Patching] menu.

######This is only for "Binary Patch", for now, there's no possibility to make changes to XML files, for example, add your Vendor and DeviceID to the Info.plist file.

######The following settings are available;

Patch Description
Debug Enable Kext Patching debug.
KernelCpu Enable Kernel Patch for unsupported Intel CPU.
ATIConnectorsController Inject ATI Connectors to the host controller.
ATIConnectorsData Inject ATI Connectors to the host controller.
ATIConnectorsPatch Patch and Inject ATI Connectors to the host controller.
AsusAICPUPM Patch AppleIntelCPUPowerManagament.kext for ASUS Native PM.
AppleRTC Patch AppleRTC.kext
[KextsToPatch] Allow custom kext patching.


####KernelAndKextPatches Sample


<key>KernelAndKextPatches</key>
	<dict>
		<key>Debug</key>
		<string>No</string>
		<key>KernelCpu</key>
		<string>No</string>
		<key>ATIConnectorsController</key>
		<string>6000</string>
		<key>ATIConnectorsData</key>
		<string>000400000403000000010000210302040400000014020000000100000000040310000000100000000001000000000001</string>
		<key>ATIConnectorsPatch</key>
		<string>040000001402000000010000000004040004000004030000000100001102010500000000000000000000000000000000</string>
		<key>AsusAICPUPM</key>
		<string>No</string>
		<key>AppleRTC</key>
		<string>Yes</string>
		<key>KextsToPatch</key>
		<dict>
			<key>0</key>
			<dict>
				<key>Name</key>
				<string>VoodooHDA</string>
				<key>Find</key>
				<data>SGVhZHBob25lcwA=</data>
				<key>Replace</key>
				<data>VGVsZXBob25lcwA=</data>
			</dict>
			<key>1</key>
			<dict>
				<key>Name</key>
				<string>AppleHDAController</string>
				<key>Find</key>
				<data>TA==</data>
				<key>Replace</key>
				<data>TA==</data>
			</dict>
			<key>2</key>
			<dict>
				<key>Name</key>
				<string>IOBlockStorage</string>
				<key>Find</key>
				<data>TA==</data>
				<key>Replace</key>
				<data>TA==</data>
			</dict>
			<key>3</key>
			<dict>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Find</key>
				<data>RXh0ZXJuYWw=</data>
				<key>Replace</key>
				<data>SW50ZXJuYWw=</data>
			</dict>
		</dict>
	</dict>
⚠️ **GitHub.com Fallback** ⚠️