Contribute
Register

<< Solved >> Trouble booting with OC...

Status
Not open for further replies.
Joined
Oct 17, 2020
Messages
18
Motherboard
Asrock H370M Pro4, UEFI 3.20
CPU
i5-8600K
Graphics
RX 570
Mac
  1. iMac
  2. MacBook Pro
Hi,

my system is
ASRock H370M-Pro4 with Intel UHD630 iGFX, i219V ethernet, RTL ALC892 sound
i5-8600K (Kaby Lake)
Radeon RX570 (dual monitor, 2 DP connected)
Sys: Samsung 970EVO 500G NVMe onboard
Data (home): Viper M.2 VPN100 with PCIe NVMe adapter

Clover 5xxx
Mojavem

which is running fine... basically ;)

I wanted to try / switch to opencore and followed Dortanias guide and set up an USB EFI boot drive (config below), which stalls after initializing the iGPU, getting 4 60sec timeouts 'busy timout[n]m (60s): ´AppleACPICPU´', shows 'IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0', then the screens turn black, then the monitors go to sleep. More than 5 minutes later, nothing new has happened.

For this to work, I followed the guide linked by Dortania to switch from Clover to OC, which meant deleting kexts and some startup files (I moved them to new directories).

Now I'm left without my Hackintosh running, as
- OC doesn't complete bootup
- Clover reaches the Apple logo and hangs
- Recovery either stalls at Apple logo or show illegible error msg (press key to continue) and reboots
- UEFI shell shows moved clover files, but doesn't let me write to APFS drive, so I can't put them back
- apfstools from linux are r/o only, furthermore the "new" folders are not shown either.

All kexts/drivers/OC packages are freshly downloaded yesterday from their (GitHub) repos, config.plist was created from sample.plist according to the guide, I hope ;) Referenced drivers/kexts are present.

