Jump to content
8755 posts in this topic

Recommended Posts

46 minutes ago, galisrule said:

Anybody have any idea why I would lose my USBs after upgrading from 5.4 to 5.6 using the same USB SSDT

Any suggestions how to get them back.

Here I attached my EFI could anyone take a look at it and see where I went wrong please and thanks   

EFI.zip

1434225043_2020-02-1702_34_18.png.aa30aeac28d68fc6c5a19e7701c2f255.png

I see ndk fork, аsk in ndk topic.

 

  • Like 1

Guys, I tested all outside links in the Doc.pdf and just three of them giving 404 error, need to fix or remove.

 

See VerifyMsrE2 nots for more details. (Page 14) Also "nots" must to "notes"

Use GopUpdate (Page 14)

Known formats are described in macserial. (Page 43)

 

 

@Andrey1970 thanks for replying I got both ndk and the original on 2 separate drives and its the same in both even with EnableForAll on or off 

The funniest thing is when I switch back to 5.4 EFI everything works perfect again hmmmmmm  

Edited by galisrule
On 5/2/2019 at 12:22 AM, MacFriedIntel said:

Noticed with Opencore, GPU has to be UEFI, Legacy cards such as Nvidia GTX 650 Ti etc OC won't boot. Just Setup a MSI Gaming 5 Z97 with RX560, Booted and Fully Native also displaying Quad-Core Xeon as Processor, as before with clover it was Unknown. Tested with macOS 10.12. :drool:

Hi,

 

I have been trying to install OC on Z97X gaming 5 (Catalina). 

 

Things is i used the sample.plist and then add all the stuff i think is required.

 

So OC runs. I don't get any error messages. and execution seem to have stopped.  See image below

 

Do you have any suggestions ?

 

See here for debug output: https://www.insanelymac.com/applications/core/interface/file/attachment.php?id=343052

and for archive : https://www.insanelymac.com/applications/core/interface/file/attachment.php?id=343053

 

IMG_6429.jpeg

8 hours ago, galisrule said:

Anybody have any idea why I would lose my USBs after upgrading from 5.4 to 5.6 using the same USB SSDT

Any suggestions how to get them back.

Here I attached my EFI could anyone take a look at it and see where I went wrong please and thanks   

EFI.zip

NO 0.5.6 release . Bettas can come out 1-3 times a day with changes, if you do not understand what you are doing, then why update. And read the documentation, everything is there.

Hey all, just finished my hackintosh install (opencore / catalina).  All seems to be working really well except I ran geekbench 5 gpu test and its showing my 5700 XT hitting max of 875 mhz, is there anything I can look into to fix this?

 

thanks!

 

EFI.zip

Edited by doox00

@Pavo I recently used your OCBuilder and selected WITHOUT DEBUG and WITH kexts.

 

1. But I am still getting debug output in the log file. According to @vit9696 it's because ApfsDriverLoader is built WITH debug

2. There's a new IntelMausiEthernet kext v2.5.0 generated that does not inject into the kernel

 

See log:

00:000 00:000 Starting ApfsDriverLoader ver. 2.1.5
01:395 01:395 EfiBootRecord located at: 16973839 block
01:400 00:004 Real image size: 628216
01:407 00:007 Signature verified!
01:791 00:383 EfiBootRecord located at: 0 block
05:140 03:349 EfiBootRecord located at: 16035933 block
05:145 00:005 Real image size: 602936
05:153 00:007 Signature verified!
05:373 00:220 EfiBootRecord located at: 4300351 block
05:378 00:005 Real image size: 583992
05:386 00:007 Signature verified!
11:014 05:628 OC: Prelink injection IntelMausiEthernet.kext (Intel Ethernet LAN) - Invalid Parameter

For 2., I replaced the IntelMausiEthernet kext with v 2.4.1d1 and that one works fine.

 

Does ApfsDriverLoader generate debug out even if not built with debug ?

Want does "Invalid Parameter" mean ?

53 minutes ago, MacNB said:

@Pavo I recently used your OCBuilder and selected WITHOUT DEBUG and WITH kexts.

 

