All Apple news

How to enable Night Shift in Sierra macOS on unsupported Mac

Updating macOS Sierra 10.12.4, which debuted earlier in the week, a new Night mode Shift is used to adjust the color temperature of the screen depending on the time of day. The function takes into account the user’s location and the time of sunrise and sunset to make the colors on the monitor are more comfortable for evening or night work.

Night Shift in macOS is controlled by the framework CoreBrightness. To take advantage of the new regime, you need to be the owner of one of the following models:

  • MacBook Pro 9,x
  • iMac 13,x
  • Mac mini 6,x
  • MacBook Air 5,x
  • Mac Pro 6 x
  • MacBook 8,x

The Night Shift feature is not supported on earlier devices. In macOS there are check minimum requirements that can be circumvented in the following way:

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

000000000001d490 S _ModelMinVersion

To upload data you can use the following command:

xxd -s 0x1D490 -l 24 /S*/L*/PrivateFrameworks/CoreBrightness.framework/CoreBrightness

0001d490: 0900 0000 0d00 0000 0600 0000 0500 0000
0001d4a0: 0600 0000 0800 0000

  • MacBookPro9,x
  • iMac13,x
  • Macmini6,x
  • MacBookAir5,x
  • MacPro6,x
  • MacBook8,x

If you have an older Mac that doesn’t officially support the new regime, you can fix appropriate values CoreBrightness.framework in this way. Color coding should help you find the bytes that need to change.

Re-sign the corrected file by using the following command:

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

Leave a Reply

Your email address will not be published. Required fields are marked *