OC config.plist:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ACPI</key>
    <dict>
        <key>Add</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>SSDT-EC-USBX.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-EC-USBX.aml</string>
            </dict>
            <dict>
                <key>Comment</key>
                <string>SSDT-PLUG-DRTNIA.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-PLUG-DRTNIA.aml</string>
            </dict>
        </array>
        <key>Delete</key>
        <array>
            <dict>
                <key>All</key>
                <false/>
                <key>Comment</key>
                <string>Delete CpuPm</string>
                <key>Enabled</key>
                <false/>
                <key>OemTableId</key>
                <data>
                Q3B1UG0AAAA=
                </data>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data>
                U1NEVA==
                </data>
            </dict>
            <dict>
                <key>All</key>
                <false/>
                <key>Comment</key>
                <string>Delete Cpu0Ist</string>
                <key>Enabled</key>
                <false/>
                <key>OemTableId</key>
                <data>
                Q3B1MElzdAA=
                </data>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data>
                U1NEVA==
                </data>
            </dict>
        </array>
        <key>Patch</key>
        <array>
            <dict>
                <key>Base</key>
                <string></string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>Replace one byte sequence with another</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                ESIzRA==
                </data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>OemTableId</key>
                <data>
                </data>
                <key>Replace</key>
                <data>
                RDMiEQ==
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data>
                </data>
            </dict>
            <dict>
                <key>Base</key>
                <string>\_SB.PCI0.LPCB.HPET</string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>HPET _CRS to XCRS</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                X0NSUw==
                </data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>OemTableId</key>
                <data>
                </data>
                <key>Replace</key>
                <data>
                WENSUw==
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data>
                </data>
            </dict>
        </array>
        <key>Quirks</key>
        <dict>
            <key>FadtEnableReset</key>
            <false/>
            <key>NormalizeHeaders</key>
            <false/>
            <key>RebaseRegions</key>
            <false/>
            <key>ResetHwSig</key>
            <false/>
            <key>ResetLogoStatus</key>
            <true/>
            <key>SyncTableIds</key>
            <false/>
        </dict>
    </dict>
    <key>Booter</key>
    <dict>
        <key>MmioWhitelist</key>
        <array>
            <dict>
                <key>Address</key>
                <integer>4275159040</integer>
                <key>Comment</key>
                <string>Haswell: SB_RCBA is a 0x4 page memory region, containing SPI_BASE at 0x3800 (SPI_BASE_ADDRESS)</string>
                <key>Enabled</key>
                <false/>
            </dict>
            <dict>
                <key>Address</key>
                <integer>4278190080</integer>
                <key>Comment</key>
                <string>Generic: PCI root is a 0x1000 page memory region used by some types of firmware</string>
                <key>Enabled</key>
                <false/>
            </dict>
        </array>
        <key>Patch</key>
        <array>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>Comment</key>
                <string>macOS to hacOS</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                bWFjT1M=
                </data>
                <key>Identifier</key>
                <string>Apple</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>Replace</key>
                <data>
                aGFjT1M=
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
        </array>
        <key>Quirks</key>
        <dict>
            <key>AllowRelocationBlock</key>
            <false/>
            <key>AvoidRuntimeDefrag</key>
            <true/>
            <key>DevirtualiseMmio</key>
            <false/>
            <key>DisableSingleUser</key>
            <false/>
            <key>DisableVariableWrite</key>
            <false/>
            <key>DiscardHibernateMap</key>
            <false/>
            <key>EnableSafeModeSlide</key>
            <true/>
            <key>EnableWriteUnprotector</key>
            <true/>
            <key>ForceBooterSignature</key>
            <false/>
            <key>ForceExitBootServices</key>
            <false/>
            <key>ProtectMemoryRegions</key>
            <false/>
            <key>ProtectSecureBoot</key>
            <false/>
            <key>ProtectUefiServices</key>
            <false/>
            <key>ProvideCustomSlide</key>
            <true/>
            <key>ProvideMaxSlide</key>
            <integer>0</integer>
            <key>RebuildAppleMemoryMap</key>
            <false/>
            <key>SetupVirtualMap</key>
            <true/>
            <key>SignalAppleOS</key>
            <false/>
            <key>SyncRuntimePermissions</key>
            <false/>
        </dict>
    </dict>
    <key>DeviceProperties</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                AwASWQ==
                </data>
            </dict>
        </dict>
        <key>Delete</key>
        <dict/>
    </dict>
    <key>Kernel</key>
    <dict>
        <key>Add</key>
        <array>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>IntelMausi.kext</string>
                <key>Comment</key>
                <string>IntelMausi.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/IntelMausi</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>Lilu.kext</string>
                <key>Comment</key>
                <string>Lilu.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/Lilu</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>NVMeFix.kext</string>
                <key>Comment</key>
                <string>NVMeFix.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/NVMeFix</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>USBInjectAll.kext</string>
                <key>Comment</key>
                <string>USBInjectAll.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/USBInjectAll</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>VirtualSMC.kext</string>
                <key>Comment</key>
                <string>VirtualSMC.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/VirtualSMC</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>WhateverGreen.kext</string>
                <key>Comment</key>
                <string>WhateverGreen.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/WhateverGreen</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>AppleALC.kext</string>
                <key>Comment</key>
                <string>AppleALC.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/AppleALC</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>SMCProcessor.kext</string>
                <key>Comment</key>
                <string>SMCProcessor.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/SMCProcessor</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>SMCSuperIO.kext</string>
                <key>Comment</key>
                <string>SMCSuperIO.kext</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/SMCSuperIO</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
        </array>
        <key>Block</key>
        <array>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <false/>
                <key>Identifier</key>
                <string>com.apple.driver.AppleTyMCEDriver</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
            </dict>
        </array>
        <key>Emulate</key>
        <dict>
            <key>Cpuid1Data</key>
            <data>
            </data>
            <key>Cpuid1Mask</key>
            <data>
            </data>
            <key>DummyPowerManagement</key>
            <false/>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
        </dict>
        <key>Force</key>
        <array>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>System/Library/Extensions/IONetworkingFamily.kext</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <false/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/IONetworkingFamily</string>
                <key>Identifier</key>
                <string>com.apple.iokit.IONetworkingFamily</string>
                <key>MaxKernel</key>
                <string>13.99.99</string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
        </array>
        <key>Patch</key>
        <array>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>Base</key>
                <string>__ZN8AppleRTC18setupDateTimeAlarmEPK11RTCDateTime</string>
                <key>Comment</key>
                <string>Disable RTC wake scheduling</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                </data>
                <key>Identifier</key>
                <string>com.apple.driver.AppleRTC</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>19.0.0</string>
                <key>Replace</key>
                <data>
                ww==
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>Base</key>
                <string>_AcpiOsVprintf</string>
                <key>Comment</key>
                <string>Disable ACPI logging</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                </data>
                <key>Identifier</key>
                <string>com.apple.driver.AppleACPIPlatform</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>MaxKernel</key>
                <string>18.5.0</string>
                <key>MinKernel</key>
                <string>18.5.0</string>
                <key>Replace</key>
                <data>
                ww==
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>Base</key>
                <string>__ZN11BCM5701Enet14getAdapterInfoEv</string>
                <key>Comment</key>
                <string>Broadcom BCM57785 patch</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                6AAA//9miYMABQAA
                </data>
                <key>Identifier</key>
                <string>com.apple.iokit.AppleBCM5701Ethernet</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                /wAA////////////
                </data>
                <key>MaxKernel</key>
                <string>19.9.9</string>
                <key>MinKernel</key>
                <string></string>
                <key>Replace</key>
                <data>
                uLQWAABmiYMABQAA
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>Base</key>
                <string>_panic</string>
                <key>Comment</key>
                <string>Send panic string to serial port</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                </data>
                <key>Identifier</key>
                <string>kernel</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>Replace</key>
                <data>
                MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2
                dN/r/g==
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>Base</key>
                <string>_kernel_debug_string_early</string>
                <key>Comment</key>
                <string>Send early prints to serial port</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                </data>
                <key>Identifier</key>
                <string>kernel</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>Replace</key>
                <data>
                MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2
                dN/D
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>Base</key>
                <string>_vstart</string>
                <key>Comment</key>
                <string>Print K and dead loop</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                </data>
                <key>Identifier</key>
                <string>kernel</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>Replace</key>
                <data>
                sUtmuv0D7KggdPtmuvgDiMjusQpmuv0D7KggdPtmuvgD
                iMju6/4=
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>Base</key>
                <string>_vstart</string>
                <key>Comment</key>
                <string>Early reboot</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>
                </data>
                <key>Identifier</key>
                <string>kernel</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>
                </data>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>Replace</key>
                <data>
                McCwBrr5DAAA7uv+
                </data>
                <key>ReplaceMask</key>
                <data>
                </data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
        </array>
        <key>Quirks</key>
        <dict>
            <key>AppleCpuPmCfgLock</key>
            <false/>
            <key>AppleXcpmCfgLock</key>
            <false/>
            <key>AppleXcpmExtraMsrs</key>
            <false/>
            <key>AppleXcpmForceBoost</key>
            <false/>
            <key>CustomSMBIOSGuid</key>
            <false/>
            <key>DisableIoMapper</key>
            <false/>
            <key>DisableLinkeditJettison</key>
            <true/>
            <key>DisableRtcChecksum</key>
            <false/>
            <key>ExtendBTFeatureFlags</key>
            <false/>
            <key>ExternalDiskIcons</key>
            <false/>
            <key>ForceSecureBootScheme</key>
            <false/>
            <key>IncreasePciBarSize</key>
            <false/>
            <key>LapicKernelPanic</key>
            <false/>
            <key>LegacyCommpage</key>
            <false/>
            <key>PanicNoKextDump</key>
            <false/>
            <key>PowerTimeoutKernelPanic</key>
            <false/>
            <key>ProvideCurrentCpuInfo</key>
            <false/>
            <key>SetApfsTrimTimeout</key>
            <integer>-1</integer>
            <key>ThirdPartyDrives</key>
            <false/>
            <key>XhciPortLimit</key>
            <false/>
        </dict>
        <key>Scheme</key>
        <dict>
            <key>CustomKernel</key>
            <false/>
            <key>FuzzyMatch</key>
            <true/>
            <key>KernelArch</key>
            <string>Auto</string>
            <key>KernelCache</key>
            <string>Auto</string>
        </dict>
    </dict>
    <key>Misc</key>
    <dict>
        <key>BlessOverride</key>
        <array/>
        <key>Boot</key>
        <dict>
            <key>ConsoleAttributes</key>
            <integer>0</integer>
            <key>HibernateMode</key>
            <string>None</string>
            <key>HideAuxiliary</key>
            <false/>
            <key>LauncherOption</key>
            <string>Disabled</string>
            <key>LauncherPath</key>
            <string>Default</string>
            <key>PickerAttributes</key>
            <integer>17</integer>
            <key>PickerAudioAssist</key>
            <false/>
            <key>PickerMode</key>
            <string>Builtin</string>
            <key>PickerVariant</key>
            <string>Auto</string>
            <key>PollAppleHotKeys</key>
            <false/>
            <key>ShowPicker</key>
            <true/>
            <key>TakeoffDelay</key>
            <integer>0</integer>
            <key>Timeout</key>
            <integer>5</integer>
        </dict>
        <key>Debug</key>
        <dict>
            <key>AppleDebug</key>
            <true/>
            <key>ApplePanic</key>
            <true/>
            <key>DisableWatchDog</key>
            <true/>
            <key>DisplayDelay</key>
            <integer>0</integer>
            <key>DisplayLevel</key>
            <integer>2147483650</integer>
            <key>SerialInit</key>
            <false/>
            <key>SysReport</key>
            <false/>
            <key>Target</key>
            <integer>67</integer>
        </dict>
        <key>Entries</key>
        <array>
            <dict>
                <key>Arguments</key>
                <string></string>
                <key>Auxiliary</key>
                <false/>
                <key>Comment</key>
                <string>Not signed for security reasons</string>
                <key>Enabled</key>
                <false/>
                <key>Flavour</key>
                <string>Auto</string>
                <key>Name</key>
                <string>CustomOS</string>
                <key>Path</key>
                <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI</string>
                <key>TextMode</key>
                <false/>
            </dict>
        </array>
        <key>Security</key>
        <dict>
            <key>AllowNvramReset</key>
            <true/>
            <key>AllowSetDefault</key>
            <true/>
            <key>AllowToggleSip</key>
            <false/>
            <key>ApECID</key>
            <integer>0</integer>
            <key>AuthRestart</key>
            <false/>
            <key>BlacklistAppleUpdate</key>
            <true/>
            <key>DmgLoading</key>
            <string>Signed</string>
            <key>EnablePassword</key>
            <false/>
            <key>ExposeSensitiveData</key>
            <integer>6</integer>
            <key>HaltLevel</key>
            <integer>2147483648</integer>
            <key>PasswordHash</key>
            <data>
            </data>
            <key>PasswordSalt</key>
            <data>
            </data>
            <key>ScanPolicy</key>
            <integer>0</integer>
            <key>SecureBootModel</key>
            <string>Default</string>
            <key>Vault</key>
            <string>Optional</string>
        </dict>
        <key>Tools</key>
        <array>
            <dict>
                <key>Arguments</key>
                <string></string>
                <key>Auxiliary</key>
                <true/>
                <key>Comment</key>
                <string>OpenShell.efi</string>
                <key>Enabled</key>
                <true/>
                <key>Flavour</key>
                <string>Auto</string>
                <key>Name</key>
                <string>OpenShell.efi</string>
                <key>Path</key>
                <string>OpenShell.efi</string>
                <key>RealPath</key>
                <false/>
                <key>TextMode</key>
                <false/>
            </dict>
        </array>
    </dict>
    <key>NVRAM</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
            <dict>
                <key>DefaultBackgroundColor</key>
                <data>
                AAAAAA==
                </data>
                <key>UIScale</key>
                <data>
                AQ==
                </data>
            </dict>
            <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
            <dict>
                <key>rtc-blacklist</key>
                <data>
                </data>
            </dict>
            <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
            <dict>
                <key>ForceDisplayRotationInEFI</key>
                <integer>0</integer>
                <key>SystemAudioVolume</key>
                <data>
                Rg==
                </data>
                <key>boot-args</key>
                <string>-v keepsyms=1 debug=0x100 alcid=1</string>
                <key>csr-active-config</key>
                <data>
                AAAAAA==
                </data>
                <key>prev-lang:kbd</key>
                <string></string>
                <key>run-efi-updater</key>
                <string>No</string>
            </dict>
        </dict>
        <key>Delete</key>
        <dict>
            <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
            <array>
                <string>UIScale</string>
                <string>DefaultBackgroundColor</string>
            </array>
            <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
            <array>
                <string>rtc-blacklist</string>
            </array>
            <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
            <array>
                <string>boot-args</string>
                <string>ForceDisplayRotationInEFI</string>
            </array>
        </dict>
        <key>LegacyEnable</key>
        <false/>
        <key>LegacyOverwrite</key>
        <false/>
        <key>LegacySchema</key>
        <dict>
            <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
            <array>
                <string>EFILoginHiDPI</string>
                <string>EFIBluetoothDelay</string>
                <string>LocationServicesEnabled</string>
                <string>SystemAudioVolume</string>
                <string>SystemAudioVolumeDB</string>
                <string>SystemAudioVolumeSaved</string>
                <string>bluetoothActiveControllerInfo</string>
                <string>bluetoothInternalControllerInfo</string>
                <string>flagstate</string>
                <string>fmm-computer-name</string>
                <string>fmm-mobileme-token-FMM</string>
                <string>fmm-mobileme-token-FMM-BridgeHasAccount</string>
                <string>nvda_drv</string>
                <string>prev-lang:kbd</string>
            </array>
            <key>8BE4DF61-93CA-11D2-AA0D-00E098032B8C</key>
            <array>
                <string>Boot0080</string>
                <string>Boot0081</string>
                <string>Boot0082</string>
                <string>BootNext</string>
                <string>BootOrder</string>
            </array>
        </dict>
        <key>WriteFlash</key>
        <true/>
    </dict>
    <key>PlatformInfo</key>
    <dict>
        <key>Automatic</key>
        <true/>
        <key>CustomMemory</key>
        <false/>
        <key>Generic</key>
        <dict>
            <key>AdviseFeatures</key>
            <false/>
            <key>MLB</key>
            <string>000</string>
            <key>MaxBIOSVersion</key>
            <false/>
            <key>ProcessorType</key>
            <integer>0</integer>
            <key>ROM</key>
            <data>
            0000
            </data>
            <key>SpoofVendor</key>
            <true/>
            <key>SystemMemoryStatus</key>
            <string>Auto</string>
            <key>SystemProductName</key>
            <string>iMac18,3</string>
            <key>SystemSerialNumber</key>
            <string>000</string>
            <key>SystemUUID</key>
            <string>000</string>
        </dict>
        <key>UpdateDataHub</key>
        <true/>
        <key>UpdateNVRAM</key>
        <true/>
        <key>UpdateSMBIOS</key>
        <true/>
        <key>UpdateSMBIOSMode</key>
        <string>Create</string>
        <key>UseRawUuidEncoding</key>
        <false/>
    </dict>
    <key>UEFI</key>
    <dict>
        <key>APFS</key>
        <dict>
            <key>EnableJumpstart</key>
            <true/>
            <key>GlobalConnect</key>
            <false/>
            <key>HideVerbose</key>
            <true/>
            <key>JumpstartHotPlug</key>
            <false/>
            <key>MinDate</key>
            <integer>-1</integer>
            <key>MinVersion</key>
            <integer>-1</integer>
        </dict>
        <key>AppleInput</key>
        <dict>
            <key>AppleEvent</key>
            <string>Builtin</string>
            <key>CustomDelays</key>
            <false/>
            <key>GraphicsInputMirroring</key>
            <true/>
            <key>KeyInitialDelay</key>
            <integer>50</integer>
            <key>KeySubsequentDelay</key>
            <integer>5</integer>
            <key>PointerSpeedDiv</key>
            <integer>1</integer>
            <key>PointerSpeedMul</key>
            <integer>1</integer>
        </dict>
        <key>Audio</key>
        <dict>
            <key>AudioCodec</key>
            <integer>0</integer>
            <key>AudioDevice</key>
            <string>PciRoot(0x0)/Pci(0x1b,0x0)</string>
            <key>AudioOut</key>
            <integer>0</integer>
            <key>AudioSupport</key>
            <false/>
            <key>MinimumVolume</key>
            <integer>20</integer>
            <key>PlayChime</key>
            <string>Auto</string>
            <key>ResetTrafficClass</key>
            <false/>
            <key>SetupDelay</key>
            <integer>0</integer>
            <key>VolumeAmplifier</key>
            <integer>0</integer>
        </dict>
        <key>ConnectDrivers</key>
        <true/>
        <key>Drivers</key>
        <array>
            <dict>
                <key>Arguments</key>
                <string></string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>HfsPlus.efi</string>
            </dict>
            <dict>
                <key>Arguments</key>
                <string></string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>OpenRuntime.efi</string>
            </dict>
        </array>
        <key>Input</key>
        <dict>
            <key>KeyFiltering</key>
            <false/>
            <key>KeyForgetThreshold</key>
            <integer>5</integer>
            <key>KeySupport</key>
            <true/>
            <key>KeySupportMode</key>
            <string>Auto</string>
            <key>KeySwap</key>
            <false/>
            <key>PointerSupport</key>
            <false/>
            <key>PointerSupportMode</key>
            <string>ASUS</string>
            <key>TimerResolution</key>
            <integer>50000</integer>
        </dict>
        <key>Output</key>
        <dict>
            <key>ClearScreenOnModeSwitch</key>
            <false/>
            <key>ConsoleMode</key>
            <string></string>
            <key>DirectGopRendering</key>
            <false/>
            <key>ForceResolution</key>
            <false/>
            <key>GopPassThrough</key>
            <string>Disabled</string>
            <key>IgnoreTextInGraphics</key>
            <false/>
            <key>ProvideConsoleGop</key>
            <true/>
            <key>ReconnectOnResChange</key>
            <false/>
            <key>ReplaceTabWithSpace</key>
            <false/>
            <key>Resolution</key>
            <string>Max</string>
            <key>SanitiseClearScreen</key>
            <false/>
            <key>TextRenderer</key>
            <string>BuiltinGraphics</string>
            <key>UgaPassThrough</key>
            <false/>
        </dict>
        <key>ProtocolOverrides</key>
        <dict>
            <key>AppleAudio</key>
            <false/>
            <key>AppleBootPolicy</key>
            <false/>
            <key>AppleDebugLog</key>
            <false/>
            <key>AppleEg2Info</key>
            <false/>
            <key>AppleFramebufferInfo</key>
            <false/>
            <key>AppleImageConversion</key>
            <false/>
            <key>AppleImg4Verification</key>
            <false/>
            <key>AppleKeyMap</key>
            <false/>
            <key>AppleRtcRam</key>
            <false/>
            <key>AppleSecureBoot</key>
            <false/>
            <key>AppleSmcIo</key>
            <false/>
            <key>AppleUserInterfaceTheme</key>
            <false/>
            <key>DataHub</key>
            <false/>
            <key>DeviceProperties</key>
            <false/>
            <key>FirmwareVolume</key>
            <true/>
            <key>HashServices</key>
            <false/>
            <key>OSInfo</key>
            <false/>
            <key>UnicodeCollation</key>
            <false/>
        </dict>
        <key>Quirks</key>
        <dict>
            <key>ActivateHpetSupport</key>
            <false/>
            <key>DisableSecurityPolicy</key>
            <false/>
            <key>EnableVectorAcceleration</key>
            <true/>
            <key>ExitBootServicesDelay</key>
            <integer>0</integer>
            <key>ForceOcWriteFlash</key>
            <false/>
            <key>ForgeUefiSupport</key>
            <false/>
            <key>IgnoreInvalidFlexRatio</key>
            <false/>
            <key>ReleaseUsbOwnership</key>
            <false/>
            <key>ReloadOptionRoms</key>
            <false/>
            <key>RequestBootVarRouting</key>
            <true/>
            <key>TscSyncTimeout</key>
            <integer>0</integer>
            <key>UnblockFsConnect</key>
            <false/>
        </dict>
        <key>ReservedMemory</key>
        <array>
            <dict>
                <key>Address</key>
                <integer>268435456</integer>
                <key>Comment</key>
                <string>HD3000: IGPU memory corruption errata</string>
                <key>Enabled</key>
                <false/>
                <key>Size</key>
                <integer>268435456</integer>
                <key>Type</key>
                <string>Reserved</string>
            </dict>
            <dict>
                <key>Address</key>
                <integer>569344</integer>
                <key>Comment</key>
                <string>Fix black screen on wake from hibernation for Lenovo Thinkpad T490</string>
                <key>Enabled</key>
                <false/>
                <key>Size</key>
                <integer>4096</integer>
                <key>Type</key>
                <string>RuntimeCode</string>
            </dict>
        </array>
    </dict>