1. But I am still getting debug output in the log file. According to @vit9696 it's because ApfsDriverLoader is built WITH debug

2. There's a new IntelMausiEthernet kext v2.5.0 generated that does not inject into the kernel

 

See log:


00:000 00:000 Starting ApfsDriverLoader ver. 2.1.5
01:395 01:395 EfiBootRecord located at: 16973839 block
01:400 00:004 Real image size: 628216
01:407 00:007 Signature verified!
01:791 00:383 EfiBootRecord located at: 0 block
05:140 03:349 EfiBootRecord located at: 16035933 block
05:145 00:005 Real image size: 602936
05:153 00:007 Signature verified!
05:373 00:220 EfiBootRecord located at: 4300351 block
05:378 00:005 Real image size: 583992
05:386 00:007 Signature verified!
11:014 05:628 OC: Prelink injection IntelMausiEthernet.kext (Intel Ethernet LAN) - Invalid Parameter

For 2., I replaced the IntelMausiEthernet kext with v 2.4.1d1 and that one works fine.

 

Does ApfsDriverLoader generate debug out even if not built with debug ?

Want does "Invalid Parameter" mean ?

1. As you can see from the below code snippet ApfsDriverLoader is not being built with DEBUG options. You can look at the code yourself at https://github.com/Pavo-IM/ocbuilder/blob/master/OCBuilder/release.command

applesupportclone
unset WORKSPACE
unset PACKAGES_PATH
cd "${BUILD_DIR}/AppleSupportPkg"
mkdir Binaries >/dev/null || exit 1
cd Binaries >/dev/null || exit 1
ln -s ../UDK/Build/AppleSupportPkg/RELEASE_XCODE5/X64 RELEASE >/dev/null || exit 1
cd .. >/dev/null || exit 1
applesupportudkclone
cd UDK
applesupportpkgclone
ln -s .. AppleSupportPkg >/dev/null || exit 1
make -C BaseTools >/dev/null || exit 1
sleep 1
unset WORKSPACE
unset EDK_TOOLS_PATH
export NASM_PREFIX=/usr/local/bin/
source edksetup.sh --reconfig >/dev/null || exit 1
sleep 1
echo "Compiling the latest commited Release version of AppleSupportPkg..."
build -a X64 -b RELEASE -t XCODE5 -p AppleSupportPkg/AppleSupportPkg.dsc >/dev/null || exit 1

2. All OCBuilder does is clone the repo of the kexts and builds the master branch of that repo. So if there is a kext issue its an issue that the owner of the repo needs to fix, not OCBuilder.

buildrelease() {
  xcodebuild -configuration Release  >/dev/null || exit 1
}

echo "Cloning IntelMausiEthernet repo..."
git clone https://github.com/Mieze/IntelMausiEthernet.git >/dev/null || exit 1
cd "${BUILD_DIR}/IntelMausiEthernet"
echo "Compiling the latest commited Release version of IntelMausiEthernet..."
buildrelease
echo "IntelMausiEthernet Release Completed..."

 

  • Like 1

Guys,

 

This is beyond me. 

 

I trying to install Catalina from opencore installer on Z97X Gaming 5.

 

OpenCore boot and I can pick the installer to install Catalina. See log for full details.

 

After picking the installer, boot process continue to run and finally STOPS with the following line output:

OC: OcAppleGenericInputKeycodeExit status - Success

 

After that nothing happens, The log files DON'T even show panic or error.

 

See Log:

 

