Jump to content

[GUIDE] Lenovo T460/T470 macOS with Clover and OpenCore


tluck
 Share

1,289 posts in this topic

Recommended Posts

1 hour ago, adaml75 said:

 

Does VirtualSMC improve battery life? I have perfectly working installation on Clover, but the battery life is much worse than in Windows. I did various tricks with power management and it improved a little bit, but it's still poor. Great job BTW!

 

In my case it improved A LOT battery life as well as battery tracking. Can't compare to windows since I've never used it on T460s.

Link to comment
Share on other sites

Hello everybody !

 

First thanks @simprecicchiani for keeping working on the T460.

 

In my case, I prefer to wait the latest release of macOS to update my T460. So I'm on Mojave latest release.

 

According to your work @tluck and @simprecicchiani, I tried to make the latest Mojave package.

 

This is what I did :

- take your latest package @tluck (Clover UEFI r5107)

- concerning kext :

 

Remove ACPIBatteryManager and FakeSMC

Replace them by :

VirtualSMC 

SMCBatteryManager
SMCLightSensor
SMCProcessor
SMCSuperIO

 

Remove IntelMausiEthernet and replaced it by IntelMausi

 

To summarize, here are my kexts :

 

AirportBrcmFixup.kext
AppleALC.kext
BrcmFirmwareData.kext
BrcmPatchRAM2.kext
EFICheckDisabler.kext
IntelMausi.kext
Lilu.kext
SMCBatteryManager.kext
SMCLightSensor.kext
SMCProcessor.kext
SMCSuperIO.kext
USBInjectAll.kext 

VirtualSMC.kext

VoodooInput.kext
VoodooPS2Controller.kext
WhateverGreen.kext
X86PlatformPluginInjector.kext

 

-> all that in C/K/O (according to several readings I put no more things in /S/L/E or /L/E)

 

- concerning Clover's drivers :

Remove SMCHelper.efi and replace it with VirtualSmc.efi

Remove AptioMemoryFix.efi and replaced it with OcQuirks.efi, OcQuirks.plist and OpenRuntime.efi

 

My drivers :

 

ApfsDriverLoader.efi

AudioDxe.efi

DataHubDxe.efi

EmuVariableUefi.efi

FSInject.efi

OcQuirks.efi

OpenRuntime.efi

OcQuirks.plist

VirtualSmc.efi

VBoxHfs.efi

 

I have done a clean install of Mojave.

 

I have two problems : each time I start it I have a message saying that my computer restarted due to a problem :

 

panic(cpu 1 caller 0xffffff7f9599eaa3): assertmsg@/Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-12.10.12/Common/IONDRV/Intel/SKL/AppleIntelFramebuffer/AppleIntelController.cpp:26815

 

And it seemed that I have a problem with X86PlatformPluginInjector.kext. If I copy kexts to /S/L/E and sudo kextcache -i / :

 

Rejecting invalid/inauthentic kext for bundle id com.apple.driver.X86PlatformPlugin at location file:///System/Library/Extensions/X86PlatformPluginInjector.kext/.

Kext rejected due to improper filesystem permissions: <OSKext 0x7fd0003d4e00 [0x7fffa916c8e0]> { URL = "file:///System/Library/Extensions/X86PlatformPluginInjector.kext/", ID = "com.apple.driver.X86PlatformPlugin" }

 

Does someone have an idea ?

 

Thanks !

Edited by Mat
Link to comment
Share on other sites

@Mat

 

ideas kexts:

1) hackers in general shouldnt put stuff in /S/L/E

2) /L/E is better for most kexts if you want them in the OS.

or

3) leave kexts ESP in CLover and replace the executible X86PlatformPlugin with a real file

 

check inside X86PlatformPluginInjector.kext - there is a soft link to a binary... 

 

 

tluck@Toms-MBP16 /opt/Extra/OSX-build/Systems/T460/Lenovo-T460-Clover/EFI/CLOVER/kexts/Other/X86PlatformPluginInjector.kext/Contents

$ ls -l *

-rw-r--r--  1 tluck  wheel  3142 Apr  5 22:22 Info.plist

 

MacOS:

total 0

lrwxr-xr-x  1 tluck  wheel  127 Apr  5 22:22 X86PlatformPlugin -> /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/MacOS/X86PlatformPlugin

 

Resources:

total 96

-rw-r--r--  1 tluck  wheel  48762 Apr  5 22:22 Mac-473D31EABEB93F9B.plist

Link to comment
Share on other sites

On 4/4/2020 at 10:58 PM, nijhawank said:

