Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,138 posts in this topic

Recommended Posts

02-Nov-2016 Update - new bundle posted in the guide

  • Updated to Clover r3898
  • Updated VoodooPS2Controller kext
  • ​-- works with Sierra TrackPad PrefPane - thanks to usr-sse2
  • -- removed Info.plist Symbolic links for Keyboard
  • -- has a few more TrackPad and Keyboard parameter tweaks
  • -- removed custom mappings for F1-F15 for Sierra
  • ​-- TrackPoint less jumpy and jittery on T420

TrackPad/Point scrolling in Sierra is still a bit jumpy as compared to El Cap. 

Share this post


Link to post
Share on other sites
Advertisement

02-Nov-2016 Update - new bundle posted in the guide

  • Updated to Clover r3898
  • Updated VoodooPS2Controller kext
  • ​-- works with Sierra TrackPad PrefPane - thanks to usr-sse2
  • -- removed Info.plist Symbolic links for Keyboard
  • -- has a few more TrackPad and Keyboard parameter tweaks
  • -- removed custom mappings for F1-F15 for Sierra
  • ​-- TrackPoint less jumpy and jittery on T420

TrackPad/Point scrolling in Sierra is still a bit jumpy as compared to El Cap. 

 

Thanks for the update tluck! Let me give this a try.

Thanks for the update tluck! Let me give this a try.

 

So for those who has replaced the trackpad PrefPane used with the one in El Capitan how can put back the Sierra version?

Thanks for the update tluck! Let me give this a try.

 

So for those who has replaced the trackpad PrefPane used with the one in El Capitan how can put back the Sierra version?

2 finger tap right click does not work, alt and windows keys have switched places :) E.g. earlier alt-q was quit. Now it's windows - q.

Share this post


Link to post
Share on other sites

Thanks for the update tluck! Let me give this a try.

 

So for those who has replaced the trackpad PrefPane used with the one in El Capitan how can put back the Sierra version?

2 finger tap right click does not work, alt and windows keys have switched places :) E.g. earlier alt-q was quit. Now it's windows - q.

 

Well I recovered the Sierra version of the trackpad prefpane using time machine :) Of course the gestures still don't work.

Share this post


Link to post
Share on other sites

02-Nov-2016 Update - new bundle posted in the guide

  • Updated to Clover r3898
  • Updated VoodooPS2Controller kext
  • ​-- works with Sierra TrackPad PrefPane - thanks to usr-sse2
  • -- removed Info.plist Symbolic links for Keyboard
  • -- has a few more TrackPad and Keyboard parameter tweaks
  • -- removed custom mappings for F1-F15 for Sierra
  • ​-- TrackPoint less jumpy and jittery on T420

TrackPad/Point scrolling in Sierra is still a bit jumpy as compared to El Cap. 

Thank you so much, tluck

Share this post


Link to post
Share on other sites

2 finger tap works - aka secondary click - brings up "right" click menu. if you enable it.

 

what gestures are you saying don't work? not all will work. The Lenovo trackpad cannot do everything an apple magic pad can do. 

 

so read here and you can see what it can and cannot do

 

https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/pull/90

 

update: alt-command - needed to swap -  fixed that in the keyboard info.plist - zip is reposted with new file.

Edited by tluck

Share this post


Link to post
Share on other sites

2 finger tap works - aka secondary click - brings up "right" click menu. if you enable it.

 

what gestures are you saying don't work? not all will work. The Lenovo trackpad cannot do everything an apple magic pad can do. 

 

so read here and you can see what it can and cannot do

 

https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/pull/90

 

update: alt-command - needed to swap -  fixed that in the keyboard info.plist - zip is reposted with new file.

 

 

When I opened after reboot trackpad settings all was working promising, but then I selected different tap within it and the system preferences crashed. I cannot open the trackpad pref pane anymore. Will try to restart the system, to see if I can replicate that.

 

OK after reboot now I was able to open the pref pane for trackpad, and I was able to see that the more gesture tab was selected, immediately after open it system preferences crashes. So all looks good when using first tab (general settings) and second tab, speed of the pointer. but if switching to more gestures all crashes. will see if I can get this working again. Another reboot.

Share this post


Link to post
Share on other sites

2 finger tap works - aka secondary click - brings up "right" click menu. if you enable it.

 

what gestures are you saying don't work? not all will work. The Lenovo trackpad cannot do everything an apple magic pad can do. 

 

so read here and you can see what it can and cannot do

 

https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/pull/90

 

update: alt-command - needed to swap -  fixed that in the keyboard info.plist - zip is reposted with new file.

 

Hey tluck!

 

Let me give more explanation here.

 

