Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,271 posts in this topic

Recommended Posts

On 5/13/2020 at 6:55 AM, Garehard said:

Hi guys,

 

i’ve installed High Sierra on my X220 and i know that the T420 is relative identical. So tlucks files should work here. I have good experience with OpenCore and I tried that on my X220 with Version 0.58 with success. Everything works as it should (Graphic, Sleep, Brightness, Keys etc.). The only thing that makes me problems is the soundchip.

 

Here is my install log:

  • Installed High Sierra
  • Opencore 0.58 on EFI partition installed
  • Config.plist with OC-Documentation created
  • DSDT-Files taken from tlucks-files
  • SSDT-File (Power-Management) created with ssdtPRGen.sh
  • Kext-Files integrated and in config.plist registered

 

Things i’ve tested:

  • Integration with VoodooHDA and AppleHDA_20672.kext. Here I have Sound but I think this method is old and what is really annoying is that I have to select the audio output after restart again and again.
  • Integration with AppleALC.kext (with and without Bootarg -alcbeta). This should be the best method. tluck has integrated that long time ago and should work. Under Clover that works but OpenCore has different AudioInjects and maybe there are entries in OC-config.plist I havent done. 

 

Any OpenCore experts here that can help me with that problem?

(My actual OC-Folder is attached.)

OC.zip

hey wow OC works - had to create a SSDT for Power management specific for my CPU. but thats really cool. 

 

so do you see any benefits with OC? other than it boots fast.

 

Link to comment
Share on other sites

Yeah, nice to hear that it works for you!

 

Here some useful links when playing around with OC:

good laptop guide: https://dortania.github.io/vanilla-laptop-guide/

another laptop guide: https://1revenger1.gitbook.io/laptop-guide/

Open Core Configurator: https://mackie100projects.altervista.org/opencore-configurator/

 

Here is a list of advantages:

  • Quote

     

    • On average, OpenCore systems boot faster than those using Clover as less unnecessary patching is done
    • Better overall stability as patches can be much more precise : macOS 10.15.4 update as an example
    • OpenCore offers better overall security with better support for FileVault, no need to disable System Integrity Protection(SIP) and even secure boot-like functionality support via Vaulting
    • OpenCore supports boot hotkey support via boot.efi - hold Option or ESC at startup to choose a boot device, Cmd+R to enter Recovery or Cmd+Opt+P+R to reset NVRAM.
    • OpenCore is designed with the future in mind and uses modern methods to load 3rd party kernel extensions without breaking System Integrity Protection which Clover uses
    • BootCamp switching and boot device selection are supported by reading NVRAM variables set by Startup Disk just like a real mac.
    • Future development for AptioMemoryFix is directly tied to OpenCore, specifically being absorbed into OpenCore itself with the OpenRuntime.efi being used as an extension.
    • UEFI and Legacy boot modes are supported
    • More sophisticated patching such as mask patching means macOS updates have very little chance of breaking AMD systems, with AMD OSX patches supporting all versions of High Sierra, Mojave and Catalina. All future AMD OSX development is tied to OpenCore, so for 10.15.2+ you'll need OpenCore

     

     

  • Like 1
Link to comment
Share on other sites

On 5/15/2020 at 10:13 PM, Garehard said:

Yeah, nice to hear that it works for you!

@Garehard - I was able to spend a bit more time reviewing and optimizing the OC config -- I will post my v1 OC EFI in my github soon. But I had to make several tweaks to the config (drop tables, inject EDID, DualLink etc) to get CPU Power management working, and so on - without coredumps etc.  right now, i am running my 2 T420 systems on OC for a few days. on my 8GB system with AUO LCD, it even seems less glitchy!?  

 

I recommend for glitches, try injecting the "366" EDID which is from an LG display. so far so good. 

 

Edited by tluck
  • Like 3
Link to comment
Share on other sites

