Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,138 posts in this topic

Recommended Posts

@FungFlex - what is your T420 model? do you have high-res or low-res monitor? if you have low-res don't use DualLink=1. which dsdt are using. one has Dual Link on and one doesn't.

Share this post


Link to post
Share on other sites
Advertisement

@tluck-

I'm creating the USB for the final Mavericks release using your latest guide on post #486, but the USB doesn't seem to be bootable...

Am I missing something?

 

Thanks,

aj

Share this post


Link to post
Share on other sites

{censored}. sorry all. I completely forgot to mention (and update the zip file) that I replaced VboxHFS-64.efi with HFSPlus.efi from here:

 

https://github.com/STLVNUB/CloverGrower/blob/master/Files/HFSPlus/x64/HFSPlus.efi

 

View Raw

 

as someone pointed out it seems to be able to read the install bundles better. and it does!

Share this post


Link to post
Share on other sites

Hi, the link for the bios does not work, it's maxed out. Can you attach it here?

Thanks,

AJ

 

the link appears to be broken again. could someone post a new one? thanks.

 

edit: nevermind, I found it had been reposted on the original forum in a different reply: http://forums.mydigitallife.info/archive/index.php/t-5866-p-120.html

Edited by Manwe150

Share this post


Link to post
Share on other sites

i can't get any osx to work with my t420 (type 4180-b95 has nvs 4200m) and I'm not sure where to start.

 

ive tired lion, mountain lion and mavericks. i preferably want mavericks but will start where i need to, i even tried pulling the HD out of a macbook and booting that

 

currently when i try to boot the usb installer for any version of the os i made (which worked on a real mac at least 10.7 and 10.9 did) it does what it did in this video

My t420 Video also if i back out of that black screen wight eh small dash if it lets me it goes back to clover but it is frozen most of the time

when i try to boot the lion from a real mac i get this version of Mac OS X is not supported on this platform

reason: 4180b95

but when i boot the recovery partition it goes to  a white screen with a beach ball after verbose mode but if i try with the -x flag it doesn't even try to boot it goes to saying i can't find the mach_kernel
id obviously prefer a fresh install by this or another guide but i seem to not have any luck with it


idea's?

thanks

Share this post


Link to post
Share on other sites

@anarchy99

 

i would turn off NVS for now.

 

Note: a vanilla mac installer needs FakeSMC - same for the HD from a real mac. these will not boot up unless you inject FakeSMC (and  VoodooPS2controller unless you have USB keyboard/mouse).

 

are you using the clover config from my zip for your EFI? what EFI drivers do you have installed. it acts like its not even reading the USB? canyou may need HFSplus.efi to boot from recoveryHD. 

Share this post


Link to post
Share on other sites

Using your clover config I was able to boot and install Mavericks YAY!!

I did have to disable the discete graphics :-(

So far audio seems to work, it sees ethernet but doesn't text any cabel and no wifi

 

I installed a Dell 1390 wireless card that I stripped out of an old hackintosh into the bottom mini PCI-E slots and it doesn't seem to detect at all

does anyone know how to get that working?

I read somewhere that someone said it was for msata and USB only, but the t420 hardware maintenance manual refers to it as 1070 PCI Express mini card for wireless WAN

If I could add rather use that  bottom slot then have to buy a mini PCI half card or whatever it's called for under the keyboard

@anarchy99

 

i would turn off NVS for now.

 

Note: a vanilla mac installer needs FakeSMC - same for the HD from a real mac. these will not boot up unless you inject FakeSMC (and  VoodooPS2controller unless you have USB keyboard/mouse).

 

are you using the clover config from my zip for your EFI? what EFI drivers do you have installed. it acts like its not even reading the USB? canyou may need HFSplus.efi to boot from recoveryHD. 

Share this post


Link to post
Share on other sites

@anarch99 - you will get ethernet if you installed the AppleIntelE1000e kext ... but wifi AFAIK is only works with modded bios and then you replace the intel wifi with the mini express card. the  bottom slots will not work for wifi. for wifi, i use a USB wifi.

Share this post


Link to post
Share on other sites

Ok all, well after some tricky issues I am back on Mavericks and able to boot but in only one of two scenarios:

 

1) Boot directly to Mac partition on UEFI Clover boot loader and deal with quadrant display issue

 

2) Boot off old formatted drive with Clover r1625 which fixes display and breaks sound

 

I am having a hell of a hard time customizing things. After I have installed Clover and I restart the computer should I still see the ESP partition? This consistently disappears the moment I restart my computer.  Additionally if I try to select the EFI partition on the Clover boot screen it just flashes.

 

