Jump to content
30960 posts in this topic

Recommended Posts

In some Clover themes, like iClover, the animation is screwy. As in, the Clover animation overlaps the title.

 

I will upload a picture. Is this a known issue, and is there a possible fix for this?

 

Also, I am considering testing Mavericks, As such, I was also wondering if there was to inject edited .plists that are needed for AppleHDA using Clover.

Thanks Slice - and with thanks to Sergey_Galan at appleLife.ru

could you tell me how to do , please ?

I don't feel like inventing the wheel, nor am I really in the mood to translate stuff that generally doesn't require any technical explanation as it mainly involves numbers, so here you go: CLICK

I believe the info about how to make a patch from Clover can be found in the Wiki.

  • Like 1

Tnks For You Answer


 

Change in AppleIntelFramebufferCapri ML 18 to 40 Digits install edited kekst, kekst utility reboots the system and get all the memory in 1024 for his HD4000.
At this point I decided not to stop and bring everything to a logical end.
I thought, how is it then there is the 512 and I just saw them on their Asus_N when AppleIntelFramebufferCapri edited to earn a VGA port.
Then I decided to see what a figure standing in the AppleIntelFramebufferCapri for AAPL, ig-platform-id: 01660003 because this is the ig-platform-id and I used to work for VGA.
Comparative analysis gave me a figure of 20, and it is logical to see for yourself if that's the numeral 40 is the memory is 1024, so if you put 20 it will be less than half the 512.
To sum up.

18 = 384
20 = 512
30 = 768
40 = 1024

I edited AppleIntelFramebufferCapri with different types of code: 20, 30, 40, 18, and of course - the native version unchanged and kept them in a folder.
And now simply setting kekstov and overload the system, I can choose the amount of allocated memory for its HD4000.
Depending on the AppleIntelFramebufferCapri from the archive, I get the desired result.

 

Link To Post

 

I want patch  kext .
is it the correct way to increase the ram shared ?

 

2e6550ec44bf.png

 

<key>KextsToPatch</key>
<array>
<dict>
    <key>Name</key>
    <string>AppleIntelFramebufferCapri</string>
    <key>Find</key>
    <data>20</data>
    <key>Replace</key>
    <data>40</data>
</dict>
</array>

Not at all! 

Data has to be in base64 (use Xcode or PlistEdit to edit the the .plist) and if you'd do that correctly then EVEY byte 0x20 would be replaced with 0x40 and nothing would work.

 

I'll Edit this file  \AppleIntelFramebufferCapri.kext\Contents\Info.plist ,  is it right ?

Ex:

<key>KextsToPatch</key>
<array>
<dict>
    <key>Name</key>
    <string>AppleIntelFramebufferCapri</string>
    <key>Find</key>
    <data>00 00 00 18</data>
    <key>Replace</key>
    <data>00 00 00 40</data>
</dict>
</array>

Is it Right or I have to convert to Hex

Ex:

<key>KextsToPatch</key>
<array>
<dict>
    <key>Name</key>
    <string>AppleIntelFramebufferCapri</string>
    <key>Find</key>
    <data>00 00 00 18</data>
    <key>Replace</key>
    <data>00 00 00 40</data>
</dict>
</array>

Is it Right or I have to convert to Hex

There are at least 15 occurrences of 00 00 00 18 in the Capri binary and you only need one replaced. That is not right in the first place. Secondly, the data type is base64 and not plain HEX.  This is the proper way:

 

<key>KernelAndKextPatches</key>
<dict>
<key>Debug</key>
<false/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Name</key>
<string>AppleIntelFramebufferCapri</string>
<key>Find</key>
<data>AQAAABg=</data>
<key>Replace</key>
<data>AQAAAEA=</data>
</dict>
</array>
</dict>
  • Like 2

 

There are at least 15 occurrences of 00 00 00 18 in the Capri binary and you only need one replaced. That is not right in the first place. Secondly, the data type is base64 and not plain HEX.  This is the proper way:

<key>KernelAndKextPatches</key>
<dict>
<key>Debug</key>
<false/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Name</key>
<string>AppleIntelFramebufferCapri</string>
<key>Find</key>
<data>AQAAABg=</data>
<key>Replace</key>
<data>AQAAAEA=</data>
</dict>
</array>
</dict>

 

it is very difficult understand to for me.

 

this string

AAAABig= < is equivalent to ?

 

the code you posted is fine by me

it is very difficult understand to for me.

 

this string

AAAABig= < is equivalent to ?

 

the code you posted is fine by me

