Contribute
Register

[Guide] Lenovo ThinkPad E550 (Haswell) using Clover UEFI (10.11)

Status
Not open for further replies.
Well, after a good bit of messing around, I've got a pretty workable setup going with my Broadwell E550.

A couple of things didn't quite work OOB, most (all?) related to the Broadwell vs Haswell.

1. Need the 10.12 Stolen Size Framebuffer patch. As far as I can tell there's no way of changing DVMT via the bios in any of the conventional ways. I ordered a SOIC8 clip and have a Raspberry Pi for flashing a modded bios, but unless setting the DVMT is demonstrably superior I'd rather not risk bricking my computer.

2. Remove Haswell fakeID and ig-platform-id. I'm using 0x16260006, but haven't experimented with others

3.Remove Intel_HD_Graphics.kext from ~/Library/Extensions

4.Get different version of ssdtPRGen.sh

The curl command to download ssdtPRGen gets a version that doesn't pull down populated .cfg files for Broadwell CPUs or boards, I downloaded the latest version using curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh

5. Change USB Device ID
Sleep wasn't working with the SSDT-UIAC hotpatch. The .dsl contained the wrong device id for my board, I changed it to 9Cb1 and USB devices were injected properly.

6. Delete IntelBacklight kext

Problems:
About this Mac won't open
-System Information will if launched directly

WiFi with BCM94352Z turns off after sleep and can't be turned back on. Icon isn't greyed out, simply the clear outline as if you'd manually turned off WiFi.

Code:
13    2 0xffffff7f83262000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Blackintosh:kexts $ kextstat|grep -y appleintelcpu

Blackintosh:kexts $ kextstat|grep -y applelpc

  117    0 0xffffff7f82ceb000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <104 12 5 4 3>

