Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

@Slice greetings i m using both of bootloader clover&opencore

Monterey 12 just working fine on opencore

also working fine on clover except one rename patch ADBG to GBDA

when i patch using rename method clover renamed all adbg method to GBDA on under system dsdt

But i don't wont all adbg method to GBDA i want to patch count 1 method adbg to GBDA

Like following screentshot on opencore  i targeted count 1 patch this is my main point

801916418_ScreenShot2022-08-17at6_33_56AM.png.43a9904ac5c4d9c910dce65519904a44.png

522089594_ScreenShot2022-08-17at6_45_29AM.thumb.png.f7fa3a4fc44721728d038790570a87be.png

 

How to add this on clover count 1 string

Without this patch my laptop do not wake after sleep if i got wake then i faced dim screen 

It is possible to add count based patch to clover 782773870_ScreenShot2022-08-17at6_49_30AM.thumb.png.3fc92eb25194c661f75fac24c9a7d4e2.png

Please provide me solution

I think it is possible through TgtBridge method but i don't fimilair about tgt bridge

Edited by ameenjuz
Link to comment
Share on other sites

May be you should use RenameDevices?

    <key>RenameDevices</key>
    <array>
      <dict>
        <key>_SB.PCI0.LPCB.EC0_._PS0.ADBG</key>
        <string>GBDA</string>
      </dict>

Check the path to the method.

The feature is working as for devices so for methods.

  • Like 1
Link to comment
Share on other sites

2 hours ago, Slice said:

May be you should use RenameDevices?

    <key>RenameDevices</key>
    <array>
      <dict>
        <key>_SB.PCI0.LPCB.EC0_._PS0.ADBG</key>
        <string>GBDA</string>
      </dict>

Check the path to the method.

The feature is working as for devices so for methods.

Thanks for reply

Unfortunatly above path  do not work 

When i set only ADBG path then clover renamed all ADBG to GBDA

How to find path  look at my above posted dsdt there is not specified path

I want to rename First ADBG Method there is no like this  path _SB.PCI0.LPCB.EC0_._PS0.ADBG

please reply me

Link to comment
Share on other sites

2 hours ago, ameenjuz said:

Thanks for reply

Unfortunatly above path  do not work 

When i set only ADBG path then clover renamed all ADBG to GBDA

How to find path  look at my above posted dsdt there is not specified path

I want to rename First ADBG Method there is no like this  path _SB.PCI0.LPCB.EC0_._PS0.ADBG

please reply me

Upload your full DSDT. I will look where is the method.

Link to comment
Share on other sites

32 minutes ago, Slice said:

Upload your full DSDT. I will look where is the method.

Uploaded full unpatched dsdt

228905804_ScreenShot2022-08-17at4_59_16PM.thumb.png.d4c4506822d7a9263d47177bb4b20c9c.png

remember find first one ADBG method

Open dsdt and you can see first one ADBG 

No needed scrolling down for finding

DSDT.aml

  • Like 1
Link to comment
Share on other sites

Yes, the Method(ADBG) is only one and it has not target bridge, no path.  But you have to find a place where to rename the call to it.

The name ADBG presents in the DSDT 369 times. How are you going to calculate the value for Skip key? Something like 278?

You are on the wrong way lead by wrong guide.

If you rename the method then other 368 calls will fail.

Open the DSDT and manually rename/delete the method in the _PS0. Then place the patched DSDT into EFI/CLOVER/ACPI/Patched/

Set FixRegions.

 

RenameDevices is not applicable in this problem.

TgtBridge may be _SB.PCI0.LPCB.EC0_._PS0 but ...

I see your DSDT and found

Screenshot 2022-08-17 at 19.09.42.png

There is no call to ADBG() !!!

What are you trying to do? For a what? What is the guide to do this?

 

Anyway I made the new feature in Clover to apply Count in DSDT patches.

 

  • Like 1
Link to comment
Share on other sites

1 hour ago, FirstTimeCustomac said:

Would this also work? Below value matched only once in your DSDT.

image.thumb.png.9bf011e0fd529921352f2cced0cf5a7c.png

 

Find: 0541444247

Replace: 0547414441

 

 

 

Once?

369 times!

 

Ah, understand, you added 05. But what is the sense of the action?

Link to comment
Share on other sites

5 hours ago, Slice said:

Use this Clover and add a key Count = 1 in your plist

 

CLOVERX64.efi-5148-28-g616dbbe14.zip 741.41 kB · 2 downloads

Thanks both of guyz you are considering my issue

1: CLOVERX64.efi is not targeted specified location it is renamed all 369 ADBG to GBDA it is not work

 

1598488272_ScreenShot2022-08-17at11_52_36PM.thumb.png.38cb67e06c4bfd827431625492d81945.png

2: it is OpenCore targeted exact location working already 

1661181006_ScreenShot2022-08-17at11_58_09PM.thumb.png.201f03f2fd5c16c40bcaa255226f4c11.png
@FirstTimeCustomac thanks you are found right location it worked for me