20:167 01:894 OCB: Should boot from Recovery 10.15.3 (T:2|F:1|DEF:0)
20:246 00:078 OCRAM: Extent allocation of 496564661 bytes (A) gave 100000000 (avoid high 0)
20:513 00:267 OCB: Found chunklist BaseSystem.chunklist for DMG BaseSystem.dmg[10]
23:836 03:322 Built DMG DP: VenHw(957932CC-7E8E-433B-8F41-D391EA3C10F8,00000000)/MemoryMapped(0xA,0x100000000,0x100001000)/DMG_000000001D98F9B5.dmg/VenMsg(004B07E8-0B9C-427E-B0D4-A466E6E57A62,B5F9981D00000000)
23:893 00:056 OCBP: APFS Volume Info is missing
23:935 00:041 OCBP: BlessedFileHEX (1/4 256) - 01 04 18 00 CC 32 79 95 8E 7E 3B 43 8F 41 D3 91 EA 3C 10 F8 00 00 00 00 01 03 18 00 0A 00 00 00 00 00 00 00 01 00 00 00 00 10 00 00 01 00 00 00 04 04 36 00 44 00 4D 00 47 00 5F 00 30 00 30 00
23:957 00:022 OCBP: BlessedFileHEX (2/4 256) - 30 00 30 00 30 00 30 00 30 00 30 00 31 00 44 00 39 00 38 00 46 00 39 00 42 00 35 00 2E 00 64 00 6D 00 67 00 00 00 03 0A 1C 00 E8 07 4B 00 9C 0B 7E 42 B0 D4 A4 66 E6 E5 7A 62 B5 F9 98 1D 00 00
23:980 00:023 OCBP: BlessedFileHEX (3/4 256) - 00 00 04 01 2A 00 01 00 00 00 28 00 00 00 00 00 00 00 C8 DF 3B 00 00 00 00 00 91 5E B7 CD 8D 2E 07 4E AB 7A 6C 9F AA 76 18 C0 02 02 04 04 50 00 5C 00 53 00 79 00 73 00 74 00 65 00 6D 00 5C 00
24:003 00:022 OCBP: BlessedFileHEX (4/4 256) - 4C 00 69 00 62 00 72 00 61 00 72 00 79 00 5C 00 43 00 6F 00 72 00 65 00 53 00 65 00 72 00 76 00 69 00 63 00 65 00 73 00 5C 00 62 00 6F 00 6F 00 74 00 2E 00 65 00 66 00 69 00 00 00 7F FF 04 00
24:026 00:023 OCBP: BlessedFileDP - VenHw(957932CC-7E8E-433B-8F41-D391EA3C10F8,00000000)/MemoryMapped(0xA,0x100000000,0x100001000)/DMG_000000001D98F9B5.dmg/VenMsg(004B07E8-0B9C-427E-B0D4-A466E6E57A62,B5F9981D00000000)/HD(1,GPT,CDB75E91-2E8D-4E07-AB7A-6C9FAA7618C0,0x28,0x3BDFC8)/\System\Library\CoreServices\boot.efi
24:049 00:022 OCBP: Blessed file is valid
24:071 00:022 OCB: Perform boot Recovery 10.15.3 to dp VenHw(957932CC-7E8E-433B-8F41-D391EA3C10F8,00000000)/MemoryMapped(0xA,0x100000000,0x100001000)/DMG_000000001D98F9B5.dmg/VenMsg(004B07E8-0B9C-427E-B0D4-A466E6E57A62,B5F9981D00000000)/HD(1,GPT,CDB75E91-2E8D-4E07-AB7A-6C9FAA7618C0,0x28,0x3BDFC8)/\System\Library\CoreServices\boot.efi (0/0), balloon 0
24:119 00:048 OCB: Matching <> args on type 2 0
24:412 00:292 OCC: Configuring behaviour 0
24:441 00:029 OCOS: OS set: <null> Mac OS X 10.15
24:464 00:022 OCOS: OS set: Apple Inc. Mac OS X 10.15
24:498 00:034 OCABC: All slides are usable! You can disable ProvideCustomSlide!
24:598 00:099 Trying XNU hook on System\Library\PrelinkedKernels\prelinkedkernel
24:838 00:240 Kext reservation size 7929856
25:397 00:559 Result of XNU hook on System\Library\PrelinkedKernels\prelinkedkernel is Success
25:450 00:053 OC: Read kernel version 19.3.0 (190300)
25:493 00:042 OCAK: Replacing _xcpm_core_scope_msrs data 226 76
25:532 00:039 OCAK: Replacing _xcpm_core_scope_msrs data 226 13200
25:573 00:040 OCAK: Replacing _xcpm_core_scope_msrs data 226 16384
25:613 00:039 OCAK: Not matching _xcpm_core_scope_msrs data 46 29660
25:655 00:042 OCAK: XcpmCfgLockRel replace count - 2
25:715 00:059 OCAK: PanicKextDump replace count - 1
25:755 00:040 OCAK: Patch success kext dump
25:832 00:076 OC: Kernel patcher com.apple.driver.AppleRTC (Disable RTC checksum update on poweroff) init succeed
25:872 00:040 OC: Kernel patcher result 5 for com.apple.driver.AppleRTC (Disable RTC checksum update on poweroff) - Success
25:914 00:042 OCAK: AppleCpuPmCfgLock v1 replace count - 10
25:955 00:040 OCAK: Patch v1 success com.apple.driver.AppleIntelCPUPowerManagement
25:995 00:040 OCAK: AppleCpuPmCfgLock v2 replace count - 0
26:036 00:040 OCAK: RemoveUsbLimitIoP1 replace count - 1
26:075 00:039 OCAK: Patch success com.apple.iokit.IOUSBHostFamily
26:118 00:042 OCAK: RemoveUsbLimitV2 replace count - 1
26:157 00:039 OCAK: Patch success com.apple.driver.usb.AppleUSBXHCI
26:216 00:058 OC: Prelink injection Lilu.kext (Patch engine) - Success
26:266 00:050 OC: Prelink injection VirtualSMC.kext (SMC emulator) - Success
26:318 00:052 OC: Prelink injection WhateverGreen.kext (Video patches) - Success
26:367 00:048 OC: Prelink injection AppleALC.kext (Audio patches) - Success
26:416 00:048 OC: Prelink injection USBInjectAll.kext () - Success
26:463 00:047 OC: Prelink injection SMCProcessor.kext () - Success
26:541 00:078 OC: Prelink injection CodecCommander.kext () - Success
26:594 00:053 Prelinked status - Success
26:661 00:066 OCSMC: SmcReadValue Key 4D535463 Size 1
26:701 00:039 OCSMC: SmcReadValue Key 4D534163 Size 2
26:741 00:040 OC: OcAppleGenericInputTimerQuirkExit status - Success
26:781 00:039 OC: OcAppleGenericInputKeycodeExit status - Success

 