1. Touchpad

  • 1 finger tap, 2 finger tap works.
  • All the rest does not work. The only way to make work stuff like 3 finger swipe right-left for spaces, and 3 finger swipe up-down for show app windows and show desktop is to bind these movements as keyboard shortcuts. So I just go there and instead of binding a key combination I swipe. The downside is that I lose this functionality binded to the F keys, only touchpad swipe calls them.

    post-1647866-0-31091600-1478156053_thumb.png

​2. Keyboard

  • Alt/win keys are back to normal
  • With this latest package and with the previous one from yesterday I got back to an unwanted situation I've had on El Capitan and also my wife has on El Capitan with her HP8470p. We use Hungarian keyboard layout. On the T420 the button next to the left shift should type "í" but it now types "0". And "0" went up above the TAB key, next to "1" key. How can I change this?

Thanks.

Share this post


Link to post
Share on other sites

Very good guide. Thank you again, managed to install 10.11.5 on my t420, now I have a dual boot with 10.9, just to move things over.

 

Two questions: in 10.11 the fan doesn't seem to throttle up or down, running at about 3530 RPM, even at Idle @48 ˚C, the CPU is stepping correctly.

I'm getting 10% (measured) performance loss in 10.11.5.

 

Any thoughts?

 

So you have two versions of OS X on the same drive? I have Yosemite installed on the first partition of an SSD (half size), and wanted to play with El Capitan or newer on the second empty half. Anything to look out for before doing that?

Thanks

Share this post


Link to post
Share on other sites

@somez 

 

Hey tluck!

 

Let me give more explanation here.

 

1. Touchpad

  • All the rest does not work. The only way to make work stuff like 3 finger swipe right-left for spaces, and 3 finger swipe up-down for show app windows and show desktop is to bind these movements as keyboard shortcuts. So I just go there and instead of binding a key combination I swipe. The downside is that I lose this functionality binded to the F keys, only touchpad swipe calls them.

​2. Keyboard

 

  • With this latest package and with the previous one from yesterday I got back to an unwanted situation I've had on El Capitan and also my wife has on El Capitan with her HP8470p. We use Hungarian keyboard layout. On the T420 the button next to the left shift should type "í" but it now types "0". And "0" went up above the TAB key, next to "1" key. How can I change this?

 

1. TrackPad. gestures i will have to do some research on this to see exactly what works and how it is implemented. some new code was added and i will have to see how it different.

 

2. 0 vs i.

i am not sure on this, i see very little code change in keyboard. BUT perhaps this change in code may be the reason? 

 

layout defined as unknown ascii and now M90 in newer code - which is apple magic BT keyboard and -  may have "tilda" in different location.

i can re-compile the keyboard it for you to test.

$ diff OS-X-Voodoo-PS2-Controller/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp usr-sse2-OS-X-Voodoo-PS2-
Controller/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp

94c95
< #define APPLEPS2KEYBOARD_DEVICE_TYPE 3   // Unknown ANSI keyboard
---
> #define APPLEPS2KEYBOARD_DEVICE_TYPE 44   // Apple M90 Wireless keyboard

@davidian

 

very easy to have 2 versions of OS X/macOS on the same disk. for example, i have sierra and el cap on my main HD (disk0). clover will allow you select which volume to boot from. Note: i removed the 2nd recovery partition for the 2nd OS as the installers like to create one. OSX+ is sierra and OSX is el cap (bare bones for testing)

$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *512.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS OSX+                    481.9 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:                  Apple_HFS OSX                     29.2 GB    disk0s4

Share this post


Link to post
Share on other sites

 

@somez 

 

 

1. TrackPad. gestures i will have to do some research on this to see exactly what works and how it is implemented. some new code was added and i will have to see how it different.

 

2. 0 vs i.

i am not sure on this, i see very little code change in keyboard. BUT perhaps this change in code may be the reason? 

 

layout defined as unknown ascii and now M90 in newer code - which is apple magic BT keyboard and -  may have "tilda" in different location.

i can re-compile the keyboard it for you to test.

$ diff OS-X-Voodoo-PS2-Controller/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp usr-sse2-OS-X-Voodoo-PS2-
Controller/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp

94c95
< #define APPLEPS2KEYBOARD_DEVICE_TYPE 3   // Unknown ANSI keyboard
---
> #define APPLEPS2KEYBOARD_DEVICE_TYPE 44   // Apple M90 Wireless keyboard

@davidian

 

very easy to have 2 versions of OS X/macOS on the same disk. for example, i have sierra and el cap on my main HD (disk0). clover will allow you select which volume to boot from. Note: i removed the 2nd recovery partition for the 2nd OS as the installers like to create one. OSX+ is sierra and OSX is el cap (bare bones for testing)

$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *512.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS OSX+                    481.9 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:                  Apple_HFS OSX                     29.2 GB    disk0s4

