Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,869 posts in this topic

Recommended Posts

@tluck Thank you for you work, now keyboard is working and I installed Sierra successfully

 

Another thing I have a problem with is the trackpoint, the middle button behaves weirdly - when I want to scroll in the browser and there is a link under the cursor it doesn't scroll, but instead it clicks the link. Also scrolling in a terminal window highlights the output. It seems like pressing the middle button also activates the left button

Share this post


Link to post
Share on other sites
Advertisement

Would the recommendation at this point be to wait until 10.12.1 before upgrading from 10.11.6 or is it fine to upgrade to 10.12.0 and then to .1 once that is available?

 

On the last attempt I was actually succesfull updating to 10.12.0 via app store but in the process of getting my wifi card to work under Sierra (BCM94352HMB AzureWave AW-CE123H) I must have screwed something up and destroyed the install.

Share this post


Link to post
Share on other sites

@roki303 - hmm how can you destroy the install? me i would install 10.12.0 and then turn on beta support and install the latest beta. the get extra custom kexts installed carefully to make sure the pre-linked kernel and kextcaches are created before it shuts down. 

 

@budkin - the middle mouse doesn't scroll for me. it does cut and paste. and before you ask I personally dont know how to make it do scroll. for me, i use 2 finger scroll on the track pad.

 

@galaretka - pretty weird - never seen that before - do have another mouse plugged in? or other mouse kexts?

Share this post


Link to post
Share on other sites

@tluck - I do not have another mouse and other kexts too. I can only say that the trackpoint and touchpad work perfectly (no lags). Very weird issue :(

Share this post


Link to post
Share on other sites

@tluck  i have enable nvidia quadro 1000m on my thinkpad w520 with complete dsdt someone create on this forum..good luck for me

Share this post


Link to post
Share on other sites

 

@cyndonia - 

 

after you

1) flash with modded BIOS.

2) install chip/card

 

Then i believe you will need 4 kexts - https://github.com/RehabMan

  • BrcmFirmwareRepo.kext
  • BrcmPatchRAM2.kext
  • FakePCIID.kext
  • FakePCIID_Broadcom_WiFi.kext

     

 

 

Thanks tluck! Unfortunately when I download these kexts I get a zip file with a folder and a make file; using said make file gives an error, as if it was missing some commands. Am I missing something? I cant see in the Readme file what I need to do for the make file to work...

Share this post


Link to post
Share on other sites

@cyndonia

The README for each of these repos has instructions and links to bitbucket location for compiled kexts. No need to make them.

 

Fake pci id set of kexts is to redefine the device to match osx devices

https://github.com/RehabMan/OS-X-Fake-PCI-ID/blob/master/README.md

 

This set is to load the firmware as some chips need dynamic load

https://github.com/RehabMan/OS-X-BrcmPatchRAM/blob/master/README.md

Share this post


Link to post
Share on other sites

@thubaggins @galaretka

 

what does not working mean? device not showing up? or wifi not connecting? etc.

 

which item/component in the new zip that is causing problems with wifi?

 

I can only guess CloverX64.efi? so if you roll back just the CloverX64.efi (and Bootx64.efi) files, then wifi works?

 

then, i would capture the Clover boot.log from when it works and compare it when it doesn't to figure what is different.

 

bdmesg can generate the log. (part of clover)

Share this post


Link to post
Share on other sites

@cyndonia

The README for each of these repos has instructions and links to bitbucket location for compiled kexts. No need to make them.

 

Fake pci id set of kexts is to redefine the device to match osx devices

https://github.com/RehabMan/OS-X-Fake-PCI-ID/blob/master/README.md

 

This set is to load the firmware as some chips need dynamic load

https://github.com/RehabMan/OS-X-BrcmPatchRAM/blob/master/README.md

 

Thank you :) works like a charm now! Thought I had to compile it myself.

Share this post


Link to post
Share on other sites

@tluck - Exactly I do not know :( Just installed clean El Capitan and there was no wifi icon (device not showing up). I was convinced that not plugged her well in laptop but after installing other packages "T420_UEFI-Clover-b3718_10.10_10.11_2016-08-20" everything again works perfectly :)

