Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,610 posts in this topic

Recommended Posts

@tetonne.

 

i would start with this. to keep it simple boot with single disk using repair (from USB installer)

 

bcdboot C:\Windows /f UEFI  

 

or

 

bcdboot C:\Windows /s S: /f UEFI 

(where S: is the EFI partition - mount if not mounted)

 

see http://technet.microsoft.com/en-us/library/hh824874.aspx

 

look at /f section 

Share this post


Link to post
Share on other sites
Advertisement

Thanks tluck.

If I want to use 2 monitor, one primary (Laptop screen) one extend (Digital Port), how must I change ???

 

@parcox - well you could try my DSDT and then look for diffs.

 

@oxconan and trhoan - SNB patching.

 

you need to get a real Plist editor (for example, i use Plist Editor Pro - which is shareware) to translate the encoding. 

 

this what the kext patch in config.plist looks like in text. the red shows the 2 changes - 1) increased max brightness and in this case replace the 4th buffer to be VGA. so if you do not need VGA then just change the first line and leave the 4 buffers alone.

 

default -

(1) 0503 - LCD

(2) 0205 - DP on side

(3) 0304 - DP on dock

(4) 0406 - DVI on dock

 

 

original

01020400 10070000 10070000 

05030000 02000000 30000000 

02050000 00040000 07000000 

03040000 00040000 09000000 

04060000 00040000 09000000

 

patched

01020400 12130000 12130000 

05030000 02000000 30000000 

02050000 00040000 07000000 

03040000 00040000 09000000 

06020000 10000000 09000000

Share this post


Link to post
Share on other sites

Thanks tluck! I changed to use DVI on dock, I can use two monitor

patched:

01020400 12130000 12130000 

05030000 02000000 30000000 

02050000 00040000 07000000 

03040000 00040000 09000000 

04060000 00040000 09000000

Share this post


Link to post
Share on other sites

Thanks, it works. We could use PlistEditor Pro or Xcode to edit it

 

hoanf

 

@parcox - well you could try my DSDT and then look for diffs.

 

@oxconan and trhoan - SNB patching.

 

you need to get a real Plist editor (for example, i use Plist Editor Pro - which is shareware) to translate the encoding. 

 

this what the kext patch in config.plist looks like in text. the red shows the 2 changes - 1) increased max brightness and in this case replace the 4th buffer to be VGA. so if you do not need VGA then just change the first line and leave the 4 buffers alone.

 

default -

(1) 0503 - LCD

(2) 0205 - DP on side

(3) 0304 - DP on dock

(4) 0406 - DVI on dock

 

 

original

01020400 10070000 10070000 

05030000 02000000 30000000 

02050000 00040000 07000000 

03040000 00040000 09000000 

04060000 00040000 09000000

 

patched

01020400 12130000 12130000 

05030000 02000000 30000000 

02050000 00040000 07000000 

03040000 00040000 09000000 

06020000 10000000 09000000

Share this post


Link to post
Share on other sites

tluck (or anyone following this post)- Are you aware of any existing/modified VoodooSDHC.kext file that allows the card reader to work for the T420/X220? The reader is a model Ricoh R5C822.

Share this post


Link to post
Share on other sites

HI all,

 

I have a well working 10.8 installation in legacy BIOS mode on my W520 4270CTO. Since I just got new SSD, I decided to try a fresh install of Mavericks 10.9.3 and try to go UEFI only with CLOVER.

 

I created the installation USB Drive which boots fine to Clover in UEFI only mode, but I can't get to the GUI of the OSX Installer. Instead, I get a BLACK SCREEN. It also looks like the backlight is completely off. It's not hung, it seems to load fine, but the screen seems to shut off instead of displaying the OSX GUI. 

 

Can anyone provide me with a config.plist for clover that might work just to get me to the OSX Installer? Thanks.

Here are the systems' specs:

 

i7- 2.4 Ghz Quad

Nvidia Quadro 1000m

12GB Ram

Share this post


Link to post
Share on other sites

well since you have working install of 10.8, i might first get that working with a clover config on UEFI. then you can use that same config to get the mavericks installer working. if you get my zip bundle that may give you good starting point. replace the T420 DSDT with your DSDT. i have to wonder if the nvidia card is the issue here with the installer going to black screen?  did your try to turn that off for the installer and use the just the intel HD graphics?

