Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,718 posts in this topic

Recommended Posts

the install order does NOT matter all that much. if you just installed windows natively then i think you end up with the microsoft version of  /EFI/BOOT/BOOTx64.efi but then clover replaces that (BOOTx64.efi is a copy of CLOVERx64.efi). you can also remove that entry from the boot list. or add it specifically.

 

anyway you can get the MS boot loader from the windows install ...

post-954945-0-72289700-1388684196_thumb.png

 

my efi folder looks like this:

post-954945-0-66566900-1388684223_thumb.png

 

I like it this way so that they are independent - clover does a nice job of listing the windows boot option and the rest is pure MS. 

 

.aml is the compiled assembly file and .dsl files are the decompiled source. the aml files are used at boot.

 

have fun.

Share this post


Link to post
Share on other sites
Advertisement

First and foremost happy new year! I hope everyone had a good time. I'm happy to see the progress everyone's made on this so far. I've read through the new posts and it looks like there have been some edits suggested for tluck's dsdt to fix hardware volume buttons. I also generated the ssdt from the script and everything is going well so far. Just a couple questions --- @tluck, does your new pack contain Manwe's dsdt fixes, and do those changes fix the hardware buttons? Also, has anyone been able to fix the logging in to the App Store/iBook Store issues?

Share this post


Link to post
Share on other sites

@honeywell - 

 

yes the new pack does contain a new DSDT. it contains manwe150's recent updates etc. so it does fix the built-in speaker loss after sleep problem - meaning it stays working after sleep! Sadly for me, the attempts/fixes to address UEFI problems are not effective but these are included nonetheless. Note: I boot clover from my MBR USB (instead of via UEFI from my HD) and have zero issues -- hw buttons work, no freeze/hangs, sleep/wake good, shutdown good,  volume levels stay in sync, mute works and does not hose the system. now with updated SSDT, its nearly perfect! 

 

oh.. what is the issue you have with App store?  I am not familiar with that.

Share this post


Link to post
Share on other sites

