Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

5,130 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.

Announcements

  • Similar Content

    • By surfermax
      buon giorno 
      spero tu mi possa aiutare ,perche' non riesco piu' a far partire i miei 2 ssd 850 samsung sui quali highsierra funzionava perfettamente da 1 anno e non ce' maniera di farlo ripartire .unica cosa e' che riesco ad arrivare alla console dell'istaller e ho tentato varie volte di ripristinare da una time machine che ho salvato su un altro disco usb .
      il mio sistema e' un asus p5qd turbo ed e7500 dual core . grafica gtx1050 chr funzionava con accelerazione e webdriver nvidia .audio voodoo 282. e boot clover che e' sempre stato il 5103 che poi  ho aggiornato a 5120 proprio il giorno prima che succedesse il fattaccio .quel giorno ho aggiornato dal sito apple la comboupdate 10.13 .6 da 10.13.4 .e qui al riavvio boom niente diski in clover nn li visualizzava piu .ora sciacciando f3 visualizzo il preboot e lssd con highsierra aggiornato ma arrivato alla console andava in reset loop .
      a questo punto riesco a ripartire togliendo l'accelerazione .e installando i nuovi webdriver di nvidia aggiornati all 10.13.6 .
      al riavvio non parte piu' con accelerazione e sempre problema in clover dei diski ma riuscivo a partire con f3 e preboot .
      ora decido di installare da time machine e tornare alla versione 10.13.4 del giorno prima ..e al riavvio niente piu dischi ne preboot .sono fermo a questo punto ..riesco solo a far partire installer ma nn so i comandi da dare in terminal per aggiustare le cose . ho anche linux su un altro notebook. ti ringrazio anticipatamente per l'aiuto .
    • By pink101
      So, here's what i think clover do when it patch ati framebuffer, first it read a cached kext, then it search the original hex value of the connector, then it changed the value with the new one. Is it correct? now, here's what i find confusing... let's say that i want to patch AMD7000Controller.kext, in that kext, i want to patch "AJI" framebuffer with a new value, so clover try to find the hex value of "AJI" connector then replace it with the new one, simple right? but when i search the AMD7000Controller binary file for other framebuffer, some of them didn't exist in the binary, for example, i tried to patch "Ramen" framebuffer, from various source, it said that:
      Ramen (6) @ 0xeba70 LVDS, HDMI, DP, DP, DP, DP 020000000001000039050108000000002001050600000000 000800000402000000010200000000001000030500000000 000400000403000000010343000000001102010100000000 000400000001000000010431000000002103040300000000 000400000403000000010563000000001204020200000000 000400000001000000010651000000002205040300000000 So i open a hex editor and search for:
      020000000001000039050108000000002001050600000000000800000402000000010200000000001000030500000000000400000403000000010343000000001102010100000000000400000001000000010431000000002103040300000000000400000403000000010563000000001204020200000000000400000001000000010651000000002205040300000000 but, it turns out that hex editor couldnt find that hex value in AMD7000Controller,

       
      most of the framebuffer exist in the AMD7000Controller, but some doesnt, If this is the case, then, where does clover find the original framebuffer to be patched? am i missing something?
       
       
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Latest Release on GitHub (July 2020) Updated to Clover r5120 Updated Lilu based kexts - Lilu, ALC, WEG Added AirportBrcmFixup.kext
        Various Tweaks over Last months The main branch in my github repo is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle seems to work on Sierra, HighSierra, Mojave and Catalina. There is an OpenCore branch in the repo as an alternative to Clover. This guide was developed for a Clover implementation. But the thread has evolved to include discussion of both Clover and Opencore for these systems: T460 and T470 family of ThinkPads.
       
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (the old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By geheim19
      I’m new here and hope a lot of answers to my questions to find.
       
×