its base64, use a proper plist editing tool (like Xcode, it's free from the AppStore) and it will appear as human readable hex!

  • Like 1

its base64, use a proper plist editing tool (like Xcode, it's free from the AppStore) and it will appear as human readable hex!

I may have finally figured out

 

Base64 = AQAAABg=            Hex = 01 00 00 00 18

Base64 =AQAAAEA=             Hex = 01 00 00 00 40

 

then this code it is correct for me

<key>KernelAndKextPatches</key>
<dict>
<key>Debug</key>
<false/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Name</key>
<string>AppleIntelFramebufferCapri</string>
<key>Find</key>
<data>AQAAABg=</data>
<key>Replace</key>
<data>AQAAAEA=</data>
</dict>
</array>
</dict>

Do I understood everything correctly ?

thanks thank you very much, I think I know

 

 

Last thing and corrected my setting

	<key>KernelAndKextPatches</key>
	<dict>
			<key>Debug</key>
			<false/>
			<key>AppleRTC</key>
			<true/>
			<key>AsusAICPUPM</key>
			<true/>
			<key>KextsToPatch</key>
			<array>
				<dict>
						<key>Name</key>
						<string>AppleIntelFramebufferCapri</string>
						<key>Find</key>
						<data>AQAAABg=</data>
						<key>Replace</key>
						<data>AQAAAEA=</data>
				</dict>
			</array>
	</dict>

Hi there. I'm planning to build a new rig, so trying out Clover on my current machine now.

I've already met several challenges, but I'll just ask them one by one slowly :)

 

One thing I've noticed first is that no matter which way I setup graphics in Clover, i.e.

1. KextsToPatch AMD4800Controller Info.plist: 0x94401002 -> 0x94421002, or

2. FakeID: ATI -> 0x94421002

It simply doesn't work and sends me into a non-accelerated desktop with wrong ratio and 7MB of VRAM.

 

Now if I manually add my 0x94421002 into the kext in S/L/E and rebuild cache like the old way, it works flawlessly.

Why is this happening?

 

Hi there. I'm planning to build a new rig, so trying out Clover on my current machine now.

I've already met several challenges, but I'll just ask them one by one slowly :)

 

One thing I've noticed first is that no matter which way I setup graphics in Clover, i.e.

1. KextsToPatch AMD4800Controller Info.plist: 0x94401002 -> 0x94421002, or

2. FakeID: ATI -> 0x94421002

It simply doesn't work and sends me into a non-accelerated desktop with wrong ratio and 7MB of VRAM.

 

Now if I manually add my 0x94421002 into the kext in S/L/E and rebuild cache like the old way, it works flawlessly.

Why is this happening?

1. Info.plist patching works after second restart, first time you must start without caches to include the patched kext into cache.

2. FakeID will work with InjectATI=true or with DSDTFixMask=0x0100. 

You didn't say how did you do these exercises and what you have in boot.log, in ioreg, in kernel.log etc.

 

1. Info.plist patching works after second restart, first time you must start without caches to include the patched kext into cache.

2. FakeID will work with InjectATI=true or with DSDTFixMask=0x0100. 

You didn't say how did you do these exercises and what you have in boot.log, in ioreg, in kernel.log etc.

1. Oh. I thought Clove patch it on-the-fly without really touching the kext. Will surely try that next time!

2. I had both on. Didn't work.

 

Thanks and sorry about not giving enough information. Been a while since I had to re-learn hackintosh! :P

(And everything is so different now. UEFI MB, UEFI graphics, UEFI crazy-fast boot, and nearly perfect hackintosh. Mind blown.)

1. Oh. I thought Clove patch it on-the-fly without really touching the kext. Will surely try that next time!

Hmm... Boot without cache -> rebuild cache -> reboot with cache right? Didn't work here...

 