My solution of speaker no sound after sleep. (I can only use the Fn key and the power button to activate my W520. )

 

        Method (_L1D, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
        {
            Store (B1B2 (\_SB.PCI0.LPC.EC.HWK0, \_SB.PCI0.LPC.EC.HWK1), Local0)
            Store (Local0, RRBF)
            Sleep (0x0A)
            If (And (Local0, 0x02)) {}
            If (And (Local0, 0x04))
            {
                Notify (\_SB.LID, 0x02)
                Notify (\_SB.PCI0.HDEF, 0x02)  // Add this line
            }
            If (And (Local0, 0x08))
            {
                Notify (\_SB.SLPB, 0x02)
                Notify (\_SB.PCI0.HDEF, 0x02)  // Add this line
            }
            If (And (Local0, 0x10))
            {
                Notify (\_SB.SLPB, 0x02)
                Notify (\_SB.PCI0.HDEF, 0x02)  // Add this line
            }
            If (And (Local0, 0x40)) {}
            If (And (Local0, 0x80))
            {
                Notify (\_SB.SLPB, 0x02)
                Notify (\_SB.PCI0.HDEF, 0x02)  // Add this line
            }
        }
 

Edited by zhangqq

Share this post


Link to post
Share on other sites

@zhangqq - thanks for sharing your method - you may want to look at the dsdt in the zip which fixes the speaker (and other stuff) by _WAK fixes.

 

mavericks does not seem to supply the right sleep state via arg0 in _WAK - but we can provide it by getting it from what was set in _PTS and make sure sure arg0 is properly set in _WAK.

Share this post


Link to post
Share on other sites

Hey guys. So tluck's new pack is working great, but two things still don't work for me: sleep and mute. When I try to put my system to sleep, the screen goes blank and power button light flashes rapidly but the system never sleeps (and therefore is unable to wake). The other thing is mute - whenever I hit the mute button, my system freezes and I have to do a hard reset. Have there been any fixes for these yet? 

Share this post


Link to post
Share on other sites

@honeywell - Yup these are some of the UEFI issues that have plagued us all along. Booting from an MBR formatted USB stick has been rock-solid for me over the last few months.  Note: I will update the kext pack shortly with Rehabman's recent updates.

Share this post


Link to post
Share on other sites

Hey guys,

Still having bad luck to install Clover on MBR. Using 10.8 with chameleon now.

Can someone give a clue where I might be wrong.

 

#1. I create two partition in USB drive with MBR partition table. 1 - 200MB msdos, 2 - what's remaining for the image.

#2. I download Clover_v2k_r2428 and install it to the 200MB partition changing only a single thing - "Install boot0af in MBR"

#3. I copy EFI directory from tluck's provided ZIP and overwrite everything inside the 200mb partition.

#4  I "install" os x using this command to the bigger partition: sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Mavericks.app —nointeraction

#5 I get "b1f init error". I managed to to clover once (randomly playing but can recreate this build). Even when I got there Mac OS installer wouldn't boot throwing plenty of errors this SMCreaderror.

 

Anyone can shed a light where I'm wrong.

 

Thanks!!

Share this post


Link to post
Share on other sites

i have not done an MBR based installer using the "mavericks method". but you may need to install clover after you create the USB content on the partition so it does not wipe out boot loader stuff clover puts there.

Share this post


Link to post
Share on other sites

Hi,

 

I'm trying to install this on W520. I have a few beginner questions:

1. What should I use for the 1920x1080 panel?

2. Should I use UEFI or MBR? Which one is more reliable? I have a separate hard drive for OS X, so I don't need to dual-boot Win 7, I can just select from BIOS / F12.

 

Share this post


Link to post
Share on other sites

@zsero -

if you take 1366x768 configuration - these do not have the custom EDID for 1600x900 - these might be best for your panel.  you will need to change/set DualLink=1 

 

i would start with UEFI  - i.e. create a GPT disk and install clover in the ESP. if you do have issues, the USB using MBR may be a workaround for the T520 too. 

 

clover does a nice job handling multiple boot environments whether on the same disk or separate.

 

just my opinions!

Share this post


Link to post
Share on other sites

@tluck

last pack is composed with manual kext  _install_SLE.bash script?

i saw ssdtPRGen-clover.command

but where is manual kext  _install_SLE.bash script?

 in fact i don't understand manual and script (auto)?  :blush:

:)

Share this post


Link to post
Share on other sites

whoops look i renamed the script to _kext-install-SLE.bash

it is in the kext/10.9 folder. 

 

you run like this:

 

cd ~/Downloads/T420/EFI/CLOVER/kexts/10.9 

./_kexts-install-SLE.bash

 

the script is simple -  looks for all the kexts in current folder and moves anything out of /S/L/E to /Extra/SLE-orig and then copies the kext to /S/L/E.

 

the idea is/was to aid in putting the files in the right folders in /System/Library/Extensions - especially the Bluetooth and eternet which are Plugins. 

 

The Kext Utility.app is good at installing the full kext such as FakeSMC or VoodooPS2...  or installing other misc 3rd party or upgrade kexts etc.

Share this post


Link to post
Share on other sites

whoops look i renamed the script to _kext-install-SLE.bash

it is in the kext/10.9 folder.

 

the idea is/was to aid in putting the files in the right folders in /System/Library/Extensions - especially the Bluetooth and eternet which are Plugins. 

 

The Kext Utility.app is good at installing the full kext such as FakeSMC or VoodooPS2...  or installing other misc 3rd party or upgrade kexts etc.

Oups i did not pay attention for this

i only update 10.8.x HD not 10.9.x

great

for Bluetooth and eternet plugs I used to use a symbolic link

Your solution is better cos it takes permissions :)

thanks for this great extra ;)

Share this post


Link to post
Share on other sites

Hello

 

So, I decided to give 10.9 / UEFI a go on my Thinkpad.  It's an x220 (i5-2520M @ 2.5GHz).  Thanks to this thread in general, and to tluck's exceptionally helpful guide, I've got as far as a working 10.9 install using clover and the "generic" config.plist.  Everything (that's expected to) appears to work.  So far, so good.

 