My Device Lenovo T420 | bios v 1.52| i7-2620M | HD 3000 | 8GB | 1600x900 |SSD 240 GB |dualboot win10 & OSX 


This message show while i installing mojave 10.14.6 how to fix it? 
1.thumb.jpg.0c927e38bec351fe0a5487c529f913e2.jpg 
 

boot from usb

5.thumb.jpg.384f568d6142464906177bf1430a4476.jpg

 

erase partition for mojove 

3.thumb.jpg.3d5f4656186faabf175d7b026dfe3bae.jpg

2.jpg

4.jpg

Link to comment
Share on other sites

9 hours ago, jengpeng said:

My Device Lenovo T420 | bios v 1.52| i7-2620M | HD 3000 | 8GB | 1600x900 |SSD 240 GB |dualboot win10 & OSX 


This message show while i installing mojave 10.14.6 how to fix it? 
 

boot from usb

 

erase partition for mojove 

 

 

this seems to be a dosdude1 installer right?

if so, try temporarily move your ESP/EFI/Microsoft folder out of EFI to something like ESP/M 

 

 

Edited by tluck
Link to comment
Share on other sites

12 hours ago, tluck said:

 

this seems to be a dosdude1 installer right?

if so, try temporarily move your ESP/EFI/Microsoft folder out of EFI to something like ESP/M 

 

 

Yes, i using mac os mojave patcher v1.3.7 for 10.14.6 usb boot (lenovo t420 cover 2020.04.17) . After i removed old efi and microsoft folder from ESP on SSD  and reinstall mojave from usb  but it show same message "macOS could not be installed on your computer No packages were eiligible for install" 

IMG_20200526_151944.jpg

IMG_20200526_152228.jpg

Link to comment
Share on other sites

17 hours ago, jengpeng said:

My Device Lenovo T420 | bios v 1.52| i7-2620M | HD 3000 | 8GB | 1600x900 |SSD 240 GB |dualboot win10 & OSX 


This message show while i installing mojave 10.14.6 how to fix it? 

 

 

I had this issue last year, for me the issue was with the specific mojave installer version I was trying to install (and maybe patcher too? dont know..). Luckily for me a new mojave version came out in a couple of days after having the issue, and with that one I did not have this issue anymore.. I did everything the same with the same patcher, so I can rule out a lot of things that I tried at the time. The only difference was the downloaded mojave installer itself.

But this was my case.. Cannot say for sure that it's your issue as well, but it's worth a try.

You can read about this on page 188, go through the posts on that page to learn more.

  • Like 1
Link to comment
Share on other sites

@jengpengsome say that setting the date to like 2017 in BIOS worked for this issue?

 

----------

 

FYI, i updated the GitHub repo with latest Clover and kext.

 

.... and also added an OpenCore optional bootloader.

if you want to try it - just move the clover boot thing out of the way - 

 

espmount.bash /

cd /Volumes/ESP/EFI

mv BOOT BOOT.Clover

mv BOOT.OC BOOT

 

 

 

 

 

 

 

Edited by tluck
  • Like 3
Link to comment
Share on other sites

8 hours ago, jengpeng said:

@davidian thank you for sharing your experience. 

 

@tluck thank a lot your support . its worked for me.

How do i change resolution from 1024x768 to 1600x900

the picuture indicates that you dont have full gfx working. 

you should see something more like the image below

 

Graphics Memory should be 512MB not 3MB.

and if you install the DisplayOverrides from the Zip, you can get 1920x1080 on top of 1600x900 resolution.

 

did you run the dosdude1 post install step to install the patches for macbookpro8,1 ?

you should have at least these kexts installed in /Library/Extensions:

 

AppleIntelHD3000Graphics.kext

AppleIntelHD3000GraphicsGA.plugin

AppleIntelHD3000GraphicsGLDriver.bundle

AppleIntelHD3000GraphicsVADriver.bundle

AppleIntelSNBGraphicsFB.kext

AppleIntelSNBVA.bundle

Mojave.png