</dict>
</plist>

Anyone got ideas for me to get back to a bootable system?
 
Is MSR 0xE2 (CPGLock) unlocked through the BIOS? Else, AppleXcpmCfgLock is missing.
 
Yes, 0xE2 is unlocked. Tried the OC utility and it matches the BIOS setting.

I completely reset the USB drive and installed OC again, now it reboots as soon as I choose the MacOS partition to boot from (MSR 0xE2-tool runs fine).

The remainder of the boot log is as follows:

Code:
67:384 00:068 OCB: Showing menu...
67:441 00:057 OCHK: InitHotKeys
67:509 00:067 OCKM: Allocated key repeat context 72E1EC98 72E1EB98 72E27418
67:566 00:057 OCAE: Set screen resolution to 2560x1440 - Success
67:645 00:079 OCTY: Registered handler
78:469 10:824 OCHK: FreeHotKeys
78:537 00:067 OCTY: Unregistered handler
78:605 00:068 OCKM: Freeing key repeat context 72E1EC98 72E1EB98 72E27418
78:662 00:056 OCB: Should boot from 5. Mojave (T:2|F:0|G:0|E:0|DEF:0)
78:747 00:084 OCB: Perform boot Mojave to dp PciRoot(0x0)/Pci(0x1B,0x0)/Pci(0x0,0x0)/NVMe(0x1,47-FC-B3-81-58-38-25-00)/HD(2,GPT,6EED9936-A168-4549-A772-FB0CC49746DA,0x64028,0x3A321FE0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,56497C4070DA264380C6D11007114B26)/\DE73D558-6C25-3827-9A63-7C8751115047\System\Library\CoreServices\boot.efi (0/0)
78:805 00:058 OCSB: No IMG4 found - Not Found
78:873 00:067 OCB: Arch filtering 72C67018(592440)->72C67018(592440) caps 4 - Success
78:941 00:068 OCB: Matching <> args on type 2 0
79:010 00:068 OCABC: VMware Mac installed on 72E3C898 - Success
79:069 00:059 OCABC: Found safe mode legacy p1 at off 67BA
79:137 00:068 OCABC: Trying safe mode next legacy match
79:194 00:057 OCABC: Found safe mode legacy p1 at off 693B
79:359 00:164 OCABC: Trying safe mode next legacy match
79:418 00:059 OCABC: Patching safe mode new at off F37A
79:477 00:058 OCABC: All slides are usable! You can disable ProvideCustomSlide!
79:545 00:068 OCOS: OS set: <null> Mac OS X 10.12
79:615 00:069 OCOS: OS set: Apple Inc. Mac OS X 10.12
79:956 00:341 OC: Kext reservation size info 58A000 exe 3A5000
80:028 00:071 OC: Trying 64-bit XNU hook on System\Library\PrelinkedKernels\immutablekernel
81:416 01:388 OC: Result of 64-bit XNU hook on System\Library\PrelinkedKernels\immutablekernel (C2F3BCAE) is Success
81:480 00:064 OCAK: Read kernel version 18.7.0 (180700)
81:550 00:070 OCAK: Skipping SegmentJettison on 180700
81:666 00:115 OCAK: Reducing 64-bit prelink size from 4471000 to 41D5000 via plist
81:764 00:098 OC: Prelinked injection IntelMausi.kext (IntelMausi.kext) - Success
81:842 00:078 OC: Prelinked injection Lilu.kext (Lilu.kext) - Success
81:919 00:076 OC: Prelinked injection NVMeFix.kext (NVMeFix.kext) - Success
81:992 00:072 OC: Prelinked injection USBInjectAll.kext (USBInjectAll.kext) - Success
82:072 00:079 OC: Prelinked injection VirtualSMC.kext (VirtualSMC.kext) - Success
82:142 00:070 OC: Prelinked injection WhateverGreen.kext (WhateverGreen.kext) - Success
82:246 00:103 OC: Prelinked injection AppleALC.kext (AppleALC.kext) - Success
82:312 00:066 OC: Prelinked injection SMCProcessor.kext (SMCProcessor.kext) - Success
82:391 00:078 OC: Prelinked injection SMCSuperIO.kext (SMCSuperIO.kext) - Success
82:448 00:056 OC: Prelink size 72851456 kext offset 69029888 reserved 3821568
82:567 00:119 OC: Prelinked status - Success

