Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,550 posts in this topic

Recommended Posts

@Somez

 

well yes you have exact same LCD as me AUO 21e3 - B140RW02 V1. 

 

the way Clover works with the "detect" setting is that it looks for FakeSMC in the OS. if it is there, it wont inject kexts from the ESP and it expects to use just the OS cache.

If you remove all them from /L/E - then you should just have the kexts in ESP - seems to simplify things IMO. 

So in terms of kexts to remove from /L/E ... these are custom ones not provided by Apple:

 

Misc:

ACPIPoller.kext

AppleHDA_20672.kext

IntelBacklight.kext

 

Other:

ACPIBatteryManager.kext

AppleALC.kext

AppleBacklightInjector.kext

BlueTooth_Injector_T420.kext

EFICheckDisabler.kext

FakeSMC.kext

IOAHCIBlockStorageInjector.kext

IntelMausiEthernet.kext

Lilu.kext

USBInjectAll.kext

VoodooPS2Controller.kext

 

These seem to work better in /System/Library/Extensions - so i would move them there

 

AppleIntelHD3000Graphics.kext

AppleIntelHD3000GraphicsGA.plugin

AppleIntelHD3000GraphicsGLDriver.bundle

AppleIntelHD3000GraphicsVADriver.bundle

AppleIntelSNBGraphicsFB.kext

AppleIntelSNBVA.bundle

Share this post


Link to post
Share on other sites
Advertisement
On 8/30/2018 at 10:55 PM, tluck said:

@Somez

 

well yes you have exact same LCD as me AUO 21e3 - B140RW02 V1. 

 

the way Clover works with the "detect" setting is that it looks for FakeSMC in the OS. if it is there, it wont inject kexts from the ESP and it expects to use just the OS cache.

If you remove all them from /L/E - then you should just have the kexts in ESP - seems to simplify things IMO. 

So in terms of kexts to remove from /L/E ... these are custom ones not provided by Apple:

 

Misc:

ACPIPoller.kext

AppleHDA_20672.kext

IntelBacklight.kext

 

Other:

ACPIBatteryManager.kext

AppleALC.kext

AppleBacklightInjector.kext

BlueTooth_Injector_T420.kext

EFICheckDisabler.kext

FakeSMC.kext

IOAHCIBlockStorageInjector.kext

IntelMausiEthernet.kext

Lilu.kext

USBInjectAll.kext

VoodooPS2Controller.kext

 

These seem to work better in /System/Library/Extensions - so i would move them there

 

AppleIntelHD3000Graphics.kext

AppleIntelHD3000GraphicsGA.plugin

AppleIntelHD3000GraphicsGLDriver.bundle

AppleIntelHD3000GraphicsVADriver.bundle

AppleIntelSNBGraphicsFB.kext

AppleIntelSNBVA.bundle

 

Hi @tluck

I've removed the kexts you've recommended from /L/E, reboot and then got a KP. But after the 2nd reboot things are working ok.

Except the backlight, I've lost my hotkeys and backlight slider again.

Also I cannot disable the touchpad using Fn + F8.

 

Why is that?

 

I checked the Clover bootlog with bdmesg and at the end found the following lines about injection. It seems the AppleBacklightInjector.kext was found by Clover.

 

3:759  0:013  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other

3:759  0:000  Extra kext: EFI\CLOVER\kexts\Other\USBInjectAll.kext (v.0.6.5)

4:388  0:628  Extra kext: EFI\CLOVER\kexts\Other\VoodooPS2Controller.kext (v.1.8.34)

4:409  0:021    |-- PlugIn kext: EFI\CLOVER\kexts\Other\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Trackpad.kext (v.1.8.34)

4:447  0:037    |-- PlugIn kext: EFI\CLOVER\kexts\Other\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Mouse.kext (v.1.8.34)

4:465  0:018    |-- PlugIn kext: EFI\CLOVER\kexts\Other\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Keyboard.kext (v.1.8.34)

4:514  0:048  Extra kext: EFI\CLOVER\kexts\Other\Lilu.kext (v.1.2.7)

4:530  0:015  Extra kext: EFI\CLOVER\kexts\Other\IOAHCIBlockStorageInjector.kext (v.1.0.0)

4:536  0:006  Extra kext: EFI\CLOVER\kexts\Other\IntelMausiEthernet.kext (v.2.3.0d0)

