Jump to content
8755 posts in this topic

Recommended Posts

Will this section in the config.plist enable my brightness hotkeys? If so how? If not how can this be achieved? The only way I know of is with DSDT.

Comment_Q11 to XQ11Count1EnabledFindX1ExMQ==Limit0MaskOemTableIdReplaceWFExMQ==ReplaceMaskSkip0TableLength0TableSignatureComment_Q12 to XQ12Count1EnabledFindX1ExMg==Limit0MaskOemTableIdReplaceWFExMg==ReplaceMaskSkip0TableLength0TableSignature




Sent from my iPhone using Tapatalk

Can we get more explanation about ApECID value ? Is it reserved for T2 enabled SMBIOS only ? I tried setting it to some random 64 bit integer and could not boot to recovery afterwards.

@Paksman I too am trying to figure out how this works. ApECID is not the one causing recovery to fail but the SecureBootModel set to anything other than Disabled. In looking at the boot logs, it looks like the immutable kernel files are not found on either Recovery or install BS b4 files, and therefore the Apple efiboot sends a reboot command:

Spoiler



129:533 00:040 AAPL: [EB|#SB:SBGMFNS] (j137ap.im4m)
129:586 00:052 AAPL: [EB|#SB:MF] (boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m)
129:644 00:058 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m, DP: 0
129:710 00:065 AAPL: [EB|`LD:OFS] Err(0xE) @ OPEN (boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m)
129:758 00:048 AAPL: [EB|`SB:VK] Err(0xE) @ LD:LF
129:805 00:047 AAPL: [EB|`LD:LKCFFP] Err(0x1A) @ SB:SBVK
129:851 00:045 AAPL: [EB|#CS:SRBM] secure-boot
129:895 00:043 AAPL: [EB|#FWFM] 0x00000000FF9FFF3F
129:938 00:043 AAPL: [EB|#FWFT] 0x00000000FD8FF53E
129:983 00:044 AAPL: [EB|#B:RB]
130:025 00:042 AAPL: [EB|#WL|8] 0x01 0x41  19 0x0E
130:065 00:040 AAPL: [EB|#REBOOT] 1
130:111 00:046 AAPL: [EB|#LOG:RESET:RECOVERY] 2020-08-10T17:54:26


 

 

However these files do exist on the live system:

Spoiler



120:730 00:586 AAPL: [EB|#SB:P] 0x1
120:775 00:044 AAPL: [EB|#SB:SBGMFNS] (j137ap.im4m)
120:825 00:050 AAPL: [EB|#SB:MF] (boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m)
120:886 00:061 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m, DP: 0
120:929 00:042 OC: Kext reservation size info 583000 exe 3A0000
120:960 00:031 OC: Trying XNU hook on boot\System\Library\KernelCollections\BootKernelExtensions.kc.j137ap.im4m
121:000 00:039 OC: Result of XNU hook on boot\System\Library\KernelCollections\BootKernelExtensions.kc.j137ap.im4m (7E4F2444) is Bad Buffer Size
121:051 00:051 OCI4: Trying override 48 vs 48 for 7E4F2444
121:622 00:571 OCI4: Digest matched 7E4F2444, accepting and disabling
121:667 00:044 AAPL: [EB|#SB:MKRN]
121:714 00:047 AAPL: [EB|`LD:LKFS] } Ok(0)
121:759 00:044 AAPL: [EB|`LD:LKC] } Ok(0)
121:799 00:039 AAPL: [EB|#FWFM] 0x00000000FF9FFF3F
121:845 00:046 AAPL: [EB|#FWFT] 0x00000000FD8FF53E
121:883 00:038 AAPL: [EB|#BST:REV1]
121:928 00:044 AAPL: [EB|#CSR:OUT] 0x00000040
121:968 00:040 AAPL: [EB|`BST:FBS] {
122:010 00:042 AAPL: [EB|#GIP:PHS.1] Boot 1
122:053 00:042 AAPL: [EB|#GIP:PCT] 0x16
122:096 00:043 AAPL: [EB|#GIP:PHS.2] Software Update Post Logout
122:142 00:046 AAPL: [EB|#GIP:PCT] 0x2e
122:180 00:037 AAPL: [EB|#GIP:PHS.2] Boot 1
122:225 00:044 AAPL: [EB|`BST:FBS] BA.ADSZ: 0
122:265 00:039 AAPL: [EB|`BST:FBS] BA.KSDSZ: 0
122:311 00:045 AAPL: [EB|#SB:SBGMFNS] (j137ap.im4m)
122:355 00:044 AAPL: [EB|#RH:PF] (usr\\standalone\\OS.dmg.root_hash)
122:404 00:049 AAPL: [EB|#RH:MF] (usr\\standalone\\OS.dmg.root_hash.j137ap.im4m)
122:456 00:051 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: usr\\standalone\\OS.dmg.root_hash, DP: 0
122:512 00:056 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: usr\\standalone\\OS.dmg.root_hash.j137ap.im4m, DP: 0
122:564 00:051 AAPL: [EB|`BST:FBS] BA.ARVRHPSZ: 99
122:606 00:042 AAPL: [EB|`BST:FBS] BA.ARVRHMSZ: 3626
122:638 00:032 OCSMC: SmcReadValue Key 4D535463 Size 1
122:670 00:032 OCSMC: SmcReadValue Key 4D534163 Size 2
122:717 00:046 AAPL: [EB|`B:WFDW] Err(0xE), 0 @ LocHB 71B4903C-14EC-42C4-BDC6-CE1449930E49
122:768 00:051 AAPL: [EB|#LOG:DT] 2020-08-10T17:26:52
122:798 00:029 OCABC: MMIO devirt start
122:832 00:033 OCABC: MMIO devirt 0xE0000000 (0x10000 pages, 0x8000000000000000) skip 0
122:863 00:031 OCABC: MMIO devirt 0xFE000000 (0x11 pages, 0x8000000000000001) skip 0
122:901 00:037 OCABC: MMIO devirt 0xFEC00000 (0x1 pages, 0x8000000000000001) skip 0
122:934 00:033 OCABC: MMIO devirt 0xFED00000 (0x1 pages, 0x8000000000000001) skip 0
122:970 00:035 OCABC: MMIO devirt 0xFEE00000 (0x1 pages, 0x800000000000100D) skip 0
123:005 00:035 OCABC: MMIO devirt 0xFF000000 (0x1000 pages, 0x800000000000100D) skip 0
123:040 00:035 OCABC: MMIO devirt end, saved 278608 KB
123:087 00:046 AAPL: [EB|#LOG:EXITBS:START] 2020-08-10T17:26:52


 

 

So I tried to generate a new installer and re-ran it while the ApECID set to 0 and the SecureBootModel flags were set to either "Default" or the same iMacPro1,1 as of my hardware (even while they are not needed to match), but that made zero difference and the files are still not found after the install is over. So at this point, I'm not sure why they aren't being copied/created for the non-live system. There might be more to come IMHO. Still waiting for @vit9696 to perhaps give some hints ;) 

  • Like 1
On 8/9/2020 at 10:43 AM, xKaoSx said:

Hi everbody,

I am found solution but not understand.

dortania says

InjectNvidia:

  • DeviceProperties -> Add -> PciRoot... -> device-id
  • DeviceProperties -> Add -> PciRoot... -> Family

 

I am try this but no effect, What is "Family" 9600GT GPU and macOS High Sierra. Please help me. 

Ekran Resmi 2020-08-09 12.41.45.png

 

As you discovered, OpenCore does not have the equivalent of InjectNvidia in Clover and the dortania guide you have been using is incomplete regarding this "feature".

You have to manually inject your Nvidia graphics card's properties yourself.

There are two ways of doing this (a) Device Properties injection via config.plist and (b) by adding Device properties to the DSDT.aml.

 

Looks like you are trying (a) but it's seems incorrect.

First what you need is the IOREG file. Use IORegistryExplorer.App v2.1 and post it here. You will have to boot your system via Clover to do that.

You then extract the relevant device info and create the Device properties in the config.plist or DSDT.aml.

 

If you have a DSDT.aml, post it here and your config.plist

40 minutes ago, Alex HQuest said:

@Paksman I too am trying to figure out how this works. ApECID is not the one causing recovery to fail but the SecureBootModel set to anything other than Disabled. In looking at the boot logs, it looks like the immutable kernel files are not found on either Recovery or install BS b4 files, and therefore the Apple efiboot sends a reboot command:

  Reveal hidden contents

 



129:533 00:040 AAPL: [EB|#SB:SBGMFNS] (j137ap.im4m)
129:586 00:052 AAPL: [EB|#SB:MF] (boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m)
129:644 00:058 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m, DP: 0
129:710 00:065 AAPL: [EB|`LD:OFS] Err(0xE) @ OPEN (boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m)
129:758 00:048 AAPL: [EB|`SB:VK] Err(0xE) @ LD:LF
129:805 00:047 AAPL: [EB|`LD:LKCFFP] Err(0x1A) @ SB:SBVK
129:851 00:045 AAPL: [EB|#CS:SRBM] secure-boot
129:895 00:043 AAPL: [EB|#FWFM] 0x00000000FF9FFF3F
129:938 00:043 AAPL: [EB|#FWFT] 0x00000000FD8FF53E
129:983 00:044 AAPL: [EB|#B:RB]
130:025 00:042 AAPL: [EB|#WL|8] 0x01 0x41  19 0x0E
130:065 00:040 AAPL: [EB|#REBOOT] 1
130:111 00:046 AAPL: [EB|#LOG:RESET:RECOVERY] 2020-08-10T17:54:26

 

 

 

 

 

However these files do exist on the live system:

  Reveal hidden contents

 



120:730 00:586 AAPL: [EB|#SB:P] 0x1
120:775 00:044 AAPL: [EB|#SB:SBGMFNS] (j137ap.im4m)
120:825 00:050 AAPL: [EB|#SB:MF] (boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m)
120:886 00:061 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j137ap.im4m, DP: 0
120:929 00:042 OC: Kext reservation size info 583000 exe 3A0000
120:960 00:031 OC: Trying XNU hook on boot\System\Library\KernelCollections\BootKernelExtensions.kc.j137ap.im4m
121:000 00:039 OC: Result of XNU hook on boot\System\Library\KernelCollections\BootKernelExtensions.kc.j137ap.im4m (7E4F2444) is Bad Buffer Size
121:051 00:051 OCI4: Trying override 48 vs 48 for 7E4F2444
121:622 00:571 OCI4: Digest matched 7E4F2444, accepting and disabling
121:667 00:044 AAPL: [EB|#SB:MKRN]
121:714 00:047 AAPL: [EB|`LD:LKFS] } Ok(0)
121:759 00:044 AAPL: [EB|`LD:LKC] } Ok(0)
121:799 00:039 AAPL: [EB|#FWFM] 0x00000000FF9FFF3F
121:845 00:046 AAPL: [EB|#FWFT] 0x00000000FD8FF53E
121:883 00:038 AAPL: [EB|#BST:REV1]
121:928 00:044 AAPL: [EB|#CSR:OUT] 0x00000040
121:968 00:040 AAPL: [EB|`BST:FBS] {
122:010 00:042 AAPL: [EB|#GIP:PHS.1] Boot 1
122:053 00:042 AAPL: [EB|#GIP:PCT] 0x16
122:096 00:043 AAPL: [EB|#GIP:PHS.2] Software Update Post Logout
122:142 00:046 AAPL: [EB|#GIP:PCT] 0x2e
122:180 00:037 AAPL: [EB|#GIP:PHS.2] Boot 1
122:225 00:044 AAPL: [EB|`BST:FBS] BA.ADSZ: 0
122:265 00:039 AAPL: [EB|`BST:FBS] BA.KSDSZ: 0
122:311 00:045 AAPL: [EB|#SB:SBGMFNS] (j137ap.im4m)
122:355 00:044 AAPL: [EB|#RH:PF] (usr\\standalone\\OS.dmg.root_hash)
122:404 00:049 AAPL: [EB|#RH:MF] (usr\\standalone\\OS.dmg.root_hash.j137ap.im4m)
122:456 00:051 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: usr\\standalone\\OS.dmg.root_hash, DP: 0
122:512 00:056 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: usr\\standalone\\OS.dmg.root_hash.j137ap.im4m, DP: 0
122:564 00:051 AAPL: [EB|`BST:FBS] BA.ARVRHPSZ: 99
122:606 00:042 AAPL: [EB|`BST:FBS] BA.ARVRHMSZ: 3626
122:638 00:032 OCSMC: SmcReadValue Key 4D535463 Size 1
122:670 00:032 OCSMC: SmcReadValue Key 4D534163 Size 2
122:717 00:046 AAPL: [EB|`B:WFDW] Err(0xE), 0 @ LocHB 71B4903C-14EC-42C4-BDC6-CE1449930E49
122:768 00:051 AAPL: [EB|#LOG:DT] 2020-08-10T17:26:52
122:798 00:029 OCABC: MMIO devirt start
122:832 00:033 OCABC: MMIO devirt 0xE0000000 (0x10000 pages, 0x8000000000000000) skip 0
122:863 00:031 OCABC: MMIO devirt 0xFE000000 (0x11 pages, 0x8000000000000001) skip 0
122:901 00:037 OCABC: MMIO devirt 0xFEC00000 (0x1 pages, 0x8000000000000001) skip 0
122:934 00:033 OCABC: MMIO devirt 0xFED00000 (0x1 pages, 0x8000000000000001) skip 0
122:970 00:035 OCABC: MMIO devirt 0xFEE00000 (0x1 pages, 0x800000000000100D) skip 0
123:005 00:035 OCABC: MMIO devirt 0xFF000000 (0x1000 pages, 0x800000000000100D) skip 0
123:040 00:035 OCABC: MMIO devirt end, saved 278608 KB
123:087 00:046 AAPL: [EB|#LOG:EXITBS:START] 2020-08-10T17:26:52

 

 

 

 

 

So I tried to generate a new installer and re-ran it while the ApECID set to 0 and the SecureBootModel flags were set to either "Default" or the same iMacPro1,1 as of my hardware (even while they are not needed to match), but that made zero difference and the files are still not found after the install is over. So at this point, I'm not sure why they aren't being copied/created for the non-live system. There might be more to come IMHO. Still waiting for @vit9696 to perhaps give some hints ;) 

I'm actually on Catalina and I can boot fine with SecureBootModel set to Default, only when I change ApECID to value different than 0 it fails to boot.

Just now, Paksman said:

I'm actually on Catalina and I can boot fine with SecureBootModel set to Default, only when I change ApECID to value different than 0 it fails to boot.

Did you read the doc? If you change the value to anything BUT 0, you need to reinstall macOS.

12 hours ago, SavageAUS said:

Will this section in the config.plist enable my brightness hotkeys? If so how? If not how can this be achieved? The only way I know of is with DSDT.


Comment_Q11 to XQ11Count1EnabledFindX1ExMQ==Limit0MaskOemTableIdReplaceWFExMQ==ReplaceMaskSkip0TableLength0TableSignatureComment_Q12 to XQ12Count1EnabledFindX1ExMg==Limit0MaskOemTableIdReplaceWFExMg==ReplaceMaskSkip0TableLength0TableSignature
 

Check out: https://github.com/fnesveda/ExternalDisplayBrightness

  • Like 3
Just now, Tiem said:

Did you read the doc? If you change the value to anything BUT 0, you need to reinstall macOS.

Yes, I read the doc, it says that we need to reinstall macOS or go to the recovery, the problem is that i can't boot the recovery nor the system after the change.

Hi, 

 

i was trying to install Big Sur with OC 0.6.0

I can boot in to the installer, installing starts and after the reboot when i choose macOS Installer it loads (with the apple logo) but after 10-15 sec i got this kp:

D79259F2-0325-471E-80F4-9EF6C9CF9CB6.thumb.jpeg.18df68424b35cd9bf3cd5e19ce5c1e0a.jpeg
 

My config: i5-9600k, gigabyte z390 m, Radeon RX570

Btw: i can boot in to Catalina with the usb.

Edited by Pinto
1 minute ago, vit9696 said:

Recovery loading with non-zero ApECID is not yet implemented. Please be patient, the new stuff is in flux at the moment.

So is Recovery supposed to work with ApECID=0? If it is, it doesn't work for me (some logs provided earlier).

  • Confused 1
7 hours ago, Tiem said:

Thanks for that but i was looking for a more "native" way.

On my laptop i need to press my Fn key to adjust sound volume and with that app i dont need to press Fn key for brightness and i was hoping to make sound and brightness the same (with the Fn key) so i will keep looking for a way to do it with OpenCore.

8 hours ago, MacNB said:

 

As you discovered, OpenCore does not have the equivalent of InjectNvidia in Clover and the dortania guide you have been using is incomplete regarding this "feature".

You have to manually inject your Nvidia graphics card's properties yourself.

There are two ways of doing this (a) Device Properties injection via config.plist and (b) by adding Device properties to the DSDT.aml.

 

Looks like you are trying (a) but it's seems incorrect.

First what you need is the IOREG file. Use IORegistryExplorer.App v2.1 and post it here. You will have to boot your system via Clover to do that.

You then extract the relevant device info and create the Device properties in the config.plist or DSDT.aml.

 

If you have a DSDT.aml, post it here and your config.plist

 

Thank you answer @MacNB

I can try but no effect.

My Ioreg attachment

KaoS’s iMac.ioreg

Hi to all

finally we have the chance to boot TRX40 system using Opencore 060 and latest AMD vanilla patches

DevirtualizeMMIO is on and now system boots fine (with any OSX)

 

It seems we miss NVRAM  and Nvidia kext are not loaded fine, also SIP could be a problem

 

Could it be related to the use of DevirtualizeMMIO quirk?

 

How to debug this last problem?

thank you in advance

Edited by Guest
14 hours ago, MacNB said:

First what you need is the IOREG file. Use IORegistryExplorer.App v2.1 and post it here. You will have to boot your system via Clover to do that.

You then extract the relevant device info and create the Device properties in the config.plist or DSDT.aml.

I tried but I don't know what are the relevant device info in GFX0 element in IOReg. Initially I tried injecting device-id "0A65" and Family "Tesla" but I didn't get any signal after verbose.

As you can see in my previous post I have a GeForce 210 and in Clover it works fine with InjectNvidia flag. 

iMac di Gabriele.ioreg

2 hours ago, CappeXXIII said:

I tried but I don't know what are the relevant device info in GFX0 element in IOReg. Initially I tried injecting device-id "0A65" and Family "Tesla" but I didn't get any signal after verbose.

As you can see in my previous post I have a GeForce 210 and in Clover it works fine with InjectNvidia flag. 

iMac di Gabriele.ioreg

 

Post your config.plist. You may be entering the device-id incorrectly.

Do you have a DSDT.aml that you use for your system ?

 

Also, enable Screen Sharing in System Preferences so that you can remotely login to your system from another system after the system is booted to get the IOREG (even though you have no display output from the graphics card).

latest OC 0.6.1 wish to ask which setting is responsible for installing big sur in any lang?

I recently switched from oc 060 to oc 061 and did a re install of big sur beta four, the only problem is that it installs in Russian Lang and not Eng is this something to do with open core or ssdt?

thanks, I really like open core in the NVRAM settings their is a prev lang keyboard but its left at default which is 0

big sur 4 loads great I have two options, solve this issue or take up Russian!

 

On 10/30/2019 at 1:34 PM, Pavo said:

Emulated NVRAM doesn’t work that way, it does what is outlined in the nvram.plist file. So..... in order for that to work, you would have to have something that will write to the nvram.plist every time you did an update or used Startup Disk for the boot order to change in the nvram.plist file. 

So they woukd not show up in efivarfs on Linux, for instance?

2 hours ago, MacNB said:

Post your config.plist. You may be entering the device-id incorrectly.

I leave my config.plist in attachment.

 

2 hours ago, MacNB said:

Do you have a DSDT.aml that you use for your system ?

No, I have only SSDT-PM generated by ssdtPRGen for power management for Sandy and Ivy bridge and SSDT-EC created by me following manual Dortania method.

 

2 hours ago, MacNB said:

Also, enable Screen Sharing in System Preferences so that you can remotely login to your system from another system after the system is booted to get the IOREG (even though you have no display output from the graphics card).

I tried, but I can't see my hack connected in my router.

Thanks for your interest in my problem.

config.plist

Edited by CappeXXIII
3 hours ago, fuzzylogic said:

latest OC 0.6.1 wish to ask which setting is responsible for installing big sur in any lang?

I recently switched from oc 060 to oc 061 and did a re install of big sur beta four, the only problem is that it installs in Russian Lang and not Eng is this something to do with open core or ssdt?

thanks, I really like open core in the NVRAM settings their is a prev lang keyboard but its left at default which is 0

big sur 4 loads great I have two options, solve this issue or take up Russian!

 

OpenCore defaults to Russian. To change it, there are two options:

1. NVRAM > Add > 7C436110-AB2A-4BBB-A880-FE41995C9F82 > prev-lang:kbd > Use hex value of string "en-US:0" (or convert it to Base64 if editing as plain text).

2. During install, change the language to English. The menu order from left to right is: Apple Logo, OS X Utilities, File, Edit, Utilities, Window. Click the third option (File), then select the first choice, which happens to be "Language". Pick the one you want and it should save on your system - assuming you do not have a prev-lang:kbd setting one on your config.plist.

 

Although I too have considered, multiple times, learning Russian - different reasons though.

Edited by Alex HQuest
  • Like 1
2 hours ago, CappeXXIII said:

I leave my config.plist in attachment.

 

No, I have only SSDT-PM generated by ssdtPRGen for power management for Sandy and Ivy bridge and SSDT-EC created by me following manual Dortania method.

 

I tried, but I can't see my hack connected in my router.

Thanks for your interest in my problem.

config.plist

 

Device-ID injection is insufficient. Your system has panicked.

 

Inject nVidvia via an SSDT.

Try attached.

 

Rename the attached config file to config.plist and replace yours.

Copy the SSDT-GFX0.aml to EFI/OC/ACPI folder. 

SSDT-GFX0.aml

di Gabriele-config.plist

Edited by MacNB

Hi, OC fails to detect startup disk for some reason I don't understand. Also, I tried update macOS Catalina from 10.15.3 to 10.15.6 but OC 0.6.0 is unable to do so. Previously update worked.

 

opencore-2020-08-11-213745.txt

config.plist

5 hours ago, MacNB said:

 

Device-ID injection is insufficient. Your system has panicked.

 

Inject nVidvia via an SSDT.

Try attached.

 

Rename the attached config file to config.plist and replace yours.

Copy the SSDT-GFX0.aml to EFI/OC/ACPI folder. 

SSDT-GFX0.aml

di Gabriele-config.plist

Thanks you very much. Now i can run in recovery without nv_disable and without any glitch, so i reinstalled macos for removing all clover junk. It reboots and without any problem it finished the second part of installation but at the third (and last reboot) i get black screen with working mouse and when I press a key the screen flashes. I leave in the attachment a gif to explain it better.

×
×
  • Create New...