Have tried with just essentials .efi files:

FwRuntimeServices.efi

ApfsDriverLoader.efi

HFSPlus.efi

 

Same effect.

 

Have even added more .efi files believing that OC is missing some of them:

 

These issue is not covered in the guide here: https://khronokernel.github.io/Opencore-Vanilla-Desktop-Guide/troubleshooting/troubleshooting.html#opencore-booting

 

Please can anyone who experience this before advise. I have tried many things but is running out of option.

 

Thank you !

 

EFI.zip

opencore-2020-02-17-143728.txt

Screenshot 2020-02-17 at 16.43.57.png

Edited by Beefcat
Fix spell check errors and grammar
3 hours ago, Pavo said:

1. As you can see from the below code snippet ApfsDriverLoader is not being built with DEBUG options. You can look at the code yourself at https://github.com/Pavo-IM/ocbuilder/blob/master/OCBuilder/release.command


applesupportclone
unset WORKSPACE
unset PACKAGES_PATH
cd "${BUILD_DIR}/AppleSupportPkg"
mkdir Binaries >/dev/null || exit 1
cd Binaries >/dev/null || exit 1
ln -s ../UDK/Build/AppleSupportPkg/RELEASE_XCODE5/X64 RELEASE >/dev/null || exit 1
cd .. >/dev/null || exit 1
applesupportudkclone
cd UDK
applesupportpkgclone
ln -s .. AppleSupportPkg >/dev/null || exit 1
make -C BaseTools >/dev/null || exit 1
sleep 1
unset WORKSPACE
unset EDK_TOOLS_PATH
export NASM_PREFIX=/usr/local/bin/
source edksetup.sh --reconfig >/dev/null || exit 1
sleep 1
echo "Compiling the latest commited Release version of AppleSupportPkg..."
build -a X64 -b RELEASE -t XCODE5 -p AppleSupportPkg/AppleSupportPkg.dsc >/dev/null || exit 1