However, going the "step further" to booting off the hard disk isn't going anywhere.  I've installed the latest Clover (r2482) and figured I'd give it a shot with tluck's T420 set.

 

Now, my x220 has a 1366x768 screen, so I renamed OEM/ProductID.1366x768 to OEM/4290CE3, slapped the various kexts into S/L/E using _kext-install-SLE.bash, created and installed my custom ssdt, synced, pulled the USB sticks, rebooted, and prayed.

 

Startup got as far as the Apple logo with spinning indicator, but crashed / hung with a black screen at the point windowserver was trying to come up.  Booting with -v got me no further, it was crashing / hanging at the point it stopped showing me anything.  Rebooting with the install stic's Clover was fine, nothing particularly useful in /var/log *except* a pile of cryptic WindowServer crashlogs.

 

So.  Figured it was either an extension or something in config.plist (dsdt.aml is identical between the "stock" and "OEM" setups, and I'd tried without my ssdt.aml).  Eventually, it was to do with the "Graphics" section in config.plist.

 

"Generic" config.plist

	<key>Graphics</key>
	<dict>
		<key>DualLink</key>
		<string>0</string>
		<key>Inject</key>
		<dict>
			<key>Intel</key>
			<true/>
		</dict>
	</dict>

from config.plist for the biggerer, betterer screen (OEM/ProductID.1600x900/config.plist)

	<key>Graphics</key>
	<dict>
		<key>Comment</key>
		<string>LCD 1600x900</string>
		<key>CustomEDID</key>
		<data>
		AP///////wAw5OICAAAAAAEUAQOAHxF46jOFmVZVkScXUFQAAAABAQEBAQEB
		AQEBAQEBAQEBgCVAgGCEGjAwIDUANq4QAAAYQB9AgGCEGjAwIDUANq4QAAAY
		AAAA/gBMZW5vdm8KICAgICAgAAAA/gAxNjAweDkwMAogICAgAMc=
		</data>
		<key>DualLink</key>
		<string>1</string>
		<key>Inject</key>
		<dict>
			<key>Intel</key>
			<true/>
		</dict>
		<key>InjectEDID</key>
		<true/>
	</dict>

And finally, from OEM/ProductID.1366x768/config.plist

	<key>Graphics</key>
	<dict>
		<key>Comment</key>
		<string>LCD 1366x768</string>
		<key>CustomEDID</key>
		<data>
		</data>
		<key>DualLink</key>
		<string>0</string>
		<key>Inject</key>
		<dict>
			<key>Intel</key>
			<true/>
		</dict>
		<key>InjectEDID</key>
		<true/>
	</dict>

Oh dear.  We appear to be trying to inject a null EDID.  Removing the CustomEDID and InjectEDID entries gets me booting.

 

I'm not sure if this is a complete fix.  I had troubles copying / merging the S/L/Displays/Overrides stuff when I was trying a 10.8 install, (and, in fact, haven't done it at all on this install) so I might be missing something obvious.  But a null EDID screams "trouble" to me.  Any idea how I'd go about generating a "proper" one?

 

Simon

Share this post


Link to post
Share on other sites

Strictly speaking, you shouldn't need one. I've never had issues with my monitor returning the wrong or invalid EDID, so I never needed to inject a patched one.

 

Never use a DSDT from a system that doesn't match your hardware (this thread is for any T420). You'll need to build your own (or find one for x220) from the list of DSDT patches (I made a thread for T420 a while back which you can try working from). You can get fairly close by using a dsdt from a similar system, but the random failure cases are unpredictable and generally fatal.

Share this post


Link to post
Share on other sites

@tufty

 

- sorry about the bogus entries in the low-res config.plist. i have fixed that and reposted the bundle

 

The Display overrides  I include, match a few known T420 monitor devices. especially the T420 1600x900 LCD that has a real EDID override as the built-in EDID not valid). As Manewe150 says, you may not need to replace your EDID unless you have problems. 

Certainly, you can take the Display files and change the Vendor/product IDs to match your LCD if you like. - just remove the EDID inside.

 

