Jump to content

fabiosun

Recommended Posts

  • Supervisor

I know you do not love clover boot loader...partially I agree with this...but :

https://www.macos86.it/applications/core/interface/file/attachment.php?id=33686

if you want to test and to experiment with Kernel patches is the best solution available

 

EFI posted above is working with Big Sur 11.4 release

I have to solve in a clean way as @iGPUposted for open core bootloader memory problem with MAcPro 7.1 smbios...without using additional kext I mean

 

Link to comment
Share on other sites

4 hours ago, fabiosun said:

Done @Ploddles

could you try to disable patch 13 and see if your system boot fine the same in Big Sur (if you have a backup where you can boot again..just in the worst case) 🙂

 

 

Unfortunately my system immediately hangs at the Apple logo when I disable the patch.

 

Anyone using the internal Bluetooth module, on a Gigabyte motherboard, please be aware that the new kexts that are meant to add Monterey compatibility do not work, on my motherboard at least, and cause the system to hang and not boot into macOS. On the plus side I have now fixed the shutdown issue where the system would reboot about 5 seconds after shutdown - it now finally shuts down and stays shut down.😀

Link to comment
Share on other sites

  • Supervisor
18 minutes ago, Ploddles said:

 

BS 11.4, BS 11.5 Beta and Catalina

if you have patience we will understand better 🙂

patch 13 is only for Big Sur from your min and max kernel

Catalina should work disabling it

 

If you have time and I f you like to do for the sake of discovering things

try to disable patch number 12 and leave 13 on

put also a - v boot-args to see beyond an apple logo 🙂

 

attached my clover debug log...

some useful info on masking and offset stuff for kernel patching (@tomnic is working on this)

 

 

 

2021-06-27_13-13_BOOTX64.EFI.txt 2.zip

Edited by fabiosun
Link to comment
Share on other sites

Sorry, I did not explain fully. Disabling the patch only stops Big Sur loading but the latest Bluetooth kexts stop Big Sur and Catalina loading. I now have an updated bluetoolfix kexts to try with the new Monterey enabling kexts. 
 

I will try disabling the other patch later as I am now away from home. I will be back in a few hours time. 

Link to comment
Share on other sites

  • Moderators

On booting with Clover, I decided to look at Memory slot issues before looking at the Patches since the Memory Error pop-up was annoying me. After several re-arrangements and re-boots, I came up with code that seems to almost work.

 

If the code in Spoiler below is copied and pasted into the Text section of Clover, it will produce the Memory window  shown below.

 

Spoiler















		<key>Memory</key>
		<dict>
			<key>Channels</key>
			<integer>0</integer>
			<key>Modules</key>
			<array>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000000</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>0</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000001</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>1</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000002</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>2</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000003</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>3</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>0</integer>
					<key>Part</key>
					<string></string>
					<key>Serial</key>
					<string></string>
					<key>Size</key>
					<integer>0</integer>
					<key>Slot</key>
					<integer>4</integer>
					<key>Type</key>
					<string></string>
					<key>Vendor</key>
					<string></string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>0</integer>
					<key>Part</key>
					<string></string>
					<key>Serial</key>
					<string></string>
					<key>Size</key>
					<integer>0</integer>
					<key>Slot</key>
					<integer>5</integer>
					<key>Type</key>
					<string></string>
					<key>Vendor</key>
					<string></string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000006</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>6</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000007</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>7</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000008</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>8</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>3600</integer>
					<key>Part</key>
					<string>CMK64GX4M2D3600C18</string>
					<key>Serial</key>
					<string>AAA000000009</string>
					<key>Size</key>
					<integer>32768</integer>
					<key>Slot</key>
					<integer>9</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Corsair</string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>0</integer>
					<key>Part</key>
					<string></string>
					<key>Serial</key>
					<string></string>
					<key>Size</key>
					<integer>0</integer>
					<key>Slot</key>
					<integer>10</integer>
					<key>Type</key>
					<string></string>
					<key>Vendor</key>
					<string></string>
				</dict>
				<dict>
					<key>Frequency</key>
					<integer>0</integer>
					<key>Part</key>
					<string></string>
					<key>Serial</key>
					<string></string>
					<key>Size</key>
					<integer>0</integer>
					<key>Slot</key>
					<integer>11</integer>
					<key>Type</key>
					<string></string>
					<key>Vendor</key>
					<string></string>
				</dict>
			</array>
			<key>SlotCount</key>
			<integer>12</integer>
		</dict>

 

 

