ameenjuz Posted August 17, 2022 Share Posted August 17, 2022 (edited) @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 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 Please provide me solution I think it is possible through TgtBridge method but i don't fimilair about tgt bridge Edited August 17, 2022 by ameenjuz Link to comment Share on other sites More sharing options...
Slice Posted August 17, 2022 Share Posted August 17, 2022 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. 1 Link to comment Share on other sites More sharing options...
Slice Posted August 17, 2022 Share Posted August 17, 2022 Quote It is possible to add count based patch to clover Yes, possible. I will think about. Link to comment Share on other sites More sharing options...
ameenjuz Posted August 17, 2022 Share Posted August 17, 2022 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 More sharing options...
Slice Posted August 17, 2022 Share Posted August 17, 2022 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 More sharing options...
ameenjuz Posted August 17, 2022 Share Posted August 17, 2022 32 minutes ago, Slice said: Upload your full DSDT. I will look where is the method. Uploaded full unpatched dsdt remember find first one ADBG method Open dsdt and you can see first one ADBG No needed scrolling down for finding DSDT.aml 1 Link to comment Share on other sites More sharing options...
Slice Posted August 17, 2022 Share Posted August 17, 2022 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 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. 1 Link to comment Share on other sites More sharing options...
Slice Posted August 17, 2022 Share Posted August 17, 2022 Use this Clover and add a key Count = 1 in your plist CLOVERX64.efi-5148-28-g616dbbe14.zip Link to comment Share on other sites More sharing options...
FirstTimeCustomac Posted August 17, 2022 Share Posted August 17, 2022 3 hours ago, ameenjuz said: Uploaded full unpatched dsdt remember find first one ADBG method Open dsdt and you can see first one ADBG No needed scrolling down for finding DSDT.aml 212.49 kB · 3 downloads Would this also work? Below value matched only once in your DSDT. Find: 0541444247 Replace: 0547414441 Link to comment Share on other sites More sharing options...
Slice Posted August 17, 2022 Share Posted August 17, 2022 1 hour ago, FirstTimeCustomac said: Would this also work? Below value matched only once in your DSDT. 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 More sharing options...
FirstTimeCustomac Posted August 17, 2022 Share Posted August 17, 2022 (edited) 16 minutes ago, Slice said: Once? 369 times! Ah.. so what if I add a value in front of 41444247? In my example, adding 05 to 41444247, would it make the patch specific to that location? Edited August 17, 2022 by FirstTimeCustomac Link to comment Share on other sites More sharing options...
ameenjuz Posted August 17, 2022 Share Posted August 17, 2022 (edited) 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 2: it is OpenCore targeted exact location working already @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 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 August 17, 2022 by ameenjuz Link to comment Share on other sites More sharing options...
ameenjuz Posted August 18, 2022 Share Posted August 18, 2022 @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 More sharing options...
Slice Posted August 18, 2022 Share Posted August 18, 2022 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 More sharing options...
ameenjuz Posted August 18, 2022 Share Posted August 18, 2022 50 minutes ago, Slice said: Sorry I know nothing about Lilu debug. Never used it. How to get nvmefix.kext's log Is there proper way for geting each kext debug log Link to comment Share on other sites More sharing options...
Slice Posted August 18, 2022 Share Posted August 18, 2022 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 More sharing options...
fabiosun Posted August 18, 2022 Share Posted August 18, 2022 https://github.com/CloverHackyColor/CloverBootloader/releases/tag/5149 R5149 5 1 Link to comment Share on other sites More sharing options...
MifJpnAlphaPlus Posted August 26, 2022 Share Posted August 26, 2022 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. Link to comment Share on other sites More sharing options...
Slice Posted August 26, 2022 Share Posted August 26, 2022 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. 1 1 Link to comment Share on other sites More sharing options...
MifJpnAlphaPlus Posted August 26, 2022 Share Posted August 26, 2022 1 hour ago, Slice said: Change the model to non-T2 model. Thank you very much. We look forward to further development. Link to comment Share on other sites More sharing options...
MifJpnAlphaPlus Posted August 31, 2022 Share Posted August 31, 2022 (edited) 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?) VID20220901183736.mp4 Edited September 1, 2022 by MifJpnAlphaPlus 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted September 1, 2022 Share Posted September 1, 2022 (edited) 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 September 1, 2022 by Matgen84 1 Link to comment Share on other sites More sharing options...
MifJpnAlphaPlus Posted September 1, 2022 Share Posted September 1, 2022 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. 1 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted September 1, 2022 Share Posted September 1, 2022 (edited) 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 September 1, 2022 by Matgen84 1 Link to comment Share on other sites More sharing options...
MifJpnAlphaPlus Posted September 1, 2022 Share Posted September 1, 2022 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. VID20220902020517.mp4 Link to comment Share on other sites More sharing options...
Recommended Posts