After this, there are 170k null bytes in the log file...
 
Post a copy of your OC folder so we can see what you are using and what you are not using with your Z370 system.

Reading the config.plist above is a pain, but what I immediately noticed is that you are not using SSDT-AWAC.aml, which is one of the three recommended SSDT's for a Z370 system.

Remember to redact/delete your Serial number, MLB, ROM and SystemUUID from your config.plist.
 
This is a H370 system, not a Z370; OC guide for Kaby Lake didn't mark SSDT-AWAC.aml as essential; I will try if it helps.

Is there a better way to show/post the config? I didn't know any, sorry... the device info data should be redacted (replaced with 00/0000).

The EFI folder contains:

Code:
EFI
├── BOOT
│   └── BOOTx64.efi
└── OC
    ├── ACPI
    │   ├── SSDT-EC-USBX.aml
    │   └── SSDT-PLUG-DRTNIA.aml
    ├── Drivers
    │   ├── HfsPlus.efi
    │   └── OpenRuntime.efi
    ├── Kexts
    │   ├── AppleALC.kext
    │   ├── IntelMausi.kext
    │   ├── Lilu.kext
    │   ├── NVMeFix.kext
    │   ├── SMCProcessor.kext
    │   ├── SMCSuperIO.kext
    │   ├── USBInjectAll.kext
    │   ├── VirtualSMC.kext
    │   └── WhateverGreen.kext
    ├── OpenCore.efi
    ├── Tools
    │   ├── ControlMsrE2.efi
    │   ├── OpenShell.efi
    │   └── modGRUBShell.efi
    └── config.plist