I would be happy to try that re-compiled version. Thanks a lot.

Share this post


Link to post
Share on other sites

 

@davidian

 

very easy to have 2 versions of OS X/macOS on the same disk. for example, i have sierra and el cap on my main HD (disk0). clover will allow you select which volume to boot from. Note: i removed the 2nd recovery partition for the 2nd OS as the installers like to create one. OSX+ is sierra and OSX is el cap (bare bones for testing)

$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *512.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS OSX+                    481.9 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:                  Apple_HFS OSX                     29.2 GB    disk0s4

 

 

Thank you for the info, will give that a try.

Share this post


Link to post
Share on other sites

@somez - can you try this kext to fix key issue?

It worked! :) Thanks a lot. Now I just have to keep in mind to replace this when you update your new package.

 

By the way, I don't know what happened but my network interfaces look messed-up since yesterday.

post-1647866-0-71157200-1478240899_thumb.png

 

My wifi connections are showing as Bluetooth PAN. WiFi is working though...

Share this post


Link to post
Share on other sites

@somez - great. dont worry about the kext - this version and fix will be in the future bundles - the ANSII layout is best for the Lenono.

 

i had the same weird thing happen to me once with the network interfaces. i dont remember what i did, but i probably deleted the interfaces and rebooted.

Share this post


Link to post
Share on other sites

@somez - great. dont worry about the kext - this version and fix will be in the future bundles - the ANSII layout is best for the Lenono.

 

i had the same weird thing happen to me once with the network interfaces. i dont remember what i did, but i probably deleted the interfaces and rebooted.

 

Ok, thanks tluck.

Well, I might try deleting all the interfaces hoping they will come back upon reboot :)

Share this post


Link to post
Share on other sites

Guys, here is a theoretical question. Is it possible to measure if my system is performing as expected from a T420 hackintosh?

I've seen comments earlier that some people can measure "performance loss" or something similar. How do you do this?

Share this post


Link to post
Share on other sites

geekbench3 is good - interestingly the i5-2520M is basic unit of measure - so one should get values around 2500/5000 single/multi-proc performance.i ran it and got 2282/5069 on sierra - not bad. 

 

FYI, I loaded 10.12.2 beta, and the Safari scrolling is smooth.

Share this post


Link to post
Share on other sites

geekbench3 is good - interestingly the i5-2520M is basic unit of measure - so one should get values around 2500/5000 single/multi-proc performance.i ran it and got 2282/5069 on sierra - not bad. 

 

FYI, I loaded 10.12.2 beta, and the Safari scrolling is smooth.

I got 2358/5098, so I guess mine is ok as well. However it's quite miserable when I compare to other Macs from 2011 :)

Thanks.

Share this post


Link to post
Share on other sites

It worked! :) Thanks a lot. Now I just have to keep in mind to replace this when you update your new package.

 

By the way, I don't know what happened but my network interfaces look messed-up since yesterday.

attachicon.gifScreen Shot 2016-11-04 at 7.33.18.png

 

My wifi connections are showing as Bluetooth PAN. WiFi is working though...

 

I managed to solve this just as tluck advised.

I deleted all devices under Network, rebooted and then had to add a WiFi device because the list was still empty. Once I turned on Bluetooth from the menu, that device has appeared on it's own. 

Share this post


Link to post
Share on other sites

