
Thank you.įirst of all tell you that I really like the articles you write. Note: You may only use this patch in your script/software/app if the source code is available, preferable on Github, you are not asking for donations, and clearly state that this is my work. Fixed thanks to the heads up from Thomas and Nicolinux. Have fun now.Įdit: The order of the MacBook Pro and iMac was wrong – see comments. Note: The colours that I used should help you to find the byte that you need to change.Īnyway. Now you know how I did it, and in case you happen to own a Mac model that isn’t supported, yet, then you could try to patch the matching value in amework as some readers here confirmed that this is working for them with older/unsupported hardware. The next step is to re-sign the patched framework binary with: sudo codesign -f -s - /S*/L*/PrivateFrameworks/amework/Versions/Current/CoreBrightness After that I saved the file and copied it to the original location.

I opened the CoreBrightness binary in a hex editor (app) and change the coloured byte that matches with the used hardware.

There are checks for minimum requirements, which I looked up with help of: nm /S*/L*/PrivateFrameworks/amework/CoreBrightness|grep _ModelMinVersion

Night Shift is however not supported – by Apple – on older Mac models. Not just yet, but I know this because I located the checks for it in said framework, and there it checks for matching Mac model names: Night Shift was introduced in macOS Sierra 10.12.4 (Build 16E144f and Public Beta-1) and is controlled by the amework and you’ll need at least one of the following – or later – Mac models:Īpple did not release any information about this.

People looking for Night Shift support in High Sierra 10.13.2 you should visit my follow up Supported Mac models for Night Shift in High Sierra 10.13.2.
