Contents:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Downloading and building libimobiledevice" # Just want to make sure theres no libimobiledevice related issues when installing libirecovery | |
| brew install --HEAD libimobiledevice # This is just getting the latest libimobiledevice and building it instead of the older version that brew usually gets | |
| brew link --overwrite libimobiledevice | |
| echo "Downloading and building libirecovery" | |
| mkdir -p build && cd build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| #=========================================================================== | |
| # Works only with the official image available in the Mac App Store. | |
| # Make sure you download the official installer before running this script. | |
| #=========================================================================== | |
| hdiutil create -o /tmp/Catalina.cdr -size 9000m -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
| sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction | |
| hdiutil detach "/Volumes/Install macOS Catalina" |
Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##################################################### | |
| # dual booting arch linux & macOS | |
| # on a macbook pro 12,1 | |
| # ft. rEFInd | |
| # | |
| # this guide has been smashed together from a variety | |
| # of other awesome guides out there for dual booting | |
| # including but not limited to: | |
| # mark nichols' 5 part guide: https://zanshin.net/2015/02/05/arch-linux-on-a-macbook-pro-part-1-creating-a-usb-installer/ | |
| # the arch linux docs: https://wiki.archlinux.org/index.php/mac#Arch_Linux_with_OS_X_or_other_operating_systems |
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Taken from 2011 Macbook Pro Graphics Card FIX 100% WORKING!!!
EDIT This method works! But there is an improved version for better thermal management and brightness keys functionality. See improved version -> https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0
if you are on high sierra 10.13.6+ you might need to use
Command + rinstead
Boot up holding down Command + r + s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bash-3.2$ /Applications/Install\ macOS\ Sierra.app/Contents/Resources/startosinstall --usage | |
| Usage: startosinstall --applicationpath <install macOS.app path> | |
| Arguments | |
| --applicationpath, a path to copy of the OS installer application to start the install with. | |
| --license, prints the user license agreement only. | |
| --agreetolicense, agree to license the license you printed with --license. | |
| --rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes). | |
| --pidtosignal, Specify a PID to which to send SIGUSR1 upon completion of the prepare phase. To bypass "rebootdelay" send SIGUSR1 back to startosinstall. | |
| --usage, prints this message. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| echo "NVRAM and KEXT Cache Cleanup" | |
| sudo nvram -c | |
| sudo purge | |
| sync | |
NewerOlder