zysuper / Thinkpad-X1-extreme-EFI

Thinkpad X1 extreme gen1 hackintosh EFI file for Catalina
90 stars 24 forks source link

how to move from clover to opencore? #28

Open wdde opened 4 years ago

wdde commented 4 years ago

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!

zysuper commented 4 years ago
  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 commented 4 years ago

image

Copy your clover smbios setting to oc.

wdde commented 4 years ago

thanks a lot !!

wdde commented 4 years ago

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

zysuper commented 4 years ago
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.

wdde commented 4 years ago

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 commented 4 years ago

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

wdde commented 4 years ago

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?

zysuper commented 4 years ago

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 commented 4 years ago

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.

wdde commented 4 years ago

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!

zysuper commented 4 years ago
  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.
wdde commented 4 years ago

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

zysuper commented 4 years ago

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.

wdde commented 4 years ago

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)

zysuper commented 4 years ago

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

wdde commented 4 years ago

USBPorts.kext.zip

wdde commented 4 years ago

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 commented 4 years ago

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

zysuper commented 4 years ago

image

zysuper commented 4 years ago

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 commented 4 years ago

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 notifications@github.com 于 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 .

wdde commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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.

zysuper commented 4 years ago

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

wdde commented 4 years ago

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!

zysuper commented 4 years ago

Good luck!

wdde notifications@github.com 于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 commented 4 years ago

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

wdde commented 4 years ago

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.

zysuper commented 4 years ago

So I don't use it at all. ac53 + intel bluetooth is worked fine.

wdde commented 4 years ago

Hi Zy, I found a strange thing when I wake the machine up , the Power-light not come back on normally , but remains in breathing state

wdde commented 4 years ago

I saw someone say that opencore can customize the keyboard hotkeys, is it possible to define media playback function keys, like play/pause, previous, next? https://blog.skk.moe/post/ssdt-map-fn-shortcuts/

wdde commented 4 years ago

So I don't use it at all. ac53 + intel bluetooth is worked fine.

ac53? usb wifi? I hate any usb dongle...

wdde commented 4 years ago

更新到最新,仍然有偶发的声卡丢失事件,摄像头睡眠后丢失也偶有发生

zysuper commented 4 years ago

掉声卡 alcdelay=500 加了吗?

wdde notifications@github.com 于 2020年8月28日周五 下午12:14写道:

更新到最新,仍然有偶发的声卡丢失事件,摄像头睡眠后丢失也偶有发生

— 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-682314673, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL7M4YU3HN275O6K3T2GZDSC4VJTANCNFSM4OVEPIFQ .

wdde commented 4 years ago

没加过,我先加了观察一下;

另外,摄像头睡眠之后丢失有解吗?

zysuper commented 4 years ago

摄像头我用得少,所以没遇到过。

wdde notifications@github.com 于 2020年9月14日周一 上午10:23写道:

没加过,我先加了观察一下;

另外,摄像头睡眠之后丢失有解吗?

— 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-691774016, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL7M4YUCY2ONP3ZULPQYX3SFV5BNANCNFSM4OVEPIFQ .