So after some validation, I replaced my Cover efi to OpenCore. I had to do the following things...

 

1. Added my own CPUFriend profile generated with CPUFriendFriend

 

...

 

So you did nothing with the CLOVER DSDT patches that are used from clover? 

 

Did you keep all the ACPI/Patches in the config.plist? and all the SSDT aml (with your indicated replacements?)

 

Cheers,

thanks

Link to comment
Share on other sites

3 hours ago, tluck said:

@Mat

 

ideas kexts:

1) hackers in general shouldnt put stuff in /S/L/E

2) /L/E is better for most kexts if you want them in the OS.

or

3) leave kexts ESP in CLover and replace the executible X86PlatformPlugin with a real file

 

check inside X86PlatformPluginInjector.kext - there is a soft link to a binary... 

 

 

tluck@Toms-MBP16 /opt/Extra/OSX-build/Systems/T460/Lenovo-T460-Clover/EFI/CLOVER/kexts/Other/X86PlatformPluginInjector.kext/Contents

$ ls -l *

-rw-r--r--  1 tluck  wheel  3142 Apr  5 22:22 Info.plist

 

MacOS:

total 0

lrwxr-xr-x  1 tluck  wheel  127 Apr  5 22:22 X86PlatformPlugin -> /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/MacOS/X86PlatformPlugin

 

Resources:

total 96

-rw-r--r--  1 tluck  wheel  48762 Apr  5 22:22 Mac-473D31EABEB93F9B.plist

Thank you for your help.

 

I found the soft link, but it says that the file doesn't exist...

Finally I found that the kext is in /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/MacOS/X86PlatformPlugin

 

I'm having a look at it.

 

One more thing that I forget : brightness level is not saved when rebooting the computer, but NVRAM is working properly (when I launch Hackintool and change the brightness level I can see the value of brightness-level changes)

Edited by Mat
Link to comment
Share on other sites

1 hour ago, kolodzieski said:

 

So you did nothing with the CLOVER DSDT patches that are used from clover? 

 

Did you keep all the ACPI/Patches in the config.plist? and all the SSDT aml (with your indicated replacements?)

 

Cheers,

thanks

 

 

Nope. I haven’t gone through all of the our existing Clover configuration and patches and see if all of the equivalent configuration exists or needed with OC. I will be doing this as time allows.

 

However, this is what I did to ensure if his T460s based setup (which he claims is very stable) would be as stable on T460 or not.

 

I verified the original T460s DSDT and needed patches from many repositories (including his clover repository) and found that it’s very very similar to T460. So his T460s setup should be very stable for our T460 as well, which I can confirm is the case.

 

 In the limited research I found  that not all renames are needed which I mentioned with XHC in my message above.

 

 So I had to do only two changes...

1. Generated my own CPUFriend profile (SSDT-CPU.aml) and replaced the existing with mine under OC/ACPI directly

 

 2. Generated USBPorts.kext as needed for T460 and replaced the original with mine under OC/Kexts. This is where I had to manually rename back to XHCI because his OC setup wasn’t remaining XHCI to XHC and is not needed as well.

 

3. With USBPorts.kext, we don’t need the SSDT-USBX and SSDT-UIAC so disabled them in the OC configuration.

 

4. Other than that I added kexts and configuration for Bluetooth, EFICheckDisabler, Converted Clover SMBIOS to OC. 
 

And the result is super stable. I will upload soon my OC folder (minus my SMBIOS) if that’s helpful to others.

Link to comment
Share on other sites

5 minutes ago, Mat said:

Thank you for your help.

 

I found the soft link, but it says that the file doesn't exist...

 

One more thing that I forget : brightness level is not saved when rebooting the computer, but NVRAM is working properly (when I launch Hackintool and change the brightness level I can see the value of brightness-level changes)

 

There are are Clover scripts that did that (ie wrote the current brightness to NVRAM on restart etc). so maybe you need to install these to save the brightness values to NVRAM. these are part of the Utilities i put in the repo. not sure if they are still applicable and/or work with Catalina. but the rc.shutdown.d/80.save_nvram_plist.local

 

see the last item. 

tluck@Toms-MBP16 /opt/Extra/OSX-build/Systems/T460/Lenovo-T460-Clover/Utilities/root/etc

$ ls -l *

-rw-r--r--  1 tluck  wheel  3043 May 20  2019 rc.clover.lib

-rw-r--r--  1 tluck  wheel   568 May 20  2019 rc.sleep

-rw-r--r--  1 tluck  wheel   817 Oct  3  2019 rc.wakeup

 

rc.boot.d:

total 24

