Enable Night Shift on older Unsupported Macs
APACHE-2.0 License
Version 2.0.1 - GUI Installer Version 2.0 - Bash Script
Updated July 31, 2019
Night Shift Enable Script for Unsupported Macs Script made by Isiah Johnson (TMRJIJ) / OS X Hackers & Dosdude1
This script will replace the CoreBrightness.framework with one already patched with the matching hex value in CoreBrightness.framework for most older/unsupported hardware.
All credits for this work goes to Piker Alpha. Thanks! Special thanks to pookjw, PeterHolbrook, dosdude1, and aonez for their continued critiques and support from their own source work.
As requested, this script is intended as non-commerical, with no Donation requests, Open Source, and must give thanks to Pike! Blog URL: Click Here
macOS Sierra 10.12.4 brings iOS's Night Shift mode to the Mac for the first time. Night Shift, first introduced on iOS devices in iOS 9.3, is designed to gradually shift the display of a device from blue to a subtle yellow, cutting down on exposure to blue light. Blue light is believed to interrupt the circadian rhythm, disrupting sleep patterns.
Night Shift is activated through the Displays section of System Preferences, where a setting to have it come on at sunset and turn off at sunrise is available. It can also be set to turn on and off at custom times. Night Shift can also be toggled on manually using the Notification Center or Siri.
Night Shift was introduced in macOS Sierra 10.12.4 (16E144f) and is controlled by the CoreBrightness.framework. The official minimum requirements for this feature are:
Of course, this patch is intended to bypass this check completely.
-macOS 10.15 Catalina has not been Tested yet. Stay Tuned for updates.
Note: System Integrity Protection must be disabled beforehand in order to patch the framework. You can re-enable it after you're done. Software Updates may revert this patch so always check this repository for updates. HOW TO DISABLE SIP?
Always BACKUP before attempting this patch!
Installer Patching:
Script Patching:
Note: v2.0 is also compatible with the other scripts for repatching and uninstallation.
As such, if something goes wrong (like the Display tab in System Preference crashing) or if this framework copy doesn't work. Please feel free to email me at [email protected], let me know in the Issues Tab, or attempt it manually via Pike's original blog post.
Also join the rest of the Unsupported Mac Community on our Discord Server
Have Fun!