Back on Mountain Lion my startup would be selecting EFI than my Mac drive and it worked great but no luck.

 

Finally, I’ve seen totally mixed answers on where I should find my product ID.  Using various methods it seems like my DisplayProductID is 738 but I’m not even sure that is the right number I should be renaming the OEM folder too? I've included below stuff I pull from when I did the ioreg -l:

"IODisplayEDID" = <00ffffffffffff0030e4e2020000000000140103801f11780a43459759578e28215054000000010101010101010101010101010101018025408060841a303020350036ae10000019000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fe004c503134305744322d544c42310038

"DisplayProductID" = 738
"DisplayVendorID" = 12516
"IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@0/display0/AppleBacklightDisplay-30e4-2e2"

To answer TLuck’s question, yes low res model with i5 2.49ghz

Share this post


Link to post
Share on other sites

@FungFlex - 

 

what DSDT are you using? if you are booting using the EFI i posted - there are 2 configs and matching DSDTs. since you are low-res, you should be using the Low-Res 4236Y33 version.  

 

the EDID shown above is consistent with the the High-Res version 1600x900 LCD

 

the EFI partition (ESP) is automatically mounted by a clover utility. this is convenience for you.

Share this post


Link to post
Share on other sites

@FungFlex - 

 

what DSDT are you using? if you are booting using the EFI i posted - there are 2 configs and matching DSDTs. since you are low-res, you should be using the Low-Res 4236Y33 version.  

 

the EDID shown above is consistent with the the High-Res version 1600x900 LCD

 

the EFI partition (ESP) is automatically mounted by a clover utility. this is convenience for you.

I am using the 33 version as I believe I have the low-res version. The EDID I ran was done while I was stuck in quadrant mode if that maybe explains why it would show the 1600x900 one. Not sure how to confirm to be honest, this computer barely ever ran windows :-)

 

I guess my confusion is, when I install Clover the parition named "EFI" appears (although only one time was it named "ESP") when that happens I drag your zip file contents into the Clover/Boot folders and when I restart the computer that "EFI" partition is gone. Is this normal?

Also, on the clover boot menu, if everything is installed correctly what do you select when booting up?

 

Finally, the folder I am supposed to rename is "4236Y33" correct? The question is, how do I know what to rename it properly? Where do I find the appropriate string?

Share this post


Link to post
Share on other sites

@FungFlex - 

 

use the console app to look at the clover boot.log - it will show you the productID.  or use the Clover Options Menu to get the Product ID - forget where exactly. thats the name of your OEM folder. should match whats on your label on the bottom of system.

 

there is a dsdt.aml in /EFI/Clover/ACPI/patched - this is for high-res - same as the one in OEM/4236AT9/ACPI/patched. thats why you are getting 4 panels. this dsdt has duallink=1 and injects a 1600x900 EDID. replace it with the low-res one. 

 

when you rename OEM/4326Y33 to match your ID, it will use the stuff in this folder vs the top level. 

 

