Jump to content
30960 posts in this topic

Recommended Posts

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

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
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
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
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

Apple update FirmwareFeatures & FirmwareFeaturesMask to 10.14

FirmwareFeatures 0xFD0FF536

FirmwareFeaturesMask 0xFF1FFF3F

  • Like 2

Ouch, so I've to unstage my local commits caused of this issue with SF (or Themes repo only?). Also my prev. changes actually have been committed but it seems not well indexed by CloverThemeManager.app.. though I need more than 15 minutes with a theme only to be updated on remote repo.

Screenshot 13.png

I probably should have searched this thread before posting this because I bet someone else has already observed this.

 

I am constantly being told to place all Kexts into /Library/Extensions rather than Clover's Kexts/Other for at least High Sierra.  I do understand how some of these kexts would need to be in L/E because of the order in which some of these kexts are injected with the native kexts.

 

From my observations this seems to be correct but if I try to boot the rescue partition or run a MacOS Combi update and possibly other scenarios, I can tell you for a fact it will not boot if you do not have minimally FakeSMC and for me using VoodooPS2 for laptops placed into the Clover /kexts/Other.  So which kexts really should not be in Clover /kexts/Other?

2 hours ago, Badruzeus said:

Is this Clover bug or just my compilation problem with xcode8?

r452x install menu (right one) is not comfortable to read and missed the descriptions. Thanks.

Clover-Install-Menu.png

Same here with Xcode 9.4 compilation. 

Hi devs, I've just noticed that since around rev 4516 the CsmVideoDxe driver doesn't work anymore for me. 

 

Rev 4512, working ok:

Spoiler

0:283  0:000  Loading CsmVideoDxe-64.efi  status=Success
0:300  0:016   - driver needs connecting
0:300  0:000  Loading FSInject-64.efi  status=Success
0:301  0:001  Loading FirmwareVolume-64.efi  status=Success
0:302  0:000  Loading SMCHelper-64.efi  status=Success
0:302  0:000  Loading HFSPlus.efi  status=Success
0:304  0:001   - driver needs connecting
0:304  0:000  Loading OsxAptioFixDrv-64.efi  status=Success
0:305  0:000  3 drivers needs connecting ...
0:305  0:000  PlatformDriverOverrideProtocol not found. Installing ... Success
0:305  0:000  HFS+ driver loaded
0:305  0:000  APFS driver loaded
0:305  0:000  Video driver loaded: disconnect Success
0:386  0:081  Searching for invalid DiskIo BY_DRIVER connects: not found, all ok
0:394  0:007  CsmVideoDriverBindingStart
0:394  0:000  mixed support=40010
0:394  0:000  Controller is [030000]
0:394  0:000  Check for VBE
0:496  0:102    0 640x480 attr=3BF - ok, 640x480, working, highest, pref=0
0:498  0:001    1 800x600 attr=3BF - ok, 800x600, working, highest, pref=1
0:500  0:002    2 1024x768 attr=3BF - ok, 1024x768, working, highest, pref=2
0:502  0:001    3 1280x1024 attr=3BF - ok
0:514  0:011    4 1600x1200 attr=3BF - ok
0:518  0:003    5 1280x800 attr=3BF - ok
0:518  0:000  CsmVideo: New mode: 2 1024x768 - set
0:653  0:134   - SetMode pref 2 (2) = Success
0:653  0:000  CsmVideoCheckForVbe - Success
0:653  0:000  CsmVideoDriverBindingStart end Success
0:653  0:000  CsmVideo: New mode: 1 800x600 - blocking that switch
0:653  0:000  CsmVideo: New mode: 1 800x600 - blocking that switch
0:653  0:000  CsmVideo: New mode: 1 800x600 - blocking that switch
1:209  0:556  === [ InitScreen ] ========================================
1:209  0:000  SetScreenResolution: 1280x800 - setting Mode 5
1:209  0:000  CsmVideo: New mode: 5 1280x800 - set
1:353  0:143  Video mode change to mode #5: Success

 

Rev 4516, fails to detect additional resolutions:

Spoiler

0:302  0:018  Loading CSMVID~1.EFI  status=Success
0:303  0:001   - driver needs connecting
0:303  0:000  Loading FSInject-64.efi  status=Success
0:304  0:000  Loading FirmwareVolume-64.efi  status=Success
0:304  0:000  Loading SMCHelper-64.efi  status=Success
0:306  0:001  Loading OsxAptioFixDrv-64.efi  status=Success
0:306  0:000  Loading HFSPlus.efi  status=Success
0:308  0:001   - driver needs connecting
0:308  0:000  3 drivers needs connecting ...
0:308  0:000  PlatformDriverOverrideProtocol not found. Installing ... Success
0:308  0:000  HFS+ driver loaded
0:308  0:000  APFS driver loaded
0:308  0:000  Searching for invalid DiskIo BY_DRIVER connects: not found, all ok
0:753  0:445  === [ InitScreen ] ========================================
0:753  0:000  SetScreenResolution: 1280x800 - not found!
0:753  0:000  SetMaxResolution: found best mode 2: 1024x768
0:882  0:128  Video mode change to mode #2: Success

 

Compiled Clover with Build_Clover.command with no visible error.

boot-r4516-2018-06-07-18.36.56.zip

Fellas, can anyone help pls?

Patches are off in the Clover or the OS is screwed? 10.13.5 fresh install, Clover is bare with minimal stuff in it, only patches are USB and XCPM, same issue with 10.13.4, but 10.13.3 works like a charm. Tried many versions of Clover, same results.

 

HELP!

 

IMG_1538.thumb.JPG.5c64fd49cc46f0b5e6e9c688ca98840e.JPG

 

 

Edited by Balamut
6 minutes ago, Balamut said:

Fellas, can anyone help pls?

Patches are off in the Clover or the OS is screwed? 10.13.5 fresh install, Clover is bare with minimal stuff in it, only patches are USB and XCPM, same issue with 10.13.4, but 10.13.3 works like a charm. Tried many versions of Clover, same results.

 

HELP!

 

IMG_1538.thumb.JPG.5c64fd49cc46f0b5e6e9c688ca98840e.JPG

 

 

upload your clover log or config

On 6/7/2018 at 9:55 AM, oSxFr33k said:

I probably should have searched this thread before posting this because I bet someone else has already observed this.

 

I am constantly being told to place all Kexts into /Library/Extensions rather than Clover's Kexts/Other for at least High Sierra.  I do understand how some of these kexts would need to be in L/E because of the order in which some of these kexts are injected with the native kexts.

 

From my observations this seems to be correct but if I try to boot the rescue partition or run a MacOS Combi update and possibly other scenarios, I can tell you for a fact it will not boot if you do not have minimally FakeSMC and for me using VoodooPS2 for laptops placed into the Clover /kexts/Other.  So which kexts really should not be in Clover /kexts/Other?

Well, 

My limited understanding says all kext and kernel patches/injections that clover can do on the fly go in Clover/Kexts.10.x.x/Others, rest you need to place in S/L/E or L/E as they are  altered kexts.

×
×
  • Create New...