NightShiftPatcher
NightShiftPatcher copied to clipboard
Enable Night Shift feature on a non supported Mac
NightShiftPatcher
Enable Night Shift on unsupported machines
Original idea by Pike
Motivated by NightPatch
Contributions
- macOS 10.14 Mojave compatibility fix by @albinoz
How to use
- Download the latest stable script from the Releases section
- Disable SIP*
- Execute
NightShiftPatcher.shscript - Don't forget to reenable SIP. This is not required, but recommended for system security ;)
In case of error
-
If the system does not boot, restart in single-user mode or with the recovery partition
-
You can restore the backup using the
NightShiftPatcherscript since1.0version with the-roption:./NightShiftPatcher.sh -r -
The backup file can be found here:
/System/Library/PrivateFrameworks/CoreBrightness.framework.bak -
If you used an old
NightShiftPatcherscript (before September 2018), first remove those files from the backup:sudo -s; f='/System/Library/PrivateFrameworks/CoreBrightness.framework.bak/Versions/Current/CoreBrightness'; rm "${f}.temp"; rm "${f}.tbd"; exit; -
To restore the backup with the terminal, you can use this terminal line:
sudo -s; f='/System/Library/PrivateFrameworks/CoreBrightness.framework'; mv "${f}" "${f}.hack"; mv "${f}.bak" "${f}"; exit;