Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

Hi All

Wake up my system after install thunderbolt card.

If I press sleep button went to sleep after 2 second wake up agan.

Please help for fix this.

Please check my files.

I install HibernationFixup.kext too.

 35    2 0xffffff7f84179000 0x6d000    0x6d000    as.vit9696.Lilu (1.2.3) DC607E11-9271-3E76-B07D-6B552EEF0158 <7 5 4 3 2 1>
   36    0 0xffffff7f841e6000 0x5000     0x5000     as.lvs1974.HibernationFixup (1.2.1) FC2AF3B6-0824-330F-B1B5-EB7D16B93FF8 <35 7 5 4 3 2 1>

 

My PM settings

System-wide power settings:
Currently in use:
 autorestart          0
 Sleep On Power Button 1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 powernap             1
 networkoversleep     0
 disksleep            10
 sleep                0 (sleep prevented by coreaudiod)
 hibernatemode        0
 ttyskeepawake        1
 displaysleep         23 (display sleep prevented by coreaudiod, com.apple.WebKit.WebContent)
 womp  

wake reason unknown?

Please help fix this issue.

Thank you.

 

Screen Shot 2018-06-02 at 2.01.21 PM.png

Screen Shot 2018-06-05 at 2.37.41 PM.png

navaratnam’s Mac Pro-wake.ioreg

Edited by nmano
Link to comment
Share on other sites

Is there a problem with the config.plist when adding the new properties created by clover-genconfig? Or is there a problem with opening config.plist with clover configurator after all the new updates that semi corrupts the config.plist?

Link to comment
Share on other sites

can somebody compile NvmExpressDxe for 32bit please. I need it for my unsupported MacPro1,1 running Yosemite. I have used USB Refind to boot it off, but it can't detect my nvme via PCI card due to lack of nvme efi.

 

The nvme is detected using NvmExpressDxe-64 on my MacPro4,1 but not on the MacPro1,1 due to being 32bit efi

 

Thanks.

Link to comment
Share on other sites

Prematurely, uhmmmb... I'm waiting for devs when Clover will use "os_mojave.icns" (or whatever specified name) so I get a clue for updating my prev. themes to support it on GUI. Thanks.

Edited by Badruzeus
Link to comment
Share on other sites

Guys is there any changes in 10.13.4-10.13.5 with XCPM or Kext injection?

 

Installing both fresh works perfectly fine, however loading it after install hard locks the system, even the reset button won't work, have to pull the power cord out.

10.13.3 works like a charm, same clover(latest), same config (minus small changes for USB and EIST)

 

IMG_1520.thumb.JPG.c847705289d7b8492aba0248084bbc3c.JPG

Edited by Balamut
Link to comment
Share on other sites

2 hours ago, Gabeloooooo said:

I've tried searching for info everywhere but can't figure out what SMCHelper-64.efi does. Do we still need it after clover 4509?

https://www.insanelymac.com/forum/topic/304530-clover-change-explanations/?do=findComment&amp;comment=2294940

2 hours ago, Gabeloooooo said:

I've tried searching for info everywhere but can't figure out what SMCHelper-64.efi does. Do we still need it after clover 4509?

 

Link to comment
Share on other sites

7 hours ago, Andres ZeroCross said:

What do you mean by Switching to build_clover.command??? There is no such that command inside folder. I am using CloverGrowerPro not CloverGrower :D

CloverGrowerPro is not working. Why do you use it? Because you are developer? In this case you are able to fix the script. You want to take new Clover? There are other possibilities to get it ready-to-use.

  • Like 1
Link to comment
Share on other sites

Hi,

 

I've made an utterly stupid mistake regarding KernelLapic patch. It was my fault. And now I want to fix it up. :)

Index: rEFIt_UEFI/Platform/kernel_patcher.c
===================================================================
--- rEFIt_UEFI/Platform/kernel_patcher.c	(revision 4516)
+++ rEFIt_UEFI/Platform/kernel_patcher.c	(working copy)
@@ -664,14 +664,21 @@
         patchLocation = i+1398;
         DBG("Found Sierra Lapic panic at 0x%08x\n", patchLocation);
         break;
-      //PMheart: 10.13.DP1/10.14.DP1
+      //PMheart: 10.13.DP1
     } else if (bytes[i+0] == 0x65 && bytes[i+1] == 0x8B && bytes[i+2] == 0x0C && bytes[i+3] == 0x25 &&
         bytes[i+4] == 0x1C && bytes[i+5] == 0x00 && bytes[i+6] == 0x00 && bytes[i+7] == 0x00 &&
         bytes[i+1407] == 0x65 && bytes[i+1408] == 0x8B && bytes[i+1409] == 0x0C && bytes[i+1410] == 0x25 &&
         bytes[i+1411] == 0x1C && bytes[i+1412] == 0x00 && bytes[i+1413] == 0x00 && bytes[i+1414] == 0x00) {
         patchLocation = i+1396;
-        DBG("Found High Sierra/Mojave Lapic panic at 0x%08x\n", patchLocation);
+        DBG("Found High Sierra Lapic panic at 0x%08x\n", patchLocation);
         break;
+      //PMheart: 10.14.DP1
+    } else if (bytes[i+0] == 0x65 && bytes[i+1] == 0x8B && bytes[i+2] == 0x0C && bytes[i+3] == 0x25 &&
+        bytes[i+4] == 0x1C && bytes[i+5] == 0x00 && bytes[i+6] == 0x00 && bytes[i+7] == 0x00 &&
+        bytes[i+1396] == 0x65 && bytes[i+1397] == 0x8B && bytes[i+1398] == 0x0C && bytes[i+1399] == 0x25 &&
+        bytes[i+1400] == 0x1C && bytes[i+1401] == 0x00 && bytes[i+1402] == 0x00 && bytes[i+1403] == 0x00) {
+        patchLocation = i+1385;
+        DBG("Found Mojave Lapic panic at 0x%08x\n", patchLocation);
+        break;
     }
   }
 

 