Share this post


Link to post
Share on other sites

if you want to help debug the new zip (clover?), reinstall the latest zip and check difference/clues in the clover boot.log

 

$ cd /Library/Logs/CloverEFI 

$ grep -i air boot.log
4:981  0:000  Found Airport Atheros at 0x1C0001, 0x0, DeviceID=0x002A
4:983  0:000  Start Airport Fix
4:983  0:000  AirportADR=713F add patch size=B0

 

and then see that Clover adds device ARPT in device EXP2 after method _PRT in the DSDT (not to be confused with APRT)

for me since its and atheros card i get this:

Device (ARPT)
                                                        {
                                                            Name (_ADR, Zero)  // _ADR: Address
                                                            Name (_SUN, 0x00000000)  // _SUN: Slot User Number
                                                            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                                                            {
                                                                Store (Package (0x0C)
                                                                    {
                                                                        "built-in",
                                                                        Buffer (0x01)
                                                                        {
                                                                             0x00                                             /* . */
                                                                        },
                                                                        "model",
                                                                        Buffer (0x10)
                                                                        {
                                                                            "Apple WiFi card"
                                                                        },
                                                                        "subsystem-id",
                                                                        Buffer (0x04)
                                                                        {
                                                                             0x8F, 0x00, 0x00, 0x00                           /* .... */
                                                                        },
                                                                        "subsystem-vendor-id",
                                                                        Buffer (0x04)
                                                                        {
                                                                             0x6B, 0x10, 0x00, 0x00                           /* k... */
                                                                        },
                                                                        "device_type",
                                                                        Buffer (0x08)
                                                                        {
                                                                            "Airport"
                                                                        },
                                                                        "empty",
                                                                        Zero
                                                                    }, Local0)
                                                                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                                                                Return (Local0)
                                                            }
                                                        }

Share this post


Link to post
Share on other sites

@tluck Thank you for you work, now keyboard is working and I installed Sierra successfully

 

Another thing I have a problem with is the trackpoint, the middle button behaves weirdly - when I want to scroll in the browser and there is a link under the cursor it doesn't scroll, but instead it clicks the link. Also scrolling in a terminal window highlights the output. It seems like pressing the middle button also activates the left button

 

I have the exact same problem. I think it was caused by using a newer version of VoodooPS2, as Sierra doesn't support older versions of this driver. I'm on an X220, but I encounter the same problem budkin describes. Hope there's a fix somewhere!

Share this post


Link to post
Share on other sites

@Styxie - what did the middle button used to do? i am not aware of new features in VoodooPS2 - just a different configuration of the options.

 

you can set this option to true to see if behaves the way you like it? that's the way it was set before (default)

 

/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/Info.plist

<key>FakeMiddleButton</key>

<true/>

Share this post


Link to post
Share on other sites

@tluck

 

Do Volume and brightness work under 10.12.1 now? Also how about the microphone mute button? I am planning to upgrade to 10.12.1 on my x220 now. Just want to make sure everything works as El Capitan. Thanks for the wonderful package.

 

Volume and brightness works since 10.12.1 beta 3

Share this post


Link to post
Share on other sites

@superkwn. i dont know about mic mute, but the other buttons on the PS2 keyboard for speaker mute and volume up/down seem to do what you expect. The Fn+Home/End does weird stuff. So for me, I have switched to using karibiner-elements to map stuff to the F1-F12 keys.

Share this post


Link to post
Share on other sites

@thubaggins @galaretka

 

what does not working mean? device not showing up? or wifi not connecting? etc.

 

which item/component in the new zip that is causing problems with wifi?

 

I can only guess CloverX64.efi? so if you roll back just the CloverX64.efi (and Bootx64.efi) files, then wifi works?

 

then, i would capture the Clover boot.log from when it works and compare it when it doesn't to figure what is different.

 

bdmesg can generate the log. (part of clover)

Yep, 20/10 .zip (wifi symbol show: no hardware installed) > roll back Bootx64.efi 18/9 .zip wifi is ok. Upgrade to 10.12.1 it's not working again (both 20/10 and 18/9 .zip).

