Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TECK

macrumors 65816
Original poster
Nov 18, 2011
1,129
478
I plan to add Lilu and NightShiftEnabler plugins to my OpenCore configuration and eventually I will complete the GPU hardware acceleration. I could copy the code others did, but I prefer to learn what needs to be done, so I can complete the updates myself. Therefore this OP will change on a regular basis, based on the discussion with other forum members.

References:


So far I added two kexts, the terminal see them as directories, while Finder see them as files:
Code:
$ ls -lah OpenCore/EFI/OC/Kexts/
total 0
drwxr-xr-x  4 floren  staff   128B  7 May 22:02 .
drwxr-xr-x  9 floren  staff   288B  4 May 03:48 ..
drwxr-xr-x  3 floren  staff    96B  4 May 03:21 Lilu.kext
drwxr-xr-x  3 floren  staff    96B 11 Apr 11:31 NightShiftEnabler.kext

And used the following configuration into config.plist:
Code:
    <key>Kernel</key>
    <dict>
        <key>Add</key>
        <array>
            <dict>
                <key>BundlePath</key>
                <string>Lilu.kext</string>
                <key>Comment</key>
                <string/>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/Lilu</string>
                <key>MaxKernel</key>
                <string/>
                <key>MinKernel</key>
                <string/>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>BundlePath</key>
                <string>NightShiftEnabler.kext</string>
                <key>Comment</key>
                <string/>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/NightShiftEnabler</string>
                <key>MaxKernel</key>
                <string/>
                <key>MinKernel</key>
                <string>19.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
        </array>
        <key>Block</key>
        <array/>

I cannot find the kexts after reboot, except on my local development directory:
Code:
# find / -type d -name '*Lilu.kext' 2>&1 | grep -v permitted
/System/Volumes/Data/Users/floren/gitlab/mac/os/OpenCore/EFI/OC/Kexts/Lilu.kext
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.