Share this post


Link to post
Share on other sites

I have always had the system on Discrete graphics only, so didn't think to try the Intel GPU. My GPU is not injected in my DSDT, I use GraphicsEnabler=Yes in Chameleon which has never been a problem for me. Do you think I would need GPU injection in my DSDT to get Clover to work?

 

I'll try your zip bundle with my DSDT and maybe the Nvidia injection. Could you point me to the latest one?

Share this post


Link to post
Share on other sites

As you suggested, I was able to install using Integrated Graphics with the latest version of Clover and a very minimal config.plist. But when I switch back to dedicated graphics, I get the same problem, the system boots fine, but the screen shuts down when the OS should be coming on. The interesting part is that the OS seems to be functionning because the drive access led flashes and there seems to be a response to keyboard input. The other thing is if I boot with arg GraphicsInjector=No, instead of (seemignly) starting the OS, the system reboots. 

 

I really need to use dedicated graphics on this system. 

Share this post


Link to post
Share on other sites

@SimonLL - well sorry i can't be much help as i don't have an Optimus card.  

 

does chameleon patch the DSDT when you inject Graphics so you could extract and save the working dsdt from 10.8 or 10.9 with chameleon?

 

if there is gfx kext for the optimus, then i can only guess the problem is a dsdt config issue since it cannot bring up gfx mode (black screen) properly.  did you try some of the clover functions for NVDIA injection? 

 

this group thread might give some ideas as they discuss Optimus and Clover configurations.            #1            

Share this post


Link to post
Share on other sites

@SimonLL what mac model are you using? I recently ran into a similar issue with Clover on one hand and with the 10.9.3 update on another. Basically I was using a MacBookPro8,x which resulted in no gui with Clover and and only external monitor output after updating from 10.9.2 to 10.9.3 with Chameleon. It is worth noting that my configuration stayed basically the same since Lion. Anyway I tried an iMac model (iMac11,2 or iMac13,2) and it allowed me to get full graphics with Clover and with 10.9.3 with Chameleon.

Share this post


Link to post
Share on other sites

Clover seems to be using MacBookPro8,3 for SMBIOS. 

 

I got a little bit further. I can now boot to the desktop using the Discrete Graphics, but I get no acceleration, lots of screen flicker and a resolution of 1280x800. I was able to get there by rolling back the NVDA kexts to their 10.9.2 version. NVDAResman.kext is the problem I think. 

 

Now I am unsure how to tackle my problem, because I'm not sure why I get a bad resolution. My screen EDID is not being picked up by OSX. But I don't get any acceleration from the GPU, so I don't know which to try and fix first. I've tried Modifying the Overrides as per this post: http://www.insanelymac.com/forum/topic/208410-fixing-scrambledstretched-or-wrong-resolution-laptop-display-problems/

 

But it didn't change anything. I do have the CustomEDID and InjectEDID options enabled in Clover, but it doesn't change anything either. There seems to be a major problem with the way my Nvidia card is being handled with Clover. My 10.8.2 legacy Chameleon install has been working fine with GraphicsEnabler=Yes.

 

I can upload a DarwinDumper if it's useful to anyone.

 

Thanks a lot for the help!!

Share this post


Link to post
Share on other sites

Have you tried an iMac smbios? For me this was key to successfully boot to gui. Just FYI in the config.plist I have Duallink 1, Inject NVIDIA, InjectEDID true, LoadVBios true and VRAM set to 2048. CustomEDID wasn't necessary for my screen. You can also try to inject NVCAP, but that didn't make a difference for me.

 

Also if you don't get acceleration, I would think of incompatible kexts, so make sure you replaced them all (NVDA*/GeForce*) correctly. Or nvidia isn't injected properly.

Share this post


Link to post
Share on other sites

Thanks a lot Shikumo!!!!!! I seem to have acceleration, native resolution and stable graphics now. Is your W520 fully functional? Do you know what are the implications of using a SMBIOS that is not even close to the machine we have?

 

As I wanted to do a fresh install, I'm going to start playing with all the other functions that need to work, namely :

Speedstep,

Sound,

Sleep,

Brightness (which I lost on my 10.8.2 build)

 