My config.plist (I'm on 1995):

 

 

<?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>SystemParameters</key>
	<dict>
		<key>boot-args</key>
		<string>npci=0x2000 darkwake=0 slide=0</string>
		<key>prev-lang:kbd</key>
		<string>en:0</string>
		<key>CustomUUID</key>
		<string>2F1CC6ED-C3B4-5BE4-8A89-00218515EE76</string>
		<key>InjectSystemID</key>
		<true/>
		<key>LegacyBoot</key>
		<string>PBR</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BoardSerialNumber</key>
		<string>G8815052XYLDC771H</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>InjectATI</key>
		<true/>
		<key>PatchVBios</key>
		<true/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>AsusAICPUPM</key>
		<true/>
		<key>AppleRTC</key>
		<true/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Find</key>
				<data>RXh0ZXJuYWw=</data>
				<key>Replace</key>
				<data>SW50ZXJuYWw=</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>AMD4800Controller</string>
				<key>Comment</key>
				<string>Patch PCI match (needs reboot w/o cache)</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>0x94401002</string>
				<key>Replace</key>
				<string>0x94421002</string>
			</dict>
		</array>
	</dict>
	<key>PCI</key>
	<dict>
		<key>USBInjection</key>
		<true/>
		<key>USBFixOwnership</key>
		<true/>
		<key>InjectClockID</key>
		<true/>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>LogEveryBoot</key>
		<string>No</string>
	</dict>
	<key>ACPI</key>
	<dict>
		<key>GenerateCStates</key>
		<true/>
		<key>GeneratePStates</key>
		<string>Yes</string>
		<key>PLimitDict</key>
		<integer>0</integer>
		<key>UnderVoltStep</key>
		<integer>1</integer>
		<key>FixDsdtMask</key>
		<string>0xA197</string>
	</dict>
	<key>GUI</key>
	<dict>
		<key>TextOnly</key>
		<false/>
		<key>Theme</key>
		<string>mlcamp</string>
		<key>Timeout</key>
		<integer>3</integer>
		<key>DefaultBootVolume</key>
		<string>Macintosh HD</string>
		<key>DebugLog</key>
		<false/>
		<key>Mouse</key>
		<dict>
			<key>Enabled</key>
			<false/>
			<key>Speed</key>
			<integer>0</integer>
		</dict>
		<key>Volumes</key>
		<dict>
			<key>Legacy</key>
			<string>First</string>
		</dict>
		<key>HideEntries</key>
		<dict>
			<key>OSXInstall</key>
			<false/>
			<key>WindowsEFI</key>
			<false/>
			<key>InternalUEFI</key>
			<true/>
		</dict>
	</dict>
</dict>
</plist>

 

 

 

Btw, which one is the coronet option regarding boot.log and where to find the log?

Didn't show up in Console even when I didn't disable debug, etc.

Hmm... Boot without cache -> rebuild cache -> reboot with cache right? Didn't work here...

 

My config.plist (I'm on 1995):

 

 

<?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>SystemParameters</key>
	<dict>
		<key>boot-args</key>
		<string>npci=0x2000 darkwake=0 slide=0</string>
		<key>prev-lang:kbd</key>
		<string>en:0</string>
		<key>CustomUUID</key>
		<string>2F1CC6ED-C3B4-5BE4-8A89-00218515EE76</string>
		<key>InjectSystemID</key>
		<true/>
		<key>LegacyBoot</key>
		<string>PBR</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BoardSerialNumber</key>
		<string>G8815052XYLDC771H</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>InjectATI</key>
		<true/>
		<key>PatchVBios</key>
		<true/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>AsusAICPUPM</key>
		<true/>
		<key>AppleRTC</key>
		<true/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Find</key>
				<data>RXh0ZXJuYWw=</data>
				<key>Replace</key>
				<data>SW50ZXJuYWw=</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>AMD4800Controller</string>
				<key>Comment</key>
				<string>Patch PCI match (needs reboot w/o cache)</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>0x94401002</string>
				<key>Replace</key>
				<string>0x94421002</string>
			</dict>
		</array>
	</dict>
	<key>PCI</key>
	<dict>
		<key>USBInjection</key>
		<true/>
		<key>USBFixOwnership</key>
		<true/>
		<key>InjectClockID</key>
		<true/>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>LogEveryBoot</key>
		<string>No</string>
	</dict>
	<key>ACPI</key>
	<dict>
		<key>GenerateCStates</key>
		<true/>
		<key>GeneratePStates</key>
		<string>Yes</string>
		<key>PLimitDict</key>
		<integer>0</integer>
		<key>UnderVoltStep</key>
		<integer>1</integer>
		<key>FixDsdtMask</key>
		<string>0xA197</string>
	</dict>
	<key>GUI</key>
	<dict>
		<key>TextOnly</key>
		<false/>
		<key>Theme</key>
		<string>mlcamp</string>
		<key>Timeout</key>
		<integer>3</integer>
		<key>DefaultBootVolume</key>
		<string>Macintosh HD</string>
		<key>DebugLog</key>
		<false/>
		<key>Mouse</key>
		<dict>
			<key>Enabled</key>
			<false/>
			<key>Speed</key>
			<integer>0</integer>
		</dict>
		<key>Volumes</key>
		<dict>
			<key>Legacy</key>
			<string>First</string>
		</dict>
		<key>HideEntries</key>
		<dict>
			<key>OSXInstall</key>
			<false/>
			<key>WindowsEFI</key>
			<false/>
			<key>InternalUEFI</key>
			<true/>
		</dict>
	</dict>
</dict>
</plist>

 

 

Btw, which one is the coronet option regarding boot.log and where to find the log?

Didn't show up in Console even when I didn't disable debug, etc.

 

Config.plist looks good. Use, please, DarwinDumper to make a report to upload here

 

Use second option: FakeID=0x94401002 but do not mix two methods, because if your Fake DeviceID=0x9440 but Info.plist patched to 9442 you failed.

Btw, which one is the coronet option regarding boot.log and where to find the log?

Didn't show up in Console even when I didn't disable debug, etc.

 

In Clover menu you can press F2 to dump a pre-boot.log to EFI/Clover/misc/ and from terminal use sudo bdmesg

Hello. What do you think about to create a message with config example which will include config.plist with all of the parameters. Likewise bareBoot has it.

We all see that structure of settings sometimes changes from time to time. In this regard I suggest to create a message somewhere at the top of the topic with that.

It is allow to see what changed and to correct all at once what we need when the structure of settings was changed .

×
×
  • Create New...