2. All OCBuilder does is clone the repo of the kexts and builds the master branch of that repo. So if there is a kext issue its an issue that the owner of the repo needs to fix, not OCBuilder.


buildrelease() {
  xcodebuild -configuration Release  >/dev/null || exit 1
}

echo "Cloning IntelMausiEthernet repo..."
git clone https://github.com/Mieze/IntelMausiEthernet.git >/dev/null || exit 1
cd "${BUILD_DIR}/IntelMausiEthernet"
echo "Compiling the latest commited Release version of IntelMausiEthernet..."
buildrelease
echo "IntelMausiEthernet Release Completed..."

 

 

Thx. I just rebuilt with your latest OCbuilder and made OC WITHOUT debug and now only one line in the log:

00:000 00:000 Starting ApfsDriverLoader ver. 2.1.5

Not an issue...just interesting.

 

Regarding IntelMausiEthernet kext not pre-linking, what does "invalid parameter" mean (in OC log) ?

The author of that text may need to know why it's not pre-linking with the kernel (via OC).

 

5 hours ago, n.d.k said:

I am releasing the external GUI boot picker for the standard OC https://github.com/n-d-k/NdkBootPicker, Binary release are available as well, auto built by Travis ci server.

 

Thanks releasing you're GUI. I just tried it on OC 0.5.6 built today.

Followed your instructions.

Misc->Boot->PickerMode=External

Misc->Boot->ShowPicker=true

Misc->Security->AllowSetDefault=false

 

System hangs at NdkBootPicker.efi being loaded.

Have to power off.

 

Log:

00:000 00:000 OC: OpenCore DBG-056-2020-02-17 is loading in Optional mode (0/0)...
00:032 00:032 OC: Boot timestamp - 2020.02.17 19:51:09
00:062 00:029 OCCPU: MP services threads 8 (enabled 8) - Success
00:091 00:029 OCCPU: MP services Pkg 1 Cores 4 Threads 2 - Success
00:145 00:053 OCCPU: Found        Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
00:174 00:029 OCCPU: Signature 306A9 Stepping 9 Model 3A Family 6 Type 0 ExtModel 3 ExtFamily 0 uCode 19
00:204 00:029 OCCPU: Detected Apple Processor Type: 07 -> 0704
00:256 00:052 OCCPU: Ratio Min 16 Max 35 Current 35 Turbo 48 48 48 48
00:287 00:030 OCCPU: Timer address is 408 from LPC
00:440 00:153 OCCPU: CPUFrequencyFromTSC  3501162290Hz  3501MHz
00:469 00:029 OCCPU: CPUFrequency  3501162290Hz  3501MHz
00:499 00:029 OCCPU: FSBFrequency   100033208Hz   100MHz
00:552 00:052 OCCPU: Pkg 1 Cores 4 Threads 8
00:581 00:029 OC: OcLoadNvramSupport...
00:611 00:029 OC: Setting NVRAM 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:UIScale - ignored, exists
00:689 00:078 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args - ignored, exists
00:719 00:029 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config - ignored, exists
00:748 00:029 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:prev-lang:kbd - ignored, exists
00:801 00:052 OC: Current version is DBG-056-2020-02-17
00:831 00:030 OC: OcLoadUefiSupport...
00:885 00:053 AIFTimerBoostInit Current timer is 10000
00:915 00:029 gST->ConIn BEE1F230 vs found BEE1F230
00:944 00:029 OCABC: Firmware has 4170371 free pages (766595 in lower 4 GB)
00:999 00:055 OC: Got 7 drivers
01:029 00:029 OC: Driver FwRuntimeServices.efi at 0 is being loaded...
01:075 00:046 OC: Driver FwRuntimeServices.efi at 0 is successfully loaded!
01:124 00:048 OC: Driver ApfsDriverLoader.efi at 1 is being loaded...
01:166 00:042 Starting ApfsDriverLoader ver. 2.1.6
01:192 00:025 OC: Driver ApfsDriverLoader.efi at 1 is successfully loaded!
01:245 00:052 OC: Driver ApfsDriverLoader.efi at 1 needs connection.
01:274 00:029 OC: Driver HFSPlus.efi at 2 is being loaded...
01:340 00:065 OC: Driver HFSPlus.efi at 2 is successfully loaded!
01:367 00:026 OC: Driver HFSPlus.efi at 2 needs connection.
01:396 00:029 OC: Driver FireWireOhci.efi at 3 is being loaded...
01:464 00:068 OC: Driver FireWireOhci.efi at 3 is successfully loaded!
01:490 00:026 OC: Driver FireWireOhci.efi at 3 needs connection.
01:521 00:030 OC: Driver AudioDxe.efi at 4 is being loaded...
01:588 00:067 OC: Driver AudioDxe.efi at 4 is successfully loaded!
01:614 00:026 OC: Driver AudioDxe.efi at 4 needs connection.
01:644 00:029 OC: Driver BootChimeDxe.efi at 5 is being loaded...
01:765 00:120 OC: Driver BootChimeDxe.efi at 5 is successfully loaded!
01:791 00:026 OC: Driver NdkBootPicker.efi at 6 is being loaded...

 