Go to Text pane below to paste all of code into area of Memory as shown below:

 

Clover-Text-Section.thumb.png.010ae9c2a4bfd7161192a5f3adff3597.png

 

 

MemoryUnderClover.thumb.png.0f553e95f692ed0eafef61f1f50a5a43.png

 

This is very similar to what is seen under OpenCore (shown below).

 

The above code at least shifts the DIMMs into the correct positions, mimicking what we see under OC. However, under Clover, there is a warning about single modules being too large. I think the problem is with Clover. When booting with Clover, Clover won't accept more than 16GB per DIMM (see the Size pop-up on the SMBIOS pane; it maxes out at 16384), unlike OpenCore. Clover then probably sends the wrong DIMM size data to macOS, leading macOS to generate the Memory error msg.

 

If I try to fool Clover by only entering 16GB instead of 32GB, the computer won't boot (I suppose it knows that 256GB are present, not 128GB).

 

I don't know who the developers are, but I think this should be fixable. If fixed, we could stop memory error flags.

 

[Now, if you have smaller DIMMs, then this may work for you. If you have fewer DIMMs and they're also smaller, you'll have to work out the pattern as I'm not pursuing further.]

 

MemoryUnderOC.thumb.png.2b8bbd5b95c729d38a3349c3ccd48bcf.png

 

On a related matter, despite entering a consistent SN and UUID, which can be verified in Clover logs and is properly saved in the Clover config.plist file, Clover in the SysInfo window (Spoiler below), keeps the correct SN, but changes the UUID and enters it own ROM. Weird.

 

Spoiler

Clover-changed-ROM-UUID.thumb.png.132ff9f6a25fcc19b70d31ce22a43bce.png

 

 

Edited by iGPU
  • Thanks 1
Link to comment
Share on other sites

  • Moderators
9 hours ago, Ploddles said:

Sorry, I did not explain fully. Disabling the patch only stops Big Sur loading but the latest Bluetooth kexts stop Big Sur and Catalina loading. I now have an updated bluetoolfix kexts to try with the new Monterey enabling kexts. 
 

I will try disabling the other patch later as I am now away from home. I will be back in a few hours time. 

 

Supposedly, BlueToolFixup.kext is only needed for Monterey, and with Monterery you are NOT to use BrcmBluetoothInjector.kext.

 

The image below may help to explain if you carefully note the version restrictions that I've prepared in anticipation of Monterey.

 

705893523_ScreenShot2021-06-27at4_23_14PM.thumb.png.a24c0d221ea1439d3ebec9cb07b44a20.png

Link to comment
Share on other sites

  • Supervisor
15 hours ago, iGPU said:

 

I've downloaded your Clover EFI and will work on this. I've no idea how to create kernel patches, but I'd like to learn the technique. The Memory section you reference is here; I did approach the problem and tested in a re-iterative fashion (multiple re-boots) until clarified.

 

If techniques are known (such as certain error codes for which to look), these need to be posted so that those of us, who are interested, can approach the problem "on the same page" (an idiom that refers to working in unison in a consistent fashion) to better pool our findings.

 

I'm presently running BS 11.5 beta (20G5042c).

 

about kernel patching:

 

in this thread you will find a link where years ago I have had some help from pikeralpha to understand "how to"

For AMD related part no valid documentation is available (in public I mean)

For people as me it is difficult to rebuild all the passes from older systems where some informations was available because I didn't live those moments (always had an Intel CPU from p90 age..before I have had an Amiga)

 

new Patches's maintainers do not share their secret...I do not like this way to do..but I have to accept it 🙂

 

9 hours ago, Ploddles said:

@fabiosun disabling patch 12 boots to a black screen, nothing displayed on the monitor.

we should try to better understand what happens to you ..

but if everything works well for you I don't feel like asking you to do other tests

Link to comment
Share on other sites

  • Supervisor
7 hours ago, iGPU said:

Bottom line: we're using the same 15 patches.

I am trying to understand from where on of this patch come:

lapic_init - remove version check and panic
f:25FC0000 0083F813 
r:25FC0000 000F1F00 

it should be valid also in Monterey and i used it from Catalina OS

Link to comment
Share on other sites

  • Supervisor

@iGPU

to be in touch with clover dev you can use this GitHub channel:

https://github.com/CloverHackyColor/CloverBootloader/issues/283

 

Clover has many unsolved problems from time ago..but it useful to debug a kernel patch better than opencosre (with less error reboot and try I mean)

We can add many patches we desire and then deactivate on boot menu.

but Pay attention if you have multiple system booting on your rig (using clover)

OS Detection works sometime in its way 🙂

 

Link to comment
Share on other sites

  • Moderators

Hello😀

These are my patches cleaned at 14 (openCore), i don't have the TRx40, but you can try

Spoiler

 

<?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">

<array>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>commpage_populate -remove rdmsr</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uaABAAAPMg==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Dx+AAAAAAA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_cache_info - cpuid 0x8000001D instead 4</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uAQAAABEifFEiQ==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>uB0AAIBEifFEiQ==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_cache_info - don&apos;t set cpuid_cores_per_package</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>weAa/8A=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>//D///A=</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Dx8A6wY=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_generic_info - remove wrmsr</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uYsAAAAxwDHSDzA=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Zg8fhAAAAAAAZpA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_generic_info - set flag=1</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uRcAAAAPMsHqEoDiBw==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>sgFmDx+EAAAAAABmkA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_info - GenuineIntel to AuthenticAMD</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>R2VudWluZUludGVsAA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>QXV0aGVudGljQU1EAA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string>_cpuid_set_info</string>

<key>Comment</key>

<string>cpuid_set_info - jmp to calculations and set cpuid_cores_per_package</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>dXHoAAAAAEiLBQAAAABIiQUAAAAA</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>////AAAAAP///wAAAAD///8AAAAA</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>19.0.0</string>

<key>Replace</key>

<data>dE4AAAAAAJCJDQAAAADpfgAAAGaQ</data>

<key>ReplaceMask</key>

<data>//8AAAAAAP///wAAAAD/////////</data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string>_cpuid_set_info</string>

<key>Comment</key>

<string>cpuid_set_info - cores and threads calculations</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uTUAAAAPMkjB4iCJwUgJ0bkBAAEAD0XID7fBwekQg+EP6x65NQAAAA8ySMHiIInBSAnRuQEAAQAPRcgPt8HB6RA=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>19.0.0</string>

<key>Replace</key>

<data>uAgAAIAx2zHJMdIPokGJzkUPtvZB/8a4HgAAgDHbMckx0g+iD7b3/8ZEifEx0onI9/aJwUSJ8Ol8////Dx9EAAA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>i386_init - remove rdmsr</string>

<key>Count</key>

<integer>0</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uZkBAAAPMkjB4iCJxkgJ1rmYAQAADzJIweIgicBICcK/WAIxBTHJRTHA</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Zg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fRAAA</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>tsc_init - remove Penryn check to execute default case</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>PbxP6ngPhAABAAA=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>/////////wD///8=</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>ZmZmDx+EAAAAAAA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>tsc_init - grab DID and VID from MSR</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uZQBAAAPMonDuc4AAAAPMg+2zokNAAAAAA+2xIkFAAAAAA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>////////////////////////////AAAA////////AAAA/w==</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>uWQAAcAPMg+2yInGwe4Ig+Y/RTH/MdJIichI9/ZIAcBmkA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>lapic_init - remove version check and panic</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>JfwAAACD+BM=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>19.0.0</string>

<key>Replace</key>

<data>JfwAAAAPHwA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>DhinakG - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN - 11.3b1</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>MdIAAIA9AAAAAAZ1AA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>//8AAP//AAAA////AA==</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>20.4.0</string>

<key>Replace</key>

<data>swG6vE/qeOldAAAAkA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>Any</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>Shaneee - mtrr_update_action - fix PAT</string>

<key>Count</key>

<integer>0</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>icCB4v//AP+BygAAAQC5dwIAAA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>////////D////////////////w==</data>

<key>MaxKernel</key>

<string>20.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>uXcCAAC4BgYGBroGBgYGDzAPCQ==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

</array>

</plist>

 

 

 

config.plist.zip

  • Like 1
  • +1 1
Link to comment
Share on other sites

  • Supervisor
2 hours ago, carlo_67 said:

Hello😀

These are my patches cleaned at 14 (openCore), i don't have the TRx40, but you can try

  Reveal hidden contents

 

<?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">

<array>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>commpage_populate -remove rdmsr</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uaABAAAPMg==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Dx+AAAAAAA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_cache_info - cpuid 0x8000001D instead 4</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uAQAAABEifFEiQ==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>uB0AAIBEifFEiQ==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_cache_info - don&apos;t set cpuid_cores_per_package</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>weAa/8A=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>//D///A=</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Dx8A6wY=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_generic_info - remove wrmsr</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uYsAAAAxwDHSDzA=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Zg8fhAAAAAAAZpA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_generic_info - set flag=1</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uRcAAAAPMsHqEoDiBw==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>sgFmDx+EAAAAAABmkA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>cpuid_set_info - GenuineIntel to AuthenticAMD</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>R2VudWluZUludGVsAA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>QXV0aGVudGljQU1EAA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string>_cpuid_set_info</string>

<key>Comment</key>

<string>cpuid_set_info - jmp to calculations and set cpuid_cores_per_package</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>dXHoAAAAAEiLBQAAAABIiQUAAAAA</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>////AAAAAP///wAAAAD///8AAAAA</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>19.0.0</string>

<key>Replace</key>

<data>dE4AAAAAAJCJDQAAAADpfgAAAGaQ</data>

<key>ReplaceMask</key>

<data>//8AAAAAAP///wAAAAD/////////</data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string>_cpuid_set_info</string>

<key>Comment</key>

<string>cpuid_set_info - cores and threads calculations</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uTUAAAAPMkjB4iCJwUgJ0bkBAAEAD0XID7fBwekQg+EP6x65NQAAAA8ySMHiIInBSAnRuQEAAQAPRcgPt8HB6RA=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>19.0.0</string>

<key>Replace</key>

<data>uAgAAIAx2zHJMdIPokGJzkUPtvZB/8a4HgAAgDHbMckx0g+iD7b3/8ZEifEx0onI9/aJwUSJ8Ol8////Dx9EAAA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>i386_init - remove rdmsr</string>

<key>Count</key>

<integer>0</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uZkBAAAPMkjB4iCJxkgJ1rmYAQAADzJIweIgicBICcK/WAIxBTHJRTHA</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>Zg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fRAAA</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>tsc_init - remove Penryn check to execute default case</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>PbxP6ngPhAABAAA=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>/////////wD///8=</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>ZmZmDx+EAAAAAAA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>tsc_init - grab DID and VID from MSR</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>uZQBAAAPMonDuc4AAAAPMg+2zokNAAAAAA+2xIkFAAAAAA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>////////////////////////////AAAA////////AAAA/w==</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>uWQAAcAPMg+2yInGwe4Ig+Y/RTH/MdJIichI9/ZIAcBmkA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>lapic_init - remove version check and panic</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>JfwAAACD+BM=</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data></data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>19.0.0</string>

<key>Replace</key>

<data>JfwAAAAPHwA=</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>x86_64</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>DhinakG - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN - 11.3b1</string>

<key>Count</key>

<integer>1</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>MdIAAIA9AAAAAAZ1AA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>//8AAP//AAAA////AA==</data>

<key>MaxKernel</key>

<string>21.99.99</string>

<key>MinKernel</key>

<string>20.4.0</string>

<key>Replace</key>

<data>swG6vE/qeOldAAAAkA==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

<dict>

<key>Arch</key>

<string>Any</string>

<key>Base</key>

<string></string>

<key>Comment</key>

<string>Shaneee - mtrr_update_action - fix PAT</string>

<key>Count</key>

<integer>0</integer>

<key>Enabled</key>

<true/>

<key>Find</key>

<data>icCB4v//AP+BygAAAQC5dwIAAA==</data>

<key>Identifier</key>

<string>kernel</string>

<key>Limit</key>

<integer>0</integer>

<key>Mask</key>

<data>////////D////////////////w==</data>

<key>MaxKernel</key>

<string>20.99.99</string>

<key>MinKernel</key>

<string>17.0.0</string>

<key>Replace</key>

<data>uXcCAAC4BgYGBroGBgYGDzAPCQ==</data>

<key>ReplaceMask</key>

<data></data>

<key>Skip</key>

<integer>0</integer>

</dict>

</array>

</plist>

 

 

 

config.plist.zip 6.07 kB · 1 download

Thank you Carlo

You have discovered we do not need to boot also of this patch:

algrey - cpuid_set_generic_info - disable check to allow leaf7

@iGPUand all users..could you test if it is the same also for you?

 

Great catch @carlo_67

 

tested on OSX 11.4 release and 11.5.b3

 

Edited by fabiosun
added tested on OSX 11.4 release and 11.5.b3
  • Like 1
Link to comment
Share on other sites

  • Supervisor

Attached are:

 

1) minimal set of patches to boot and work fine with OSX 11.4 release and 11.5.b3 with Opencore