The .aml-files were created along the OC ACPI docs for this system specifically.
 
Last edited:
A request to "post your EFI folder" means to zip a copy of said folder and attach it to your post so other members can look at it. Please redact the config.plist to remove serial numbers before zipping—these are best kept private.

If you followed the OpenCore ACPI docs, you should have dumped the ACPI tables (OpenCore DEBUG, Misc>Debug>SysReport:True) and used the information in there to edit the SSDTs. Correct?
Then, if you open the DSDT.aml file with MaciASL and search for "ACPI000E" (or "AWAC") do you get a hit? https://dortania.github.io/Getting-Started-With-ACPI/Universal/awac-methods/manual.html
If so, you need some form of SSDT-AWAC. This is a case by case matter, so it cannot be covered by a general guide. Some manufacturers have introduced an AWAC in old systems through a BIOS update, others still use good old-fashion RTC.
 
The SSDT-AWAC.aml is required for most H370 boards too, according to the OC Coffee Lake desktop guide.

Screenshot 2021-09-26 at 14.26.24.png

Try adding the SSDT-AWAC.aml and see if it helps.
 
Oh, then I misunderstood the "post EFI folder"... sorry!

According to the "which ssdt do I need" Kaby Lake wouldn't need AWAC, that's why I didn't include it at first.

