Jump to content

RTC Wake Alarm, Schedule Patch for Clover


makk
 Share

7 posts in this topic

Recommended Posts

Greetings,

 

Common issue with RTC Wake Alarm, there is a patch in Opencore that works perferct, but when placed into Clover

doesn't work.

 

How to make it work in Clover?

 

Use it as is, or some other way?  

I tried using the format in Clover, copy paste from OC and remove the portions based on Clover patching method.

 

Should this be placed in Kernel to Patch or Kexts to Patch?

 

Thank you

 

 

Screen Shot 2021-10-06 at 10.35.37 PM.png

Screen Shot 2021-10-06 at 10.37.51 PM.png

Link to comment
Share on other sites

Since I don't know anything relating to AppleRTC I don't know where to begin to find the data.

Searching around have not found an answer. Posting here for hopes in finding a resolve.

 

 

Extract from Opencore config.plist for Patch called Disable RTC wake scheduling

 

In Clover the find field is a no go. So it complains to put data.

 

Unfortunately in AppleRTC.kext this is not cataloged.  The timer I presuppose maybe in another file some plist presumably.

The data in find is necessary input in Clover while in OC no such thing. This patch works in OC perfectly.

Looking for the data to put into Find.

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Find</key>

<data>

</data>

</dict>

</plist>

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Replace</key>

<data>

ww==

</data>

</dict>

 

The Replace results to C3 in the data field using Proper Tree.

in Xcode results to 0xc3 the output is the same.  

Edited by makk
Link to comment
Share on other sites

21 hours ago, Slice said:

See Conversion rules https://www.insanelymac.com/forum/topic/304530-clover-change-explanations/?do=findComment&comment=2719026  

and next posts.

Find, FindMask, Replace, ReplaceMask should not be empty.

As you deal with AppleRTC then the patch must be in KextsToPatch section.

Thank you!

 

where to find the data for the AppleRTC?  

and how to find for these OS's?

 

Big Sur Catalina

 

To turn off the scheduled wake ups?

 

Have good day there..

Edited by makk
Link to comment
Share on other sites

Someone disassembled the kext and understood how it works. Then he changed the methods it works and changed some commands to another.

You may repeat his way or just use the patch pattern he told.

Link to comment
Share on other sites

  • 2 weeks later...

And who would that be?

 

Thank you

On 10/9/2021 at 1:33 AM, Slice said:

Someone disassembled the kext and understood how it works. Then he changed the methods it works and changed some commands to another.

You may repeat his way or just use the patch pattern he told.

 

 

Is it possible to create or add a pre-made patch in Clover like it is done in OC?

 

I tried copy that over, but, in Clover the error msg states empty <> on Find, where as in OC it is empty in the patch for Find.  

They must have done something in the bootloader that points the patch to the script.

 

Thanks 

 

 

Screen Shot 2021-10-20 at 11.04.56 PM.png

Screen Shot 2021-10-20 at 11.07.00 PM.png

Screen Shot 2021-10-20 at 11.07.57 PM.png

Screen Shot 2021-10-20 at 11.12.22 PM.png

Edited by makk
Added Screen shots
Link to comment
Share on other sites

  • 1 year later...
On 10/21/2021 at 5:59 AM, makk said:

And who would that be?

 

Thank you

 

 

Is it possible to create or add a pre-made patch in Clover like it is done in OC?

 

I tried copy that over, but, in Clover the error msg states empty <> on Find, where as in OC it is empty in the patch for Find.  

They must have done something in the bootloader that points the patch to the script.

 

Thanks 

 

 

Screen Shot 2021-10-20 at 11.04.56 PM.png

Screen Shot 2021-10-20 at 11.07.00 PM.png

Screen Shot 2021-10-20 at 11.07.57 PM.png

Screen Shot 2021-10-20 at 11.12.22 PM.png

Quote

Find, FindMask, Replace, ReplaceMask should not be empty.

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...