2) minimal set of patches to boot and work fine with OSX 11.4 release and 11.5.b3 with Clover

 

latest patch is for aquantia ethernet, you can disable it if you do not use (Opencore patches plist)

 

Users that use Topology patch, maybe they have to add again this patch

I do not understand well why some users need of it...

 

 

clover trx40 kernel patches.plist.zip Opencore trx40 kernel patches.plist.zip

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

48 minutes ago, fabiosun said:

Attached are:

 

1) minimal set of patches to boot and work fine with OSX 11.4 release and 11.5.b3 with Opencore

2) minimal set of patches to boot and work fine with OSX 11.4 release and 11.5.b3 with Clover

 

latest patch is for aquantia ethernet, you can disable it if you do not use (Opencore patches plist)

 

Users that use Topology patch, maybe they have to add again this patch

I do not understand well why some users need of it...

 

 

clover trx40 kernel patches.plist.zip 2.07 kB · 0 downloads Opencore trx40 kernel patches.plist.zip 2.12 kB · 1 download

Does it mean I should remove the previous patches ( 40 children) and replace them with this one?

Am I right?

 

Thanks

 

Link to comment
Share on other sites

  • Supervisor

If you have a backup you can try..

these are working with Big Sur 11.4, 11.5 b1,b2,b3 and almost all working in Monterey Beta 1 (three of them are not working yet)

 