Now I started a new try, re-reset NVRAM (just in case) and tried booting with AWAC - no change. Attached EFI folder (redacted plist) is the last version I tried.

Always reboots to BIOS at the point where I would expect it to load the kernel.

(btw - the Mojave recovery system on the second partition of the USB boots slowly from OC, but fine...)
 

Attachments

  • EFI.zip
    5.1 MB · Views: 143
Your system uses a Coffee Lake CPU and Motherboard, it is not a Kaby Lake system. If you followed the OC guide for a Kaby Lake desktop system, there lies your problem.
  • You may not need SSDT-PMC.kext with your H370 board. Neither the Z370 or HM370 boards need this, I would assume the same for your H370.
  • You may need to add CtlnaAHCIPort.kext to your setup, so your SATA controller is found correctly in macOS.
Other than these two elements the OC folder setup is fine.

The same can not be said for your config.plist.

You should be using the iMac19,1 SMBIOS when running Mojave or newer. The iMac18,3 SMBIOS should be used when running High Sierra or older. So if you are running Mojave or newer change the SMBIOS in your setup accordingly.

Try the revised EFI folder attached below. You need to add the PlatformInfo > Generic for your SMBIOS before you attempt to use this OC 0.7.3 setup with your Coffee Lake H370 system.
 

Attachments

  • EFI.zip
    5.2 MB · Views: 124
Thanks a lot, I will try this.

When I change the SMBIOS from iMac18,3 to iMac19,1, do I need a new serial, will this affect iMessage and the lot?
 
Status
Not open for further replies.
Back
Top