-rw-r--r--  1 tluck  wheel  2651 May 20  2019 10.save_and_rotate_boot_log.local

-rw-r--r--  1 tluck  wheel  5106 Feb 18 15:18 20.mount_ESP.local

 

rc.shutdown.d:

total 32

-rw-r--r--  1 tluck  wheel  14580 Dec 26 09:03 80.save_nvram_plist.local

 

the link should point to a real file? at least is still does exists for me

 

tluck@Toms-MBP16 ~

$ ls -l /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/MacOS/X86PlatformPlugin

-rwxr-xr-x  1 root  wheel  148608 Mar 17 08:00 /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/MacOS/X86PlatformPlugin

  • Like 1
Link to comment
Share on other sites

2 hours ago, kolodzieski said:

 

So you did nothing with the CLOVER DSDT patches that are used from clover? 

 

Did you keep all the ACPI/Patches in the config.plist? and all the SSDT aml (with your indicated replacements?)

 

Cheers,

thanks

 

 

In short, other than what I did with CPUFriend and USBPorts, his existing configuration already handles all the renames or patching as required. And I didn’t need to bring anything from our clover setup.

 

and yes, I kept all his existing patches in Config.plist. They are needed and are pretty standard.

 

Here's my OC EFI folder... https://1drv.ms/u/s!AmREhiIe5U_FgssnUwJG2CQsJQZxsg?e=CmkHGx

 

Edited by nijhawank
Link to comment
Share on other sites

One more thing, I'm still on 10.15.2 and not yet updated to 10.15.4 as we don't have resolutions on some of the issues with 10.15.4.

1. need of disablegfxfirmware

2. some systems doing a bios reset at reboot (though I haven't heard this being needed for T460)

 

So you might need -disablegfxfirmware as I guess you have updated to 10.15.4 as indicated in one of your previous message.

Link to comment
Share on other sites

Ok may be I talked too soon. My computer just had problems sleeping (waking up immediately after sleep) and restart after shutdown. It was sleeping and shutting down properly yesterday only today I faced this problem (nothing changed since yesterday). This may be a one-off instance.

Link to comment
Share on other sites

8 hours ago, nijhawank said:

Ok may be I talked too soon. My computer just had problems sleeping (waking up immediately after sleep) and restart after shutdown. It was sleeping and shutting down properly yesterday only today I faced this problem (nothing changed since yesterday). This may be a one-off instance.

 

Anyone out there able to explain some SSDT syntax to me? 

 

My device tree (t470 i5 skylake) is at .LPCB not at .LPC like the t460. 

 

some of the OC dissembled SSDT files, contain: 

 

     External (_SB_.PCI0.LPC_.EC__, DeviceObj)    // (from opcode)

 

what does the training _ mean on LPC_? substituting LPCB_ causes assembly to fail. 

 

Would it be a wildcard declaring the extern for either something like: 

 

    Scope (_SB.PCI0.LPC.KBD)
or

    Scope (_SB.PCI0.LPCB.KBD)
 

Link to comment
Share on other sites

20 hours ago, tluck said:

 

There are are Clover scripts that did that (ie wrote the current brightness to NVRAM on restart etc). so maybe you need to install these to save the brightness values to NVRAM. these are part of the Utilities i put in the repo. not sure if they are still applicable and/or work with Catalina. but the rc.shutdown.d/80.save_nvram_plist.local

 

see the last item. 

tluck@Toms-MBP16 /opt/Extra/OSX-build/Systems/T460/Lenovo-T460-Clover/Utilities/root/etc

$ ls -l *

-rw-r--r--  1 tluck  wheel  3043 May 20  2019 rc.clover.lib

-rw-r--r--  1 tluck  wheel   568 May 20  2019 rc.sleep

-rw-r--r--  1 tluck  wheel   817 Oct  3  2019 rc.wakeup

 

rc.boot.d:

total 24

-rw-r--r--  1 tluck  wheel  2651 May 20  2019 10.save_and_rotate_boot_log.local

-rw-r--r--  1 tluck  wheel  5106 Feb 18 15:18 20.mount_ESP.local

 

rc.shutdown.d:

total 32

-rw-r--r--  1 tluck  wheel  14580 Dec 26 09:03 80.save_nvram_plist.local

 

the link should point to a real file? at least is still does exists for me

 

tluck@Toms-MBP16 ~

$ ls -l /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/MacOS/X86PlatformPlugin

-rwxr-xr-x  1 root  wheel  148608 Mar 17 08:00 /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/MacOS/X86PlatformPlugin

 

Ok I found my problem. It was linked to EmuVariableUEFI.efi

 

Thanks !

Link to comment
Share on other sites

6 minutes ago, kolodzieski said:

 

Anyone out there able to explain some SSDT syntax to me? 

 

My device tree (t470 i5 skylake) is at .LPCB not at .LPC like the t460. 

 

some of the OC dissembled SSDT files, contain: 

 

     External (_SB_.PCI0.LPC_.EC__, DeviceObj)    // (from opcode)

 

what does the training _ mean on LPC_? substituting LPCB_ causes assembly to fail. 

 

Would it be a wildcard declaring the extern for either something like: 

 

    Scope (_SB.PCI0.LPC.KBD)
or

    Scope (_SB.PCI0.LPCB.KBD)
 

ACPI names require to be 4 character long. so if it is LPC then the compiler converts it to LPC_ to make it 4. but LPCB already has length 4 so dosen't need trailing "_".

tl dr: use External (_SB_.PCI0.LPCB.EC__, DeviceObj) like this.

Link to comment
Share on other sites

4 hours ago, junaed.rx said:

ACPI names require to be 4 character long. so if it is LPC then the compiler converts it to LPC_ to make it 4. but LPCB already has length 4 so dosen't need trailing "_".

tl dr: use External (_SB_.PCI0.LPCB.EC__, DeviceObj) like this.

 

Thanks, make sense now. 

Link to comment
Share on other sites

I was able to boot OC with little difficulty on my t470, (i5-6300u) . My issues now are getting the SSDT correct. On my box, battery fails to show up, and the blinking leds on sleep never go solid upon wake. 

 

I also need to study the patches, and try to understand what each is for, and maybe park with a comment. 

Link to comment
Share on other sites

4 hours ago, kolodzieski said:

I was able to boot OC with little difficulty on my t470, (i5-6300u) . My issues now are getting the SSDT correct. On my box, battery fails to show up, and the blinking leds on sleep never go solid upon wake. 

 

I also need to study the patches, and try to understand what each is for, and maybe park with a comment. 

 

So yeah, we would need to bring some patches from Clover. I am facing the sleep-instant-wake problem again today which I never did with the clover from tluck's repo. 

 

So this is what I see in the logs, may be someone can quickly help where the problem is...

kamaln@Kamals-MBP OC % log show --style syslog | fgrep "Wake reason"
2020-03-26 00:37:52.307991-0700  localhost powerd[72]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-03-26 00:38:24.843385-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)
2020-03-26 00:38:24.843387-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)