Also, do you think I should try to install the Nvidia Web drivers? There is apparently a way to modify the installer so that you can install it on other machines (it's locked to MacPro SMBIOS).

 

Thanks again for all the help!

Share this post


Link to post
Share on other sites

@SimonLL

 

clover should be able to patch your dsdt the rest of the way to fix sleep , brightness and speedstep.  although i prefer to make my own ssdt ( see my guide for details on how to do that with the script ssdtPRgen-clover.command from the zip bundle).  you can look at the config.plist in my zip for some ideas on. even though i use a custom dsdt - the same config works without a dsdt and clover patches on the fly to about 95% of functions. 

 

Sound depends on your codec - what did you use in the past? what is your codec? voodooHDA is pretty good in general or there maybe a patched AppleHDA 

 

ah the MBP8,3 strikes again. yeah that model only has 1 frame buffer. thats why i put MBP8,1 in the clover config - good for HD 3000 graphics and external monitors.  there isn't any harm in using other SMBIOS models as this generally used to figure out graphics buffers and other power management matches. 

 

the imac11,2 model makes sense to me for your box -  as that is core i5 and i7 (HD graphics) + discrete (AMD) model. 

iMac12,1 is even a closer match - sandy bridge + gfx . but if you have it working already then good.

 

here is a partial list of models and frame buffers (6 of 8) . some are for use with discrete graphics and some with integrated. 

 

...

      MacBookPro8,1)
          let tableNumber=0
          ;;
      MacBookPro8,2)
          let tableNumber=1
          ;;
      MacBookPro8,3)
          let tableNumber=1
          ;;
 
      Macmini5,1)
          let tableNumber=2 
          ;;
      Macmini5,2)
          let tableNumber=2 
          ;;
      Macmini5,3) # Using GFX0 instead of IGPU
          let tableNumber=3
          ;;
      MacBookAir4,1)
          let tableNumber=4 
          ;;
 
      MacBookAir4,2)
          let tableNumber=4 
          ;;
      iMac12,1) # Using GFX0 instead of IGPU
          let tableNumber=5 
          ;;
      iMac12,2)
          let tableNumber=5 
 
there are 8 tables in the SNBGraphic buffer kext - only the first 2 has 0503 which means LCD 
 
0000000: 0102 0400 1007 0000 1007 0000  ............
000000c: 0503 0000 0200 0000 3000 0000  ........0...
0000018: 0205 0000 0004 0000 0700 0000  ............
0000024: 0304 0000 0004 0000 0900 0000  ............
0000030: 0406 0000 0004 0000 0900 0000  ............
 
000003c: 0102 0100 1007 0000 1007 0000  ............
0000048: 0503 0000 0200 0000 3000 0000  ........0...
0000054: 0000 0000 0100 0000 4000 0000  ........@...
0000060: 0000 0000 0100 0000 4000 0000  ........@...
000006c: 0000 0000 0100 0000 4000 0000  ........@...
 
0000078: 0002 0300 0000 0000 ffff ffff  ............
0000084: 0205 0000 0004 0000 0700 0000  ............
0000090: 0304 0000 0004 0000 0900 0000  ............
000009c: 0406 0000 0008 0000 0600 0000  ............
00000a8: 0000 0000 0100 0000 4000 0000  ........@...
 
00000b4: 0000 0000 0000 0000 0000 0000  ............
00000c0: 0000 0000 0100 0000 4000 0000  ........@...
00000cc: 0000 0000 0100 0000 4000 0000  ........@...
00000d8: 0000 0000 0100 0000 4000 0000  ........@...
00000e4: 0000 0000 0100 0000 4000 0000  ........@...
 
00000f0: 0102 0300 1007 0000 1007 0000  ............
00000fc: 0100 0000 0200 0000 3000 0000  ........0...
0000108: 0205 0000 0004 0000 0700 0000  ............
0000114: 0304 0000 0004 0000 0900 0000  ............
0000120: 0000 0000 0100 0000 4000 0000  ........@...
 
000012c: 0000 0000 0000 0000 0000 0000  ............
0000138: 0000 0000 0100 0000 4000 0000  ........@...
0000144: 0000 0000 0100 0000 4000 0000  ........@...
0000150: 0000 0000 0100 0000 4000 0000  ........@...
000015c: 0000 0000 0100 0000 4000 0000  ........@...
 