4:551  0:015  Extra kext: EFI\CLOVER\kexts\Other\FakeSMC.kext (v.1443)

4:580  0:028    |-- PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\CPUSensors.kext (v.1443)

4:594  0:014    |-- PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\ACPISensors.kext (v.1443)

4:620  0:025  Extra kext: EFI\CLOVER\kexts\Other\EFICheckDisabler.kext (v.0.5)

4:635  0:014  Extra kext: EFI\CLOVER\kexts\Other\BlueTooth_Injector_T420.kext (v.1.0.0)

4:639  0:004  Extra kext: EFI\CLOVER\kexts\Other\AppleBacklightInjector.kext (v.0.9.2)

4:651  0:011  Extra kext: EFI\CLOVER\kexts\Other\AppleALC.kext (v.1.3.1)

5:511  0:860    |-- PlugIn kext: EFI\CLOVER\kexts\Other\AppleALC.kext\Contents\PlugIns\PinConfigs.kext (v.1.0.0)

6:052  0:541  Extra kext: EFI\CLOVER\kexts\Other\ACPIBatteryManager.kext (v.1.81.4)

6:076  0:023  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.14

 

Thank you.

Edited by Somez

Share this post


Link to post
Share on other sites

@somez

is this what you were used for keys?

 

< <string>;The following 12 items map fkeys to Fn+fkeys</string>

< <string>3b=e012; F1  - Brightness Down</string>

< <string>3c=e017; F2  - Brightness Up</string>

< <string>3d=e00a; F3  - Mission Control (app select)</string>

< <string>3e=e009; F4  - Launchpad</string>

< <string>3f=0;    F5  - nothing</string>

< <string>40=0;    F6  - nothing</string>

< <string>41=e06e; F7  - Video Mirror</string>

< <string>42=e037; F8  - TP on/off</string>

< <string>43=0;    F9  - nothing</string>

< <string>44=e020; F10 - Volume Mute</string>

< <string>57=e02e; F11 - Volume Up</string>

< <string>58=e030; F12 - Volume Up</string>

< <string>46=e022; ScrLck - iTunes - play/pause</string>

 

Share this post


Link to post
Share on other sites
36 minutes ago, tluck said:

@somez

is this what you were used for keys?

 

< <string>;The following 12 items map fkeys to Fn+fkeys</string>

< <string>3b=e012; F1  - Brightness Down</string>

< <string>3c=e017; F2  - Brightness Up</string>

< <string>3d=e00a; F3  - Mission Control (app select)</string>

< <string>3e=e009; F4  - Launchpad</string>

< <string>3f=0;    F5  - nothing</string>

< <string>40=0;    F6  - nothing</string>

< <string>41=e06e; F7  - Video Mirror</string>

< <string>42=e037; F8  - TP on/off</string>

 < <string>43=0;    F9  - nothing</string>

< <string>44=e020; F10 - Volume Mute</string>

< <string>57=e02e; F11 - Volume Up</string>

< <string>58=e030; F12 - Volume Up</string>

< <string>46=e022; ScrLck - iTunes - play/pause</string>

 

 

I use your package @tluck, without changing anything. Not sure which file is responsible for mapping the hotkeys but I definitely have not changed it.

 

I checked the following file in EFI/..../VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard/Contents/Info.plist for mapping , but those strings you've copied above are missing.

 

Regarding the brightness, I don't have the slider either under System preferences/Displays so that is not an issue related to hotkey mapping for sure.

Edited by Somez

Share this post


Link to post
Share on other sites
On 8/16/2018 at 9:16 PM, SuperReaper said:

Sorry, I type wrong, what I mean is I can boot into hackintosh without dsdt or use bios dsdt in clover config with any version of clover, but wifi or any function patch in dsdt can't recognize! And with your dsdt I can only boot with clover v2.4 r4513 or lower!

Hi @tluck, have you found any solution for my problems?

Share this post


Link to post
Share on other sites

Another problem, when I use EDIDView on windows, I get EDID info same as attached file, but when I change EDID info on dsdt and config.plist, then I cannot change my screen brightness, and screen brightness also lost in system preference

EDID.rtf

Edited by SuperReaper

Share this post


Link to post
Share on other sites

@SuperReaper i think the solution for you is not have Clover try to patch the DSDT. the only patch you should do is fix_regions. the DSDT already fully patched anyway.

 