Hi @tluck, is the trackpad pref pane really working. On my W520 systems preferences crashes each time I try to open trackpad pref pane. ( I'm using latest zip from Nov 4th).

 

Error:

 

"System Preferences quit unexpectedly"

Share this post


Link to post
Share on other sites

I have recently noticed a lot of entries in console related to cssm. On T420 as well as W520.

Are you having same issue?

 

See screenshot for details.

post-690819-0-82212800-1478480945_thumb.png

Share this post


Link to post
Share on other sites

Well it works on my T420 and T460.

 

That's interesting. It works great on my T420. It fails however on W520. I'm using same image on both except the ACPI and config.plist (MB10.1 on W520).

Share this post


Link to post
Share on other sites

UltraNavBundle.kext - if you use trakpoint as your main device use this kext - it is in this topic uploaded by me.

Could you please post it again? i can't find it

 

ah, found it, it's on page 143, here's the link if anyone has the same problem

http://www.insanelymac.com/forum/topic/285678-lenovo-thinkpad-t420-with-uefi-only/page-143?do=findComment&comment=2298876

ThinkpadUltraNaviBundle.kext

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By fusion71au
      Clover r4542 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 14 running OSX 10.9 -->10.14 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4542 for VMware.zip". Mount Clover-v2.4k-4542-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By nysander
      I start this topic to make my Lenovo Thinkpad W540 usable with High Sierra
       
      I followed many guides but this one started by @tluck made me most progress: 
      My setup as in signature
       
      I will update first post with statuses of working features:
       
      Graphics:
      Nvidia Quadro - disabled
      Intel HD 4600 - working @ 1920x1080 and 1,5GB RAM (had to set ig-plaform-id as Haswell desktop, mobile do not work)
      using intelGraphicsFixUp.kext
       
      Sound:
      internal speakers and mic works with AppleACL.kext and profile 28

      USB:
      i boot MacOS from USB drive and it works, mouse and pendrive also works
      USB power not work yet, so USB WiFi dongle and iPhone connection not work (no power @ USB)
      IOReq finds only USB 3.0 controller not USB 2.0 even though I have 2 ports USB 3.0 and 2 ports USB 2.0
       
       
      Integrated Camera:
      recognised in IOReq but not working now (probably due to USB)
       
      Bluetooth:
      as USB but works without problem

      Ethernet:
      works with intelMausiEthernet.kext

      Keyboard:
      internal is PS2 so VoodooPS2Controller.kext is needed - some mappings I would like to have different but works

      Touchpad:
      works with VoodooPS2Controller.kext from @tluck topic
       
      Trackpoint:
      One time works mostly not - debugging in progress
       
      Batery Status:
      not working
       
      Integrated WiFi:
      intel -  not working
       
      Sleep / Hibernate:
      not working
       
      Backlight:
      not working
       
      Other found issues:
      besides that graphics works @ 1920x1080 and have a lots of ram window shadows (especially dock shadow) looks bad
       
      External VGA:
      not tested yet
       
      External Mini Display Port / Thunderbolt:
      not tested yet
       
      I will post my clover / debug config later
       
       
    • By MaLd0n
      First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Run it, post files generated in your desktop RunMe.app  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with patches for Skylake DSDT.MaLd0n ASUS Z170M PLUS.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DMAC -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -IMEI -PNLF -HDMI --FakeSMC
      http://www.hwsensors.com/releases   --Audio https://github.com/vit9696/AppleALC   --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   --LAN https://github.com/Mieze/IntelMausiEthernet   -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!   ENJOY!
    • By zebity
      Hi Hypervisors,
       
      EDITED - 9 JUNE 2018 - as all other issues resolved but am now stuck with QEMU Error: "PFLASH: Possible BUG - Write Block Confirm" details on testing lower in thread (to follow).
       
      I have been working to move my Late 2009 Xserve MacOS Server onto Ubuntu 18.04 LTS QEMU/KVM based virtual machine using OVMF and Clover.
       
      After much effort and testing based on the following information from: Kraxel's, Kholia, Gordon Turner and Clover site:
      https://www.kraxel.org/blog/2017/09/running-macos-as-guest-in-kvm/
      https://github.com/kholia/OSX-KVM
      https://gist.github.com/gordonturner/2a2e5ecde5e7860b52e2
      https://clover-wiki.zetam.org/Home
       
      I have now managed to get OVMF/Clover boot and install of MacOS Sierra.
       
      I started with Ubuntu 16.04 initially but this required download and compile of QEMU to get update of machines to: pc-q35-2.9 or better, so I moved to Ubuntu 18.04, which has pc-q35.2.11 available as standard.
       
      So I am now working with standard Ubuntu 18.04 LTS based systems with following packages: kvm/qemu/libvirt/bridge-utils/ovmf/virt-manager
       
      As I want to use PCIe Passthrough for a number of PCIe card currently installed in the server (SmallTree 10GbE & Areca ARC-1883 SAS RAID) I set up my machine with linux kernel boot configuration (/etc/default/grub) of: 
      GRUB_CMDLINE_LINUX_DEFAULT="iommu=1 intel_iommu=on" (as my machine is intel VT-d based HW virtualisation)
       
      This resulted in creation of a number of iommu groups (see /sys/kernel/iommu_group directory for this and this posting for information: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639 , noting that Ubuntu 18.04 LTS has kernel version: 4.15.0-22-generic so there is no need to do kernel update for iommu to work).
       
      Using bare minimal Clover config.plist:
       
       
      And following Clover UEFI drivers:
       
      I can boot MacOS, but it is very very slow... it sits on the apple boot logo for over a minutes before finally moving onto the progress bar.
      The other problem I have is that no PCI or Network devices appear in the "About This Mac" System Information Report and I cannot get any network connectivity from bridged E1000 network device.
       
      Here is my virtlib.xml dump for the virtual machine:
       

      Can any one advise of whether I need to update the CLOVER config.plist to add extra items in to allow network and PCI Passthrough to work.
       
      Thank you.
       
      Regards,
       
      Zebity
       
×