5 minutes ago, tuxy said:

Does it mean I should remove the previous patches ( 40 children) and replace them with this one?

Am I right?

 

Thanks

 

 

Pay also attention to fix pat (we ,trx40 users, do not need of it) 😉

 

  • Thanks 1
Link to comment
Share on other sites

  • Moderators


yes, the other 25 use them to inflate people, so to say that there are new patches🤐

58 minutes ago, tuxy said:

I did not get this part ...is that an additional patch to be added?

with your 3700, take my config and extract the patches

  • whahahah 1
Link to comment
Share on other sites

  • Supervisor
59 minutes ago, tuxy said:

I did not get this part ...is that an additional patch to be added?

you have to analyse your actual config.plist

and see if you use Algrey or Shane fix pat in it

 

if so you have to add it

 

then

40 patches are for all system from HighSierra to Big Sur latest beta

if you delete the ones for old system, you will have a minimal set of patches useful to boot only Big Sur (ie with it this set high sierra does not boot)

then you can cut also a couple of them or more 🙂

 

 

  • Thanks 1
Link to comment
Share on other sites

16 hours ago, iGPU said:

 

Supposedly, BlueToolFixup.kext is only needed for Monterey, and with Monterery you are NOT to use BrcmBluetoothInjector.kext.

 

The image below may help to explain if you carefully note the version restrictions that I've prepared in anticipation of Monterey.

 


Yes, that is what I was doing, getting things ready for Monterey, and I had set the Min & Max Kernel section for all 3 kexts, ie it wasn’t set to load the BluetoolFixup.kext with Big Sur.  However the new IntelBluetoothFirmware.kext was halting the boot with a critical error. Replacing that kext with the old (v 1.1.2) one and I was back to normal. I’ll retry on the next update of these kexts. 

Link to comment
Share on other sites

1 hour ago, fabiosun said:

you have to analyse your actual config.plist

and see if you use Algrey or Shane fix pat in it

 

i

 

I did it and basically I find out I have been using  Algrey albeit Shane was disabled.

Should I be able to boot Monterey with these patches?

Big sur is booting properly.....

 

Thanks

 

  • Like 1
Link to comment
Share on other sites

  • Supervisor
7 minutes ago, tuxy said:

I did it and basically I find out I have been using  Algrey albeit Shane was disabled.

Should I be able to boot Monterey with these patches?

Big sur is booting properly.....

 

Thanks

 

No @tuxy

Patches for Monterey are not available...

so also on x570 platform is enough a minimal set of patches to boot fine? 

  • Thanks 1
Link to comment
Share on other sites

  • fabiosun changed the title to [Discussion] - TRX40 Bare Metal - Vanilla Patches

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.