Table of Contents
ssdpmEnabler is a macOS kernel extension or KEXT in short that can enable power saving on SSD/PCIe sockets on specific MacBook Air and Pro models manufactured between 2013 and 2015.
These models come with user replaceable SSDs. Through a small 3rd-party adapter, modern M.2 NVMe SSDs can directly plug in, replace original Apple SSDs and function as NVMe drives. Replacement details can be found in this thread on MacRumors.
Modern SSDs have advantage on speed and capacity over original Apple SSDs. With ssdpmEnabler, new SSDs on supported MacBook models also enjoy suprisingly good power saving. Specific SSD models could save as good as or in some reported cases even better than original Apple SSDs.
This section has been expanded and moved to its own page.
Enabling power saving through ssdpmEnabler impacts how your SSDs operate. As always dealing with any storage media, back up your data before proceed.
On rare occasions, your specific models of SSDs might not function correctly in low power states. That may possibly cause data corruption in extreme cases.
YOU BE WARNED. THE AUTHOR OF THIS SOFTWARE WON'T TAKE RESPONSIBILITY FOR ANY DATA LOSS. PROCEED AT YOUR OWN RISK.
Apple have announced deprecation of KEXTs in WWDC 2019. For this reason alone, ssdpmEnabler (as a KEXT) will never be cryptographically signed by Apple. With that said many KEXTs written by Apple themselves are still in use and critical to macOS core functionalities. It's safe to assume Apple will take a few more years at minimum to abandon KEXTs completely.
By default unsigned KEXTs are denied from running and this is part of Apple's System Integrity Protection (SIP). In order to load unsigned KEXTs just like some of the other 3rd-party KEXTS, part of SIP or SIP in its entirety need to be disabled.
Granularity of control differs with macOS versions, from all or nothing in High Sierra, to only lifting partial restriction in Mojave, Catalina or Big Sur, to the new additional user consent to each unsigned KEXT in Big Sur.
Reboot into Recovery Mode. Click here for details.
In Terminal, type:
csrutil enable --without kext
Reboot
N.B.
The basic idea is to copy SsdPmEnabler.kext
into /Library/Extensions
, update KEXT cache, and load the KEXT. Big Sur requires two additional steps: users explicitly grant permisson to load SsdPmEnabler.kext
when prompted, and then reboot to take effect.
Latest version of SsdPmEnabler.kext
can be downloaded from the Release page. The following steps assume users place the downloaded SsdPmEnabler.kext
inside ~/Downloads.
Adjust the location of your download if necessary.
Open Terminal. Type the following command line:
sudo cp -R ~/Downloads/SsdPmEnabler.kext /Library/Extensions
Once you run the command in Step 1, macOS will pop up a window to alert you about the new KEXT.
Click "Open Security Preferences" on the pop-up. Then click "Allow" to grant SsdPmEnabler.kext
permission to run.
N.B.
SsdPmEnabler.kext
in the command line in Step 1.SsdPmEnabler.kext
will not be able to run if you do not grant permission in Step 2.Open Terminal. Type the following lines one by one:
sudo cp -R ~/Downloads/SsdPmEnabler.kext /Library/Extensions
sudo kextcache -i /
sudo kextload /Library/Extensions/SsdPmEnabler.kext
That's it!
N.B.
SsdPmEnabler.kext
in the first command line in Step 1.Open Terminal. Type:
log show --style syslog --last boot | grep \(SsdPmEnabler
If you see the following two lines in the output, all good!
kernel[0]: (SsdPmEnabler) Copyright (c) 2020-2021 kvic (https://github.com/kvic-z/SsdPmEnabler)
kernel[0]: (SsdPmEnabler) Enabled PCIe PM on SSD
If "Enabled PCIe PM on SSD" is missing, sorry, ssdpmEnabler cannot help your SSDs on power saving.
N.B.
Hey, good that we have bug fix or enhancement. So in the rare occasions of a new version, use the following steps to update your installed SsdPmEnabler.kext
.
WARNING. Double check for typo before you press ENTER key
cd /Library/Extensions
sudo kextunload SsdPmEnabler.kext
sudo rm -rf SsdPmEnabler.kext
Sad to see you leaving. Perhaps next time ssdpmEnabler will work better for you.
WARNING. Double check for typo before you press ENTER key
cd /Library/Extensions
sudo kextunload SsdPmEnabler.kext
sudo rm -rf SsdPmEnabler.kext
sudo kextcache -i /
Reboot into Recovery Mode. Click here for details.
Open Terminal. Enable SIP in its entirety by typing:
csrutil enable
Reboot
This should not ever happen. Touch wood. If you run into it right after installing SsdPmEnabler.kext
. Here are the steps to remove the KEXT.
Reboot into Recovery Mode. Click here for details.
Open Terminal. Type the following three command lines one by one (including double quotes).
Note that for Big Sur, Mojave and Catalina, if your system disk is named 'macOS' substitute 'NAME' with 'macOS - Data' or else adjust accordingly.
For High Sierra, if your system disk is named 'Macintosh HD' substitute 'NAME' with 'Macintosh HD' or else adjust accordingly.
WARNING. Double check for typo before you press ENTER key
cd "/Volumes/NAME/Library/Extensions"
rm -rf SsdPmEnabler.kext
touch .
Check "System Information.app" > Software > Extensions > SsdPmEnabler.
If the "Loaded" column says "No" then check the details for the attribute: "Signature Validation Error".
If it says "Kext signature validation error code -67050" then this means that SIP was again entirely enabled and as SsdPmEnabler.kext has no signature the loading of the kernel extension is prohibited and hence fails.
Perform the instructions of these sections in the given order: Un-installation, Prerequisite, and Installation.
Copyright (c) 2020-2021. kvic
SsdPmEnabler.kext is licensed free of charge to individual owners of devices where the software is installed and run for personal, educational and/or commercial purpose.
For 1) bulk deployment in SMEs, enterprises or through technical service centres including but not limited to repair shops; 2) bundling in free or paid software or other commercial products, please contact the author at https://github.com/kvic-z for permission.
SsdPmEnabler.kext is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.