How to make old MacBook compatible with Night Shift [Detailed steps]

How to use Night Shift on MacBook_How to make older MacBooks compatible with Night Shift? Apple added the "Night Shift" function in macOS 10.12.4, but this function only supports devices of 2012 and later models. Now some netizens have shared a method that allows older MacBooks before 2012 to use this function. Let us take a look.

First, let’s take a look at the minimum models supported by Night Shift:

MacBookPro9,x

iMac13,x

Macmini6 ,x

 MacBookAir5,x

 MacPro6,x

 MacBook8,x

 This model number can be found in About This Machine - System Report - Hardware Overview - Model Identifier as seen.

Next let’s take a look at the specific steps:

1. Open the terminal and enter the following code:

nm /S*/L*/ PrivateFrameworks/CoreBrightness.framework/CoreBrightness|grep _ModelMinVersion

Looking at the offset, you can see that it is 1e260 (this should be related to the system version, if it is the official version of 10.12.4, it should be this value)

 2. Restart Mac, hold down CMD + R when booting to enter the recovery disk, use the recovery disk's terminal, execute the following code to turn off SIP:

 csrutil disable

 3. Restart Mac and enter /System/Library/PrivateFrameworks/, find CoreBrightness.framework and copy it.

4. Open Xcode or other software that can edit binary files. Here we take Xcode as an example. Open CoreBrig using XcodeCoreBrightness file in the htness.framework folder and press Shift + Command + J to open the navigation view, right-click on it and Open As ->Hex to open it in hex.

 5. Press Command+F to open the search and search the following fields:

 09 00 00 00 0d 00 00 00 06 00 00 00 05 00 00 00 06 00 00 00 08 00 00 00

At this point we can make a judgment based on our own model. The value here is actually the minimum model limit of Night Shift. If we modify this limit, Night Shift can run on older models. .

Field explanation:

MacBookPro9,x = “09”

iMac13,x = “0d”

Macmini6,x = “ 06"

MacBookAir5,x = "05"

MacPro6,x = second "06"

MacBook8,x = "08"

< p> The netizen’s machine is MacBookPro8,3, so change 09 to 08 to meet this requirement.

6. After making changes in Xcode, press Command+S to save. Overwrite the entire folder back to its original location. You may be asked for permissions, just enter the password.

7. Execute the following code in the terminal:

sudo codesign -f -s - /S*/L*/PrivateFrameworks/CoreBrightness.framework/Version/Current/CoreBrightness

8. It is best to turn on SIP, use the method in step 2 to return to the startup disk, and enter the following code:

csrutil enable

9. Restart the computer , go to System Preferences - Display to turn on the Night Shift function.

< /p>