Edited by tluck
Link to comment
Share on other sites

1 hour ago, tluck said:

the picuture indicates that you dont have full gfx working. 

you should see something more like the image below

 

Graphics Memory should be 512MB not 3MB.

and if you install the DisplayOverrides from the Zip, you can get 1920x1080 on top of 1600x900 resolution.

 

did you run the dosdude1 post install step to install the patches for macbookpro8,1 ?

you should have at least these kexts installed in /Library/Extensions:

 

AppleIntelHD3000Graphics.kext

AppleIntelHD3000GraphicsGA.plugin

AppleIntelHD3000GraphicsGLDriver.bundle

AppleIntelHD3000GraphicsVADriver.bundle

AppleIntelSNBGraphicsFB.kext

AppleIntelSNBVA.bundle

Mojave.png

@tluckThank for your help , Everything works fine for me ^_^IMG_20200529_232237.thumb.jpg.88db9e42779953628f6b75cc03a2360a.jpg

Edited by jengpeng
  • Like 1
Link to comment
Share on other sites

2 hours ago, jengpeng said:

@zhangqq i not try OpenCore. i using "dosdude1" method  and clover zip from tluck ( Lenovo-T420-Clover-2020.04.17 on GitHub) to create mojave usb installer. After installed and boot from MacHD rename EDID-2e3.plist to config.plist (/Volumes/ESP/EFI/Clover)

THANK YOU VERY MUCH!

Link to comment
Share on other sites

The T420 lives another day! The recent 10.15.5 is working well ... updated via dosdude1 USB. 

Note: I posted updates for Clover and OpenCore in the github repo. both work identically well as far as I can tell. 

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

I can only thank you again, tluck. You are the greatest!

The joined effort on OC is really hilarious too. I did not expect a real competitor to Clover, but here it is.

 

On a side note, is there something out of order with the latest Clover repo from second of June?

Getting a black screen here (double checked patches) but OC is booting 10.15.5 just fine.

Link to comment
Share on other sites

On 6/2/2020 at 11:01 PM, tluck said:

The T420 lives another day! The recent 10.15.5 is working well ... updated via dosdude1 USB. 

Note: I posted updates for Clover and OpenCore in the github repo. both work identically well as far as I can tell. 

 

 

Thank you for the OC update and all your hard work all these years!

Currently I am in 10.15.1 and I would like to update to 10.15.5.

I created a USB installer of the 10.15.5 via dosdude1 Catalina Patcher.

Can I use this USB installer or is there another method to update?

Do I need to put your updated OC files in the EFI before I start the update or can I do it after the installation process?

Link to comment
Share on other sites

Afaik there is no other method for upgrading a T420.

Create a bootstick with Catalina Patcher 1.44 and the 10.15.5 installer.

Add the EFI folder from the repo tluck has on GitHub to the EFI partition of your boot stick.

Boot from the stick and install macOS over your existing 10.15.1.

Don´t forget to install the patches from the stick and upgrade the EFI of your SSD finally.

Link to comment
Share on other sites

9 hours ago, goodguess said:

I can only thank you again, tluck. You are the greatest!

The joined effort on OC is really hilarious too. I did not expect a real competitor to Clover, but here it is.

 

On a side note, is there something out of order with the latest Clover repo from second of June?

Getting a black screen here (double checked patches) but OC is booting 10.15.5 just fine.

You are welcome. glad there are still some T420 followers :)  hmm. i am not having a black screen issue. did you resolve it? could be DualLink?

 

i am going to push some changes to the Clover configs:

- make EDID for LG model 366 the default.

- Set DualLink=1

- patch gfx memory to 1024 MB (Clover and OC)

 

 

1 hour ago, datagr said:

Thank you for the OC update and all your hard work all these years!

Currently I am in 10.15.1 and I would like to update to 10.15.5.

I created a USB installer of the 10.15.5 via dosdude1 Catalina Patcher.

Can I use this USB installer or is there another method to update?