2020-04-04 17:17:50.173627-0700  localhost powerd[102]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-04-04 17:18:07.774650-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 17:18:07.774658-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 17:21:50.322841-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 17:21:50.322844-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 18:50:42.965695-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 18:50:42.965697-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 23:10:01.333479-0700  localhost powerd[102]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-04-04 23:10:18.736900-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 23:10:18.736902-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
^C
kamaln@Kamals-MBP OC % 
kamaln@Kamals-MBP OC % 
kamaln@Kamals-MBP OC % 
kamaln@Kamals-MBP OC % log show --style syslog | fgrep "Wake reason"
2020-03-26 00:37:52.307991-0700  localhost powerd[72]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-03-26 00:38:24.843385-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)
2020-03-26 00:38:24.843387-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)

 

So my wake for network access is off and I'm connecting via wifi so there's no way, wake happened due to network activity. So is there some patch related to IGBE needed? 

 

And what does it mean by PWRB IGBE, why PWRB and IGBE both?

 

Then I toggled wake for network access enabled and disabled again and then the wake reason is only power-button that of course I never pressed. 

 

So what it is?

Link to comment
Share on other sites

8 minutes ago, nijhawank said:

 

So yeah, we would need to bring some patches from Clover. I am facing the sleep-instant-wake problem again today which I never did with the clover from tluck's repo. 

 

So this is what I see in the logs, may be someone can quickly help where the problem is...


kamaln@Kamals-MBP OC % log show --style syslog | fgrep "Wake reason"
2020-03-26 00:37:52.307991-0700  localhost powerd[72]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-03-26 00:38:24.843385-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)
2020-03-26 00:38:24.843387-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)