0000168: 0001 0000 0000 0000 0000 0000  ............
0000174: 0000 0000 0100 0000 4000 0000  ........@...
0000180: 0000 0000 0100 0000 4000 0000  ........@...
000018c: 0000 0000 0100 0000 4000 0000  ........@...
0000198: 0000 0000 0100 0000 4000 0000  ........@...
 
00001a4: 0103 0400 1007 0000 1007 0000  ............
00001b0: 0100 0000 0004 0000 3000 0000  ........0...
00001bc: 0205 0000 0004 0000 0700 0000  ............
00001c8: 0304 0000 0004 0000 0900 0000  ............
00001d4: 0406 0000 0008 0000 0600 0000  ............

Share this post


Link to post
Share on other sites

Thanks tluck.

 

For sound, I had good success with the patched AppleHDA.kext from Joshhhhh in this thread: http://www.insanelymac.com/forum/topic/274218-guide-lenovo-thinkpad-t510510i-plus-t410-and-w510-106-107-108-109-all-working-ok-20131112-update/page-6

 

My codec seems to be the same as the T420 which is: cx20590.

 

I'm still trying to wrap my head around how to work with DSDT and Clover. I put the dsdt.aml file in /EFI/CLOVER/ACPI/patched, then how do I tell Clover to use it? I don't mind starting a new DSDT from scratch on this install, but I'm not sure how the patches are handled. If I patch manually with MacIASL, I don't need to patch with Clover? Should I patch only with Clover and forget about patching manually? Is Clover able to do the right HDEF patch for sound (for my codec)? Basically, I'm a total noob regarding Clover's way to handle this and the documentation is not as clear as the Chameleon docs. Been on this for 2 days straight, the concepts are slowly making their way into my head ;-).

 

Thanks for the help!


Also, if the Graphics problem is in the SMBIOS, is it possible that it could be fixed by patching the AGPM kext?

Share this post


Link to post
Share on other sites

I have just used your script to generate an SSDT.aml which it has put in my ACPI/patched folder. But now, it seems like my CPU is running at Max Turbo all the time. I have disable Generate P and C states in Clover after putting the SSDT.aml in the patched folder. How can I get Clover to use it?

 

BTW I'm using Clover Configurator to modify my config.plist.

 

Thanks!

Share this post


Link to post
Share on other sites

@SimonLL -

 

well then try the AppleHDA from my zip which is cx20590 and has some improvements over joshhh version. support dock ports for example and auto switching + eapd 

 

if you put the DSDT in /EFI/.../patched, clover will use it by default. then depending on other settings in config.plist , it will then patch and fix it up depending on the FIX flags you set. 

 

clover got my dsdt about 95% - everything works but the battery - and yes it will fix up HDEF for audio - assuming the custom AppleHDA is place.

i boot DSDT-less and then  extracted it and  patched it up the rest of the way with maciasl. (manwe150 did much of the early work and then its been slowly improved) any way you can look at what i did for HDEF, HDMI, IGPU, PNLF.  the source dsdt.dsl with comments is in the zip too.

 

i attached config.plist that i used for DSDT-less boot. rename it config.plist. 

 

you may need to drop some tables for the new SSDT to work properly - again see my example.

config.nodsdt.plist.zip

Share this post


Link to post
Share on other sites

OK, going to bed after a very long day of fighting with this. I'm so close I can feel it, but not quite there yet.

 

Got SSDT sorted out through Clover generation, CPU is scaling well, idle at 800Mhz, Turbo at 3.2Ghz. It's fine with me.

 

Sound: I've installed the latest AppleHDA from @tluck in S/L/E with Kext Utility, patched my DSDT accordingly, but still no sound. Volume buttons show the volume bar with a forbidden sign under.

 

Brightness: I can see the slider in Sys Prefs, but moving it doesn't change anything. ScrLck shows the brightness pop-up, but nothing happens, Pause does nothing. That is with clover patching the PNLF and Displayfix. No manual patching of DSDT for PNLF. 

 

Sleep: The system seems to sleep for a couple seconds, then wakes up. I am using VoodooPS2. I could always revert back to UltraNav kext, but I'd rather not, since VoodooPS2 gives me middle click functionality on the trackpoint (woohoo! been waiting a long time for that). Also, all usb ports seem to wake from sleep ok... for now.

 