@T420 Users

 

I was waiting to post a new bundle as soon as 10.9.2 is out, but i have updated the bundle now with some kext and Clover updates....

 

 

Clover UEFI on T420 Guide

 

20-Jan-2014

  • updated to Clover b2482
  • cleaned up config.plist for low-res monitor
  • updated RehabMan's kexts - FakeSMC, VoodooPS2Controller, ACPIBatteryManager

Share this post


Link to post
Share on other sites

hello and happy new year to all ,

 

@tufty i have the same laptop with 1366x768 screen (not ips), you can try or view inside my dsdt which has my EDID

here i upload my dsdt and ssdt look at them and see my previous posts generally for this laptop, i use clover with bios mbr not uefi and works good.

 

 
has a lot of info too

Share this post


Link to post
Share on other sites

@tufty i have the same laptop with 1366x768 screen (not ips), you can try or view inside my dsdt which has my EDID

here i upload my dsdt and ssdt look at them and see my previous posts generally for this laptop, i use clover with bios mbr not uefi and works good.

Thanks

 

Do you happen to know what patches you applied to your DSDT?

 

Simon

Share this post


Link to post
Share on other sites

i dont remember all the edits but i have the latest bios see thinkpads forum link last post... the best way is to update bios to this version then take your vanilla dsdt from windows and text compare it with mine , you'll see all the edits, a summary is irq edits for RTC , HPET etc.. battery edits for Rehabman kexts , IGPU edits for hd 3000 agpm power management with EDID , and all fixes compared to tluck dsdt , i think its the best dsdt for x220 :) you can find and all works ok , try with chameleon too cause in general i found that it works a little better with this particular laptop ( in general if you search you can find all the info you need for x220 hackintosh in all those threads (i posted a lot of experimental posts too) , you need time to read and understand what does what and to know what you are doing )

Share this post


Link to post
Share on other sites

i dont remember all the edits but i have the latest bios see thinkpads forum link last post... the best way is to update bios to this version then take your vanilla dsdt from windows and text compare it with mine , you'll see all the edits, a summary is irq edits for RTC , HPET etc.. battery edits for Rehabman kexts , IGPU edits for hd 3000 agpm power management with EDID , and all fixes compared to tluck dsdt , i think its the best dsdt for x220 :) you can find and all works ok , try with chameleon too cause in general i found that it works a little better with this particular laptop ( in general if you search you can find all the info you need for x220 hackintosh in all those threads (i posted a lot of experimental posts too) , you need time to read and understand what does what and to know what you are doing )

 

Windows?  Ain't no steenkin' Windows here :)  ... which is causing me a slight headache, actually; I'm going to need to de-whitelist my BIOS and the only patched version of 1.39 I can find (*ahem* yours *ahem*) requires Windows to update.

 

Your dsdt works impeccably on my machine, though.  Cheers

 