Do I need to put your updated OC files in the EFI before I start the update or can I do it after the installation process?

 

it would be best to update your HD (EFI) to validate that the newer OC stuff works for you.

OC booted from your HD should then list the USB installer as a boot option. you need then boot the USB.

i would also put the OC stuff onto the ESP/EFI of the USB too - it's  good to have an alternate way to boot stuff.

  • Like 1
Link to comment
Share on other sites

Thanks tluck!

Yes it was an easy fix. I just dropped back to the config.plist I am using with Clover/Mojave.

I did not look into it, but DualLink may be the culprit, even with the LG display that never needed it in the past.

 

As late adopter the T420 is going to stay with macOS for me as long Apple is using Intel cpu. ;)

A low cost solution easy to maintain with three SSD devices when counting the mPCIe slot, hard to beat that.

Did collect some spares even, in case a T420 should break due to hardware issues.

Your OC boot is a very appreciated addition, I do like the startup chime too.

 

Looking forward to your planned repo updates!

  • Like 1
Link to comment
Share on other sites

Experiencing a couple of system crashes here since beginning of May.

Can somebody make anything out of it? What is/does the VMBMicroClient?

I don´t think I did install anything on my Mojave system recently.

 

Process:               VMBMicroClient [462]
Path:                  /Applications/VMBMicroClient.app/Contents/MacOS/VMBMicroClient
Identifier:            net.novamotum.VMBMicroClient
Version:               1.6.0 (820)
Code Type:             X86 (Native)
Parent Process:        ??? [1]
Responsible:           VMBMicroClient [462]
User ID:               501

Date/Time:             2020-05-08 11:33:11.061 +0200
OS Version:            Mac OS X 10.14.6 (18G4032)
Report Version:        12
Anonymous UUID:        02E52FB6-78BE-8208-6ED4-944B0F18B1B7


Time Awake Since Boot: 49 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [462]

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Missing required plugin'
 

Edited by goodguess
Link to comment
Share on other sites

3 hours ago, goodguess said:

Experiencing a couple of system crashes here since beginning of May.

Can somebody make anything out of it? What is/does the VMBMicroClient?

I don´t think I did install anything on my Mojave system recently.

 

Process:               VMBMicroClient [462]
Path:                  /Applications/VMBMicroClient.app/Contents/MacOS/VMBMicroClient
Identifier:            net.novamotum.VMBMicroClient
Version:               1.6.0 (820)
Code Type:             X86 (Native)
Parent Process:        ??? [1]
Responsible:           VMBMicroClient [462]
User ID:               501

Date/Time:             2020-05-08 11:33:11.061 +0200
OS Version:            Mac OS X 10.14.6 (18G4032)
Report Version:        12
Anonymous UUID:        02E52FB6-78BE-8208-6ED4-944B0F18B1B7


Time Awake Since Boot: 49 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [462]

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Missing required plugin'
 

i googled it and it seems to be a mobile solution? and it would be something you installed

 

I added a boot flag to fix some 3rd party application crashes. 

slide=0 -no_compat_check amfi_get_out_of_my_way=0x1

 

Link to comment
Share on other sites

Ah, thanks for doing my homework.

I was playing around with WWAN as my DSL landline is becoming worse and worse.

Not that WAN would be an alternative, living in the sticks. :)

Lets see how to get rid of that little bugger again.

 

Done. Its a Vodafone connect thing. Did not work for me anyway.

Edited by goodguess
  • Like 1
Link to comment
Share on other sites

the patch for 1024mb vram can break with system updates right? i'm asking cause i just updated to 10.15.6 dev beta 2 and it's back to 512mb.

it was working fine on 10.15.5 and 10.15.6 dev beta 1.

 

btw thanks for adding an opencore config. i love how fast it boots. also maybe it's placebo but i feel like macos is running slightly faster with opencore

Link to comment
Share on other sites

 Share

×
×
  • Create New...