NightPatch Save

Enable Night Shift on any old Mac models.

Project README

Image

NightPatch

Enable Night Shift on any old Mac models.

You have to disable SIP (System Integrity Protection) before applying. How to disable SIP

Backup your Mac before applying.

Not compatible with some third-party monitors. This is a solution for unsupported Mac, not unsupported monitors!

Supported macOS

macOS 10.12.4 or later including High Sierra. (List of tested macOS build)

About 10.13.4 (17E199) and 10.13.5 (17F35e) - 10.13.4 (17E199) and 10.13.5 (17F35e) work well for me but some people undergo unbootable issue.

How to patch

Enter this command on Terminal without $.

$ cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; sudo ./NightPatch.sh

How to revert using backup

You can revert using backup located on /Library/NightPatch. (NightPatch creates backup automatically when you patch your macOS) Enter this command on Terminal without $.

$ cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; sudo ./NightPatch.sh --revert

How to revert using macOS combo Update

If you deleted backup (or not backed up with NightPatch), enter this command on Terminal without $. NightPatch will download original system file from Apple. This method works without backup.

$ cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; sudo ./NightPatch.sh --fix

How to run beta build

Enter this command on Terminal without $.

$ cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; sudo ./NightPatch-beta.sh

If you want to revert using backup, use --revert. Also using macOS combo Update is --fix.

Troubleshootings

  • ERROR : Turn off System Integrity Protection before doing this.

: Solution

  • 'Password:' ???

: Enter your login password.

  • NightPatch repeatedly requires password.

: Update to latest macOS to solve this, or run NightPatch with sudo su.

  • xcrun error

: Try xcode-select --install command.

References

aonez/NightShiftPatcher

Supported Mac models for Night Shift in Sierra 10.12.4+

Supported Mac models for Night Shift in High Sierra 10.13.2

Open Source Agenda is not affiliated with "NightPatch" Project. README Source: pookjw/NightPatch

Open Source Agenda Badge

Open Source Agenda Rating