Simon

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 e97
      HackPro X99 System
      Until Apple blesses us with the MacPro7,1 – this is for those that require tools to do their work.
      An appropriate bicycle for the mind.
       
       

       

       

       
      Specs:
       
      CPU: Intel Xeon E5-2678 v3 (12 core, 2.5 GHz / 3.3 GHz Boost)
      Motherboard: SZMZ X99-8D3
      RAM: 16GB DDR3-14900R 1866Mhz ECC RDIMM modules
      GPU: Radeon RX Vega 64 8GB
      Storage: Phison E12 m.2 NVMe PCI-E 3.0 x4 SSD
      Water blocks: BARROW CPU + GPU
      Radiator: 360mm x 25mm slim
      Pump: DDC
       
      Case dimensions: 431 mm x 342 mm x 177 mm
       
       
       
      XCPM OFF
       

       
      XCPM ON
       

       
      OpenCL
       

       
       
       
      iMacPro1,1
       

       
       

       
      OpenCL
       

       
       
      NVMe
       

       
       
      Win 10 x64 v1809
       
      AIDA64 - Cache & Memory
       

       
       
      Download:  https://github.com/xe97/X99-8D3-Clover
       
       
       
       
       
      Anyone else I forgot
       
       
    • By digivish
      Hi All - quick thing - I have a NUC 8i7BEH with 32GB RAM and 2 x 1TB SSD drives. Each drive has its own OS - Windows 10 and Catalina 10.15.
       
      Clover works well - Catalina Boots, so does Windows.
      Catalina - has sound over HDMI (to my monitor's speakers)
      Windows - no audio device found - It does show Realtek and Intel Display Drivers - but the speaker has a red"x" and in Devices, there is no entry for Microphone Array under Audio Input/Output. It does, however, show Intel display over the HDMI - but actually no sound.
       
      I have tried reinstalling Realtek drivers - now here's the thing...when it installs, it first uninstalls existing Realtek drivers - at this stage (and it's important) the sound starts working - as if uninstalling did the trick. As part of the installing, I have to reboot and upon reboot, it actually reinstalls the Realtek drivers. After that, I'm back to square 1. Unsure if it's the config.plist or boot args in clover. But something with Clover for sure.
       
      I have tested this by removing the Mac Drive with clover and just booting directly to Windows 10 bootloader and everything works as it should, I have sound over HDMI and the audio device shows. Just not when I boot with Clover.
       
      has anyone experienced this and have thoughts or pointers.
       
      Thanks a ton!
    • By MaLd0n
      ---TUTORIAL---

      https://olarila.com/forum/viewtopic.php?f=50&t=8685
       
      --Original Post--
       
      https://olarila.com/forum/viewtopic.php?f=97&t=11237
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      https://olarila.com/files/Clover.Folder/EFI CLOVER Z390 DESIGNARE.zip
      *Use this folder with FULL DSDT PATCHED
       
      ---OPENCORE FOLDER---
      https://olarila.com/forum/viewtopic.php?f=28&amp;t=10578
      *Use this folder with FULL DSDT PATCHED
       
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app
       
       
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      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!
    • By kelvin henrique
      Faz pouco menos de uma semana que estou tentando dar boot usando um pendrive no lenovo g40-80, mas todas as vezes que tento algum kernel panic diferente acontece, não entendo tanto de hackintosh mas pelo que li tanto aqui no forum quanto em outros sites me fizeram constatar que talvez o erro seja falta de kexts, alguem possui os kexts para esse notebook ??
       
      primeiro erro que tive era porque estava usando um pendrive de 8gb, o recomendado é 16 no minimo pelo oque vi, fui la, comprei um de 32, mudou o kernel panic mas era só um dos erros resolvidos.
       
      especificações dele:
      Processador: Intel Core i3-5005U
      Grafico: Intel HD Graphics 5500
      originalmente ele vinha com um hd de 500gb e 4gb de ram, mudei pra um ssd de 128gb e 8 gb de ram
       
      ja percebi que unico problema desse notebook é que a placa de wifi não vai funcionar, mas quanto a isso não tem problema pois se conseguir mesmo instalar o mac eu comprou outra
    • By ludufre
      Installing macOS Catalina on Lenovo ThinkPad L440

       
      There are two version of this laptop:
      - 20AS = Chipset QM87, without Express Card (mine).
      - 20AT = Chipset HM86, with Express Card.
      I strong believe is the same thing...
       

      Changelog:
       
      11/08/2019 20:30h GMT-0
      - Added instructions to swap Command with Option keys in VoodooPS2Controller.kext.
      - Added additional FileVault 2 UEFI drivers be more practical.
       
      10/30/2019 01:42h GMT-0
      - Added 10.15.1 update instructions.
      - Replaced AppleALC.kext with VoodooHDA.kext
      - No more issues after sleep or misconfiguration with jack sense.
       
      10/29/2019 18:18h GMT-0
      - Replaced the config.plist with AppleIntelCPUPM = true.
       
      10/27/2019 05:37h GMT-0
      - Replaced the DW1560 wireless card with BCM94360CS2.
       
      10/20/2019 20:47h GMT-0
      - Removed AppleBacklightFixup.kext.
      - WhateaverGreen now implements backlight since 1.2.5.
       
      10/20/2019 18:10h GMT-0
      - First version.
       
      What works and what does not
       
      - Processor: Intel Core i5-4300M ->  Work. All SpeedStep stages.
      - Video Card: Intel HD4600 ->  Work. QE/CI and Metal.
      - Chipset: Intel QM87 ->  Work.
      - Mini DisplayPort ->  Work. But no audio, yet.
      - VGA ->  Not work. Normal.
      - Audio: ALC292 ->  Work.
      - WiFi/Bluetooth: Intel AC 7260 ->  Not work. Replaced with DW1560 BCM94360CS2 (need whitelist removal).
      - Ethernet: Intel I217-LM ->  Work.
      - Card Reader: Realtek RTS5227 ->  Not work.
      - Keyboard and Touchpad ->  Work.
      - Webcam ->  Work.
      - Fingerprint Reader ->  Not work. Normal.
      - USB3.0 ->  Work.
      - Sleep ->  Work.
      - Airdrop, Handoff and Continuity ->  Work after replaced wireless.
      - Instant Hotspot ->  Not work.
       
       
      Extras
       
      - FullHD 1920x1080 display upgrade: 
      Replaced with AU Optronics B140HAN01.1 30pin eDP (B140HAN01.2 and B140HAN01.3 also compatible).
      Apparently same screen as Dell Latitude E6440, E7440, Lenovo Ideapad U430 and E129.
       
      - CPU upgrade:
      Replaced the stock Intel Core i5 4300M 2.6Ghz (3.3Ghz turbo) 6M cache with Intel Core i7 4700MQ 2.4Ghz (3.4Ghz turbo) 6MB.
      I initially had problems with overheating. The processor ran at full load above 90 degrees.
      After using a quality thermal paste I can work between 70 and 80 degrees.
      Acceptable taking into consideration that the new processor has 47TDP versus 37TDP which is recommended.
      I also had no problem consuming the battery while charging. The original 65W source seems to have figured out.
       
      - Touchpad upgrade:
      Replaced the stock with T460 touchpad.
      This is serious: you have to do it! It should be stock. Touchpad with precision and absurd quality!
      Just do it!
       
      - RAM upgrade:
      16GB (2x8GB). No mistery here. Just upgade.
       
      - Wireless upgrade:
      Previously I have the DW1560 working almost perfectly, now replaced with BCM94360CS2 that is full native supported. 
      More info below.
       
      Todo
       
      - Make DP audio work.
      - Make Card Reader work.
      - Make trackpad appear in System Preferences
      - Make Instant Hotspot work.
       
       
      What you need to install

      - Running install of macOS
      - One USB flash drive of 8GB or bigger
      - macOS Catalina install app
      - Clover EFI
      - Clover Configurator
      - Some KEXTs and SSDT patches


      How create create the install flash drive
       
      Prepare install flash drive

      Format the flash drive with GUID partition mapping and name it "Install".

      - Open Disk Utility.
      - Click in View, then "Show All Devices".
      - Select the destination flash drive, then Erase.
      - Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map
       
      Create install flash drive

      Open terminal and run this command:
      sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the CloverEFI from official repository (used 5097) and install only with these options on "Install macOS Catalina":
       
      - Install for UEFI booting only
      - Install Clover in the ESP
      - UEFI Drivers - Recommended Drivers - AudioDxe (Just to have nice sound on boot)
      - UEFI Drivers - Recommended Drivers - FSInject (I still don't know if it's really necessary)
      - UEFI Drivers - File System drivers - ApfsDriverLoader (Support to APFS partitions)
      - UEFI Drivers - File System drivers - VBoxHfs (Support HFS/HFS+ partitions)
      - UEFI Drivers - Memory fix drivers - AptioMemoryFix (Fix the memory management of de UEFI/BIOS)
       
      FileVault 2
       
      If you plan to use FileVault 2, you need to download additional drivers, since what comes with Clover is not up to date and use VirtualSMC instead of FakeSMC.
      Follow instructions bellow:
       
      From current Clover installation, check these options to USB keyboard/mouse work on password screen:
      - UEFI Drivers - Human Interface Devices - UsbKbDxe
      - UEFI Drivers - Human Interface Devices - UsbMouseDxe
       
      After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.
       
      Download the versions 2.1.0 and 2.0.9 of AppleSupportPkg from: https://github.com/acidanthera/AppleSupportPkg/releases
      We need the last version of AppleGenericInput.efi that is inside 2.1.0 and last version of AppleUiSupport.efi that is inside 2.0.9.
      OR download attached bellow.
       
      Put in /Volumes/EFI/EFI/CLOVER/drivers/UEFI/
       
      That's it! FileVault 2 will work without problems.
       
       

       
       
      Make things works
       
      After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.
       
      - Replace the /Volumes/EFI/EFI/CLOVER/config.plist with mine attached below
      - Put SSDT-L440.aml attached below in /Volumes/EFI/EFI/CLOVER/ACPI/patched/
       
      Generate your Serial, MLB and SmUUID
       
      - Open the replaced config.plist with Clover Configurator (used 5.6.2.0)
      - Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
       
      Copy the Clover Configurator to flash drive because you will need later.
       
      Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the VirtualSMC from here. I used all Kexts and UEFI driver (put VirutalSmc.efi inside /Volumes/EFI/EFI/drivers/UEFI/) from version 1.0.8 (If you followed the steps to enable FileVault 2 above, skip to the next item).
      - Download the Lilu.kext from here. I used the version 1.3.8.
      - Download the VoodooPS2Controller.kext from here. I used version 2.0.4.
      - Download the IntelMausiEthernet.kext from here. I used the version 2.5.0.
      - Download the VoodooHDA.kext from here. I used the version 2.9.2. (Need to turn up the volume on Info.plist, more instructions below)
      - Download the WhateverGreen.kext from here. I used the version 1.3.3.
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
       
      Important! If you are coming from my previous Mojave guide, please note that I am using some kexts from other repositories / authors.
       
       
      Audio volume adjustment
       
      - Open the Info.plist inside VoodooHDA.kext/Contents/ with TextEdit.app or any text editor of your choice.
      - Change:
      <key>PCM</key> <integer>90</integer> to:
      <key>PCM</key> <integer>140</integer> Or, download the versions 2.9.2 attached bellow.
       
       
      Keyboard swap Command with Option (optional)
       
      - If you prefer, you can swap Command and Option keys, to map Win Key - Command and Alt - Option.
      - Change /Volumes/EFI/EFI/CLOVER/OEM/S400CA/UEFI/kexts/10.15/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist:
      <key>Swap command and option</key> <true/> to:
      <key>Swap command and option</key> <false/> Or, download the version 2.0.4 already adjusted attached bellow.
       
       
      Wifi and Bluetooth (BCM94360CS2 + M2 NGFF adapter)
       
      Recently I replaced the DW1560 with BCM94360CS2. Now I have fully wireless and bluetooth working (including Instant Hotspot) without any kexts.
       
      See: 
       
       
      Wifi and Bluetooth (DW1560 / BCM94352Z)
       
      Unfortunately, some notebook manufacturers are currently blocking the replacement of wireless cards. They want you to only use the models sold by them. And of course, none of them from Lenovo for this notebook model is compatible with MacOS.
       
      If you try to start with an unauthorized wifi card for them, you will receive a screen error:
      1802: Unauthorized network card is plugged in - Power off and remove the network card. Since this check is done directly in the BIOS, the only solution is to modify it.
      But since nothing is easy in this life, there is one small big problem:
      - The BIOS update procedure does not allow you to use modded files as it used to be.
      - You will need to physically reach your BIOS on the motherboard and make use of a USB BIOS reader/writer.
       
      So what you need to do:
      1. Disassembly your laptop;
      2. Dump your BIOS with an USB BIOS reader with SOIC8 clip (to not desolder from the motherboard);
      3. Patch it (Ask on UEFI hack forums over there to someone patch for you. Every dump is unique, so mine don't work to you.);
      4. Fix RSA signature;
      5. Reflash BIOS;
      6. Replace wireless card;
      7. Remount your laptop;
      8. Done.
       
      To fix a Modded BIOS to remove the 5 beeps on boot, you need this guide: https://www.insanelymac.com/forum/topic/337333-guide-fix-insyde-h2o-bios-signature-5-beeps-on-lenovo (traduzido: pt-BR)
       
       
      After replaced the wireless card. Download those Kexts and put in /Volumes/EFI/EFI/CLOVER/kexts/10.15/
       
      - Download the AirportBrcmFixup.kext from here. I used the version 2.0.3. (To enable Wireless)
      - Download the BrcmBluetoothInjector.kext, BrcmFirmwareRepo.kext and BrcmPatchRAM3.kext from here. I used the version 2019-10-17. (To enable Bluetooth)
      - Download the BT4LEContinuityFixup.kext from here. I used the version 1.1.4. (To enable Handoff and Continuity)
       
      Keep in mind that the bluetooth kexts are currently in development and the official releases will be available in future in the repository: https://github.com/acidanthera/BrcmPatchRAM/releases
       
       
      Now you can start the installation without problem (I guess).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      My BIOS is the latest: 1.93 (J4ET93WW) 

      - Shutdown and insert the flash drive.
      - Power on with F1 pressed to enter BIOS setup.
      - Change value: Config - Intel(R) AMT - Intel(R) AMT Control to DISABLED
      - Change value: Security - Security Chip to DISABLED
      - Change value: Security - Anti-Theft - Intel(R) AT Module Activation to DISABLED
      - Change value: Security - Anti-Theft - Computrace to DISABLED
      - Change value: Security - Secure Boot to DISABLED
      - Change value: Startup - UEFI/Legacy Boot to BOTH, Legacy First and CSM Support = Yes
      - Save & Exit Setup (F10)
       
      - Now, hold the F12
      - In the list, select your flash drive.
      - Choose the flash drive (white icon).
       
      The installer will start. 
      
      Format destination disk

      Format the disk with GUID partition mapping and name it "Macintosh".

      - Select Disk Utility in the list, then press Continue.
      - Click in View, then "Show All Devices".
      - Select the destination Disk, then Erase.
      - Name: HD, Format: APFS and Scheme: GUID Partition Map

      Close Disk Utility.
      
      Select "Install macOS", then Continue.
      Follow instructions in screen.

      After install
       
      After first part install the system will reboot. Maybe you have to press F12 again and select the flash drive.
       
      Choose the internal disk (gray hdd icon) if not already selected.

      The second part of the installation will begin. This will take 16 minutes.

       

      Post installation
       
      When the second part of install finish, the system will reboot again.

      After performing the user initial setup and go to the desktop, you need to make the system disk bootable.

      Open the Clover Configurator from flash drive that you copied before.

      Mount and open the flash drive EFI partition. (Inside Clover Configurator, Mount EFI -> Select flash drive in Efi Partitions list -> Mount Partition -> Open Partition)
       
      Copy the EFI folder to desktop.
       
      Go back to Clover Configurator, unmount the EFI partition of the flash drive and mount and open the EFI partition of internal disk.
       
      Move the EFI folder from Desktop to EFI partition of the internal disk.
       
      Eject the flash drive.
       
      Move all Kexts from EFI partition of internal disk to /Library/Extensions and make kext cache, with those commands in Terminal:
      sudo mv -R /Volumes/EFI/EFI/CLOVER/kexts/10.15/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
       
       
      It's done!
       
       
      System Updates
       
      10.15.1
       
      Updated without changing or updating anything.
       

       
       
       

      And last but not least

      I would like to thank the following community members, by making these dream possible:
      @crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas, @"Sniki", @Mieze, @headkaze and all others members involved directly or indirectly.
       
       
      Attachments
       
       
      SSDT-L440.aml
      config.plist
      VoodooHDA.kext.zip
      VoodooPS2Controller.kext.zip
      Filevault 2 additional drivers.zip
×