Thinkpad-X1-extreme-EFI icon indicating copy to clipboard operation
Thinkpad-X1-extreme-EFI copied to clipboard

how to move from clover to opencore?

Open wdde opened this issue 4 years ago • 38 comments

First of all, thank you, zysuper, what a pleasant surprise to see you continuing to update this project! The hackintosh I'm currently using is based on your project, just clover+10.14.6, and I'd like to Ask if the current Opencore supports 10.14, can I just use your EFI to migrate to the Opencore? Can you provide some reference links, I see a lot of guides that provide clover modifications to OC, I was wondering if I could migrate to OC with very little work since you have already released EFI for OC. My machine model is an 8850 x1e gen1. thanks again!

wdde avatar Jul 09 '20 02:07 wdde

  1. bakup your clover EFI.
  2. copy opencore/EFI/BOOT/* replace old clover /EFI/BOOT/*.
  3. copy opencore/EFI/OC to /EFI/OC.
  4. Set your old SMBIOS keys in OC/config.plist.
  5. If you use apple wifi card, you must change config.plist boot-args add HS14 at uia_exclude=HS14,HS05,HS06,USR1,USR2.
  6. If you use intel wifi card, never change boot-args.
  7. because OC version use ssdt hotfix, not has dsdt issue.
  8. boot your macos, if worked, replace other kexts you want.
  9. use itlwm.kext and HeliPort.app enable your intel WiFi Card, if you want!

zysuper avatar Jul 09 '20 03:07 zysuper

image

Copy your clover smbios setting to oc.

zysuper avatar Jul 09 '20 03:07 zysuper

thanks a lot !!

wdde avatar Jul 09 '20 04:07 wdde

Hi Zysuper, I can't get the MLB & ROM value from the current config.plist of clover, What is their correspondence?

wdde avatar Jul 09 '20 08:07 wdde

git clone https://github.com/corpnewt/GenSMBIOS
cd GenSMBIOS
./GenSMBIOS.command

image

Select 1 to force update MacSerial tools. Select 5 will list all staff of your smbios information.

zysuper avatar Jul 10 '20 00:07 zysuper

thanks for your reply, I have already boot from OC, seems good, just two issue:

  1. I noticed that my second NVME(970) ssd is gone(work with tuxera NTFS)
  2. the iStat menus didn't show up the temperature of CPUs any more What should I do to fix them?

wdde avatar Jul 10 '20 02:07 wdde

by the way , can you update the readme.md of the project, it's still on clover.

wdde avatar Jul 10 '20 02:07 wdde

One more question, do I need to patch the usb port? Using hackintool you can see that all ports are working in usb3 mode. Under clover, I use usbinjectall.kext + ssdt-uiac. aml + ssdt-usb.aml, I see that USBInjectAll.kext is still in the Under OC/kexts, then can I just put ssdt-uiac.aml and ssdt- usbx.aml to under OC/kexts? I've seen before that the kext between OC/clover is not compatible, but is ssdt compatible?

wdde avatar Jul 10 '20 03:07 wdde

One more question, do I need to patch the usb port? Using hackintool you can see that all ports are working in usb3 mode. Under clover, I use usbinjectall.kext + ssdt-uiac. aml + ssdt-usb.aml, I see that USBInjectAll.kext is still in the Under OC/kexts, then can I just put ssdt-uiac.aml and ssdt- usbx.aml to under OC/kexts? I've seen before that the kext between OC/clover is not compatible, but is ssdt compatible?

I use USBInjectAll.kext + XHCI-unsupported.kext + boot-args to solve the problem of usb port limitation. This combination works very well, including card reader. If you prefer to use other gameplay, you choose.

zysuper avatar Jul 10 '20 22:07 zysuper

thanks for your reply, I have already boot from OC, seems good, just two issue:

  1. I noticed that my second NVME(970) ssd is gone(work with tuxera NTFS)
  2. the iStat menus didn't show up the temperature of CPUs any more What should I do to fix them?
  1. SSDT-NVMe-Pcc.aml will block the second SSD, you can delete it.
  2. I can.
image

My iStat menus version is 6.40.

zysuper avatar Jul 10 '20 22:07 zysuper

Thanks for your reply, I deleted SSDT-NVMe-Pcc.aml and now that the second ssd disk is back, I was asking about the usb patch before, mostly to further save on sleeping battery consumption. last night it sleep start 00:00 to 10:30 today, the battery went from 98% --> 74% , Power consumption is nearly twice as high over the previous clover efi. so I would like to configure the usb port with hackintool, the port is usb2 and it is set to 0, The internal port is set to 255, the unnecessary ports are deleted instead of all ports being usb3.. I config the port by hackintool then exported to ssdt- uiac, put it under /OC/ACPI/, modify config.plist replace the location of SSDT-NVMe-Pcc.aml with SSDT-UIAC.aml, but it didn't work, am I doing it wrong? Also, my istat-menu is also version 6.4, but I just can't find temperature in the sensor!

wdde avatar Jul 12 '20 04:07 wdde

  1. I also found that it consumes more electricity than before. But I confirm that the recommended CPU power management method has been successfully turned on. I did not confirm whether the same power management strategy used by the clover version.
  2. Send me SSDT-UIAC.aml to try.

zysuper avatar Jul 12 '20 05:07 zysuper

Not only the cpu PM matters, but also need to patch usb ports to save battery life, usbpatch.zip

wdde avatar Jul 12 '20 07:07 wdde

In SSDT-EC-USBX.aml, the ec repair I don't think it is necessary, because the EC information of this machine is correct and no repair is needed. You can see -> here .

The USBX part of your file is same as my SSDT-USBX.aml.

zysuper avatar Jul 12 '20 08:07 zysuper

Maybe it is same with ssdt-usbx, so what about the ssdt-uiac? The hackintool exports ssdt-uiac and usbports.kext, I choose the ssdt-uiac file because I simply copy it to acpi dir before, the usbports.kext can do the same thing(currently not sent to you)

wdde avatar Jul 12 '20 09:07 wdde

Do you use the built-in intel Bluetooth card? If used, you should not block HS14. This is what I generated with hackintool, and I tested it and it works. (HS14 turned on) SSDT-UIAC.dsl.zip

By the way, you should remove uia_exclude=HS05,HS06,USR1,USR2 from config.plist

zysuper avatar Jul 12 '20 10:07 zysuper

USBPorts.kext.zip

wdde avatar Jul 12 '20 11:07 wdde

No, I am not using the intel 9560, but 943602cs. the 9560 cause my x1e cannot be powered on... I am going to test your ssdt-uiac, but what about the config.plist? it need be add to under the Root/ACPI/Add, doesn't it? what is the order of these acpi patchs? can I just simply add to the last position?

wdde avatar Jul 12 '20 11:07 wdde

strange, I get the 2X HS01,HS02,HS03,HS04, there should be SS01,SS02,SS03 image

wdde avatar Jul 12 '20 11:07 wdde

image

zysuper avatar Jul 12 '20 11:07 zysuper

By the way, according to my practical experience, as long as a USB controller has only 15 devices, macos will recognize it. In fact, this machine has two usb controllers.

image

zysuper avatar Jul 12 '20 12:07 zysuper

use opencore configurator or propertree. i suggest propertree. cmd+o load file,cmd+shift+r then select oc path to autoscan your oc path files.

wdde [email protected] 于 2020年7月12日周日 下午7:27写道:

No, I am not using the intel 9560, but 943602cs. the 9560 cause my x1e cannot be powered on... I am going to test your ssdt-uiac, but what about the config.plist? it need be add to under the Root/ACPI/Add, doesn't it? what is the order of these acpi patchs? can I just simply add to the last position?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zysuper/Thinkpad-X1-extreme-EFI/issues/28#issuecomment-657209086, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL7M46MTCE2HG5RI7VQUILR3GM3FANCNFSM4OVEPIFQ .

zysuper avatar Jul 12 '20 13:07 zysuper

According to rhabman, the tb3 port cannot be configured using usbinjectall.kext . After I deleted the 15ec segment in ssdt-uiac, it looks like this: image Looks like I'm going in circles.

wdde avatar Jul 12 '20 13:07 wdde

I disabled the ssdt-uiac, then copied the usbports.kext to the kext dir, added a new item to the kernel contains usbports.kext, disabled the usbinjectall.kext,reboot,,, usbports patch looks good: image

wdde avatar Jul 12 '20 13:07 wdde

There is a problem that has been bothering me for a couple of weeks and I wanted to seek your advice , during the boot(verbose mode), I got "ACPI Error: \SB. PCI0.XHC_.RHUB.HS11 Namespace lookup failure, AE_NOT_FOUND (20160930/dswload-292)" , google can barely find the answer, happens to be my bluetooth It's connected to the HS11 and my bluetooth often doesn't recognize it, any ideas? Thanks.

wdde avatar Jul 12 '20 13:07 wdde

Is HS11 seen in the windows device manager? Is that idle smart card pin used? I used 943602cs card before, no problem.

zysuper avatar Jul 13 '20 01:07 zysuper

I am using the 943602cs+ wdxxfu's adapter card, powering the idle smart card pin next to the battery. I suspect that the wdxxfu adapter is faulty, sometimes it can be a bad contact or design flaw, but I can't prove it. A little. I'm tempted to switch back to the intel 9560, but the machine won't power up when my original card is plugged in. I'm going to buy another piece to test it, after all it's very cheap right now!

wdde avatar Jul 13 '20 03:07 wdde

Good luck!

wdde [email protected] 于2020年7月13日周一 上午11:53写道:

I am using the 943602cs+ wdxxfu's adapter card, powering the idle smart card pin next to the battery. I suspect that the wdxxfu adapter is faulty, sometimes it can be a bad contact or design flaw, but I can't prove it. A little. I'm tempted to switch back to the intel 9560, but the machine won't power up when my original card is plugged in. I'm going to buy another piece to test it, after all it's very cheap right now!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zysuper/Thinkpad-X1-extreme-EFI/issues/28#issuecomment-657344457, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL7M46J2U3ZHO3ZNPWPY6LR3KAK3ANCNFSM4OVEPIFQ .

zysuper avatar Jul 13 '20 07:07 zysuper

@wdde IR camera doesn't work, I want to disable it.

zysuper avatar Jul 14 '20 01:07 zysuper

I tried 9260 9560, 9260 cannot be recognized under win10, the 9560 prevent x1e powering on,I bought a ngff to intel a.e key adapter of 943602cs with d+ and d-, then burn the wire of usb+- on it, OMG, my Bluetooth is back , very stable even wake from long sleep , my bluetooth mouse and wi1000mx2 not lost anymore, and I realized that the wdxxfu’s expansive adapter is totally useless garbage.

wdde avatar Jul 22 '20 12:07 wdde