Battery: I've tried the kext provided in @tluck pack, but it won't detect my battery. VoodooBattery was working on my previous ML/Chameleon install, but would like to get a cleaner way if possible.

 

SMBIOS: If I can get everything else working, this minor annoyance won't matter, but it's still bugging me that I can't use the right one (MacbookPro8,2).

 

That's it for now. 

Good night!

Share this post


Link to post
Share on other sites

@SimonLL -

 

sound - what is your layoutID in the DSDT for sound? should be 12.

battery - you will need custom DSDT mods for ACPIBatteryManager to work. VoodooBattery may be a better choice until you make all  _BAT mods

sleep - did you do all the DSDT patches like in the config i posted?

SMBIOS - i would stick to a model that provides the proper frame buffers for your gfx cards.

 

on my system with that config.plist (nodsdt), it will boot "DSDT-less" (clover will patch it up) and then with the custom kext-set installed on SLE, everything works (sleep etc), except battery.

 

for you to use that config.plist, you might just have to tweak the SMBIOS model to iMac... and fix the gfx injection for nvidia?

Share this post


Link to post
Share on other sites

Here's my HDEF part of DSDT. I basically copied yours from the DSL:

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Name (_S3D, 0x03)
                Name (RID, Zero)
                Name (_PRW, Package (0x02)
                {
                    0x0D, 
                    0x04
                })
                Method (_PSW, 1, NotSerialized)
                {
                    Noop
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0C)
                        {
                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "codec-id", 
                            Buffer (0x04)
                            {
                                0x6E, 0x50, 0xF1, 0x14
                            }, 

                            "device-type", 
                            Buffer (0x11)
                            {
                                "Conexant CX20590"
                            }, 

                            "MaximumBootBeepVolume", 
                            Buffer (One)
                            {
                                0x01
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
        }

On my ML build this next one was working with Joshhh Patched AppleHDA:

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Name (_S3D, 0x03)
                Name (RID, Zero)
                Name (_PRW, Package (0x02)
                {
                    0x0D, 
                    0x04
                })
                Method (_PSW, 1, NotSerialized)
                {
                    Noop
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
        }

Not sure what is the culprit here. I do have a couple of Sound assertion things pop-up in my verbose boot:

 

2014-06-21 11:40:32.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 17824
2014-06-21 11:40:32.000 AM kernel[0]: Sound assertion in AppleHDADriver at line 2859
2014-06-21 11:40:32.000 AM kernel[0]: Sound assertion in AppleHDADriver at line 209
2014-06-21 11:40:32.000 AM kernel[0]: Sound assertion in AppleHDADriver at line 1094
 
My conig.plist is pretty similar to yours except for the GFX and I also boot with npci=0x2000 and slide=0. I'm not 100% sure I need it though. The ACPI section has the only differences that I'm using Clover generated SSDT with Drop_OEM, maybe the wrong method, but seems to work...
 
Sleep seems to work, but I have a couple of small bugs: I patched the _PTS and _WAK sections of my DSDT, but the Sleep LEDs (little moon and power button LED) keep flashing after wake. Not the slow sleep pulse, a fast flash (2/sec).
Also, USB is VERY slow to wakeup. Which make the internet slow to wakeup since I have Wifi through USB adapter.
 
Is there any DSDT edits for brightness? Are they related to the screen or the GPU?

Share this post


Link to post
Share on other sites

I just noticed I have a bunch of audio devices from Adobe. It's very weird since I did not install Adobe suite yet. My system seems to see the Intel Audio device, but I don't get any sound. Really struggling with this.

 

How can I remove all those Adobe devices?

Audio_Devices.png

 

I also seem to have 2 devices relating to AppleHDAController in IOReg: My HDEF and Nvidia's HDAU. Could there be a conflict between the 2? The HDAU one is clearly injected by clover with the rest of the graphics card...

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 ThatsMatt
      Salve, sono nuovo nel forum e mi serviva una mano nell'installazione dell' ultima versione di MacOs sul mio notebook HP Pavilion 15-ak112nl.
      Specifiche Tecniche: 
      CPU: Intel Core i7-6700HQ (2.60 / 3.50 GHz, 4 core, 6 MB CACHE L3). 
      Scheda Grafica: Intel HD Graphics 530 + NVIDIA GeForce GTX 950M 4 GB DDR3.
      Hard Disk: 1 TB SATA 5400 rpm.
      Ram: 8 GB DDR3L-1600.
      Audio: altoparlanti stereo Bang & Olufsen PLAY. 
      Rete: LAN 10/100, WLAN 802.11b/g/n, bluetooth 4.0 (Miracast).
      Grazie in Anticipo a chi mi risponderà
    • By fusion71au
      Clover r4961 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.14 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4961 for VMware.zip". Mount Clover-v2.4k-4961-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 ludufre
      Installing macOS Mojave 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:
       
      06/09/2019 14:16h GMT-0
      - Added missing parts in the post-install step. 
       
      06/04/2019 17:19h GMT-0
      - Updated Clover link. 
       
      06/02/2019 18:08h GMT-0
      - Added info about update 10.14.5. 
       
      03/13/2019 13:15h GMT-0
      - Updated info about touchpad replacement and CPU and 4G LTE modem.
       
      02/05/2019 18:47h GMT-0
      - Updated info about CPU replacement and 4G LTE modem.
       
      02/04/2019 15:24h GMT-0
      - Sometimes the VoodooHDA.kext doesn't work.
      - Added AppleHDADisabler.kext to fix that (attached bellow).
       
      01/24/2019 14:42h GMT-0
      - Added more adjustments to use of VoodooHDA.
      - Updated VoodooHDA links to 2.9.1 official (without installer).
      - Changed PCM volume from 90 to 180 in Info.plist (attached modified VoodooHDA.kext bellow)
      - Updated SSDT-L440.aml (Removed HDEF and HDAU, not needed).
      - Updated config.plist (Changed to user Audio layout to 1).
       
      01/22/2019 20:47h GMT-0
      - I gave up on the AppleALC.
      - Headset does not work.
      - Now with VoodooHDA is perfect and the sound even louder.
       
      01/22/2019 14:37h GMT-0
      - Added info about update 10.14.3. 
       
      01/22/2019 13:46h GMT-0
      - Added link to BIOS reassing guide.
       
      01/20/2019 11:49h 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 (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, Instant Hotspot and Continuity ->  Work after replaced wireless.
       
       
      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:
      No mistery here. Just upgade.
       
       
      Todo
       
      - Make DP audio work.
      - Make Card Reader work.
      - Upgrade CPU to i7-4712MQ (Ordered. It's on the way) Done, but received i7-4700MQ (47w TDP, with good paste I have no overheating)
      - Replace touchpad with T460 model (Ordered. It's on the way) Done. Sensitivity and perception of quality much better. I recommend 100%!
      - Sierra Gobi5000 4G LTE modem EM7355 (Ordered. It's on the way. I hope works. ) Done, but not work. Recognize but not connect. I already gave up...
      - Upgrade to 16GB RAM Done
      - Make trackpad appear in System Preferences
       
       
      What you need to install

      - Running install of macOS
      - One USB flash drive of 8GB or bigger
      - macOS Mojave 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\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the CloverEFI from SourceForge (used 4934) and install with this options on "Install macOS Mojave":
       
      - Install for UEFI booting only
      - Install Clover in the ESP
      - UEFI Drivers - ApfsDriverLoader-64
      - UEFI Drivers - AptioMemoryFix-64


       
       
      Make things works

      Will be created a partition named EFI and mounted in Desktop.
      - Replace the /Volumes/EFI/CLOVER/config.plist with mine attached below
                    If you have modded BIOS with Advanced Menu and enabled 128MB DRAM-prealloc use 128MB_DRAM-prealloc_config.plist.zip
                    If no, then use 32MB_DRAM-prealloc_config.plist.zip
      - Put SSDT-L440.aml attached below in /Volumes/EFI/CLOVER/ACPI/patched/
       
      Generate your Serial, MLB and SmUUID
       
      - Open the replaced config.plist with Clover Configurator (used 5.3.2.0)
      - Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
       
      Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the HWSensors 3 from here. I used the FakeSMC.kext, ACPIMonitor.kext and IntelCPUMonitor.kext inside of DMG version r196.
      - Download the VoodooPS2Controller.kext from here. I used version 2018-1008.
      - Download the IntelMausiEthernet.kext from here. I used the version 2018-1031.
      - Download the Lilu.kext from here. I used the version 1.3.6.
      - Download the VoodooHDA from here. I used the version 2.9.1 and patched the sound volume (attached below).
      - Download the WhateverGreen.kext from here. I used the version 1.2.9.
      - Download the AppleBacklightFixup.kext from here. I used the version 2018-1013.
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
      - Download the ACPIBatteryManager.kext from here. I used the version 2018-1005.
       
      - Download the VirtualSMC.kext from here. I used version 1.0.2. Replaced with FakeSMC of the HWSensors 3 r196 package.
      - Download the FakeSMC.kext from here. I used the version 2018-0915. Replaced with VirtualSMC.kext due 10.14.4 issues on update.
      - Download the AppleALC.kext from here. I used the version 1.3.4. Replaced with VoodooHDA.kext due mic not working.
       
       
      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 (In addition to removing the whitelist, add the advanced menu);
      4. Fix RSA signature;
      5. Reflash BIOS;
      6. Replace wireless card;
      7. Remount your laptop;
      8. Done.
       
      Soon, I'll provide step by step in this process. Probably until end of this week.
      In the meantime, if you need to, send me your dump that I do steps 3 and 4 for you.
      I also add the Advanced Menu so you can increase to 128MB the DRAM-prealloc.
       
      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 /EFI/CLOVER/kexts/Other/
       
      - Download the AirportBrcmFixup.kext from here. I used the version 2.0.0.
      - Download the BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext from here. I used the version 2018-0505.
      - Download the BT4LEContinuityFixup.kext from here. I used the version 1.1.2.
       
       
      Now you can start the instalation 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.
       
      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.
      
      The second part of the installation will begin. This will take 16 minutes.
       

      Post installation

      Install bootloader
       
      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 install Clover on internal disk.

      Open the Clover installer inside flash drive that you copied before.

      Use same options above but choose the system partition this time.

      Now you need to replace the EFI folder inside your destination disk EFI parittion, with EFI folder inside flash card EFI partition.

      If the flash drive EFI partition of your destination disk or flash drive is unmounted:
      Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 0 for destination disk and 1 for flash drive.
       
      Then, eject the flash drive.
       
      Last step
       
      Move all Kexts from EFI partition to /Library/Extensions, with those commands in Terminal:
      sudo mv -R /Volumes/EFI/EFI/CLOVER/kexts/Other/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
       
       
      It's done!
       
       
      Updates
       
      System update 10.14.3
       
      - Updated with success;
      - Everything works perfectly after reboot;
       

       
       
      System update 10.14.4
       
      - Updated Clover to 4910.
      - Updated Lilu.kext to 1.3.5 and WhateverGreen to 1.2.7.
      - After first reboot the update progress stoped with:
      GTrace synchronization point 4 Unsupported CPU Unsupported PCH hmm.. mismatch sizes: 3100 vs 20 It was still possible to start the previous installation, selecting "Macintosh" as opposed to "macOS Install" in Clover.
      So I created a flash drive with Clover 4910 and put only my config.xml, SSDT-L440.aml, the updated Lilu.kext and WhateverGreen.kext. And I decided to test VirtualSMC instead of FakeSMC.kext.
      With this I was able to install update 10.14.4. After installation I can boot normally, even with FakeSMC.kext that already in /Library/Extensions.
      I do not know what exactly happened, but now works everything like was previously.
       


       
       
      System update 10.14.5
       
      - Updated Clover to 4934.
      - Updated Lilu.kext to 1.3.6 and WhateverGreen to 1.2.9.
      - After first reboot the update progress stoped again (like 10.14.4 update) with:
      GTrace synchronization point 4 Unsupported CPU Unsupported PCH hmm.. mismatch sizes: 3100 vs 20 It was still possible to start the previous installation, selecting "Macintosh" as opposed to "macOS Install" in Clover.
      I decided to rollback to FakeSMC.kext but this time with the version of HWSensors 3. Link above.
      With this I was able to install update 10.14.5. After installation I can boot normally.
       

       
       

      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, @Shiki and all others members involved directly or indirectly.
       
       
       
       
       
       
      32MB_DRAM-prealloc_config.plist.zip
      128MB_DRAM-prealloc_config.plist.zip
      SSDT-L440.aml
      VoodooHDA.kext.zip
      AppleHDADisabler.kext.zip
×