Jump to content
About Just Joined group Read more... ×
K0gen

Lenovo ThinkPad T420 with UEFI Only

5,179 posts in this topic

Recommended Posts

Advertisement
On 4/2/2019 at 4:59 AM, free2000fly said:

Hi @tluck,  Can you give us a bit of explanation for the config file, such as  2e2, EDID etc.?

 

these files inject an alternate EDID - rather that default/built-in EDID for your LCD. these are the EDID extracted and corrected (set to RGB only mode etc) from other LCD vendors such as LGD that seem to work better than the common/inferior standard from AUO. Historically these fix problems such as white screen, glitches, and ring buffer hangs. 

  • config.EDID-2e2.plist 
  • config.EDID-2e3.plist
  • config.EDID-366.plist

These 2 are for using the unsupported OS Mojave based on LCD size - sets model to MBP9,1 instead of MBP8,1 as well sets a few gfx properties needed.

  • config.mojave.1366x768.plist
  • config.mojave.1600x900.plist

Some folks were seeing problems when Clover was asked to patch the DSDT - most of the patching was redundant with the provided DSDT. so now there are 2 versions - one that does a number of patches to patch the built-in DSDT (i.e. when you don't provide one) and a config.plist that does almost nothing to the DSDT since over the years - way before the current SSDT/hot-patch approach was devised - manual edits were made to the DSDT.

  • config.patchDSDT.plist - does some patching.
  • config.plist (default) - only fixes regions 

So one should start with config.plist 

if there are glitches, then try config.EDID-2e2 or EDID-2e3

if you are on Mojave - presumable means you know what are doing! - then you need start with this one - which injects EDID-2e3. Note: I am actually using EDID-2e2.

 

the name/number ie 2e3 is representative of the product id encoded in the EDID string - for example:

00FFFFFF FFFFFF00 30E4E302 00000000 FF140104 801F1178 E2338599 56559127 17505400 00000101 01010101 01010101 01010101 0101AE24 405A6084 1A303020 350036AE 1000001A 401F4080 60841A30 30203500 36AE1000 00180000 00FE004C 656E6F76 6F0A2020 20202020 000000FE 00313630 30783930 300A2020 202000C6 

 

which means vendor_id 30E4 and product_id E302 - which is byte swapped to mean 02E3

 

there are corresponding Displayoverride files that match vendor/product_id to provide a better gamma and color space definition. 

 

Note: The 2e2 EDID worked great for many years (and 5 OS releases - 10.8-10.12) but when HighSierra (and now Mojave) came out glitches and freezes were back for many. Mostly with an AUO LCD and/or less than 16GB of memory. 

 

But sad to say, seems like HD 3000 models - such as the trusty T420 - are at EOL with the latest macOS. 

- My son has a T420 with 16GB and LGD model LCD on HighSierra and it works quite well for him.

- My T420 has 8GB and AUO LCD and it hangs about every 3 days. i can often revive it by 1-2 sleep/wake cycles (or remote shell to reboot). So I don't use it as my main machine anymore. 

Share this post


Link to post
Share on other sites

Hi tluck, thanks for posting dosdude´s hack for 10.14.4.

Saving/removing the HD3000 kexts is easy enough, but I can´t find neither GPUSupport.framework nor OpenGL.framework in their mentioned places.

Shall I upgrade in spite of that or will that break 10.14.4?

I´m on 10.14.3 right now and going without the two frameworks.

Share this post


Link to post
Share on other sites
10 hours ago, goodguess said:

Hi tluck, thanks for posting dosdude´s hack for 10.14.4.

Saving/removing the HD3000 kexts is easy enough, but I can´t find neither GPUSupport.framework nor OpenGL.framework in their mentioned places.

Shall I upgrade in spite of that or will that break 10.14.4?

I´m on 10.14.3 right now and going without the two frameworks.

do this:

save the 2 frameworks from 10.14.3 - i happen put them in /Extra/kext-used/T420/mojave-fix

 

sudo cp -a /System/Library/PrivateFrameworks/GPUSupport.framework <location>

sudo cp -a /System/Library/Frameworks/OpenGL.framework   <location>

 

sudo rm -rf /System/Library/Extensions/*SNB* /System/Library/Extensions/*3000*

 

and then update to 10.14.4 (don't go to 10.14.5beta - wont work.)

 

after IN SINGLE USER MODE run the script below to get full gfx acceleration

 

 

mount -uw /

cd /Extra/kext-used/T420/mojave-fix/ (your location)

./single-user-post-update.bash 

 

 

$ cat single-user-post-update.bash 

#!/bin/bash -x

# replace frameworks

rm -rf /System/Library/PrivateFrameworks/GPUSupport.framework

cp -R /Extra/kexts-used/T420/mojave-fix/GPUSupport.framework /System/Library/PrivateFrameworks

 

rm -rf $prefix/System/Library/Frameworks/OpenGL.framework     

cp -R /Extra/kexts-used/T420/mojave-fix/OpenGL.framework     /System/Library/Frameworks

 

chmod -R 755 /System/Library/PrivateFrameworks/GPUSupport.framework

chown -R 0:0 /System/Library/PrivateFrameworks/GPUSupport.framework

chmod -R 755 /System/Library/Frameworks/OpenGL.framework

chown -R 0:0 /System/Library/Frameworks/OpenGL.framework

 

# put back HD 3000 kexts

cp -R /Extra/kexts-used/T420/10.14/ /System/Library/Extensions

Share this post


Link to post
Share on other sites

Thanks a bunch again, for the detailed do-this!

I´ll try these days with your latest repo from GitHub.

I think I´ll have a CCC backup first, as I´m not too keen on installing from scratch again. ;)

 

I never thought we would see 10.14.x on our SandyBridge rigs at all.

Apple´s freebees like Photos and iMovie are a real progress for macOS methinks.

 

Share this post


Link to post
Share on other sites

I was thinking of a M2 SSD too, some time ago, Tetonne.

Opened my RAM/PCI-e cover on the back, I´m rather sure that only half size cards would fit in. :(

Also, I seem to recall we would only get SATA-II speed (at most) from the WWAN slot.

 

Unrelated to M2, I cant seem to find OpenGL.framework or GPUSupport.framework on my macOS installations.

Probably I am missing something.

Alas, the sub-version number of Mojave wont matter much when Apple decides to drop support for 10.14 in 2021 -

presuming that the usual roll-out and let-go policy is still valid.

Edited by goodguess

Share this post


Link to post
Share on other sites

Hi guys i'm back from a long time.
What about development of mac os on our lenovo? Latest version is stable? if it is not, wich one should i try?

Share this post


Link to post
Share on other sites
11 hours ago, Fibroga said:

Hi guys i'm back from a long time.
What about development of mac os on our lenovo? Latest version is stable? if it is not, wich one should i try?

Well, the last supported version is High Sierra 10.13.6   but you may get random glitches unless you have a non AUO LCD

But I am running Mojave 10.14.4 with some extra hacking but. that may be the end of road. 

Share this post


Link to post
Share on other sites

It's all been much appreciated, tluck. I finally took the plunge and upgraded from 10.12 to 10.14.4—and it all went very smoothly thanks to your bundle. I'm considering even buying a quad core CPU to try making the upgrade and keep it going for a couple more years yet.

 

I see graphics artifacts in Safari on the tab bar, but reverting the GPUSupport and OpenGL files didn't seem to do anything. Is that what others have been seeing? My main setup (as a desktop) has a cheap egpu+NVIDIA card though, and seems to get full support for everything and much improved render performance (I don't use the LCD screen at all these days, so the HD3000 support doesn't matter anymore for me).

> I was thinking of a M2 SSD too, some time ago, Tetonne.

 

FWIW, in case you're still considering this, I've had my primary SSD in this slot for years. I can't comment on the performance, as I never bothered to measure. All I can say is that it was a very large improvement over the original spinning disk.

Share this post


Link to post
Share on other sites
1 hour ago, Manwe150 said:

It's all been much appreciated, tluck. I finally took the plunge and upgraded from 10.12 to 10.14.4—and it all went very smoothly thanks to your bundle. I'm considering even buying a quad core CPU to try making the upgrade and keep it going for a couple more years yet.

 

I see graphics artifacts in Safari on the tab bar, but reverting the GPUSupport and OpenGL files didn't seem to do anything. Is that what others have been seeing? My main setup (as a desktop) has a cheap egpu+NVIDIA card though, and seems to get full support for everything and much improved render performance (I don't use the LCD screen at all these days, so the HD3000 support doesn't matter anymore for me).

> I was thinking of a M2 SSD too, some time ago, Tetonne.

 

FWIW, in case you're still considering this, I've had my primary SSD in this slot for years. I can't comment on the performance, as I never bothered to measure. All I can say is that it was a very large improvement over the original spinning disk.

hey glad to hear from you after all these years! ... SSDs are definitely the way to go - especially with APFS.

Since HighSierra HD 3000 with full acceleration will get a few gfx glitches (and hangs).

I boot from my SSD that I put in the expansion bay. Then keep my backup on the original HD in main slot (via Carbon Copy Cloner)  - and actually has Mojave/High Sierra/Sierra on it (for validation).

Share this post


Link to post
Share on other sites

I´m still missing the needed frameworks for upgrading to 10.14.4. :(

Already searched high and low in vain, could somebody please upload the two files here for me?

GPUSupport.framework

OpenGL.framework

 

Thanks for caring!

Edited by goodguess

Share this post


Link to post
Share on other sites

@goodguess

are you are on 10.14.3 now? if so you have them:

 

sudo mkdir /Temp

sudo cp -a /System/Library/PrivateFrameworks/GPUSupport.framework /Temp/

sudo cp -a /System/Library/Frameworks/OpenGL.framework                 /Temp/

Share this post


Link to post
Share on other sites

Thank you so much for your time and patience, I must have been too blind to see. ;)

The frameworks are of course in the place you pointed to.

I tried upgrading to 10.14.4 via combo update, but the installer hangs in an early stage forever with less than 1 cm of the progress bar.

No damage done, as I could drop back to 10.14.3 easily.

One thing is somewhat annoying though. I tried upgrading three times an now my BIOS boot screen is crowded like this:

 

P1080591.thumb.JPG.a08f53b50eb7c5480ef3ba6d3d035792.JPG

 

P1080592.thumb.JPG.9bda06f873f827e3adc5bcd42b7c073e.JPG

 

How can I clean up that? (SSD-120 and MJ_240 are the two SSDs installed.)

Further I would like to get rid of the 10.14.4 Update partition, as it seems to be useless.

 

Last not least, would you like to recommend a simple setup hackintosh for me to replace the T420?

I was thinking of a DELL Latitude E5470, i5-6300U, 256MB M2, but it may not be all that hassle free. 

Edited by goodguess

Share this post


Link to post
Share on other sites

I am thinking about going from El Capitan to Sierra (not High) (reason: I want to change my egpu to gtx 1070, and 10xx is only supported from Sierra).

Would the High Sierra plist/Clover files work for Sierra, or do I need to look through the GitHub versions for some older zip?

Thanks a bunch :)

Share this post


Link to post
Share on other sites

@goodguess: related the unwanted uefi boot options. I had the same issue a couple of years ago. I don't remember exactly the method I used, but it was not difficult to get rid of them. Start with a search for "clean uefi boot options", and refine your search from there, you'll find videos and examples as well on how to do it.

I see in your signature you use macos Sierra with T420. You use tluck's ESP files (if so, the most recent, or older ones), or your own?

Edited by davidian
added question

Share this post


Link to post
Share on other sites

@goodguess did you remove the HD3000 kexts before you tried to update to 10.14.4? -- take at look at the post about this. 

remove HD 3000 kexts

update to 10.14.4

put 10.14.3 frames in place

put HD 3000 kexts back in place.

 

as far as a replacement - there seems to be plenty of options. i was really happy with T460 and will buy one for my son soon.

 

@davidian the most recent zip on works with mojave, highsierra and sierra. i use the same Clover ( config and kexts) in the ESP to triple boot all 3 OS.

Share this post


Link to post
Share on other sites

Thanks fellows, I´ll try again.

As far as I can tell, I did delete the HD 3000 kexts as advised.

I´m using tluck´s latest repo from 19/04/03, just to confirm.

 

I did have upgrade issues in the past with a Intel SSD, where upgrading failed in a similar way.

MJ_240 has 80 GB free, so it should not be a storage issue this time.

 

A T460 will be a nice solution as soon as more leasing returners show up on the 2nd hand market in autumn.

I´ll give the E5470 a go, as its guts look quite similar, (same silly pry open back cover) worst case I have a 30 day return policy. :)

Edited by goodguess

Share this post


Link to post
Share on other sites

Cleaning up the boot devices goes like this, just to let you know. ;)

t3chman posted this in the Lenovo forums in 2013.

 

Quote

 

Ladies and Gentlemen...  I have the solution you have been looking for:

 

----------------------------------------------------------------------

 

Go to the BIOS Setup page.

 

In the BIOS page go to the "Startup." tab.

 

Press, "Enter, (the, "Boot," option should be hilighted)."

 

Now... You don't see the USB device listed, huh?

 

Press, "F9," for, "Setup Defaults."

 

A dialogue will appear that asks, "Setup Confirmation.  Load default configuration now?" To which you will press enter for, "Yes."

 

After you do this ALL of the bootable devices should appear.  I went from only seeing two devices to seeing 12 devices.  If your USB jump drive is in, it should display the make/model of the USB device too.  You can then press the +/- keys to move that deviceto the top of the list.

 

----------------------------------------------------------------------

 

Note 1:  I am running BIOS version 1.38.

 

Note 2: I signed up for this forum just so that I could share this information with you because I couldn't find it anywhere else online. :-)

 

 

Share this post


Link to post
Share on other sites

Clover can remove these Clover boot options.

boot to clover and stop... and then move down to Clover boot options with arrow key and then it will be obvious.

Share this post


Link to post
Share on other sites

I upgraded from El Capitan to Sierra, changed the EFI files before reboot, and all went well.

Everything seems ok, sometimes I see post boot after the apple logo disappears that the screen is getting slower whiter and whiter until reaches a burning white, didnt see this in El Capitan, weird. But it's not always, anyone else seen this before? A reboot or a sleep/wake makes it ok.

Another thing I noticed is that I don't have the battery icon anymore, if I try to switch it on from Energy saver, it shows it for a moment, and then it disappears. HW Monitor shows the battery percentage correctly though. Any ideas?

@tluck someone mentioned earlier changing the cpu to a quad. If one would do this, or someone has a different CPU than yours, should they generate new SSDT with ssdtPRGen? I never thought of this before since with your files the T420 works out of the box, but my hunch would be yes, because of different power states.

Share this post


Link to post
Share on other sites

Note: the guide mentions in the post boot steps that running the _kext-install.command or copying kexts to /L/E as optional. I noticed with 2-3 installs, that if I don't do that step, then I don't have sound. After running the scrip, sound works.

Edited by davidian

Share this post


Link to post
Share on other sites
On 5/8/2019 at 10:22 AM, davidian said:

Note: the guide mentions in the post boot steps that running the _kext-install.command or copying kexts to /L/E as optional. I noticed with 2-3 installs, that if I don't do that step, then I don't have sound. After running the scrip, sound works.

Either way is fine. for me, i dont install kexts on my HD anymore. well except with Mojave I install the HD3000 kext in /S/L/E.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By MaLd0n
      -OpenCore Vanilla TUTORIAL-
       
       
      -USB Port Mapping TUTORIAL-
       
        1 -Create a USB bootable
       
      Create your usb installer, use this tool and download Catalina or Big Sur from Apple servers
       
      Catalina
      installScript_allfullapp.zip
       
      Big Sur
      installScript_1016fullapp.zip
       
      Credits: crazybirdy
       
      Copy Catalina / Big Sur installer to Applications folder, open terminal and run
       
      Catalina
       
       
      Big Sur
       
       
      If you want check one step by step, check here
       
      -Opencore Vanilla Tutorial
      https://tinyurl.com/ycvcnp8h
       
      2- EFI folder USB installation
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/yxsw7d3t
       
      3- EFI folder SSD
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD 
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD
      https://tinyurl.com/yxsw7d3t
       
      4- Start Fine Tune
       
      Run this app and post full dump here for full ACPI solution
       
      RunMe.app
      https://tinyurl.com/y9562hz7
       
       
      If you like a SSDT way, here we go
      SSDT-OLARILA.aml.zip
       
      5- USB Solution
      USB INTEL SERIE 400.zip
       
      Use these kexts, enable XHCI port limit patch and follow this tutorial for remap USB ports
       
       
       
      --DSDT PATCHES--
       
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM -REAL TIME CLOCK -SLPB -DARWIN / WINDOWS -XHCI -PLUGIN TYPE -HDEF -ARTC -IPIC -TIMR -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -kUSBCompanionIndex -io-device-location -IMEI -EC -PNLF -ARPT -GFX0 -NVME -ACPI-WAKE-GPE -DTGP -HDMI / HDAU  
      --SCREENSHOTS--































      -If you want to buy me a beer - Donations with PayPal
      https://tinyurl.com/r2bvzm7
       
      Big Thanks to XLR and your Badass Motherboard, Ultrafast CPU, Coolest Heatsink, Huge Graphics Card, Tonnes of RAM,
      Gigantic Hard Drive, Lightspeed Disk Burner, Professional Sound Card, Massive LCD Display.
       
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!

      We're all here to have fun and learn from each other!
    • By qmgoqwe
      I have installed MacOS and Windows on the following hardware:
       
      AMD Ryzen 7 3700X MSI B450M Mortar Max Sapphire Radeon Pulse RX 5600 XT 6G Samsung 860 QVO, 1 TB SSD (PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x1)/Sata(0x5,0xFFFF,0x0)) - MacOS on this disk Kingston A2000 SSD 1TB M.2 2280 NVMe (PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,15-AD-CD-26-28-B7-26-00)) - Windows on this disk  
      OpenCore 0.6.1 MacOS 10.15.7 both disks GPT UEFI  
      Both OSs boot nicely and work as a charm when selecting either of the disks as boot disks in the BIOS.
       
      However, trying to boot Windows 10 from the Opencore Bootmanager (no matter whether PickerMode=internal or OpenCanopy) causes a Windows Blue Screen ("SYSTEM THREAD EXCEPTION NOT HANDLED").
      To be on the safe side, I have added an appropriate entry to Misc->Entries:
      <key>Arguments</key> <string></string> <key>Auxiliary</key> <false/> <key>Comment</key> <string>Not signed for security reasons</string> <key>Enabled</key> <true/> <key>Name</key> <string>Windows 10</string> <key>Path</key> <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,15-AD-CD-26-28-B7-26-00)/HD(1,GPT,2E9695CB-0F9A-4005-AADB-2FF9C96AD02C,0x800,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi</string> It points to the Windows 10 bootmanager on the Windows disk's EFI partition.
       
      What's wrong with that? Why does this cause a BSOD? It is not clear to me why it works when booting from BIOS but not here.
       
      config.plist attached (but maybe it has no relevance for the problem).
      config.plist
    • By Nomade
      Hello All,
       
      It's been a while that I am trying to update my system to 10.15.16.
      The install seem to start, then at reboot time I only see the Normal boot and the Recovery option from the Clover boot menu.
      None of those 2 allow to complete the update.
       
      Is there any ways to force it to install and/or show the "Update" option on the Clover boot screen?
       
      PS: I'm using Z97-Gaming-3
    • By Damx
      The specs CPU: Intel® Core™ i3 Processor 8130U, 2.20 GHz (Kaby Lake Refresh) Chipset: Intel® 300 Series Graphics: Intel® UHD Graphics 620 Display: 21.5'' 1920x1200 RAM: DDR4 PC2400 4GB SSD1: M.2 PLEXTOR (with original Windows 10) SSD2: SATA SAMSUNG 850 EVO (for macOS) Sound: Realtek ALC269 WiFi / BT: Intel 3168 NGW Realtek Card-reader  
       
      Not working
      WiFi: Intel 3168 NGW Realtek Card-reader  
       
      Pre-Installation
       
      I will not go through the basics since it is explained in details here on this site. Briefly, the process is to:
      Get Clover Get Catalina macOS installer Create USB with 2 MBR partitions (FAT32 for Clover and HFS+J for the installer)  
       
      Required kexts
      AppleALC.kext Lilu.kext RealtekRTL8111.kext VirtualSMC.kext WhateverGreen.kext  
       
      Config.plist
      I used the one provided by RehabMan called config_HD615_620_630_640_650.plist. Download it from GitHub. It has almost everything you will need with only few edits for audio.
      Edits:
      [CPU] Make sure there is lilcpu=9 setting in boot arguments needed for Kaby Lake R CPU to be recognised correctly. [GPU] Make sure there is a patch GFX0 to IGPU under ACPI->DSDT [GPU] Under Devices->Properties->PciRoot(0)/Pci(0x02,0) make sure that the AAPL,ig-platform-id value is 00001B59, and the device-id value is 16590000 [AUDIO] Under Devices->Properties->PciRoot(0)/Pci(0x1f,3) set the layout-id to 40 and the device-id to 70A10000 [SMBIOS] Set Mac model ID is iMac19,2  

       

       
      Notes
      For some reason with latest version of Clover the install partition was not visible. If you run into the same issue you can downgrade Clover to r5103, which worked perfectly. WiFi / BT Intel 3168 NGW needs to be replaced if one needs WiFi. Someone mentioned that to get HDMI work properly you may need to change AAPL,ig-platform-id value to 00001659 for PciRoot(0)/Pci(0x02,0) - not my case but may be considered if you get this issue. Don't forget to generate your serial and other SMBUS values before signing in with iCloud services.  
       
×