Total visits 332

Lid calibration for MacBooks

Replaced a MacBook screen and now the display stays on with the lid shut? The hinge sensor is fine. It just no longer agrees with the new screen about where closed is. SoLID reads that sensor live, learns the real closed point, and gives the Mac its normal lid behavior back.

Install it

  1. Press Command + Space, type Terminal, press Return.
  2. Paste the line below and press Return.
  3. She talks you through the rest. Calibration takes about 30 seconds.
curl -fsSL https://image2cpp.com/lid-calibration/install.sh | zsh

It installs SoLID in Applications with a menu bar icon and starts it at login. If the Mac does not have Homebrew yet, the installer adds it first and asks for the Mac password once.

What you get

Tested on

Confirmed workingMacBook Pro 16-inch, 2024, M4 Pro. Model A3403, identifier Mac16,7, macOS 27.
Should workOther M3 and M4 MacBook Pro and MacBook Air models. They use the same hinge lid angle sensor. Not yet confirmed, so tell us how it goes.
May not workSome M1 and M2 models do not let software read the sensor.
Will not work2018 and older MacBooks. They use a magnet switch, not an angle sensor.
Easy way to knowInstall it. If the gauge shows an angle, that Mac is supported.

Good to know

SoLID does not change Apple's factory calibration and does not modify the sensor. It runs on top of macOS and can be removed at any time with this line:

curl -fsSL https://image2cpp.com/lid-calibration/uninstall.sh | zsh

After a long closed spell on battery the Mac goes to full sleep to protect itself. Tap any key once after opening the lid.

For support Buy me a cup of tea 🙂