-
-
Save LanYunDev/b4cb94282f6a9f93b4b9fbbe72a27226 to your computer and use it in GitHub Desktop.
fixes crap os err macos
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
This is a copy from another gist | |
https://raw.githubusercontent.com/Wyvern/macos/master/macOS | |
does crash crapos err macos 11 atr this time i am testing and fixing as i go. | |
so far fixes apps that wont bloody install | |
(thanks apple for telling me what i can and can't run on my GD machine that cost as much as a used car) | |
fixes obnoxious sig check and disk image checks | |
allows write priv back to system directories, etc. | |
MacOS: | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
chsh -s /bin/zsh | |
# boot volume in Big Sur, | |
csrutil authenticated-root disable | |
sudo bless --folder /[mountpath]/System/Library/CoreServices --bootefi --create-snapshot | |
#disable/enable mds server | |
sudo mdutil -a -i off/on | |
csrutil disable; csrutil enable | |
reboot | |
sudo spctl --master-disable | |
DevToolsSecurity -enable | |
# Disable the "Are you sure you want to open this application?" dialog | |
defaults write com.apple.LaunchServices LSQuarantine -bool false | |
# Disable Disk Image Verification: Verifying ... | |
defaults write com.apple.frameworks.diskimages skip-verify -bool true | |
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true | |
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true | |
brew cask install mpv | |
sudo pmset -a sleep 0; sudo pmset -a hibernatemode 0; sudo pmset -a disablesleep 1; | |
sudo pmset -a sleep 1; sudo pmset -a hibernatemode 3; sudo pmset -a disablesleep 0; | |
defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES | |
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES | |
defaults write com.apple.dt.Xcode BuildSystemScheduleInherentlyParallelCommandsExclusively -bool YES | |
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
defaults write -g NSWindowResizeTime -float 0.001 | |
defaults write -g NSToolbarFullScreenAnimationDuration -float 0 | |
defaults write -g NSToolbarTitleViewRolloverDelay -float 0 | |
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false | |
defaults write -g QLPanelAnimationDuration -float 0 | |
defaults write -g NSScrollAnimationEnabled -bool false | |
defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0 | |
defaults write -g NSScrollViewRubberbanding -bool false | |
defaults write com.apple.CrashReporter DialogType none | |
defaults write com.apple.finder DisableAllAnimations -bool true | |
defaults write com.apple.finder AnimateInfoPanes -bool false | |
defaults Write com.apple.finder AnimateSnapToGrid -bool false | |
defaults write com.apple.finder FXEnableSlowAnimation -bool false | |
defaults write com.apple.finder QLEnableSlowMotion -bool false | |
defaults write com.apple.dock expose-animation-duration -float 0 | |
defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES | |
defaults write com.apple.dock launchanim -bool false | |
defaults write com.apple.dock workspaces-edge-delay -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0 | |
defaults write com.apple.dock autohide-delay -float 0 | |
defaults write com.apple.dock springboard-show-duration -float 0 | |
defaults write com.apple.dock springboard-hide-duration -float 0 | |
defaults write com.apple.dock springboard-page-duration -float 0 | |
defaults write com.apple.Mail DisableSendAnimations -bool true | |
defaults write com.apple.Mail DisableReplyAnimations -bool true | |
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.1 | |
defaults write com.apple.Safari WebKitResourceTimedLayoutDelay 0.1 | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.diagnostics_agent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.diagnosticextensionsd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.symptomsd-diag.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.spindump_agent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportPanic.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportGPURestart.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.sysdiagnose_agent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.UsageTrackingAgent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.icloud.fmfd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.icloud.findmydeviced.findmydevice-user-agent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.alf.useragent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.parentalcontrols.check.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.photoanalysisd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.ap.adprivacyd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.ap.adservicesd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.assistantd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.assistant_service.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.SocialPushAgent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.familycircled.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.familycontrols.useragent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.familynotificationd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.progressd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.macos.studentd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.routined.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.ScreenTimeAgent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.homed.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.dmd.agent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.corespotlightd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.helpd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.gamed.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.parsecd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.parsec-fbf.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.coreservices.useractivityd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.networkserviceproxy-osx.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.avatarsd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.amsengagementd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.coreparsec.silhouette.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.appleseed.seedusaged.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.contacts.donation-agent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.mediaanalysisd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.AirPlayUIAgent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.FollowUpUI.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.followupd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.suggestd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.reversetemplated.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.amsaccountsd.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.knowledge-agent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.WiFiVelocityAgent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.cloudphotod.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.mediaremoteagent.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.Safari.SafeBrowsing.Service.plist | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.SafeEjectGPUAgent.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportMemoryException.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.symptomsd-diag.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.CrashReporterSupportHelper.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.DumpPanic.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.DumpGPURestart.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.icloud.findmydeviced.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.findmymac.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.findmymacmessenger.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.spindump.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.tailspind.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.SubmitDiagInfo.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.awdd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.diagnosticd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.aslmanager.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.emond.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.emond.aslmanager.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.familycontrols.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.sysdiagnose.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.analyticsd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.wifianalyticsd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.systemstats.analysis.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.systemstats.daily.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.systemstats.microstackshot_periodic.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.watchdogd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.symptomsd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.coresymbolicationd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.endpointsecurity.endpointsecurityd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.InstallerDiagnostics.installerdiagwatcher.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.InstallerDiagnostics.installerdiagd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.jetsamproperties.Mac.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.coreduetd.osx.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.appleseed.fbahelperd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mobileassetd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.PerfPowerServices.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.applessdstatistics.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.backupd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.backupd-helper.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.revisiond.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.wifivelocityd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.icloud.searchpartyd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.AirPlayXPCHelper.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.GameController.gamecontrollerd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.SafeEjectGPUStartupDaemon.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dprivacyd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.sandboxd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.rtcreportingd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.bluetoothReporter.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.bluetoothd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mediaremoted.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.logd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.managedconfiguration.teslad.plist | |
xcrun simctl delete unavailable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment