Jump to content

Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?


Huberer
 Share

92 posts in this topic

Recommended Posts

Hi
Here's BCM57781 for 10.9.4, 10.10b1 (maybe 10.9.2, 10.9.3 also work)
 
Clover KextsToPatch Code
 


           <dict>

                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.9.4 (Step 1)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>Find</key>
                <data>6H+o//9miYM=</data>
                <key>Replace</key>
                <data>uLQWAABmiYM=</data>
                <key>Hexadecimal</key>
                <dict>
                    <key>Find</key>
                    <string>e87fa8ffff668983</string>
                    <key>Replace</key>
                    <string>b8b4160000668983</string>
                </dict>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.9.4 (Step 2)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>Find</key>
                <data>6I2n//9miYM=</data>
                <key>Replace</key>
                <data>uOQUAABmiYM=</data>
                <key>Hexadecimal</key>
                <dict>
                    <key>Find</key>
                    <string>e88da7ffff668983</string>
                    <key>Replace</key>
                    <string>b8e4140000668983</string>
                </dict>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.9.4 (Step 3)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>Find</key>
                <data>6HKn//9miYM=</data>
                <key>Replace</key>
                <data>uLQWAABmiYM=</data>
                <key>Hexadecimal</key>
                <dict>
                    <key>Find</key>
                    <string>e872a7ffff668983</string>
                    <key>Replace</key>
                    <string>b8b4160000668983</string>
                </dict>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.10b1 (Step 4)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>Find</key>
                <data>6Jam//9miYM=</data>
                <key>Replace</key>
                <data>uLQWAABmiYM=</data>
                <key>Hexadecimal</key>
                <dict>
                    <key>Find</key>
                    <string>e896a6ffff668983</string>
                    <key>Replace</key>
                    <string>b8b4160000668983</string>
                </dict>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.10b1 (Step 5)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>Find</key>
                <data>6Kal//9miYM=</data>
                <key>Replace</key>
                <data>uOQUAABmiYM=</data>
                <key>Hexadecimal</key>
                <dict>
                    <key>Find</key>
                    <string>e8a6a5ffff668983</string>
                    <key>Replace</key>
                    <string>b8e4140000668983</string>
                </dict>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.10b1 (Step 6)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>Find</key>
                <data>6Iul//9miYM=</data>
                <key>Replace</key>
                <data>uLQWAABmiYM=</data>
                <key>Hexadecimal</key>
                <dict>
                    <key>Find</key>
                    <string>e88ba5ffff668983</string>
                    <key>Replace</key>
                    <string>b8b4160000668983</string>
                </dict>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.9.4,10.10b1 (Step 7)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>Find</key>
                <data>ADU3NzY1AA==</data>
                <key>Replace</key>
                <data>ADU3NzgxAA==</data>
                <key>Hexadecimal</key>
                <dict>
                    <key>Find</key>
                    <string>00353737363500</string>
                    <key>Replace</key>
                    <string>00353737383100</string>
                </dict>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Broadcom 57781 for 10.9.4,10.10b1 (Step 8)</string>
                <key>Name</key>
                <string>AppleBCM5701Ethernet</string>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Find</key>
                <string>pci14e4,16b4</string>
                <key>Replace</key>
                <string>pci14e4,16b1</string>
            </dict>

 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
Hi
Here is binary patched BCM57781
 
Here is Clover EFI bootloader KextsToPatch section code
 

 

And Clover KextsToPatch Code

 

 

		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp6 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp6 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Nam//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8d6a6ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp6 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Oal//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8e6a5ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp6 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Mul//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8cba5ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp6 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp5 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp5 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Jam//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e896a6ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp5 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Kal//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8a6a5ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp5 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Iul//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e88ba5ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10dp5 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10b (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10b (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Jam//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e896a6ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10b (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Kal//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8a6a5ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10b (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Iul//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e88ba5ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10b (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.4 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.4 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6H+o//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e87fa8ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.4 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6I2n//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e88da7ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.4 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6HKn//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e872a7ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.4 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.8.5 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.8.5 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6ECS//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e84092ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.8.5 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6N2R//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8dd91ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.8.5 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6MKR//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8c291ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.8.5 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.7.5 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.7.5 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6FWZ//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e85599ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.7.5 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6ISY//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e88498ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.7.5 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6GmY//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e86998ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.7.5 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
		</array>

 

 

 

 

BCM57785 maybe...

Info.plist = 0x16b4 -> 0x16b5? (not sure)

  • Like 1
Link to comment
Share on other sites

 

Hi
Here is binary patched BCM57781
 
Here is Clover EFI bootloader KextsToPatch section code
 

 

 

forumi0721,

 

The Yosemite 10.10 DP6 patches to BCM5701 are working great to enable BCM57781 on ASRock Z77 board.

 

Thank you so much for your tremendous effort and support!!!

 

I'll probably be back when Apple changes the drivers again...

 

TundraBoy

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

I've been using the Clover KextsToPatch-method for a while, but I messed up my installation last week. I have a Time Machine-backup so reinstalling wasn't really a big deal. But now the weird thing is, is that my network isn't working any more. I've used the exact same bootloader I created before, I've created an entirely new one from scratch, recopied the OS X installation on my USB-drive as I thought the installation partition may be corrupt. Now the best part I really don't get is that network is working during installation! I have access to my Time Machine-backup, thus network access, but as soon as the installation is finished, it doesn't work any more. I currently installed OS X more than 10 times in a row today and I don't know what to do any more.

 

I've attached an image of my OS X-machine booting up without injected kexts so I had the time to take a picture and one of Logging.app filtered on 5701.

 

Further information:

Mobo: ASRock Z77e-ITX

Network chip: BCM57781

 

Any help would be greatly appreciated! :)

post-159693-0-60198000-1409857234_thumb.jpg

post-159693-0-56083200-1409857264_thumb.jpg

Link to comment
Share on other sites

  • 2 weeks later...

os x 10.10 beta 3

 

Find to /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext/Contents/MacOS/AppleBCM5701Ethernet 0xED hex FF668983

 

E8F1A6FF FF668983

e8f1a6ffff668983

 

E8D6A6FF FF668983

e8d6a6ffff668983

 

E8E6A5FF FF668983

e8e6a5ffff668983

 

E8CBA5FF FF668983

e8cba5ffff668983

 

Clover patch does not work, delete caches and recompiled no effect. What am I doing wrong?

 

Kext Load

kextstat | grep BCM
   49    0 0xffffff7f81479000 0x39000    0x39000    com.apple.iokit.AppleBCM5701Ethernet (10.1.2b3) <48 40 39 12 11 6 5 4 3 1>

BCM57781_10.10beta3.plist.zip

Link to comment
Share on other sites

The drivers have changed with 10.9.5 again. I had been using a binary patched version for quite some time which now started refusing to load with 

 

kxld[com.apple.iokit.AppleBCM5701Ethernet]: The following symbols are unresolved for this kext:
kxld[com.apple.iokit.AppleBCM5701Ethernet]: __ZN11IOPCIDevice17setTunnelL1EnableEP9IOServiceb
kxld[com.apple.iokit.AppleBCM5701Ethernet]: __ZN14IOPMrootDomain20claimSystemWakeEventEP9IOServicejPKcP8OSObject
 
I found a Clover patch here http://www.hackintoshosx.com/files/file/4215-kextstopatch-clover-broadcom-bcm57781-for-mavericks-1095/ that I have applied to the 10.9.5 kext.
 
The kext is attached here, if anyone else needs it.

IONetworkingFamily.kext 10.9.5.zip

Link to comment
Share on other sites

  • 3 weeks later...

I'm having trouble patching the kext for 10.9.5..

 

I can't seem to find the correct areas to patch regardless of what kext version I'm using.

 

I need to patch it for dev id 164c : Broadcom NetXtreme BCM5708

 

Any help is greatly appreciated! Last step in having my haXserve running (poweredge 2950)

 

Really, all I need is the appropriate kext to patch I would guess / addresses to patch. I searched for all the addresses I could find in this and other threads and no luck with any of the versions of the driver I have.

Link to comment
Share on other sites

  • 3 months later...

Hi

Here is binary patched BCM57781 for 10.10.2
 
Here is Clover EFI bootloader KextsToPatch section code for 10.10.2
 
And Clover KextsToPatch Code

 

<?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>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6NKm//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8d2a6ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6OKl//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8e2a5ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Mel//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8c7a5ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6H+o//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e87fa8ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6I2n//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e88da7ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6HKn//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e872a7ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
		</array>
	</dict>
</dict>
</plist>

 
  • Like 4
Link to comment
Share on other sites

 

Hi

Here is binary patched BCM57781 for 10.10.2
 
Here is Clover EFI bootloader KextsToPatch section code for 10.10.2
 
And Clover KextsToPatch Code

 

<?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>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6NKm//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8d2a6ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6OKl//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8e2a5ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6Mel//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e8c7a5ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.10.2 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 1)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>pci14e4,16b4</string>
				<key>Replace</key>
				<string>pci14e4,16b1</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 2)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6H+o//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e87fa8ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 3)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6I2n//9miYM=</data>
				<key>Replace</key>
				<data>uOQUAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e88da7ffff668983</string>
					<key>Replace</key>
					<string>b8e4140000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 4)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>6HKn//9miYM=</data>
				<key>Replace</key>
				<data>uLQWAABmiYM=</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>e872a7ffff668983</string>
					<key>Replace</key>
					<string>b8b4160000668983</string>
				</dict>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Enable Broadcom 57781 for 10.9.5 (Step 5)</string>
				<key>Name</key>
				<string>AppleBCM5701Ethernet</string>
				<key>Find</key>
				<data>ADU3NzY1AA==</data>
				<key>Replace</key>
				<data>ADU3NzgxAA==</data>
				<key>Hexadecimal</key>
				<dict>
					<key>Find</key>
					<string>00353737363500</string>
					<key>Replace</key>
					<string>00353737383100</string>
				</dict>
			</dict>
		</array>
	</dict>
</dict>
</plist>

 

 

 

The binary works, but Clover patch did not.

 

In the kextpatch, I have a pci14e4,16b5, and this did not work. I only changed the plist patch from pci14e4,16b4 to pci14e4,16b5. Everything else is same as what you have. Am I missing something?

 

Thanks

Link to comment
Share on other sites

The binary works, but Clover patch did not.

 

In the kextpatch, I have a pci14e4,16b5, and this did not work. I only changed the plist patch from pci14e4,16b4 to pci14e4,16b5. Everything else is same as what you have. Am I missing something?

 

Thanks

 

 

Installed the Kext to S/L/E/IONetworking.../Contents/Plugins,  and then rolled back to the original, then it is working now.  Weird. 

Anyway good luck, everyone one!

BCM57781 patch is not for BCM57785

 

According to the first post, it 16B5 is supported, and I got it working now eventually. 

Link to comment
Share on other sites

Since a while I have been working with Rehabman on FakePCIID, a method to spoof PCI configuration space values for Apple driver matching.

 

In simple words, a method to successfully emulate a device so that the Apple drivers will load for it, without requiring any binary patches to kext files or plists.

Needless to say its a much more future and cross-version proof way than binary patching.

 

It looks like the concept can be applied to the BCM577XX series of network adapters, however I do not have the hardware to test it.

Hopefully people in this thread can help and test.

 

Attached is a development copy of FakePCIID with support for BCM577XX injection.

 

It supports the following Broadcom devices:

  • Broadcom NetXtreme BCM5700 Gigabit Ethernet [14e4:1644]
  • Broadcom NetXtreme BCM5701 Gigabit Ethernet PCIe [14e4:1645]
  • Broadcom NetXtreme BCM5702 Gigabit Ethernet PCIe [14e4:1646]
  • Broadcom NetXtreme BCM5703 Gigabit Ethernet PCIe [14e4:1647]
  • Broadcom NetXtreme BCM5717 Gigabit Ethernet PCIe [14e4:1655]
  • Broadcom NetXtreme BCM5717 Gigabit Ethernet PCIe [14e4:1665]
  • Broadcom NetXtreme BCM5718 Gigabit Ethernet PCIe [14e4:1656]
  • Broadcom NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657]
  • Broadcom NetXtreme BCM5725 Gigabit Ethernet PCIe [14e4:1643]
  • Broadcom NetXtreme BCM5727 Gigabit Ethernet PCIe [14e4:16f3]
  • Broadcom NetXtreme BCM5761 10/100/1000BASE-T Ethernet [14e4:1688]
  • Broadcom NetXtreme BCM5762 Gigabit Ethernet PCIe [14e4:1687]
  • Broadcom NetXtreme BCM57760 Gigabit Ethernet PCIe [14e4:1690]
  • Broadcom NetXtreme BCM57764 Gigabit Ethernet PCIe [14e4:1642]
  • Broadcom NetXtreme BCM57767 Gigabit Ethernet PCIe [14e4:1683]
  • Broadcom NetLink BCM57780 Gigabit Ethernet PCIe [14e4:1692]
  • Broadcom NetLink BCM57781 Gigabit Ethernet PCIe [14e4:16b1]
  • Broadcom NetXtreme BCM57782 Gigabit Ethernet PCIe [14e4:16b7]
  • Broadcom NetLink BCM57785 Gigabit Ethernet PCIe [14e4:16b5]
  • Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe [14e4:16b3]
  • Broadcom NetXtreme BCM57787 Gigabit Ethernet PCIe [14e4:1641]
  • Broadcom NetLink BCM57788 Gigabit Ethernet PCIe [14e4:1691]
  • Broadcom NetLink BCM57790 Gigabit Ethernet PCIe [14e4:1694]
  • Broadcom NetLink BCM57791 Gigabit Ethernet PCIe [14e4:16b2]
  • Broadcom NetLink BCM57795 Gigabit Ethernet PCIe [14e4:16b6]
  • Broadcom NetLink BCM5785 Gigabit Ethernet [14e4:1699]
  • Broadcom NetLink BCM5785 Fast Ethernet [14e4:16a0]
  • Broadcom NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693]
  • Broadcom Network Adapter [14e4:1689]
Installation

 

Place the attached kexts (FakePCIID.kext and FakePCIID_BCM577XX_as_BCM57765.kext) in /System/Library/Extensions and rebuild the kext cache.

 

Injecting them through Clover is also fine.

 

Ensure your AppleBCM5701Ethernet.kext is vanilla and any Clover patches for the BCM577XX are disabled.

If all goes well the device should automatically be detected.

 

Troubleshooting

 

In case the network card does not work it might require DSDT injection:

 

 

 

into method label _DSM parent_label GLAN remove_entry;
into device label GLAN insert begin
Method (_DSM, 4, NotSerialized)\n
{\n
        Store (Package () {\n
                "device-id", Buffer { 0xB4, 0x16, 0x00, 0x00 },\n
                "vendor-id", Buffer { 0xE4, 0x14, 0x00, 0x00 },\n
                "compatible", Buffer { "pci14e4,16b4" },\n
                "subsystem-id", Buffer { 0xB4, 0x16, 0x00, 0x00 },\n
                "subsystem-vendor-id", Buffer { 0xE4, 0x14, 0x00, 0x00 },\n
                "built-in", Buffer (One) { 0x01 },\n
        }, Local0)\n
        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
        Return (Local0)\n
}\n
end;
In case of reports, try and include an IORegistry explorer dump.

FakePCIID_BCM57XX_as_BCM57765_test2.zip

Link to comment
Share on other sites

Now updated the Broadcom injector kext to version "test2", adding devices as per the Linux Tigon3 driver.

Additionally the model names are now configured so they display in the system preferences.

 

Hopefully some Broadcom network adapter users can test this?

I have some preliminary result from another forum, but it would be good to collate more results.

Link to comment
Share on other sites

 Share

×
×
  • Create New...