Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

5,065 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 miliuco
      Install macOS 10.15 Catalina on Gigabyte P55-USB3 with Radeon RX 580 graphics card using a USB device created with the createinstallmedia command and Clover as bootloader. Instructions to install macOS 10.14 Mojave on this computer are almost identical, replacing Catalina app with Mojave, so this article is suitable for both versions of macOS. The Gigabyte P55-USB3 motherboard (and some others from the same brand with the P55 / H55 chipset) have made it easy to build a hackintosh and install macOS since 10 years ago. Although it is an old motherboard, the behavior with Mojave or Catalina is very good after changing the classic hard drive (HDD) for a solid state drive (SSD).

      Components of the hackintosh
      Gigabyte GA-P55-USB3 motherboard: P55 chipset, 1156 socket, ALC892 audio, Gigabit RTL8111D network, DDR3 RAM Intel Core i5-750 processor for socket 1156: 4 cores, 8MB cache, clock rate 2.66 GHz Fenvi FV-T919 wireless + Bluetooth card: PCI-Express, wifi is ac type, detected by macOS as Airport and Apple Bluetooth Radeon RX 580 8 GB graphics card: works OOB but with a few details to be considered, it has its own article.  
      Previous requirements
      Install macOS Catalina app in /Applications folder USB flash drive with at least 16GB prepared from Disk Utility with MBR partition scheme and formatted as Mac Os Plus (on older Gigabyte boards like mine, USB sticks partitioned with GUID scheme instead of MBR usually hang the system when booting) Recent version of Clover (I have used r5117) Recent versions of Lilu (at least 1.4.4) and WhateverGreen (at least 1.3.9) to fine-tune the behavior of the graphics card Recent version of RealtekRTL8111 (I have used 2.2.2) FaceSMC version 6.26-322 (newer versions disable automatic mounting of USB devices on my system).  
      Create install USB
      Run this command from Terminal (assuming the target device is called USB):
      Bash: sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/USB /Applications/Install\ macOS\ Catalina.app
      Clover must be installed on the USB memory, I choose the following options:
      Bootloader > Install boot0af on the MBR CloverEFi > CloverEFI 64-bit SATA BIOS Drivers, 64 bit > Recommended drivers > FSInject + SMCHelper + XhciDxe BIOS Drivers, 64 bit > File System drivers > ApfsDriverLoader Install RC scripts on selected volume Optional RC scripts > Disable sleep proxy client.  
      You have to copy 4 kexts to the EFI/CLOVER/kexts/Other folder of the USB device: FaceSMC 6.26-322, Lilu 1.4.4, WhateverGreen 1.3.9 and RealtekRTL8111 2.2.2. Regarding the config.plist file, the most significant is:
      Boot > kext-dev-mode = 1 in Boot arguments GUI > Theme embedded, EmbeddedThemeType Dark, Screen Resolution 1920x1080, Preboot in Hide Volume Graphics > blank, nothing is checked except if foxbox solution is used to have more than 2 connectors enabled RT Variables > 0x28 in BooterConfig and 0x67 in CsrActiveConfig SMBios > iMac14,2 Sytem Parameters> Yes in Inject Kexts and check Inject System ID.  
      Install macOS Catalina

      Boot from the USB device and choose Install macOS from Install macOS Catalina. The installation program runs until the PC restarts. Here choose Install macOS from HDD (the name of the volume you are installing macOS on). With RX 580 graphics card, the screen goes black in this second phase of the installation, it is a phase in which the user has nothing to do until the PC is restarted so you can let it work until the Clover menu again. You have to choose Boot macOS from HDDto boot the installed system from the hard disk, the screen is recovered and you can configure the account and the initial options. From this moment the screen works fine.

      In summary:
      Boot from USB > Clover menu > Install macOS from Install macOS Catalina > screen works fine Boot from USB > Clover menu > Install macOS from HDD > black screen Boot from USB > Clover menu > Boot macOS from HDD > screen works fine.  
      Install Clover and kexts on the hard drive

      Clover needs to be installed on the disk where we just installed macOS. Options are the same as when installing it on the USB memory. You also have to copy the 4 kexts (FaceSMC 6.26-322, Lilu 1.4.4, WhateverGreen 1.3.9 and RealtekRTL8111 2.2.2) into the EFI/CLOVER/kexts/Other folder on the EFI partition of the disk. And review the config.plist file remembering the comments for the USB.

      If everything goes well, the computer starts from the hard disk with a running copy of macOS Catalina.
       
       

    • By miliuco
      Radeon RX 580 8 GB graphics card on macOS High Sierra (as of 10.13.6), Mojave and Catalina on the P55-USB3 board: excellent performance with acceleration (Metal) OOB, no need for drivers (kexts), with 3 drawbacks, one has to do with the boot of the operating system (a solution is proposed), another with the number of rear connectors enabled (a solution is proposed) and another that only affects to one phase of the Mojave or Catalina installation (without clear solution for now).

      I have placed the XFX AMD Radeon RX-580 P8DFD6 8GB Triple X Edition GDDR5, 256BIT, DVI + HDMI + 3DP graphics card on a 10 year old motherboard (Gigabyte P55-USB3) in order to update the hackintosh to 10.14 Mojave and 10.15 Catalina because the card that I have used in past years, Nvidia Geforce GTX 750 1GB, has stopped working after 10.13.6 High Sierra since this was the last version for which Nvidia published the alternate web drivers that were necessary for the card to work well with graphic acceleration.

      The new RX 580 card needs considerably more space than the old one although it fits perfectly in an ATX case, and requires an additional power connector. It has 2 big fans that most of the time are stopped, at least in my case. In macOS it works perfectly, even with Metal acceleration, without additional drivers and without extra settings in Clover. But it has drawbacks that I comment below.

      Alterations during startup

      During the boot of the operating system, when the screen goes from the basic driver to the AMD driver, 2 artifacts appear randomly, they are very short in duration (from one to a few seconds):
      Very short flashing white screen that may or may not be accompanied by purple lines The fans runs for a few seconds (the noise is clearly audible). This behavior is solved with the installation of 2 kexts, Lilu and WhateverGreen. Lilu is an extension created by acidantheraand vit9696 among others whose function is to help to patch kexts, processes and libraries during macOS boot. It is accompanied by specific plugins for the task required, for example WhateverGreen that injects necessary patches for certain AMD, Intel and Nvidia graphics cards. It is mandatory to have both extensions together, one of them separately does not correct the problem.
      I have installed Lilu 1.4.4 and WhateverGreen 1.3.9 in the EFI/CLOVER/kexts/Other folder of the EFI partition and artifacts have disappeared. Remember that these 2 extensions are not necessary for the card to work properly, if you tolerate those very brief distortions of the screen or the noise of the fans running for a few seconds, you can live without Lilu and WhateverGreen.

      Note: authors recommend that when using Lilu and WhateverGreen with Radeon cards, NO graphic settings have to be added to Clover (Inject ATI, etc.).

      Note: these alterations, especially the brief white screen and less frequently purple lines and fan noise, are also seen in Windows and some real Macs with the same card.

      Alteration during macOS installation

      Boot from USB > Clover menu > Install macOS from Install macOS Catalina > screen works fine
      Boot from USB > Clover menu > Install macOS from MacintoshHD > black screen
      Booting from USB > Clover menu > Boot macOS from MacintoshHD > screen works fine.

      In the first and third stages, screen works fine. In the second stage the screen goes black although the installation continues. The user has nothing to do at this moment so you can leave the PC working until the Clover menu is shown again, the screen is recovered, the initial account options can be configured and you can enter into the newly installed system with correct resolution and acceleration.
      This behavior is not corrected even by placing Lilu and WhateverGreen into the USB device. At least in my case I have not found a solution for it. Yo can install macOS perfectly with that drawback of not seeing how it progresses during the second phase of the installation.

      Only 2 connectors of the 5 available work

      This card has 3 Display Port (DP) ports, 1 HDMI port and 1 DVI port. In my case, only 2 DP work, those that are further from the HDMI connector. It is enough if you use a single monitor or 2 monitors that can be connected by DP. But if you want to have 3 or more connected devices or some of them only have HDMI, it is necessary to enable the 5 connectors or at least 4 of them since the DVI is obsolete and does not allow resolutions as high as DP and HDMI.
      User foxbox has proposed a solution in a thread titled [Solved] Sapphire RX 580 Nitro + SE | black screen on HDMI and DVI. Must inject from Clover a modification to the Orinoco framebuffer (which is used in the RX 580 card) so that the 5 connectors lack a fixedly assigned address and, instead, receive it dynamically. This change is made from the KextsToPatch section of Clover. Read the post from foxbox.
      This has to be accompanied by 3 changes in the Graphics section of Clover: Orinoco in FB Name / Inject ATI / 5 in Video Ports. I have tested this solution in macOS Catalina and it effectively enables the 5 ports of the card but, since I only use 1 monitor, I have removed it and I am with Lilu and WhateverGreen.
       

    • By zazman
      Bonjour,
       
      Je rencontre un souci depuis la dernière maj supplémentaire catalina 10.15.4, même chose pour la 10.15.5 aujourd'hui : après le début de l'update, lorsque le pc redémarre, je ne vois pas le volume d'installation dans les volumes de l'écran de boot clover (v5118). j'ai juste Preboot dans les volumes cachés au démarrage, et j'ai essayé de les afficher, le préboot de l'install apparait bien mais le boot n'aboutit jamais par ce biais. du coup, je suis bloqué en 10.15.4. Auriez-vous une idée du problème ?
    • By y010204025
      Perhaps it was the first NEC (Lenovo) Lavie Z HZ550 to install hackintosh. I hope more people who like Lavie Z series can experience Hackintosh at HZ550. She is really great.
       
      I found HZ550 & HZ750 on the Chinese website, which is amazing. It weighs only 790g, 13.3 inches, and the standard 2k screen, which is too attractive to me. I am a Hackintosh enthusiast. I think HZ550 or HZ750 with MacOS is the best Unfortunately, the Lavie Z series is not listed in China, only exists in the Japanese and American markets, and in the Japanese market is the NEC brand, while the American market uses the Lenovo logo.
       
      Fortunately, I got an HZ550 from Taobao. Yes, not HZ750. In comparison, HZ750 has more touch screens and 360 ° flip. These are hard to attract me. More importantly, HZ750 is about 200g heavier than HZ550 That's why I chose HZ550. Well, because he is only 2,000 RMB.
       
      The specific introduction can refer to NEC Japan official website:http://nec-lavie.jp/products/hz13b/
       
      The HZ550 hardware list I obtained:
                                    
                       -/+:.          ningnan@ningnandeMacBook-Air
                      :++++.          OS: 64bit Mac OS X 10.15.5 19F96
                     /+++/.           Kernel: x86_64 Darwin 19.5.0
             .:-::- .+/:-``.::-       Uptime: 19m
          .:/++++++/::::/++++++/:`    Packages: 1
        .:///////////////////////:`   Shell: zsh 5.7.1
        ////////////////////////`     Resolution: 3840x2160
       -+++++++++++++++++++++++`      DE: Aqua
       /++++++++++++++++++++++/       WM: Quartz Compositor
       /sssssssssssssssssssssss.      WM Theme: Blue (Dark)
       :ssssssssssssssssssssssss-     Disk: 11G / 108G (12%)
        osssssssssssssssssssssssso/`  CPU: Intel Core i7-5500U @ 2.40GHz
        `syyyyyyyyyyyyyyyyyyyyyyyy+`  GPU: Intel Iris Graphics 6100
         `ossssssssssssssssssssss/    RAM: 4376MiB / 8192MiB
           :ooooooooooooooooooo+.    
            `:+oo+/:-..-:/+o+/-     
       
       
      Advantages: small size, light weight, 2K screen, 8G memory, 512g SSD, keyboard feels good, and wireless network card can be replaced, which is unimaginable in today's thin and light books.
      Disadvantages: The sound is small, almost the same as the mosquitoes.
       
      Ok, bragging is over!
      In order to use the wireless network, I changed the wireless network card from inter 7265 to BCM94352ZAE. Some people called it DW1560. It is uncomfortable that in China, this card and his elder brother DW1830 were hyped to a high price of 480RMB. of. Fortunately, I bought it early, and this card is also very stable under win10, and there is no high delay and outage. The hard disk should be PM951 of Samsung, not PM981, which is lucky.   Before installing Hackintosh: You need to prepare a 16G U disk, SanDisk is not a rough choice for making MacOS installation disk, I used the latest MacOS Catalina 10.15.5, got config.plist from Rehabman, and put together an EFI, the latest version of clover and kext drivers. Thanks to Rehabman and the developers of the Black Apple community. I do n’t like that OC team very much.
      Make an installation disk: If you have a computer running MacOS, you can use the command line to make it, if you do n’t have a computer running MacOS, you can try VMware, I know that the insanelymac forum allows discussion, or use ether to write the image to U disk, use the EFI I provided to boot into the installation process.   BIOS setting: Press F12 at boot to enter the BIOS settings, Tab switches to "Security-Secure boot", set to "DISable", this is what we need, and switch to "Boot -Boot devices", set the U disk as the first boot item You can directly enter the clover guide interface, please follow it for google it.
      It is worth noting that the remaining space of your EFI partition needs to be greater than 200M, otherwise, the disk format will be wrong. In addition, the format partition format is APFS, do not choose to encrypt, your data is not valuable, at least you must have this awareness of Hackintosh, the file safe is also the same, do not enable, do not use to find your mac, otherwise, change the machine, OK .   Fortunately, no additional ssdt patch is required. All the patch functions are implemented through clover. The flat Apple is turned on. This is to solve the problem of the flower screen. You can find a solution yourself.
      Experience your black apple, this will bring a better experience than MacBook Pro. EFI_HZ550.zip
×