now sleep after wake and lid close lid open worked fine like opencore to adding this value 

Find: 0541444247

Replace: 0547414441

Please explain clearly how to find 05 value and from where is find

I think that you found this value using haxfiend or through binary

Thanks Slice and FirsTimeCustoma

it worked perfectly

Please share your expereince how to find this exact location

It is proved following screenshot attached

1268139203_ScreenShot2022-08-18at12_16_07AM.thumb.png.462355314eab1490b794857c0801d04c.png

Now my primary bootloader is clover because i m running dual boot macOS & windows11 

Clover is boot windows originaly without applying ACPI patch i like it

But OpenCore has not like a option it is boot with applying acpi patch

I think that we should keep or boot windows originaly without applying patch

Edited by ameenjuz
Link to comment
Share on other sites

@Slice

I want to get debug log of nvmefix.kext where i use nvme ssd 

it inject apst or it is enabled or not

I puted debug version of nvmefix.kex and lilu into folder other

Boot arge -nvmefdbg and -liludbgall but i did'nt get debug log

m i something miss?

Link to comment
Share on other sites

22 minutes ago, ameenjuz said:

@Slice

I want to get debug log of nvmefix.kext where i use nvme ssd 

it inject apst or it is enabled or not

I puted debug version of nvmefix.kex and lilu into folder other

Boot arge -nvmefdbg and -liludbgall but i did'nt get debug log

m i something miss?

Sorry I know nothing about Lilu debug. Never used it.

Link to comment
Share on other sites

38 minutes ago, ameenjuz said:

How to get nvmefix.kext's log 

Is there proper way for geting each kext debug log

 

It is the kext own ability to make debug log. I can tell about VoodooHDA.kext (verbose=1,2,3...)

May be you should look into system.log and filter to messages from the kext?

System.log can be obtained, for example, by DarwinDumper.

Link to comment
Share on other sites

1 hour ago, MifJpnAlphaPlus said:

Thanks for the great development as always.

On my iMac20,2, the update is not displayed yet.

I wish my favorite Clover was better.

I hope the problem is resolved.

Thank you.

Change the model to non-T2 model.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Thank you for your wonderful development.
When I tried using the latest CLOVER, I found that BigSur, Monterey, and Ventura were reset at startup and could not be booted.
Have you added any settings?
Thank you very much.

EFI.zip

(How about integrating the T2 part with OpenCore as well?)

 

 

Edited by MifJpnAlphaPlus
  • Sad 1
Link to comment
Share on other sites

12 hours ago, MifJpnAlphaPlus said:

Thank you for your wonderful development.
When I tried using the latest CLOVER, I found that BigSur, Monterey, and Ventura were reset at startup and could not be booted.
Have you added any settings?
Thank you very much.

 

(How about integrating the T2 part with OpenCore as well?)

 

 

Hi @MifjpnAlphaPlus.

 

 

What are the config concerned : i9, i7..?

 

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

1 hour ago, Matgen84 said:

 

Hi @MifjpnAlphaPlus.

 

 

What are the config concerned : i9, i7..?

 

Thank you for the reply.
I'm running it on an i9-10900F.


In OpenCore,

% nvram 94B73556-2197-4702-82A8-3E1337DAFBFB:HardwareModel
94B73556-2197-4702-82A8-3E1337DAFBFB:HardwareModel	j185fap%00

So I tried putting j185fap instead of x86legacy, but it doesn't boot.

I heard that there are about 20 variables. it's difficult.

 

Thank you.

  • Like 1
  • Sad 1
Link to comment
Share on other sites

2 hours ago, MifJpnAlphaPlus said:

Thank you for the reply.
I'm running it on an i9-10900F.


In OpenCore,

% nvram 94B73556-2197-4702-82A8-3E1337DAFBFB:HardwareModel
94B73556-2197-4702-82A8-3E1337DAFBFB:HardwareModel	j185fap%00

So I tried putting j185fap instead of x86legacy, but it doesn't boot.

I heard that there are about 20 variables. it's difficult.

 

Thank you.

 

Hi again
 

I don't think Instant reboot, is related to HardwareModel data. I don't try this clover commit. I will do ASAP. In your EFI folder, maybe your Openruntime (Ko) is wrong : this driver must be called Openruntime-v12.efi. You can try mine attached

OpenRuntime-v12.efi

Edited by Matgen84
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Matgen84 said:

 

Hi again
 

I don't think Instant reboot, is related to HardwareModel data. I don't try this clover commit. I will do ASAP. In your EFI folder, maybe your Openruntime (Ko) is wrong : this driver must be called Openruntime-v12.efi. You can try mine attached

OpenRuntime-v12.efi 8.34 kB · 2 downloads

Thanks for your advice.
I tried putting it like this.

EFI.zip
Unfortunately it didn't work.
(I always install from pkg, presumably with all efi updated.)
Thank you.

 

 

Link to comment
Share on other sites

×
×
  • Create New...