why are you injecting a different EDID? you have LGD Display - does it glitch?

 

your EDID which identifies LCD productID must match an entry in  AppleBackLightInjector (which them must update in either in the ESP or /L/E) the EDIDs i provide in the config.plist file are already matched/added to that kext. otherwise you can update the kext to match your EDID vendor/product with the scripts.

 

search:

$ ioreg -l| grep -i ApplePanel.*F..T
    | |       "ApplePanel" = {"F17Ta033"=<00110000000d00120016001e0028003600490063008700b800fd015d01e3029c039f050f>}
$ ioreg -l| grep -i yEDID
    | |   | |         "IODisplayEDID" = <00ffffffffffff00061033a00000000025190104b51d1278020dc1ae5241b3260d505400000001010101010101010101010101010101d9650050a0402e60082008081eb31000001a7c804050b0083470082068081eb31000001a000000fc00436f6c6f72204c43440a20202000000010000000000000000000000000000000c1>

in this case a033 - matches the EDID 0610 33a0 -> byte swap on last 2 chars is a033

 

@Somez

 

i will push a fixed version fo the VoodooPS2Controller kexts which can let you remap to use PrtSrn to stop the pad. 

Edited by tluck

Share this post


Link to post
Share on other sites

Hi there,

 

first of all thanks to @tluck for the nice guide incl. all files.

 

I just got a T420 on my desk, unfortunately the bios is v1.52 modded.

 

Is there any chance to get a patched DSDT based off this version?

The disassembled files are enclosed.

 

Thanks in advance!

DSDT_v1.52.zip

Edited by SnuK
C&P fault

Share this post


Link to post
Share on other sites
19 hours ago, tluck said:

@SuperReaper i think the solution for you is not have Clover try to patch the DSDT. the only patch you should do is fix_regions. the DSDT already fully patched anyway.

 

why are you injecting a different EDID? you have LGD Display - does it glitch?

 

your EDID which identifies LCD productID must match an entry in  AppleBackLightInjector (which them must update in either in the ESP or /L/E) the EDIDs i provide in the config.plist file are already matched/added to that kext. otherwise you can update the kext to match your EDID vendor/product with the scripts.

 

search:


$ ioreg -l| grep -i ApplePanel.*F..T
    | |       "ApplePanel" = {"F17Ta033"=<00110000000d00120016001e0028003600490063008700b800fd015d01e3029c039f050f>}
$ ioreg -l| grep -i yEDID
    | |   | |         "IODisplayEDID" = <00ffffffffffff00061033a00000000025190104b51d1278020dc1ae5241b3260d505400000001010101010101010101010101010101d9650050a0402e60082008081eb31000001a7c804050b0083470082068081eb31000001a000000fc00436f6c6f72204c43440a20202000000010000000000000000000000000000000c1>

in this case a033 - matches the EDID 0610 33a0 -> byte swap on last 2 chars is a033

 

@Somez

 

i will push a fixed version fo the VoodooPS2Controller kexts which can let you remap to use PrtSrn to stop the pad. 

Yes, it glitch and flash, and after times using screen freeze, when I press sleep button, after some minutes, it restart with sleep wake failure!

Share this post


Link to post
Share on other sites
21 hours ago, SnuK said:

Hi there,

 

first of all thanks to @tluck for the nice guide incl. all files.

 

I just got a T420 on my desk, unfortunately the bios is v1.52 modded.

 

Is there any chance to get a patched DSDT based off this version?

The disassembled files are enclosed.

 

Thanks in advance!

DSDT_v1.52.zip

hi, where do you get bios v1.52 mod and what does this bios mod?

Share this post


Link to post
Share on other sites

@SuperReaper the v1.52 is based on the original bios, just with whitelist mod.

As the T420 is from a colleague, I will ask him where he got the bios from.

Keep you updated...

 

Update:

Link to the original BIOS with explanation: T420 BIOS v1.52

Link to the BIOS v1.52 with whitelist mod: T420 BIOS v1.52 mod

Edited by SnuK
update of links

Share this post


Link to post
Share on other sites

Hello again,

 

thanks to the well documented DSDT from @tluck, I pasted all mods to the new DSDT.

