Jump to content

OpenCore General Discussion


dgsga
8,805 posts in this topic

Recommended Posts

4 hours ago, hardcorehenry said:

Base: _xcpm_bootstrap
Comment: _xcpm_bootstrap (Ivy Bridge) 10.15.4+
Count: 1
Enabled: YES
Find: 80C3C480FB42
Identifier: kernel
Limit: 0
Mask: FFFF00FFFFFF
MinKernel: 19.05.00
MaxKernel: 19.99.99
Replace: 80C3C680FB42
ReplaceMask: 0000FF000000
Skip: 0

 

 

Thx.

That patch does not work.

First, I'm on macOS 10.15.4 (19E287) and OC identifies it as 19.4.0 so that patch had to be modified so that MinKernel = 19.04.00.

Second, I never had the Mask and ReplaceMask to work so they are left empty.

 

Here's the patch:

 

71713501_Screenshot2020-04-23at21_04_34.png.67af725994b69ad6e9012317afbca222.png

 

Then OC successfully patches the kernel (which I assume means that it found the "Find" value and replaced it "Replace" value :

15:093 00:010 OC: Read kernel version 19.4.0 (190400)
15:095 00:001 OC: Kernel patcher skips kernel (_xcpm_bootstrap (Ivy Bridge) 10.13-10.14) patch at 1 due to version 0 <= 190400 <= 180700
15:098 00:003 OCAK: _xcpm_bootstrap (Ivy Bridge) 10.15.4+ replace count - 1
15:100 00:001 OC: Kernel patcher result 2 for kernel (_xcpm_bootstrap (Ivy Bridge) 10.15.4+) - Success

...but that does not enable XCPM.

There's nothing in the log to say that XCPM mode is enabled.

 

Where did you get this patch from ?

Is is meant for 10.15.5 ???

 

 

Link to comment
Share on other sites

9 minutes ago, Andrey1970 said:

PickerAttributes 1

as instruction of vit9696 said PickerAttributes set to 0 but didn't work 

now as your instruction PickerAttributes i set to 1 solved

thanks so much Andrey1970 

PickerAttributes set to 1 worked

20200423_230437.thumb.jpg.16ca2e8bcc0bdcd15af22b2d5e72379f.jpg

Link to comment
Share on other sites

41 minutes ago, MacNB said:

 

Thx.

That patch does not work.

First, I'm on macOS 10.15.4 (19E287) and OC identifies it as 19.4.0 so that patch had to be modified so that MinKernel = 19.04.00.

Second, I never had the Mask and ReplaceMask to work so they are left empty.

 

Here's the patch:

 

71713501_Screenshot2020-04-23at21_04_34.png.67af725994b69ad6e9012317afbca222.png

 

Then OC successfully patches the kernel (which I assume means that it found the "Find" value and replaced it "Replace" value :


15:093 00:010 OC: Read kernel version 19.4.0 (190400)
15:095 00:001 OC: Kernel patcher skips kernel (_xcpm_bootstrap (Ivy Bridge) 10.13-10.14) patch at 1 due to version 0 <= 190400 <= 180700
15:098 00:003 OCAK: _xcpm_bootstrap (Ivy Bridge) 10.15.4+ replace count - 1
15:100 00:001 OC: Kernel patcher result 2 for kernel (_xcpm_bootstrap (Ivy Bridge) 10.15.4+) - Success

...but that does not enable XCPM.

There's nothing in the log to say that XCPM mode is enabled.

 

Where did you get this patch from ?

Is is meant for 10.15.5 ???

 

 

 

In bootstrap patch you only have to replace C4 with calculated value for your processor IvyBridge C6.
I may have miscalculated MinKernel, but it is meant for 10.15.4. Do you have SSDT-PLUG.aml in your ACPI folder and config? Did you rebuild kernel cache after applying this patch?

Link to comment
Share on other sites

I need to change device ID for the IMEI device, PciRoot(0x0)/Pci(0x16,0x0)

However, using device-id dict in Device Properties has no effect.

The device id change is ignored. It works fine if I want to change device ID for graphics card.

But for IMEI it is always ignored. Result: no QE CI.

Clover works perfectly. pls help?

I need to change device ID for the IMEI device, PciRoot(0x0)/Pci(0x16,0x0)

However, using device-id dict in Device Properties has no effect.

The device id change is ignored. It works fine if I want to change device ID for graphics card.

But for IMEI it is always ignored. Result: no QE CI.

Clover works perfectly. pls hlep

Link to comment
Share on other sites

55 minutes ago, hardcorehenry said:

 

In bootstrap patch you only have to replace C4 with calculated value for your processor IvyBridge C6.
I may have miscalculated MinKernel, but it is meant for 10.15.4. Do you have SSDT-PLUG.aml in your ACPI folder and config? Did you rebuild kernel cache after applying this patch?

 

I see where you got that patch from.

That was from @nmano's list for Haswell, Skylake and later. 

They don't work for Ivy Bridge.

 

Yes I have an SSDT for my CPU PM and it's does set Plugin-Type to 1.

No I had not rebuild the cache as patch ing live on relinked kernel.

I did it anyway just to prove rebelling cache makes no difference.

 

I got my Ivy Bridge patch for High Sierra & Mojave from Clover sources for KernelXCPM quirk and will need to check if they updated it for Catalina.

Thanks anyway.

 

Edited by MacNB
Link to comment
Share on other sites

hi anyone any ideas 

last message repeated 2 times ---

Apr 23 00:01:27 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Apr 23 00:01:49 --- last message repeated 1 time ---

Apr 23 00:01:49 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.

Apr 23 00:01:58 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Apr 23 00:02:29 --- last message repeated 2 times ---

Apr 23 00:02:29 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Apr 23 00:02:50 --- last message repeated 1 time ---

Apr 23 00:02:50 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.

Apr 23 00:02:59 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Apr 23 00:03:01 ms-iMac com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.mdmclient.2582): Failed to bootstrap path: path = /usr/libexec/mdmclient, error = 108: Invalid path

Apr 23 00:03:09 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Apr 23 00:03:40 --- last message repeated 2 times ---

Apr 23 00:03:40 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Apr 23 00:04:11 --- last message repeated 2 times ---

Apr 23 00:04:11 ms-iMac com.apple.xpc.launchd[1] (com.apple.wifi.WiFiAgent): Sermac-pc@ms-iMac log % /usr/libexec/mdmclient

mdmclient: Client Management MDM client

this is what caused this

kxld[as.vt9696.virtualsmc] following symbols are unresolved

__zn14basedeviceinfo3getev

what in the world I never seen this that all of these kexts share same vt9696 and something doesnt get loaded rpoperly and then it kp's

who is this russian guy vitaliy @vit9696  who wrote whole slew of these kexts that has his name all over the place @Andrey1970

kp1.jpg

Edited by markl18
Link to comment
Share on other sites

1 hour ago, topolino1 said:

Hi,
After updating to 10.15.4
The system does not start.
There was a problem:198278309_Zrzutekranu2020-04-23o22_45_30.thumb.png.1036432539f708d128a1c6a8789007ed.png

 

The system starts at 0.5.5 - But this problem occurs.
On OC 0.5.8. Does not start.

How to fix it?

 

Thx.

 

just had same issue 

And don't forget to disable the following from your config.plist under Kernel -> Quirks:

  • AppleCpuPmCfgLock
  • AppleXcpmCfgLock
  • 同样问题,已解决,我的是cfg lock的问题,如果没有解锁将Config—–Kernel—–Quirks下AppleCpuPmCfgLock设为yes ,AppleXcpmCfgLock设为yes,Config—–UEFI—-Quirks下IgnoreInvalidFlexRatio设为yes The same problem has been solved. My problem is the cfg lock. If it is not unlocked, set AppleCpuPmCfgLock to yes under Config—Kernel—Quirks, set yes to AppleXcpmCfgLock, and set IgnoreInvalidFlexRatio to yes under Config—UEFI—Quirks.
    these 3 should do the trick
Link to comment
Share on other sites

2 hours ago, anmool said:

as instruction of vit9696 said PickerAttributes set to 0 but didn't work 

now as your instruction PickerAttributes i set to 1 solved

thanks so much Andrey1970 

PickerAttributes set to 1 worked

Set bit0 = 1

Link to comment
Share on other sites

54 minutes ago, markl18 said:

just had same issue 

And don't forget to disable the following from your config.plist under Kernel -> Quirks:

  • AppleCpuPmCfgLock
  • AppleXcpmCfgLock
  • 同样问题,已解决,我的是cfg lock的问题,如果没有解锁将Config—–Kernel—–Quirks下AppleCpuPmCfgLock设为yes ,AppleXcpmCfgLock设为yes,Config—–UEFI—-Quirks下IgnoreInvalidFlexRatio设为yes The same problem has been solved. My problem is the cfg lock. If it is not unlocked, set AppleCpuPmCfgLock to yes under Config—Kernel—Quirks, set yes to AppleXcpmCfgLock, and set IgnoreInvalidFlexRatio to yes under Config—UEFI—Quirks.
    these 3 should do the trick

 

Thanks @ markl18.

AppleCpuPmCfgLock yes, AppleXcpmCfgLock yes, I had it corrected.

I changed IgnoreInvalidFlexRatio to yes, but it didn't work.

 

How to fix it?

 

Link to comment
Share on other sites

Just now, topolino1 said:

 

Thanks @ markl18.

AppleCpuPmCfgLock yes, AppleXcpmCfgLock yes, I had it corrected.

I changed IgnoreInvalidFlexRatio to yes, but it didn't work.

 

How to fix it?

 


Have you sat down and made yourself a drink and spent the time to read though the OpenCore guide?

I think you might find it very helpful if you do. I would say this is your best course or action as you will learn what to do and where your going wrong?

Your issues are all very basic and all the answers you need are there for you in the guide. 
There’s no better way of doing it other then learning how to do something for yourself buddy. 
more so when it’s something so basic.

 

  • Like 2
Link to comment
Share on other sites

11 hours ago, AudioGod said:


Czy usiadłeś, zrobiłeś sobie drinka i spędziłeś czas na czytaniu przewodnika OpenCore?

Myślę, że może ci się to bardzo przydać. Powiedziałbym, że to twój najlepszy kurs lub działanie, ponieważ dowiesz się, co robić i gdzie popełnisz błąd?

Twoje problemy są bardzo podstawowe, a wszystkie potrzebne odpowiedzi znajdziesz w przewodniku. 
Nie ma lepszego sposobu, aby to zrobić inaczej niż nauczenie się, jak zrobić coś dla siebie. 
tym bardziej, gdy jest to coś tak podstawowego.

 

 

Hi @AudioGod

 

I read a lot of drinks while reading:thumbsup_anim:
Yes, I read the guide many times and I keep coming back to it.
I can't find the answer to this problem, maybe it's about poor English.

I remind you that I mean:

984836957_Zrzutekranu2020-04-23o22_45_30.thumb.png.0f888433894d3cf47527d98efd548831.png

 

Could you tell where to look?

 

@AudioGod is not a basic guide issue, so as you say you know say it. Because I was looking for solutions and it is not so easy.

 

Edited by topolino1
Link to comment
Share on other sites

On 3/25/2020 at 8:58 PM, AudioGod said:

Quick Question to anybody and probably a dumb one.

Should I still be using device rename patches in OpenCore or should I of dropped all of that a while ago?

 

1054105179_Screenshot2020-03-25at13_55_58.thumb.png.b5063293b86f42306e5f78a4783db943.png

opencore is just simple, nust klik file ,snapshot then choose folder OC then klik open then 

  • Confused 2
Link to comment
Share on other sites

10 hours ago, topolino1 said:

 

Hi @AudioGod

 

I read a lot of drinks while reading:thumbsup_anim:
Yes, I read the guide many times and I keep coming back to it.
I can't find the answer to this problem, maybe it's about poor English.

I remind you that I mean:

984836957_Zrzutekranu2020-04-23o22_45_30.thumb.png.0f888433894d3cf47527d98efd548831.png

 

Could you tell where to look?

 

@AudioGod is not a basic guide issue, so as you say you know say it. Because I was looking for solutions and it is not so easy.

 

@AudioGod. I knew you didn't know the solution, Yes anyone can write. Many people had this problem here and hardly anyone solved it.


What are you talking about dude, I live in the U.K. and I was doing something called sleeping as it was late believe it or not but I’m glad you think I don’t know....lol.....Your attitude will get no help from me buddy but for the record I was never offering to help in the first place, I was just making a suggestion to you.  :help:

Edited by AudioGod
  • Like 1
Link to comment
Share on other sites

10 hours ago, anmool said:

@Andrey1970 sometime break my boot in half apple logo and restart again

i have no idea what is this issue but i updated all kexts no luck

i attached screenshot of report

 

420243817_ScreenShot2020-04-12at4_25_12AM.thumb.png.abb9137f6c74b2d4ca555bdefb8845f4.pngimageproxy.php?img=&key=c17464ef1b1b51c7imageproxy.php?img=&key=c17464ef1b1b51c7

Provide kernel panic with debug AirportBrcmFixup and Lilu versions.

Link to comment
Share on other sites

1 hour ago, AudioGod said:


What are you talking about dude, I live in the U.K. and I was doing something called sleeping as it was late believe it or not but I’m glad you think I don’t know....lol.....Your attitude will get no help from me buddy but for the record I was never offering to help in the first place, I was just making a suggestion to you.  :help:

 

@AudioGod, I am so sorry.
I just can't find a solution.
I found nothing in the documentation.

Often, everyone write see documentation, but I set the config based on the documentation. I changed the config a lot of times and it doesn't work :(

Edited by topolino1
Link to comment
Share on other sites

20 hours ago, SavageAUS said:

Not sure if it is implemented yet or not but can we change the icons for macOS / Windows etc with opencanopy? If so how?

 

Yes you can.

After vit9696's explanation, Windows partition's icon can be displayed too.

 

Here's what mine looks like:

 

IMG_1712.thumb.jpg.c285963dff188d4da7e8e38c672b1db2.jpg

 

See Configuration.pdf Section 8.3 (5) - PickerAttributes.

It'd early days for OpenCanopy (pre-release) so not all features are implemented and/or working.

 

This is what I did:

1. Set PickerAttributes=1

2. Create your icons. I used Image2icon App and rename it .VolumeIcon.icns

3. For APFS volumes, I had to mount the preboot partition (diskutil mount diskXsy) and copy the .VolumeIcon.icns to the root of the preboot partition. Unmount the partition (diskutil unmount diskXsy)

4. For HFS volume, just copy the .VolumeIcon.icns to the root of the volume 

5. For Windows, copy the .VolumeIcon.icns file to the root of EFI partition from where Windows boots. 

 

YMMV

 

EDIT:

Here's what preboot looks like:

% ls -ail /volumes/preboot
total 10432
    2 drwxr-xr-x@  5 root  wheel      160 11 Apr 15:45 .
24273 drwxr-xr-x  10 root  wheel      320 24 Apr 12:03 ..
  153 d-wx--x--t   4 root  wheel      128 24 Feb 18:16 .Trashes
 1236 -rw-r--r--@  1 root  wheel  2193241 14 Apr 19:00 .Volumeicon.icns
   16 drwxr-xr-x   7 root  wheel      224 22 Nov  2018 E279060B-74D4-3B85-A4C4-6835F84A3C7A
% 

Here's what the EFI folder (where Windows is booted from):

% ls -ail /volumes/efi
total 5184
        2 drwxrwxrwx@  1 MacNB  staff     1024 24 Apr 12:43 .
    24273 drwxr-xr-x  10 root    wheel      320 24 Apr 13:56 ..
   193933 drwxrwxrwx   1 MacNB  staff      512 16 Dec  2017 .TemporaryItems
        3 drwxrwxrwx@  1 MacNB  staff      512 24 Apr 13:56 .Trashes
    26897 -rwxrwxrwx@  1 MacNB  staff  2192190 14 Apr 21:39 .VolumeIcon.icns
        4 -rwxrwxrwx   1 MacNB  staff     4096  2 Dec  2016 ._.Trashes
    26889 -rwxrwxrwx   1 MacNB  staff     4096 24 Apr 12:43 ._.VolumeIcon.icns
    26887 drwxrwxrwx   1 MacNB  staff      512 24 Apr 13:56 .fseventsd
999999999 -rwxrwxrwx   1 MacNB  staff        0  2 Oct  2017 .metadata_never_index
     1530 drwxrwxrwx   1 MacNB  staff     1024  7 Nov  2018 EFI
   332437 -rwxrwxrwx   1 MacNB  staff   450048 27 Sep  2017 boot
% 

 

Edited by MacNB
Extra info & correction
Link to comment
Share on other sites

7 minutes ago, topolino1 said:

 

@AudioGod, I am so sorry.
I just can't find a solution.
I found nothing in the documentation.

Often, everyone write see documentation, but I set the config based on the documentation. I changed the config a lot of times and it doesn't work :(


PM me your EFI and also a run down of your spec and il have a look though it for you?

im not a mean Guy I promise lol ;) 

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...