I followed the steps in the link and it worked perfectly on my early 2011 MacBook Pro. The process is a bit technical, so I created these step-by-step instructions to make it easier to follow. You will need to install Xcode or any basic hex editor. Hope this helps someone!
- Disable System Integrity Protection by booting into Recovery mode (hold down Command + R during boot-up), opening Terminal, and typing csrutil disable
- Restart your Mac and open Finder. Navigate to System/Library/PrivateFrameworks/
- Make a copy of the entire CoreBrightness.framework folder (save it to your desktop or a similar place).
- In Xcode, open the copy of CoreBrightness.framework that you just created. File > Open; Browse to where you just saved CoreBrightness.framework; from within that .framework folder, choose the CoreBrightness icon at the top that looks like a shortcut.
- In Xcode, press Shift + Command + J on your keyboard. A navigation column will appear on the left-hand side. Secondary/right-click CoreBrightness at the top of that column and choose Open As > Hex.
- Once the hex code appears, press Command + F to open the Find tool. Search for the following: 09 00 00 00 0d 00 00 00 06 00 00 00 05 00 00 00 06 00 00 00 08 00 00 00
- These numbers tell the system which Mac models can used Night Shift. I've color-coded the model numbers with the corresponding hex digits above:
MacBookPro9,x
iMac13,x
Macmini6,x
MacBookAir5,x
MacPro6,x
MacBook8,x
- In my case, I needed to allow my early 2011 MacBook Pro (MacBookPro8,2) to use Night Shift. So, in Xcode, I changed 09 to 08. You will need to find the exact model number of your Mac and make the adjustment in Xcode accordingly.
- Save the file in Xcode (File > Save) and exit. Copy your newly-edited CoreBrightness.framework folder over the existing one in System/Library/PrivateFrameworks/
- Open Terminal and re-sign the new binary by pasting in this command:
Code:
sudo codesign -f -s - /S*/L*/PrivateFrameworks/CoreBrightness.framework/Versions/Current/CoreBrightness
- Boot back into Recovery mode and re-enable System Integrity Protection (open Terminal and type csrutil enable).
- Restart your Mac, open System Preferences > Displays, and you should see the Night Shift tab.