2020-04-04 17:17:50.173627-0700  localhost powerd[102]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-04-04 17:18:07.774650-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 17:18:07.774658-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 17:21:50.322841-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 17:21:50.322844-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 18:50:42.965695-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 18:50:42.965697-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 23:10:01.333479-0700  localhost powerd[102]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-04-04 23:10:18.736900-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
2020-04-04 23:10:18.736902-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB IGBE (User)
^C
kamaln@Kamals-MBP OC % 
kamaln@Kamals-MBP OC % 
kamaln@Kamals-MBP OC % 
kamaln@Kamals-MBP OC % log show --style syslog | fgrep "Wake reason"
2020-03-26 00:37:52.307991-0700  localhost powerd[72]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"
2020-03-26 00:38:24.843385-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)
2020-03-26 00:38:24.843387-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: power-button (User)

 

So my wake for network access is off and I'm connecting via wifi so there's no way, wake happened due to network activity. So is there some patch related to IGBE needed? 

 

And what does it mean by PWRB IGBE, why PWRB and IGBE both?

 

Then I toggled wake for network access enabled and disabled again and then the wake reason is only power-button that of course I never pressed. 

 

So what it is?

Use this acpi patch:

			<dict>
				<key>Comment</key>
				<string>_PRW (0x6d, 0x04) to (0x6d, 0) (IGBE)</string>
				<key>Count</key>
				<integer>0</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>EgYCCm0KBA==</data>
				<key>Limit</key>
				<integer>0</integer>
				<key>Mask</key>
				<data></data>
				<key>OemTableId</key>
				<data></data>
				<key>Replace</key>
				<data>EgYCCm0KAA==</data>
				<key>ReplaceMask</key>
				<data></data>
				<key>Skip</key>
				<integer>0</integer>
				<key>TableLength</key>
				<integer>0</integer>
				<key>TableSignature</key>
				<data></data>
			</dict>

 

Link to comment
Share on other sites

51 minutes ago, junaed.rx said:

Use this acpi patch:


			<dict>
				<key>Comment</key>
				<string>_PRW (0x6d, 0x04) to (0x6d, 0) (IGBE)</string>
				<key>Count</key>
				<integer>0</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>EgYCCm0KBA==</data>
				<key>Limit</key>
				<integer>0</integer>
				<key>Mask</key>
				<data></data>
				<key>OemTableId</key>
				<data></data>
				<key>Replace</key>
				<data>EgYCCm0KAA==</data>
				<key>ReplaceMask</key>
				<data></data>
				<key>Skip</key>
				<integer>0</integer>
				<key>TableLength</key>
				<integer>0</integer>
				<key>TableSignature</key>
				<data></data>
			</dict>

  

 

Thank you, this patch should work as I was able to find the corresponding patch in our DSDT. 

 

And, I think I also found potentially the problem for restart on power-off. @simprecicchiani SSDT-PTSWAK has some references to Discrete GPU which does not exist on our T460. I believe it might be erroring out when these _PTS or _WAK functions get triggered. I will try to correct them.

 

 

Link to comment
Share on other sites

1 hour ago, nijhawank said:

 

Thank you, this patch should work as I was able to find the corresponding patch in our DSDT. 

 

And, I think I also found potentially the problem for restart on power-off. @simprecicchiani SSDT-PTSWAK has some references to Discrete GPU which does not exist on our T460. I believe it might be erroring out when these _PTS or _WAK functions get triggered. I will try to correct them.

 

 

Maybe this could be a temporary fix 

I’m happy that you guys are testing hard my config.

A guy form github reported that is not able to install Catalina on APFS formatted volume. Do you have any clue on how that could happen? 

 

Edited by simprecicchiani
Link to comment
Share on other sites

18 hours ago, simprecicchiani said:

Maybe this could be a temporary fix 

I’m happy that you guys are testing hard my config.

A guy form github reported that is not able to install Catalina on APFS formatted volume. Do you have any clue on how that could happen? 

 


Yes this seems to be the problem and the same patch existed in clover so this should solve the problem.

 

Secondly, I had converted my existing installation to OpenCore so can’t say if there’s any problem with new installation. I will try booting the installer and let know.

Edited by nijhawank
Link to comment
Share on other sites

5 hours ago, nijhawank said:


Yes this seems to be the problem and the same patch existed in clover so this should solve the problem.

 

Secondly, I had converted my existing installation to OpenCore so can’t say if there’s any problem with new installation. I will try booting the installer and let know.

 

Can you share your EFI? It would be great :)

Link to comment
Share on other sites

2 hours ago, simprecicchiani said:

Could anyone guide me through setting video output ports correctly? I'm having problems with HDMI, I've tried to follow "General Framebuffer Patching Guide using Hackintool" with any results at this point.

I managed to get audio through HDMI working by setting framebuffer-cons2-type to 00080000. I still get black internal screen (disabled) when connected to external monitor.

Link to comment
Share on other sites

 Share

×
×
  • Create New...