the Installer mounts the ESP on /Volumes/ESP. there is an option to have clover utility mount the ESP upon boot up. it mount it at /Volumes/EFI (these are installed optionally by the Clover .pkg installer. 

 

when you boot, select your OSX partition. 

Share this post


Link to post
Share on other sites

So happy I could kiss you! Although I'm probably not your type ;-)

 

Everything is working perfectly, I'm running Mavericks and everything is fully functional (sound and display! hooray!)  Only outstanding question is previously on 10.8 I booted with Kogen's custom clover build and it must have injected a different trackpad kext as I was previously able to do some 3 fingered gestures for mission control and switching between spaces. These seem to be broken, is that a 10.9 thing or should I pull a kext from his bundle?

 

Having some minor issues with iMessage but I haven't done anywhere near enough troubleshooting on my end to diagnose yet.

Share this post


Link to post
Share on other sites

Following the instructions for 10.9 install from post #486:

 

 

 

  • for 10.9 install USB
    1. Download from App Store (puts in /Applications
    2. Partition 8GB USB as GUID (use option menu to) - title the partition USB
    3. run this command:
      sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Mavericks.app —nointeraction
       
    4. manually mount ESP of USB and copy the clover EFI folder onto USB ESP (assuming the USB is disk2)
      mkdir /Volumes/ESP-USB
      mount -t msdos /dev/disk2s1 /Volumes/ESP-USB
       
    5. rename OEM OEM.NU for USB installer so it will use top level config.plist that will inject kexts
    6. Boot and install OSX!

 

When I boot into the installer I get the 4 quadrant screen deal. Searching around this same topic I saw to go into config.plist (in this case top-level) and set Dual Link to 0 which I have done but still get the split screens. I've tried booting into safe mode but it only causes an error and reboots before it even gets to the installer GUI. What else can I adjust? I'll try installing anyway since the fix will need to happen when I am done with the vanilla install as well.

 

Thanks,

 

Anthony

 

machine type - 4179W1F

Share this post


Link to post
Share on other sites

Following the instructions for 10.9 install from post #486:

 

 

When I boot into the installer I get the 4 quadrant screen deal. Searching around this same topic I saw to go into config.plist (in this case top-level) and set Dual Link to 0 which I have done but still get the split screens. I've tried booting into safe mode but it only causes an error and reboots before it even gets to the installer GUI. What else can I adjust? I'll try installing anyway since the fix will need to happen when I am done with the vanilla install as well.

 

Thanks,

 

Anthony

 

machine type - 4179W1F

 

For me the full install happened in "quadrant" mode. It wasn't until install was fully done and I installed clover and fixed the OEM folder that quadrant display was fixed. 

Share this post


Link to post
Share on other sites

I guess i need to augment the instructions for better handling of low-res LCD configurations. for non 1600x900 LCD, to fix this quadrant thing on your USB installer and HD (until you rename the OEM folder to say 4179W1F for example), copy the generic (low-res) dsdt.aml into use on the top level. When there is folder in OEM that matches your product ID, clover will that instead. the

 

cd to your mounted ESP location 

cp EFI/CLOVER/OEM/4236Y33/ACPI/patched/dsdt.aml EFI/CLOVER/ACPI/patched/dsdt.aml

Share this post


Link to post
Share on other sites

i get stuck

 

stuck on IOBluetoothHCIController Missing Bluetooth Controller Transport

 

upgrade on 10.9

Did you try either disabling Bluetooth in the BIOS, or in my case I use a USB bluetooth adapter as my model didn't have it built in, I simply removed it during install.

Share this post


Link to post
Share on other sites

I guess i need to augment the instructions for better handling of low-res LCD configurations. for non 1600x900 LCD, to fix this quadrant thing on your USB installer and HD (until you rename the OEM folder to say 4179W1F for example), copy the generic (low-res) dsdt.aml into use on the top level. When there is folder in OEM that matches your product ID, clover will that instead. the

 

cd to your mounted ESP location 

cp EFI/CLOVER/OEM/4236Y33/ACPI/patched/dsdt.aml EFI/CLOVER/ACPI/patched/dsdt.aml

 

Thanks! Got myself booted up with sound and network and best of all no quadrants. Haven't tried much else yet.

Share this post


Link to post
Share on other sites

Did you try either disabling Bluetooth in the BIOS, or in my case I use a USB bluetooth adapter as my model didn't have it built in, I simply removed it during install.

Yes...im already disabling bluetooth in BIOS.

Share this post


Link to post
Share on other sites

Updated...
Finally work with 10.9.. :) thanks tulk..for your tutorial.
 
@Tulk, how to read OEM/4xxxx folder in ESP in 10.9 ? cause if im rename OEM.NU to OEM, the configuration clover will read in directory OEM/config.plist and make not boot properly ( stuck on IOBluetooth )

iMessage, iCloud etc using apple ID, not work... :( how to solve this problem ?

 

Updated this morning Oct 31st

 

iMessage, iCloud etch using apple ID work !!!

To do this:

 

1 Remove all Network interfaces

2 Remove /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

3 Reboot

4 Readd your Network Interface.

Share this post


Link to post
Share on other sites

the point of the OEM folder is to have a configuration for the HD versus USB. i use the top-level for USB installer - set to Inject Kexts. I make the assumption you will put the custom kexts in /S/L/E and not need to inject them. So If you have a high-res LCD rename 4236AT9 to match your ProductID.

 

if you have low-res LCD, then rename 4236Y33 to match your ProductID.

Share this post


Link to post
Share on other sites

Thanks to Kogen Mantis, Tluck et al. I now have a fully functional 10.8.5 install. No bluetooth but replaced the wifi card. I have never been happier. Thanks

Share this post


Link to post
Share on other sites

bluetooth should be fixable by either replacing or editing:

 

BroadcomBluetoothHostControllerUSBTransport.kext (v4.1.7 with patched Info.plist from 10.8.5) - adds ProductID 8575 to make BT work! Put/replace one in /S/L/E/IOBluetoothFamily.kext/Contents/PlugIns

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
       
×