├── .gitignore ├── example.png ├── com.dabrain13.darkboot.plist └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabrain13/DarkBoot-NVRAM/HEAD/example.png -------------------------------------------------------------------------------- /com.dabrain13.darkboot.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Label 6 | com.dabrain13.darkboot 7 | ProgramArguments 8 | 9 | /usr/sbin/nvram 10 | 4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14:DefaultBackgroundColor=%00%00%00 11 | 12 | KeepAlive 13 | 14 | RunAtLoad 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DarkBoot 2 | 3 | This should enable the black boot screen + white Apple logo on Macs running 10.11 (OS X El Capitan). 4 | 5 | ![Preview](example.png) 6 | 7 | ### Information: 8 | This method uses your Mac's built-in NVRAM to specify the background you seen when you 9 | boot up your Mac. For reasons that I have yet to identify, your Mac resets this background 10 | value to the default value sometime during the boot process. In order to combat 11 | this, I created a daemon that is run automatically by the Mac process launchd during boot 12 | time. 13 | 14 | In order to edit the NVRAM (aka use the /usr/sbin/nvram command), you need have to have 15 | root privileges. This means that we need to use a Global Daemon instead of a User Daemon. 16 | 17 | To learn more about launchd, LaunchDaemons, and LaunchAgents, check out http://launchd.info 18 | which has an excellent explanation. They're pretty simple yet incredibly powerful. 19 | 20 | ### How to use: 21 | 22 | Copy the com.dabrain13.darkboot.plist file into your /Library/LaunchDaemons folder. 23 | 24 | If you want, you can do that in terminal. So assuming the file is in your Downloads folder: 25 | 26 | mv ~/Downloads/com.dabrain13.darkboot.plist /Library/LaunchDaemons/ 27 | 28 | Then you need to let launchd know that you want this to be run every time you boot: 29 | 30 | sudo launchctl load /Library/LaunchDaemons/com.dabrain13.darkboot.plist 31 | 32 | Note: because we are installing a Daemon and NOT an agent, we must use sudo to call launchctl. 33 | 34 | And you're done! Reboot (you may have to reboot twice) and you should see your Mac 35 | boot with the black boot screen. 36 | 37 | ### To Uninstall: 38 | 39 | If you want to go back to your default boot screen, just run: 40 | 41 | sudo launchctl unload /Library/LaunchDaemons/com.dabrain13.darkboot.plist 42 | 43 | and remove the com.dabrain13.darkboot.plist file from the /Library/LaunchDaemons/ 44 | directory. 45 | 46 | ### License: 47 | The MIT License (MIT) 48 | Copyright (c) 2016 dabrain13 49 | 50 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 51 | 52 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 53 | 54 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------