Finally I compared the two files and some questions raised up:

  • the new file contains \, e.g. Scope (\_SB), the same line in tlucks file is without \ (e.g. Scope (_SB)), any problem with this?
  • is a mix of zero & 0x00 and one & 0x01 (e.g. Store (One, H8DR)  vs. Store (0x01, \OSIF)) ok?
  • what about this difference: Store (\SRE1, \_SB.PCI0.EXP1.RID) vs. Store (SRE1, ^PCI0.EXP1.RID)?
  • the sections  Device (URTH) below Device (EH02) looks different…

 

Enclosed the DSDT 1.52 with the patches from tluck.

 

Hope you guys have some answers…

 

 

Small update:

- it looks like everything is working as expected.

 

 

Regards

SnuK

DSDT.dsl

Edited by SnuK
first start

Share this post


Link to post
Share on other sites

@SnuK

good stuff

 

i made a few edits on your 1.52 DSDT - that make it more like the old one.

 

-----

posted some new items in the GitHub repo:

 

Update kexts:

  • AppleAlc.kext
  • Lilu.kext
  • VoodooPS2Controller.kext (fixes up some issues with keys etc)
  • WhateverGreen.kext - may help with stability and glitches - doesn't hurt!
  • Added SSDT option for adding custom key map.

so

PrtSrn - TrackPad on/off

SrcLk - brightness down

Pause - brightness up

 

if you copy SSDT-T420-PS2K-keys.aml to ACPI/patched/SSDT-T420-PS2K.aml 