Before anybody wants to draft a new release for 10.14 compatibility, here is a pre-compiled binary for temporary use. (I will remove it once a new version supporting 10.14 has been available on SF.)

EDIT: So finally you should go with r4522 available on SF. Binaries REMOVED.

 

 

For a more detailed usage (especially for newbies), please see

 

Edited by PMheart
  • Like 4
Link to comment
Share on other sites

Hi Sir

My system wakeup if I press sleep button went to sleep after 2 second wake up.

I notice After I install Alpine Ridge Thunderbolt 3 card sleep not work .

Please help to fix this.

Thank you.

Screen Shot 2018-06-05 at 3.53.43 PM.png

BootLog_Firmware.zip

BootLog_Kernel.zip

navaratnam’s Mac Pro.zip

Power.zip

RTC.zip

Screen Shot 2018-06-05 at 3.58.47 PM.png

 

SSDT-X99-TB3-iMacPro-mano.aml.zip

Edited by nmano
Link to comment
Share on other sites

Oh, I also noticed a change of IOPCIFamily and made one more patch:

 

Quote

Index: rEFIt_UEFI/Platform/kext_patcher.c

===================================================================

--- rEFIt_UEFI/Platform/kext_patcher.c (revision 4516)

+++ rEFIt_UEFI/Platform/kext_patcher.c (working copy)

@@ -828,12 +828,16 @@

// find: 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x40

// repl: 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x80

//

-STATIC UINT8 BroadwellE_IOPCI_Find[] = { 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x40 };

-STATIC UINT8 BroadwellE_IOPCI_Repl[] = { 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x80 };

+STATIC UINT8 BroadwellE_IOPCI_Find[]      = { 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x40 };

+STATIC UINT8 BroadwellE_IOPCI_Repl[]      = { 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x80 };

+// changes as of 10.14

+STATIC UINT8 BroadwellE_IOPCI_Find_1014[] = { 0x48, 0x3D, 0x00, 0x00, 0x00, 0x40 };

+STATIC UINT8 BroadwellE_IOPCI_Repl_1014[] = { 0x48, 0x3D, 0x00, 0x00, 0x00, 0x80 };

VOID BDWE_IOPCIPatch(UINT8 *Driver, UINT32 DriverSize, CHAR8 *InfoPlist, UINT32 InfoPlistSize, LOADER_ENTRY *Entry)

{

     UINTN count = 0;

+    UINT64 os_ver = AsciiOSVersionToUint64(Entry->OSVersion);

     

     DBG_RT(Entry, "\nBDWE_IOPCIPatch: driverAddr = %x, driverSize = %x\n", Driver, DriverSize);

     if (Entry->KernelAndKextPatches->KPDebug) {

@@ -844,7 +848,10 @@

     //

     // now, let's patch it!

     //

-    count = SearchAndReplace(Driver, DriverSize, BroadwellE_IOPCI_Find, sizeof(BroadwellE_IOPCI_Find), BroadwellE_IOPCI_Repl, 0);

+    if (os_ver <= AsciiOSVersionToUint64("10.13.6"))

+      count = SearchAndReplace(Driver, DriverSize, BroadwellE_IOPCI_Find, sizeof(BroadwellE_IOPCI_Find), BroadwellE_IOPCI_Repl, 0);

+    else

+      count = SearchAndReplace(Driver, DriverSize, BroadwellE_IOPCI_Find_1014, sizeof(BroadwellE_IOPCI_Find_1014), BroadwellE_IOPCI_Repl_1014, 0);

     

     if (count) {

         DBG_RT(Entry, "==> IOPCIFamily: %d replaces done.\n", count);

 

  • Like 1
Link to comment
Share on other sites

49 minutes ago, PMheart said:

Oh, I also noticed a change of IOPCIFamily and made one more patch:

 

 

Thanks PMHeart

I will try and replay.

BroadwellEPatch 10.13 by PMHeart

F

48 81 FB 00 00 00 40

R

48 81 FB 00 00 00 80

/ find: 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x40

// repl: 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x80

Edited by nmano
Link to comment
Share on other sites

7 hours ago, nmano said:

Thanks PMHeart

I will try and replay.

BroadwellEPatch 10.13 by PMHeart

F

48 81 FB 00 00 00 40

R

48 81 FB 00 00 00 80

/ find: 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x40

// repl: 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x80

well its a old patch, all this time I thought it was Brumbear author

  • Like 1
Link to comment
Share on other sites

On 6/5/2018 at 7:24 PM, Andres ZeroCross said:

What do you mean by Switching to build_clover.command??? There is no such that command inside folder. I am using CloverGrowerPro not CloverGrower :D

Search downloads on this site for build_clover.command

Edited by SavageAUS
Link to comment
Share on other sites

×
×
  • Create New...