thubaggins$ cd /Library/Logs/CloverEFI
thubaggins$ grep -i air boot.log
12:405  0:000  Found Airport BCM at 0x1C0001, 0x0
12:407  0:000  Start Airport Fix
12:407  0:000  AirportADR=6D8C add patch size=F8

:D

Share this post


Link to post
Share on other sites

Wow, the dedicated keys are working again! Except that the brightness decrease hotkey is also increasing the brightness.

 

Update: The trackpoint and it's buttons are not working anymore, but I hate it anyways.

Share this post


Link to post
Share on other sites

Wow, the dedicated keys are working again! Except that the brightness decrease hotkey is also increasing the brightness.

 

Update: The trackpoint and it's buttons are not working anymore, but I hate it anyways.

 

Try the <ScrLk> and <Pause> keys

Share this post


Link to post
Share on other sites

@thubaggins - maybe you should install Clover from here instead of my build to see if it works for your wifi card?

 

https://sourceforge.net/projects/cloverefiboot/files/Installer/Clover_v2.3k_r3859.zip/download

 

@somez - about half the time TrackPoint (and upper buttons) are inoperable at boot. but work after a sleep/wake cycle. I have no ideas why?

Share this post


Link to post
Share on other sites

@thubaggins - maybe you should install Clover from here instead of my build to see if it works for your wifi card?

 

https://sourceforge.net/projects/cloverefiboot/files/Installer/Clover_v2.3k_r3859.zip/download

 

@somez - about half the time TrackPoint (and upper buttons) are inoperable at boot. but work after a sleep/wake cycle. I have no ideas why?

 

Actually trifero's suggestion did the trick and the trackpoint is working now :)

Also, scroll lock is working and it's decreasing the brightness.

Share this post


Link to post
Share on other sites

