YogaSMC icon indicating copy to clipboard operation
YogaSMC copied to clipboard

Can't boot with YogaSMC.kext on ThinkPad X1C8

Open HJebbour opened this issue 3 years ago • 12 comments

As said on the title, I cannot boot with YogaSMC.kext loaded on Lenovo ThinkPad X1 Carbon Gen 8 (20U9-0013FE). My CPU: i7-10510U

HJebbour avatar Jan 28 '22 16:01 HJebbour

The kext is not designed for a specific system. You might need to go over your config files or upload logging / early boot screenshot for debugging. Close until more details are provided.

zhen-zen avatar Jan 31 '22 07:01 zhen-zen

Thank you for your reply, please use this link to view the bootlogs (IMG) and OC (TXT) https://www.icloud.com/iclouddrive/08bbbhwfgA0w5ZaywjNZeSDZg#Logs

HJebbour avatar Jan 31 '22 20:01 HJebbour

I can't access the iCloud Drive. Can you just drag the attachment to the editor below?

zhen-zen avatar Jan 31 '22 21:01 zhen-zen

IMG_0898 IMG_1077 opencore-2022-01-31-185853.txt

Sorry for the inconvenience, here's again the logs.

HJebbour avatar Jan 31 '22 21:01 HJebbour

Any update or do you want me to provide more logs? Thank you.

HJebbour avatar Feb 02 '22 14:02 HJebbour

To narrow down the issue, can you try removing either the YogaHIDD dict or the ThinkVPC dict in Info.plist ? Meanwhile, have you tried YogaSMCAlter?

zhen-zen avatar Feb 07 '22 07:02 zhen-zen

Unfortunately none of the above worked, I even tried YogaSMCAlter without YogaHIDD & ThinkVPC dict. IMG_1130

HJebbour avatar Feb 07 '22 19:02 HJebbour

Here's kernel panic log, I hope this can help: YogaSMC_kernel-panic.txt

HJebbour avatar Feb 07 '22 19:02 HJebbour

I managed to boot with YogaSMC.kext when I removed one dict only (YogaWMI), but Yoga app and prefPane isn't working properly and ECAccess is Basic instead of RW, SSDT-ECRW is already loaded. The weird thing is, when I patched plist file and removed YogaWMI, after first reboot it detected the laptop as "Think" in Class with Think tab, but after second reboot and so, it shows "YogaHIDD" in class with no Think tab in preferences. Please see below screenshots.

First reboot Screen Shot 2022-02-12 at 4 43 49 PM Screen Shot 2022-02-12 at 4 44 06 PM Screen Shot 2022-02-12 at 4 44 14 PM

Second reboot Screen Shot 2022-02-12 at 4 46 56 PM

When I open the prefpane from system preferences for the second time it shows this Screen Shot 2022-02-12 at 4 47 16 PM

HJebbour avatar Feb 12 '22 16:02 HJebbour

I removed "YogaHIDD" dict from plist and now it is recognized as "Think". I replaced SSDT-ECRW with another one I found in a repo (I compared it with the sample file and IT'S THE SAME) and now ECAccess is RW, but I don't know how it worked even if it is the same file. I don't know if I can add more features or enhance it (See below screenshots), but YogaSMC seems usable now with the patches I've done (of course with your help, and how you gave me the troubleshooting starting point with Info.plist) Screen Shot 2022-02-12 at 7 23 40 PM Screen Shot 2022-02-12 at 7 23 51 PM Screen Shot 2022-02-12 at 7 23 58 PM

HJebbour avatar Feb 12 '22 18:02 HJebbour

I'm sorry for unable to response promptly. I have tested YogaHIDD coexistence earlier, but not sure why it was preferred on yours. Will look into that and find a fix.

zhen-zen avatar Mar 07 '22 11:03 zhen-zen

No problem, thank you for your support.

HJebbour avatar Mar 16 '22 08:03 HJebbour

I have identical problem, can't boot with YogaSMC.kext loaded on Lenovo Thinkpad T14 I5 10310U.(https://github.com/Baio1977/Lenovo-Thinkpad-T14-)

Baio1977 avatar Sep 21 '22 22:09 Baio1977

Closed as #173 is resolved. Please reopen if the issue persists.

zhen-zen avatar Oct 23 '22 22:10 zhen-zen

Closed as #173 is resolved. Please reopen if the issue persists.

With the new kext macOS is booting now, but pref is showing unsupported (see screenshot) and app is not doing anything. 200417271-f8360048-6875-4fea-9e28-b13f60c4cf9c

HJebbour avatar Nov 19 '22 11:11 HJebbour

You need ACPI patches to have the desired functions, I've already written to you to see the repository of my T14 there is an SSDT that integrates everything you need. https://github.com/zhen-zen/YogaSMC/tree/master/YogaSMC/SSDTSample

Baio1977 avatar Nov 23 '22 19:11 Baio1977