Blackintosh:kexts $ kextstat|grep -y applehda

  113    1 0xffffff7f8124d000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <112 111 82 12 7 6 5 4 3 1>

  131    0 0xffffff7f813ef000 0xb5000    0xb5000    com.apple.driver.AppleHDA (9279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <130 113 112 111 86 82 6 5 4 3 1>

Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext

kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDA_CX20751.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext

kext file:///System/Library/Extensions/JMicronATA.kext/ is in hash exception list, allowing to load

kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext InstantOn.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HoRNDIS.kext

kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

KernelCache ID: DACD36868599AC72DE011628B0673E04
 
Last edited:
Well, after a good bit of messing around, I've got a pretty workable setup going with my Broadwell E550.

A couple of things didn't quite work OOB, most (all?) related to the Broadwell vs Haswell.

1. Need the 10.12 Stolen Size Framebuffer patch. As far as I can tell there's no way of changing DVMT via the bios in any of the conventional ways. I ordered a SOIC8 clip and have a Raspberry Pi for flashing a modded bios, but unless setting the DVMT is demonstrably superior I'd rather not risk bricking my computer.

2. Remove Haswell fakeID and ig-platform-id. I'm using 0x16260006, but haven't experimented with others

3.Remove Intel_HD_Graphics.kext from ~/Library/Extensions

4.Get different version of ssdtPRGen.sh

The curl command to download ssdtPRGen gets a version that doesn't pull down populated .cfg files for Broadwell CPUs or boards, I downloaded the latest version using curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh

5. Change USB Device ID
Sleep wasn't working with the SSDT-UIAC hotpatch. The .dsl contained the wrong device id for my board, I changed it to 9Cb1 and USB devices were injected properly.

6. Delete IntelBacklight kext

Problems:
About this Mac won't open
-System Information will if launched directly

WiFi with BCM94352Z turns off after sleep and can't be turned back on. Icon isn't greyed out, simply the clear outline as if you'd manually turned off WiFi.

Code:
13    2 0xffffff7f83262000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Blackintosh:kexts $ kextstat|grep -y appleintelcpu

Blackintosh:kexts $ kextstat|grep -y applelpc

  117    0 0xffffff7f82ceb000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <104 12 5 4 3>

Blackintosh:kexts $ kextstat|grep -y applehda

  113    1 0xffffff7f8124d000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <112 111 82 12 7 6 5 4 3 1>

  131    0 0xffffff7f813ef000 0xb5000    0xb5000    com.apple.driver.AppleHDA (9279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <130 113 112 111 86 82 6 5 4 3 1>

Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext

kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDA_CX20751.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext

kext file:///System/Library/Extensions/JMicronATA.kext/ is in hash exception list, allowing to load

kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext InstantOn.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HoRNDIS.kext

kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

KernelCache ID: DACD36868599AC72DE011628B0673E04

Your port assignments in UIAC are wrong.
Refer to SSDT-UIAC-ALL.dsl (in USBInjectAll repo) for correct port addresses for 8086_9cb1.

Your ioreg shows brightness not implemented correctly. See guide: https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/

Android File Transfer and Google Chrome are both hooking your USB ports (read related topic in the FAQ).

You should remove unneeded software until you have it working correctly... such as com.displaylink.driver.DisplayLinkDriver, com.protech.NoSleep, at.obdev.nke.LittleSnitch

Your ioreg shows DGPU not disabled.
 
Your port assignments in UIAC are wrong.
Refer to SSDT-UIAC-ALL.dsl (in USBInjectAll repo) for correct port addresses for 8086_9cb1.

I've redone UIAC based off a direct copy and paste with the correct connector IDs inserted.

Your ioreg shows brightness not implemented correctly. See guide: https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/
I'd previously attempted to install, but it didn't work at that time and I didn't have time to troubleshoot so I uninstalled and went back to the imperfect but some backlight control setup. I redid it this morning and it's working now.

Android File Transfer and Google Chrome are both hooking your USB ports (read related topic in the FAQ).
I disabled Chrome and believe I've disabled Android File Transfer.

You should remove unneeded software until you have it working correctly... such as com.displaylink.driver.DisplayLinkDriver, com.protech.NoSleep, at.obdev.nke.LittleSnitch
I think I've now gotten everything, certainly the stuff you listed.

Your ioreg shows DGPU not disabled.

Ok, I thought it was -- that probably explains a lower than expected battery life. I've looked at the guide and understand some of it, but I'm not a programmer and it looks like I have an .ec call like in your example and I don't really know enough coding to try and move it all around.

Wifi is still turning off and not coming back on after sleep.

Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
                    {
                        If (\_SB.PCI0.PEG.IGPU.ISOP ())
                        {
                            If (LEqual (0x00, DGOS))
                            {
                                If (\_SB.PCI0.LPC.DSPS)
                                {
                                    Store (Zero, \_SB.PCI0.LPC.EC.ASBF)
                                }

                                \VHYB (0x04, 0x01)
                                \VHYB (0x08, 0x00)
                                Store (0x0A, Local0)
                                Store (0x32, Local1)
                                While (Local1)
                                {
                                    Sleep (Local0)
                                    If (\LCHK (0x00))
                                    {
                                        Break
                                    }

                                    Decrement (Local1)
                                }

                                \VHYB (0x08, 0x02)
                                \VHYB (0x02, 0x00)
                                \VHYB (0x00, 0x00)
                                Store (One, DGOS)
                            }
                        }

                        Store (Zero, _STA)
                    }
                }


Code:
Blackintosh:~ $ kextstat|grep -y acpiplat
   13    2 0xffffff7f831b6000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Blackintosh:~ $ kextstat|grep -y appleintelcpu
Blackintosh:~ $ kextstat|grep -y applelpc
  108    0 0xffffff7f82c3f000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <100 12 5 4 3>
Blackintosh:~ adam$ kextstat|grep -y applehda
Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext

kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDA_CX20751.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext

kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext

KernelCache ID: CF1270795AA12937B2AA117141593A33
 

Attachments

  • CLOVER.zip
    1.3 MB · Views: 253
  • Extracted.zip
    44.1 KB · Views: 213
  • ioreg.zip
    620.3 KB · Views: 193
Ok, I thought it was -- that probably explains a lower than expected battery life. I've looked at the guide and understand some of it, but I'm not a programmer and it looks like I have an .ec call like in your example and I don't really know enough coding to try and move it all around.

You should follow the guide, and see how it goes...
But I think your AMD gfx might be dedicated (to HDMI?), not switched/routed. Because I don't see the expected _OFF method...

Wifi is still turning off and not coming back on after sleep.

Make sure you disable "Wake for network" in SysPrefs->Energy Saver.
And you might want to check that your _WAK method is executing beginning to end.
 
Hello, I installed the 12.5 sierra according to your Broadway e550 guide, I used 0x16260006 for me the best.
Unfortunately, I can not handle the black screen after waking up and sleeping.
I ask for understanding and help in refining my maca.
 

Attachments

  • RehabMan.zip
    4.6 MB · Views: 247
Hello, I installed the 12.5 sierra according to your Broadway e550 guide, I used 0x16260006 for me the best.
Unfortunately, I can not handle the black screen after waking up and sleeping.
I ask for understanding and help in refining my maca.

Attach ioreg collected after sleep/wake (use external monitor or remote desktop connection).
 
After a short sleep at the time of connecting the TV picture on the tv is displayed but the keyboard does not work :( it's just a mouse but nothing can turn on ... i think that after remote connection can be the same
 
After a short sleep at the time of connecting the TV picture on the tv is displayed but the keyboard does not work :( it's just a mouse but nothing can turn on ... i think that after remote connection can be the same

No idea what you're trying to say...
 
I connected the monitor to the HDMI port. I turned on sleep. After waking up on the laptop a black image. On the monitor the picture is. The keyboard does not work. Running trackpad but nothing I can do.
 
I connected the monitor to the HDMI port. I turned on sleep. After waking up on the laptop a black image. On the monitor the picture is. The keyboard does not work. Running trackpad but nothing I can do.

Try connecting via remote desktop. Try to ping it, etc.
You need to determine if you have a graphics problem or something more serious (sounds like it may be lockup upon wake).

Looking at your files, it seems you didn't patch for instant wake though...
 
Status
Not open for further replies.
Back
Top