Here is another update.

 

  • The scrolling with the touchpad is not as smooth as it was. On El Capitan it was almost as smooth as on a real Mac, now it's even worse.
  • Touchpad preferences pane is still blank.
  • Right-click by double-taping on the touchpad does not work.

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 tluck
      Lenovo T460 macOS with Clover Guide
      Latest Release on GitHub (February 2020) Updated to Clover r5104 Updated Lilu based kexts - Lilu, ALC, WEG Updated acidanthera VoodooPS2 kext v2.1.1 the older 1.9 to the Misc Folder as an option.
        Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 
      Note: I never got the GFX fully working on El Capitan. 
      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 Jancey
      I used this command: diskutil info disk0s2 | grep -i "Partition UUID" | rev | cut -d' ' -f 1 | rev

      But I accidentally removed the wrong disk and now my main windows drive is not appearing in the bootloader. I can't figure out how to get it back. I tried resetting my windows drive, but I kept getting an error. I also reset my mac and reinstalled Catalina.
    • By gengstapo
      @Hervé
       
      Im having similar issue with my HS setup, dell latitute 3480, i5-7200U
      Once the hdmi plugged in, the laptop display went blank, only could see the external tv
      But, when i put my laptop to sleep & wake up again, both screen got display (hdmi still connected)
      Even the hdmi could be plugged off & in (after sleep), the laptop display is fine
       
      What could be the culprit?
      Dell’s MacBook Pro IORegistry.zip
      config.plist.zip
    • By TomZanna
      Hi, I'm trying to install Mac Os Catalina on a HP 550-132NL.
      The system has:
      i7-6700
      RAM 12 GB
      GT 730
      LAN Realtek RTL8161
      ALC3863
       
      It passes the verbose phase but after the Apple logo goes away, it gets stuck on a grey screen and I can only move the pointer.
      Can I try to boot with the iGPU?
       
      origin.zip
      CLOVER_dGPU_USB_3.zip
    • By MaLd0n
      --Donations via PayPal--
      https://tinyurl.com/r2bvzm7
       
      --Original Topic--
      https://www.olarila.com/topic/6874-olarila-hackbook-lenovo-ideapad-s145-mojave-catalina-full-dsdt-patches/
       

       
      -Perfect HackBook, HDMI Audio/Video, Bluetooth, AirPlay, Sleep, Lid Sleep, Auto Sleep, Audio, etc!
      -Wifi card has been replaced with Dell DW1560!
      -I'm using a S145-15IWL Model with Intel Core i5 8265u / Intel UHD Graphics 620
      -Update bios/uefi to last version
       
      --Installation--
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Clover Folder--
      Just paste EFI folder inside EFI partition
      https://www.olarila.com/files/Clover.Folder/Lenovo IdeaPad S145.zip
      Notebooks with ELAN trackpad use it with my folder above
      IdeaPad S145 ELAN.zip
       
      Bluetooth Broadcom
      Bluetooth Broadcom.zip
       
      CPUFriend for i5-8265U
      CPUFriend i5-8265U.zip
       
      --Full DSDT Patches--
      -My DSDT
      DSDT Lenovo IdeaPad S145.zip
       
      This DSDT work on S145-14IWL, S145-15IWL, V14-IWL, V15-IWL models
      -Patches
      -FIX ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 11 ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PRWs -_DSMs -PNLF -BRIGHTNESS KEYS -I2C -NATIVE USB -ARPT -GFX0 -DTGP -kUSBCompanionIndex -io-device-location -FULL RENAMED DEVICES   --IGPU Patch--
      Video solution with HDMI Audio and Video
      <key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>AAPL,GfxYTile</key> <data> AQAAAA== </data> <key>AAPL,ig-platform-id</key> <data> CQClPg== </data> <key>device-id</key> <data> pT4AAA== </data> <key>enable-hdmi20</key> <data> AQAAAA== </data> <key>framebuffer-con0-alldata</key> <data> AAAIAAIAAACYAAAA </data> <key>framebuffer-con0-enable</key> <integer>1</integer> <key>framebuffer-con1-alldata</key> <data> AQEJAAAIAADHAQAA </data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key>framebuffer-con2-alldata</key> <data> AgYKAAAEAADHAQAA </data> <key>framebuffer-con2-enable</key> <integer>1</integer> <key>framebuffer-fbmem</key> <data> AACQAA== </data> <key>framebuffer-patch-enable</key> <data> AQAAAA== </data> <key>framebuffer-stolenmem</key> <data> AAAwAQ== </data> <key>framebuffer-unifiedmem</key> <data> AAAAgA== </data> <key>hda-gfx</key> <string>onboard-1</string> <key>model</key> <string>Intel Corporation, Cannon Point-LP Iris Plus Graphics 655</string> </dict>   --Native USB Fix for Notebooks - No Injector/Kext Required--
      https://www.olarila.com/topic/6878-guide-native-usb-fix-for-notebooks-no-injectorkext-required/
      https://www.olarila.com/topic/6181-guide-native-usb-fix-for-desktops-no-injectorkext-required-skylake/
       
       
      -ScreenShots

































      -Links
       
       
      Clover https://github.com/CloverHackyColor/CloverBootloader
      AirportBrcmFixup.kext https://github.com/acidanthera/AirportBrcmFixup
      AppleALC.kext https://github.com/acidanthera/AppleALC
      Brcm Bluetooth https://github.com/acidanthera/BrcmPatchRAM
      Lilu.kext https://github.com/acidanthera/Lilu
      SystemProfilerMemoryFixup.kext https://github.com/Goldfish64/SystemProfilerMemoryFixup
      VirtualSMC.kext https://github.com/acidanthera/VirtualSMC
      VoodooI2C.kext https://github.com/alexandred/VoodooI2C
      VoodooPS2Controller.kext https://github.com/acidanthera/VoodooPS2
      WhateverGreen.kext https://github.com/acidanthera/WhateverGreen
      MaciASL - https://github.com/acidanthera/MaciASL
      acpica - https://github.com/acpica/acpica
      AptioMemoryFix.efi https://github.com/acidanthera/AptioFixPkg
      ApfsDriverLoader.efi https://github.com/acidanthera/AppleSupportPkg
      HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true
      Hackintool https://github.com/headkaze/Hackintool
       
      -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, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
       
      We're all here to have fun and learn from each other!
×