then you get this new set of mapping: 

 

              Package(){},
                "e01e=e037", //Map tp disable to f8</string>
                "e037=e01e", //Prevent PrntScr from triggering tp disable</string>
            },
            "Function Keys Special", Package()
            {
                Package(){}, // The following 12 items map fkeys to Fn+fkeys</string>
                "3b=e012", // F1  - Brightness Down</string>
                "3c=e017", // F2  - Brightness Up</string>
                "3d=e00a", // F3  - Mission Control (app select)</string>
                "3e=e009", // F4  - Launchpad</string>
                "3f=0",    // F5  - nothing</string>
                "40=0",    // F6  - nothing</string>
                "41=e06e", // F7  - Video Mirror</string>
                "42=e037", // F8  - TP on/off</string>
                "43=0",    // F9  - nothing</string>
                "44=e020", // F10 - Volume Mute</string>
                "57=e02e", // F11 - Volume Up</string>
                "58=e030", // F12 - Volume Up</string>
                "46=e022", // ScrLck - iTunes - play/pause</string>

 

 

Edited by tluck

Share this post


Link to post
Share on other sites

Just FYI - I'm installing High Sierra back with the latest bundle (6 September) and later on will upgrade to Mojave when the final version comes out.

Share this post


Link to post
Share on other sites

Alright. So I'm now on High Sierra clean install using the bundle of 6 September. I've had 2 freezes so far, when the whole machine stopped.

Interestingly with the last 2 or 3 bundles under Mojave I occasionally got scrambled LCD screen on boot and sometimes KPs. I thought that's due to Mojave but I got the same scrambled screen issue when tried o reboot into the Installer a few times. 3rd try went well and I could complete the install.

 

IMG_1452.thumb.jpg.4d6a5c9993f4f2fb3221ff934268f0a4.jpg

Share this post


Link to post
Share on other sites
On 9/6/2018 at 9:34 PM, tluck said:

@SnuK

good stuff

 

i made a few edits on your 1.52 DSDT - that make it more like the old one.

Thx. @tluck!

 

The main changes are related to

  • Scope (\_SB) vs. Scope (_SB)
  • Store (0x01, H8DR)  vs. Store (One, H8DR)
  • Store (\SRE1, \_SB.PCI0.EXP1.RID) vs. Store (SRE1, ^PCI0.EXP1.RID)

Please explain the reason / advantage.

 

I will test it tomorrow as well as the new kexts.

 

Update: with the new DSDT1.52 the boot stops, see attached pictureboot-with-DSDT1_52.thumb.JPG.ffca48f07bbb225fbd764cf867c25fba.JPG

Edited by SnuK
test result

Share this post


Link to post
Share on other sites
On 9/5/2018 at 3:26 AM, SnuK said:

@SuperReaper the v1.52 is based on the original bios, just with whitelist mod.

As the T420 is from a colleague, I will ask him where he got the bios from.

Keep you updated...

 

Update:

Link to the original BIOS with explanation: T420 BIOS v1.52

Link to the BIOS v1.52 with whitelist mod: T420 BIOS v1.52 mod

thank!

On 9/8/2018 at 2:50 AM, SnuK said:

Thx. @tluck!

 

The main changes are related to

  • Scope (\_SB) vs. Scope (_SB)
  • Store (0x01, H8DR)  vs. Store (One, H8DR)
  • Store (\SRE1, \_SB.PCI0.EXP1.RID) vs. Store (SRE1, ^PCI0.EXP1.RID)

Please explain the reason / advantage.

 

I will test it tomorrow as well as the new kexts.

 

Update: with the new DSDT1.52 the boot stops, see attached pictureboot-with-DSDT1_52.thumb.JPG.ffca48f07bbb225fbd764cf867c25fba.JPG

you got same problem as me, so if you want to boot again into the os you should install clover v2.4k_r4513 or lower from @tluck efi package 2018.06.04 or earlier

so @tluck, some thing you patch in dsdt make that happen?

Share this post


Link to post
Share on other sites

@SuperReaper

 

yeah. i could boot up with the original 1.52 DSDT version SnuK posted. i made some more changes - the way i decompiled may have something to do with it. i can only guess since I cant reproduce what you guys experience.

 

i just posted some changes to the DSDT - change _PR to \_PR and _SB to \_SB etc... 

 

i wonder if thats the difference?

Edited by tluck

Share this post


Link to post
Share on other sites
13 hours ago, tluck said:

@SuperReaper

 

yeah. i could boot up with the original 1.52 DSDT version SnuK posted. i made some more changes - the way i decompiled may have something to do with it. i can only guess since I cant reproduce what you guys experience.

 

i just posted some changes to the DSDT - change _PR to \_PR and _SB to \_SB etc... 

 

i wonder if thats the difference?

hi, I just try to use @SnuK dsdt from this: 

but I got KP like this:

Anonymous UUID:       2D6AEB3B-6313-385A-93E9-DF44519B0F33

Sun Sep  9 12:38:13 2018

*** Panic Report ***
panic(cpu 1 caller 0xffffff800838776f): Kernel trap at 0xffffff7f8aeec5d5, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x000000000bce3000, CR4: 0x00000000000626e0
RAX: 0x0000000000500000, RBX: 0xffffff801979e0c0, RCX: 0xffffff801a9a4c80, RDX: 0xffffff801b87d480
RSP: 0xffffff91139b3eb0, RBP: 0xffffff91139b3eb0, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8:  0x0000000000000001, R9:  0x0000000000000030, R10: 0x0000000000000110, R11: 0x0000000000000008
R12: 0xffffff801a9a4cd0, R13: 0xffffff801b87d480, R14: 0xffffff801b87d480, R15: 0xffffff801a9a4c80
RFL: 0x0000000000010246, RIP: 0xffffff7f8aeec5d5, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x1, PL: 0, VF: 1

Backtrace (CPU 1), Frame : Return Address
0xffffff91139b3980 : 0xffffff800826c1c6 
0xffffff91139b39d0 : 0xffffff8008395274 
0xffffff91139b3a10 : 0xffffff8008387544 
0xffffff91139b3a80 : 0xffffff800821e1e0 
0xffffff91139b3aa0 : 0xffffff800826bc3c 
0xffffff91139b3bd0 : 0xffffff800826b9fc 
0xffffff91139b3c30 : 0xffffff800838776f 
0xffffff91139b3da0 : 0xffffff800821e1e0 
0xffffff91139b3dc0 : 0xffffff7f8aeec5d5 
0xffffff91139b3eb0 : 0xffffff800886f6d5 
0xffffff91139b3f00 : 0xffffff80088723ab 
0xffffff91139b3f50 : 0xffffff80088740c6 
0xffffff91139b3fa0 : 0xffffff800821d557 
      Kernel Extensions in backtrace:
         org.rehabman.driver.AppleSmartBatteryManager(1.81.4)[E65767C3-A35F-348A-89CF-C6FAA44C5C6F]@0xffffff7f8aeeb000->0xffffff7f8aef3fff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[95DA39BB-7C39-3742-A2E5-86C555E21D67]@0xffffff7f88ff2000

BSD process name corresponding to current thread: kernel_task
Boot args: slide=64 -no_compat_check -lilubetaall -alcbeta -v 

Mac OS version:
17G65

Kernel version:
Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
Kernel UUID: 1AE5ACFD-3B6F-3D74-AD52-31F1430DBC6F
Kernel slide:     0x0000000008000000
Kernel text base: 0xffffff8008200000
__HIB  text base: 0xffffff8008100000
System model name: MacBookPro8,1 (Mac-94245B3640C91C81)

System uptime in nanoseconds: 41034020254
last loaded kext at 40669556317: com.apple.driver.AppleHDA	281.52 (addr 0xffffff7f8a935000, size 958464)
loaded kexts:
com.paragon-software.lvm-for-mac	1
org.rehabman.voodoo.driver.PS2Mouse	1.8.34
org.rehabman.voodoo.driver.PS2Trackpad	1.8.34
org.rehabman.voodoo.driver.PS2Keyboard	1.8.34
VoodooSDHC	1.1d1
com.insanelymac.IntelMausiEthernet	2.3.0d0
com.rehabman.driver.ACPIPoller	0.8.1
org.rehabman.voodoo.driver.PS2Controller	1.8.34
org.hwsensors.driver.ACPISensors	1443
org.rehabman.driver.AppleSmartBatteryManager	1.81.4
org.hwsensors.driver.CPUSensors	1443
as.vit9696.AppleALC	1.3.1
org.netkas.driver.FakeSMC	1443
com.rehabman.driver.USBInjectAll	0.6.5
as.vit9696.WhateverGreen	1.2.2
science.firewolf.NightShiftUnlocker	2.2.1
as.vit9696.Lilu	1.2.7
com.apple.driver.AppleHDA	281.52
com.apple.driver.ApplePolicyControl	3.20.13
com.apple.driver.AppleUpstreamUserClient	3.6.5
com.apple.driver.AppleMCCSControl	1.5.5
com.apple.driver.AppleGraphicsDevicePolicy	3.20.13
com.apple.AGDCPluginDisplayMetrics	3.20.13
com.apple.driver.pmtelemetry	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOBluetoothSerialManager	6.0.7f10
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleHV	1
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleLPC	3.1
com.apple.driver.ACPI_SMC_PlatformPlugin	1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleSMCPDRC	1.0.0
com.apple.driver.AppleFIVRDriver	4.1.0
com.apple.driver.AppleIntelSNBGraphicsFB	10.0.4
com.apple.iokit.SCSITaskUserClient	404.30.2
com.apple.driver.AppleFileSystemDriver	3.0.1
com.apple.filesystems.apfs	748.51.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleSystemPolicy	1.0
com.apple.BootCache	40
com.apple.filesystems.hfs.kext	407.50.6
com.apple.driver.AirPort.Atheros40	700.74.5
com.apple.driver.AppleFWOHCI	5.5.9
com.apple.driver.AppleIntelHD3000Graphics	10.0.4
com.apple.driver.AppleAHCIPort	329.50.2
com.apple.driver.AppleBacklight	170.12.6
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleAPIC	1.7
com.apple.driver.AppleIntelCPUPowerManagementClient	220.50.1
com.apple.nke.applicationfirewall	183
com.apple.security.quarantine	3
com.apple.security.TMSafetyNet	8
com.apple.driver.AppleIntelCPUPowerManagement	220.50.1
com.apple.driver.DspFuncLib	281.52
com.apple.kext.OSvKernDSPLib	526
com.apple.driver.AppleGraphicsControl	3.20.13
com.apple.iokit.IOSurface	211.15
com.apple.iokit.IOAVBFamily	680.2
com.apple.plugin.IOgPTPPlugin	680.15
com.apple.iokit.IOEthernetAVBController	1.1.0
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.driver.AppleSSE	1.0
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.iokit.IOFireWireIP	2.2.9
com.apple.AppleGPUWrangler	3.20.13
com.apple.AppleGraphicsDeviceControl	3.20.13
com.apple.driver.AppleHDAController	281.52
com.apple.iokit.IOHDAFamily	281.52
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.Apple16X50Serial	3.2
com.apple.iokit.IOSerialFamily	11
com.apple.driver.IOPlatformPluginLegacy	1.0.0
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.7f10
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.7f10
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.7f10
com.apple.iokit.IOBluetoothFamily	6.0.7f10
com.apple.driver.usb.cdc	5.0.0
com.apple.driver.usb.networking	5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.iokit.IOSCSIMultimediaCommandsDevice	404.30.2
com.apple.iokit.IOBDStorageFamily	1.8
com.apple.iokit.IODVDStorageFamily	1.8
com.apple.iokit.IOCDStorageFamily	1.8
com.apple.driver.AppleXsanScheme	3
com.apple.iokit.IOAHCISerialATAPI	267.50.1
com.apple.iokit.IOAHCIBlockStorage	301.40.2
com.apple.filesystems.hfs.encodings.kext	1
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.corecapture	1.0.4
com.apple.iokit.IOFireWireFamily	4.7.2
com.apple.driver.usb.AppleUSBEHCIPCI	1.2
com.apple.driver.usb.AppleUSBEHCI	1.2
com.apple.iokit.IOAHCIFamily	288
com.apple.driver.AppleEFINVRAM	2.1
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.1
com.apple.driver.AppleBacklightExpert	1.1.0
com.apple.iokit.IONDRVSupport	519.20
com.apple.iokit.IOGraphicsFamily	519.20
com.apple.driver.AppleEFIRuntime	2.1
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.iokit.IOSMBusFamily	1.1
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleUSBTDM	439.70.3
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	140.70.2
com.apple.iokit.IOSCSIBlockCommandsDevice	404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily	404.30.2
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.KernelRelayHost	1
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleBusPowerController	1.0
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.IOSlaveProcessor	1
com.apple.driver.DiskImages	480.60.1
com.apple.iokit.IOStorageFamily	2.1
com.apple.iokit.IOReportFamily	31
com.apple.iokit.IOTimeSyncFamily	680.15
com.apple.iokit.IONetworkingFamily	3.4
com.apple.driver.AppleACPIPlatform	6.1
com.apple.driver.AppleSMC	3.1.9
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.Libm	1
com.apple.kec.pthread	1
com.apple.kec.corecrypto	1.0

EOF
Model: MacBookPro8,1, BootROM MBP81.004E.B00, 2 processors, Intel Core i5, 2.59 GHz, 8 GB, SMC 1.68f99
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, Samsung, M471B5273DH0-CH9
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, Samsung, M471B5273CH0-CH9
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9287: 4.0.74.0-P2P
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
PCI Card: Intel 82579LM PCI Express Gigabit Ethernet, Ethernet, PCI Slot 1638400
Serial ATA Device: HGST HTS725050A7E630, 500.11 GB
Serial ATA Device: Optiarc DVD RW AD-7710H
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Integrated Camera
USB Device: Broadcom Bluetooth Device
USB Device: Biometric Coprocessor
USB Device: USB 2.0 Bus
USB Device: Hub
Thunderbolt Bus: 

then, when I block ACPIBatteryManager.kext from clover, I still can boot into OS. Do you know how to fix it?

 

Edited by SuperReaper

Share this post


Link to post
Share on other sites
1 hour ago, SuperReaper said:

It is still error!

but you are able to boot Snuk's 1.52 DSDT right? (other than the ACPIBatteryManager issue?)

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 Leinad12
      Olá a todos.
      Estou com o macOS Mojave instalado num Lenovo 305 (com um i3 5005 e uma HD 5500) porém tou com um problema.
      Sempre que o computador entra em pausa (Sleep) não consigo voltar a "acordar" (Wake).
      Alguém pode me ajudar pf?
    • 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:
       
      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
      - Add info about update 10.14.3. 
       
      01/22/2019 13:46h GMT-0
      - Add 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
       
       
      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\ .app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the RehabMan's CloverEFI fork (used 4701) 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 - AptioMemoryFix64


       
       
      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 FakeSMC.kext from here. I used the version 2018-0915.
      - 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.1.
      - Download the AppleALC.kext from here. I used the version 1.3.4.
      - Download the VoodooHDA from here. I used the version 2.9.1.
      - Download the WhateverGreen.kext from here. I used the version 1.2.6.
      - 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.
       
       
      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 1.1.9.
      - 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 config.plist inside your destination disk EFI parittion with config.plist inside flash card EFI partition.

      The flash drive EFI partition is unmounted. Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 1.
       
      Last step
       
      Copy all Kexts from flash drive to /Library/Extensions, with those commands in Terminal:
      sudo cp -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;
       

       
       

       
      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
    • By Reel
      All work except camera
      You need SwitchResX that the screen does not freeze
         


    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
×