6 hours ago, n.d.k said:

I am releasing the external GUI boot picker for the standard OC https://github.com/n-d-k/NdkBootPicker, Binary release are available as well, auto built by Travis ci server.

Thanks for doing this. Makes the most sense now with OC bringing support for external boot loaders. One thing, when complied, Icons creates another duplicate parent folder of the same name. FYI.

8 minutes ago, telepati said:

Guys which .plist editor are you recommended for OpenCore? Cause Xcode sometimes broke the .plist and starting to give a failed parse real error. That's why I am asking you what is the best option for editing plist. 

 

I've never had problem with Xcode.  having said that I've always used PlistEdit Pro. cheap, small & lite and very easy to use. never failed me.

  • Like 1
9 hours ago, telepati said:

Guys which .plist editor are you recommended for OpenCore? Cause Xcode sometimes broke the .plist and starting to give a failed parse real error. That's why I am asking you what is the best option for editing plist. 

Xcode remains the best option to edit plist files because this is Apple's used files.

  • Like 2

Anyone know why I cannot enable SIP?  I have 

<key>csr-active-config</key>
<data>AAAAAA==</data>

and I see

> nvram -p
csr-active-config	g%00%00%00

but when I check, I get

>csrutil status
System Integrity Protection status: disabled.

I don't know what else to check/try.

2 minutes ago, Logician said:

Anyone know why I cannot enable SIP?  I have 


<key>csr-active-config</key>
<data>AAAAAA==</data>

and I see


> nvram -p
csr-active-config	g%00%00%00

but when I check, I get


>csrutil status
System Integrity Protection status: disabled.

I don't know what else to check/try.

 

Maybe, You've to reset NVRAM after this change. Just my opinion.

  • Like 1
3 hours ago, Slice said:

Xcode remains the best option to edit plist files because this is Apple's used files. 

You are right and that's why I chose Xcode for editing first in place but lately, when I use Xcode it starts to convert <integer> to <real> and giving this error while boot "Failed to parse real field of type 1". I create a new config.plist and still giving the same error. And I don't know how to fix this problem on Xcode. But I create the same config files with the same settings on ProperTree "Failed to parse real field of type 1" error gone. Why Xcode doing that I don't get it?

  • Like 1
6 hours ago, Slice said:

Xcode remains the best option to edit plist files because this is Apple's used files.

xcode is fine yes but there has been an issue with saving in the ESP a few others have encountered this issue as well so we found that plist editor pro a better option

  • Like 1

is there any timeout option for error seeing? For example, I am getting this error 'Failed to parse real field of type 1' before the boot picker, but it is passing extremely fast there is no time to read. 

 

I set up this way but still fast cant read anything;

 

Under Debug;

DisableWatchDog YES

DisplayDelay 100

 

But I am not sure these are the correct option for my needs.

×
×
  • Create New...