TeckFire

MacBook Pro 10,1 2012 Retina 15" Optimization Scripts for OpenCore Legacy Patcher

Feb 22nd, 2026
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 25.44 KB | Software | 0 0
  1. The following scripts, configuration files, and suggestions are purely at your own risk. PLEASE read through every single line, and ensure you understand fully what you are doing. If you do not understand, you may cause yourself more issues than you're getting benefits from. Ensure all your .sh files are CHMOD +X and CHOWN root:wheel. If you are setting up a launch daemon, make sure your .plist files are referencing the right file paths. I suggest /usr/local/bin/script.sh as an example.
  2.  
  3. I use the Fish shell instead of BASH or ZSH, but these will pull BASH or ZSH as needed. The fish config file will need to be set up if you want any of my custom functions, however.
  4.  
  5. DISCLAIMER: Locally run AI was used to help format some of this data (LFM2.5-1.2b-Thinking and LFM2.5-1.2b-Instruct if you were wondering) so bear that in mind. That said, the scripts run fine for me, and I have been using them for a little bit now. I still recommend reading through all of it and commenting out when relevant, however, if you don't need/want/understand any part of it.
  6.  
  7. OpenCore Legacy Patcher boot-args:
  8.  
  9. <dict>
  10.                 <key>boot-args</key>
  11.                 <string>keepsyms=1 debug=0x100 -lilubetaall ipc_control_port_options=0 -nokcmismatchpanic amfi=0x80 vm_compressor_mode=1 ncl=131072 amfi_get_out_of_my_way=1 kpti=0 alcid=1 spectre=0 mds=0 l1tf=0 mitigations=0 cwae=0 apple-panic-no-check=1 no_vhentropy=1 -no_auto_rebuild</string>
  12.                 <key>csr-active-config</key>
  13.                 <data>fwg=</data>
  14.             </dict>
  15.  
  16. optimize.sh:
  17.  
  18. #!/bin/bash
  19.  
  20. # Optimized for: 2012 Retina MBP (Intel Ivy Bridge) w/ 16GB RAM
  21. # Focus: Responsiveness and stability without breaking legacy WiFi drivers.
  22.  
  23. echo "Applying optimizations for Tylers-MacBook-Pro..."
  24.  
  25. # 1. CPU & Scheduler (Safe & Effective)
  26. # These reduce latency by preventing the CPU from "bundling" small tasks too much.
  27. sysctl -w kern.timer_coalesce_tier0_scale=1
  28. sysctl -w kern.timer_coalesce_tier1_scale=4
  29. sysctl -w kern.timer_coalesce_tier2_scale=4
  30. sysctl -w kern.timer_coalesce_bg_scale=3
  31. sysctl -w kern.sched_rt_avoid_cpu0=1
  32. sysctl -w kern.ulock_adaptive_spin_usecs=40
  33.  
  34. # 2. Disk & I/O
  35. # Disables low-priority throttling so background tasks don't get "choked."
  36. sysctl -w debug.lowpri_throttle_enabled=0
  37. sysctl -w kern.preheat_max_bytes=1048576
  38. sysctl -w kern.preheat_min_bytes=65536
  39.  
  40. # 3. Networking Logic (THE STABLE WAY)
  41. # We REMOVED: ECN, L4S, RACK, and Skywalk Aggregation (These broke your WiFi).
  42. # We KEEP: Delayed ACK adjustment for snappier browsing.
  43. sysctl -w net.inet.tcp.delayed_ack=1
  44. sysctl -w net.inet.tcp.fastopen=0
  45. sysctl -w net.inet.tcp.minmss=536
  46. sysctl -w net.link.ether.inet.max_age=1800
  47.  
  48. # 4. Networking Buffers (CORRECTED MATCHING)
  49. # We set the kernel limit (maxsockbuf) to 16MB and ensure the auto-buffers stay WITHIN that.
  50. sysctl -w kern.ipc.maxsockbuf=16777216
  51. sysctl -w net.inet.tcp.sendspace=524288
  52. sysctl -w net.inet.tcp.recvspace=524288
  53. sysctl -w net.inet.tcp.autorcvbufmax=16777216
  54. sysctl -w net.inet.tcp.autosndbufmax=16777216
  55. sysctl -w net.inet.udp.recvspace=262144
  56.  
  57. # 5. Advanced TCP Logic (MODERATED)
  58. # 32 was too high for slowstart on older routers; 16 is a great middle ground.
  59. sysctl -w net.inet.tcp.local_slowstart_flightsize=16
  60. sysctl -w net.inet.tcp.aggressive_rcvwnd_inc=1
  61. sysctl -w net.inet.tcp.keepidle=600000
  62. sysctl -w net.inet.tcp.keepintvl=75000
  63.  
  64. # 6. System Limits (STABLE)
  65. # We REMOVED: Blackhole and Drop Redirect (These caused the "Ping but no Web" issue).
  66. sysctl -w kern.maxvnodes=524288
  67. sysctl -w kern.maxfiles=512000
  68. sysctl -w kern.maxfilesperproc=102400
  69. sysctl -w kern.ipc.somaxconn=2048
  70. sysctl -w kern.maxprocperuid=3750
  71.  
  72. # 7. Memory Management (16GB RAM optimized)
  73. sysctl -w kern.sysv.shmmax=2147483648
  74. sysctl -w kern.sysv.shmall=524288
  75. sysctl -w kern.vm_pressure_level_transition_threshold=50
  76.  
  77. # --- Advanced Timer Coalescing (v14.1 Tuning) ---
  78.  
  79. # Background & Idle Snap
  80. sysctl -w kern.timer_coalesce_idle_entry_hard_deadline_max=5000
  81.  
  82. # Tier 3 (Utility/Services) Throttling
  83. # Pushes services like mds, bluetoothd, and cloud-daemons into larger batches
  84. sysctl -w kern.timer_coalesce_tier3_scale=-5
  85. sysctl -w kern.timer_coalesce_tier3_ns_max=250000000
  86.  
  87. # Tier 1 & 2 (Active Apps) - Tightening the 'Shift'
  88. # Allows the kernel to shift active app timers by up to 50ms to align with Tier 0
  89. sysctl -w kern.timer_coalesce_tier1_ns_max=50000000
  90. sysctl -w kern.timer_coalesce_tier2_ns_max=100000000
  91.  
  92. # Interrupt suppression toggle
  93. sysctl -w kern.interrupt_timer_coalescing_enabled=1
  94.  
  95. #SATA bursts to 20 seconds
  96. sysctl -w vfs.generic.sync_timeout=20
  97.  
  98. #vnode jitter reduction
  99. sysctl -w vm.vm_page_background_exclude_external=1
  100.  
  101. # Allow longer "slack" for non-interactive interrupts (saves watts)
  102. sysctl -w kern.timer_coalesce_tier0_ns_max=5000000
  103.  
  104. # --- SSD Controller Optimization ---
  105. # Forces a TRIM operation across all existing partitions.
  106. # This helps the controller map the 15% unpartitioned space more effectively.
  107. trimforce enable # (Only needs to be run once, but 'fsck' on boot helps)
  108.  
  109. # On every boot, we touch the unpartitioned space logic by ensuring
  110. # the existing filesystem is lean.
  111. diskutil repairLevel 1 /
  112.  
  113. echo "Optimizations applied successfully."
  114.  
  115.  
  116. priority_manager.sh:
  117.  
  118. #!/bin/zsh
  119.  
  120. # --- TIER DEFINITIONS (v14.7: The Master Sleeper) ---
  121. typeset -gA MASTER_PRIORITY=(
  122.     # --- TIER 1: CORE HARDWARE ---
  123.     "hidd"               "-20"
  124.     "WindowServer"       "-18"
  125.     "SkyLight"           "-17"
  126.     "bluetoothd"         "-19"
  127.     "coreaudiod"         "-16"
  128.     "powerd"             "-16"
  129.     "thermalmonitord"    "-16"
  130.     "mediaremoted"       "-12"
  131.  
  132.     # --- TIER 2: UI & SAFETY ---
  133.     "Alfred"             "-15"
  134.     "Terminal"           "-14"
  135.     "DynamicLakePro"     "-14"
  136.     "WindowManager"      "-18"
  137.     "Dock"               "-13"
  138.     "Finder"             "-12"
  139.     "Swish"              "-11"
  140.     "Helium"             "-10"
  141.     "AlDente"            "-5"
  142.     "aldente-pro.helper" "-5"
  143.     "ControlCenter"      "-8"
  144.  
  145.     # --- TIER 3: SYSTEM SERVICES ---
  146.     "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mds_stores" "-2"
  147.     "configd"            "-2"
  148.     "identityservicesd"  "-2"
  149.     "trustd"             "-2"
  150.     "itunescloudd"       "-2"
  151.  
  152.     # --- TIER 4: DEEP THROTTLE ---
  153.     "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds" "20"
  154.     "OneDrive"           "18"
  155.     "bird"               "19"
  156.     "cloudd"             "19"
  157.     "mdworker"           "20"
  158.     "mdworker_shared"    "20"
  159.     "mdbulkimport"       "20"
  160.     "backupd"            "20"
  161.     "backupd-helper"     "20"
  162.     "dasd"               "15"
  163.     "mediaanalysisd"     "20"
  164.     "photoanalysisd"     "20"
  165.     "suggestd"           "20"
  166.  
  167.     # --- TIER 5: SEQUOIA ENERGY LEECHES ---
  168.     "intelligenceplatformd" "20"
  169.     "triald"                "20"
  170.     "parsec-fbf"           "20"
  171.     "analyticsd"            "18"
  172.     "proactive_event_tracker" "20"
  173.     "biometrictalkerd"      "20"
  174.     "ContextStoreAgent"     "20"
  175.     "vmd"                   "20"
  176.     "siriknowledged"        "20"
  177.     "assistantd"            "18"
  178.     "symptomsd"             "15"
  179.     "remoted"               "15"
  180.     "parsecd"               "19"
  181.     "syspolicyd"            "20"
  182. )
  183.  
  184. # Shared Freeze List for both Manual and Auto logic
  185. FREEZE_LIST=(
  186.     "OneDrive" "cloudd" "bird" "mdworker" "mdworker_shared"
  187.     "suggestd" "mediaanalysisd" "photoanalysisd" "intelligenceplatformd"
  188.     "vmd" "siriknowledged" "triald" "analyticsd"
  189. )
  190.  
  191. MY_PID=$$
  192. LAST_BATT_STATE="unknown"
  193.  
  194. apply_priorities() {
  195.     # 1. Check Battery State
  196.     local IS_BATTERY=false
  197.     local CURRENT_BATT=$(pmset -g batt | head -n 1)
  198.     [[ "$CURRENT_BATT" == *"Battery Power"* ]] && IS_BATTERY=true
  199.  
  200.     # 2. Process Engine
  201.     # We get a list of all PIDs and their command names
  202.     local proc_list=$(ps -ax -o pid= -o comm=)
  203.    
  204.     while read -r pid comm; do
  205.         [[ -z "$pid" || "$pid" == "$MY_PID" ]] && continue
  206.        
  207.         # --- PART A: Priority/Renice Logic ---
  208.         for proc_key target_ni in ${(kv)MASTER_PRIORITY}; do
  209.             if [[ "$comm" == *"$proc_key"* ]]; then
  210.                 # Apply Niceness
  211.                 renice -n "$target_ni" -p "$pid" >/dev/null 2>&1
  212.                
  213.                 # If it's a "Leech" (Tier 4/5), force it to Background immediately
  214.                 if [[ "$target_ni" -ge 15 ]]; then
  215.                     taskpolicy -b -p "$pid" >/dev/null 2>&1 # Background I/O
  216.                     taskpolicy -c background -p "$pid" >/dev/null 2>&1 # Force E-Cores
  217.                 fi
  218.                 break
  219.             fi
  220.         done
  221.  
  222.         # --- PART B: Dynamic Battery Throttle (Replaces Freeze/Thaw) ---
  223.         if [[ "$IS_BATTERY" == "true" ]]; then
  224.             for p in $FREEZE_LIST; do
  225.                 if [[ "$comm" == *"$p"* ]]; then
  226.                     # Instead of STOP, we use 'throttled' background policy
  227.                     # This effectively "freezes" their impact but keeps them alive
  228.                     taskpolicy -b -p "$pid" >/dev/null 2>&1
  229.                     taskpolicy -c background -p "$pid" >/dev/null 2>&1
  230.                 fi
  231.             done
  232.         else
  233.             # On AC: Return FREEZE_LIST to 'default' policy unless Bunker is locked
  234.             if [[ ! -f /tmp/sleeper_bunker_lock ]]; then
  235.                 for p in $FREEZE_LIST; do
  236.                     if [[ "$comm" == *"$p"* ]]; then
  237.                         taskpolicy -B -p "$pid" >/dev/null 2>&1 # Remove Background I/O
  238.                         taskpolicy -C default -p "$pid" >/dev/null 2>&1 # Back to P-Cores
  239.                     fi
  240.                 done
  241.             fi
  242.         fi
  243.     done <<< "$proc_list"
  244.  
  245.     # Update state tracking
  246.     LAST_BATT_STATE="$IS_BATTERY"
  247.     [[ -f /tmp/sleeper_bunker_lock ]] && BUNKER_STATUS=" (Bunker Locked)" || BUNKER_STATUS=""
  248.  
  249.     # 3. The Guardian Heartbeat
  250.     local load=$(sysctl -n vm.loadavg | awk '{print $2}')
  251.     echo -ne "\r[$(date +%T)] 🛡️ Guardian Active | Load: $load$BUNKER_STATUS \033[K"
  252. }
  253.  
  254. # --- DYNAMIC SLEEP LOOP ---
  255. while true; do
  256.     apply_priorities
  257.    
  258.     # Check battery state for loop timing
  259.     if pmset -g batt | grep -q "Battery Power"; then
  260.         sleep 60 # Check more often on battery to catch new spawns
  261.     else
  262.         sleep 90 # Relax on AC
  263.     fi
  264. done
  265.  
  266.  
  267. fish config for easy functions:
  268.  
  269. if status is-interactive
  270. # Commands to run in interactive sessions can go here
  271. end
  272. # 1. Force the fastest PATH (Bypass Cryptex and Search Storms)
  273. set -gx PATH /usr/bin /bin /usr/local/bin /usr/sbin /sbin
  274.  
  275. # 2. Disable Fish Greeting (Saves 5-10ms)
  276. set -g fish_greeting ""
  277.  
  278. # 3. Suppress the Linker "Closures" (Bypass corrupted OCLP maps)
  279. set -gx DYLD_USE_CLOSURES 0
  280.  
  281. # 4. Suppress the Security "Tax" for the current session
  282. set -gx DYLD_PRINT_WARNINGS 0
  283.  
  284. # 5. Accessibility/UI Snappiness: Silence WindowServer animations for child processes
  285. set -gx NSGL_DISABLE_QUARTZ 1
  286.  
  287. # Point the Linker directly to the Cryptex Cache to end the search storm
  288. set -gx DYLD_SHARED_CACHE_DIR /System/Volumes/Preboot/Cryptexes/OS/System/Library/dyld
  289.  
  290. set -gx DYLD_SHARED_CACHE_DONT_VALIDATE 1
  291.  
  292. # Use the 'Pure' or 'Hydro' prompt if you want speed,
  293. # or keep the default but disable git status in large repos
  294. #set -g __fish_git_prompt_show_informative_status 0
  295.  
  296. # --- Permanent Sleeper Context Prompt ---
  297. function fish_prompt
  298.     # basename is a fast internal string split
  299.     set -l last_folder (basename (prompt_pwd))
  300.     echo -n (set_color blue)"$last_folder "(set_color green)'$ '(set_color normal)
  301. end
  302.  
  303. function fish_right_prompt
  304.     # Explicitly disabled to stop the 1Hz/per-command clock/status wakeups
  305. end
  306.  
  307. # Sync your Priority Engine's Tier 2 environment
  308. set -x LC_ALL en_US.UTF-8
  309.  
  310. # Explicitly set colors as Global to avoid shadowing conflicts
  311. set -g fish_color_command 2ecc71 --bold
  312. set -g fish_color_param 3498db
  313. set -g fish_color_autosuggestion 7f8c8d
  314. set -g fish_color_error e74c3c
  315.  
  316. # Bridge to your Sleeper Script
  317. function boost
  318.     set -l pid $fish_pid
  319.     sudo renice -n -15 -p $pid
  320.     echo (set_color green)"🚀 Fish Shell (PID: $pid) boosted to -15"(set_color normal)
  321.     echo "Note: Sleeper Engine v7.6+ will respect this manual override."
  322. end
  323.  
  324. function sleeper-status
  325.     echo (set_color -u cyan)"--- 🛡️ Sleeper v14.7 (Sequoia Shield Edition) ---"(set_color normal)
  326.  
  327.     # 1. Load: Direct read from memory
  328.     set -l _load (sysctl -n vm.loadavg | string split " ")[2]
  329.     echo (set_color white)"Load Floor: "(set_color yellow)"$_load"(set_color normal)
  330.  
  331.     # 2. Temperature: Only if requested
  332.     if contains -- "-t" $argv
  333.         set -l _temp (sudo /Applications/smcFanControl.app/Contents/Resources/smc -k TCXC -r | awk '{print $3}' | cut -d'.' -f1)
  334.         echo (set_color white)"PECI Temp: "(set_color green)"$_temp°C"(set_color normal)
  335.     end
  336.  
  337.     echo "PID     NICE   COMMAND              STATE"
  338.     echo "------------------------------------------"
  339.  
  340.     # 3. Fast-Scan with logic for Throttling (Niceness >= 15) vs. Freezing (SIGSTOP/T-state)
  341.     ps -ax -c -o pid=,ni=,state=,comm= | while read -l _pid _ni _state _comm
  342.         # Match list updated for Sequoia daemons
  343.         if string match -rq "hidd|WindowServer|bluetoothd|Alfred|Terminal|DynamicLake|OneDrive|bird|cloudd|mdworker|intelligenceplatformd|vmd|triald|mediaanalysisd|analyticsd|syspolicyd" "$_comm"
  344.            
  345.             set -l _col (set_color normal)
  346.             set -l _msg ""
  347.  
  348.             # Check for High Priority (Tier 1 & 2)
  349.             if test $_ni -le -10
  350.                 set _col (set_color -o green)
  351.            
  352.             # Check for Throttled (Tier 4 & 5)
  353.             else if test $_ni -ge 15
  354.                 set _col (set_color yellow)
  355.                 set _msg (set_color blue)"[THROTTLED]"(set_color normal)
  356.             end
  357.  
  358.             # Check if process is strictly Frozen (SIGSTOP / T-state)
  359.             # This covers T, TN, Ts, etc.
  360.             if string match -rq "T" "$_state"
  361.                 set _msg (set_color red)"[FROZEN]"(set_color normal)
  362.             end
  363.  
  364.             printf "%-7s %-6s %-25s %s\n" $_pid (echo -n $_col$_ni(set_color normal)) $_comm $_msg
  365.         end # End if string match
  366.     end # End while loop
  367. end # End function
  368.  
  369. # --- The Sleeper Manual Override Pair ---
  370.  
  371. function freeze
  372.     echo (set_color red)"🧊 Manual Freeze (Bunker Mode) initiated..."(set_color normal)
  373.     # Create the lock file so the daemon stays quiet
  374.     sudo touch /tmp/sleeper_bunker_lock
  375.    
  376.     set -l freeze_list contactsd OneDrive cloudd bird mdworker mdworker_shared suggestd mediaanalysisd photoanalysisd mdbulkimport intelligenceplatformd vmd triald analyticsd remoted syspolicyd
  377.     set -l pattern (string join "|" $freeze_list)
  378.     set -l pids (pgrep -fi "$pattern")
  379.    
  380.     if test -n "$pids"
  381.         sudo kill -STOP $pids 2>/dev/null
  382.         echo "✅ Suspended "(count $pids)" processes and locked Bunker."
  383.     end
  384. end
  385.  
  386. function thaw
  387.     echo (set_color cyan)"❄️ Manual Thaw initiated..."(set_color normal)
  388.     # Remove the lock so the daemon can resume normal management
  389.     sudo rm -f /tmp/sleeper_bunker_lock
  390.    
  391.     set -l freeze_list contactsd OneDrive cloudd bird mdworker mdworker_shared suggestd mediaanalysisd photoanalysisd mdbulkimport intelligenceplatformd vmd triald analyticsd remoted syspolicyd
  392.     set -l pattern (string join "|" $freeze_list)
  393.     set -l pids (pgrep -fi "$pattern")
  394.    
  395.     if test -n "$pids"
  396.         sudo kill -CONT $pids 2>/dev/null
  397.         echo "✅ Resumed "(count $pids)" processes and unlocked daemon."
  398.     end
  399. end
  400.  
  401.  
  402. function energy-hogs
  403.     echo (set_color -o red)"--- ⚡ High-Impact Activity ---"(set_color normal)
  404.    
  405.     # 1. Get the top processes
  406.     # 2. sed -n '/PID/,$p' finds the line starting with PID and prints everything after it
  407.     # 3. awk filters out the 0.0 idle noise but keeps the header
  408.     top -l 1 -n 15 -o cpu -stats pid,command,cpu,state | sed -n '/PID/,$p' | awk '$3 > 0.0 || $2 == "COMMAND"'
  409.    
  410.     echo ""
  411.     echo (set_color cyan)"--- 🌡️ Thermal / System Pressure ---"(set_color normal)
  412.    
  413.     # Check thermal throttling
  414.     set -l therm_speed (pmset -g therm | grep "CPU_Speed_Limit" | awk '{print $NF}')
  415.     if test -n "$therm_speed"
  416.         set -l col (test "$therm_speed" = "100"; and echo green; or echo yellow)
  417.         echo "CPU Speed Limit: "(set_color $col)"$therm_speed%"(set_color normal)
  418.     else
  419.         echo "CPU Speed Limit: "(set_color green)"100% (Nominal)"(set_color normal)
  420.     end
  421.  
  422.     # Memory check converted to MB (Integer)
  423.     set -l free_pages (sysctl -n vm.page_free_count)
  424.     set -l free_mb (math -s0 "($free_pages * 4096) / 1048576")
  425.    
  426.     # Check how many processes are currently in the "Icebox"
  427.     set -l frozen_count (ps -ax -o state | grep -c "T")
  428.    
  429.     echo "Free Memory: $free_mb MB"
  430.     echo "Icebox Status: "(set_color blue)"$frozen_count processes suspended"(set_color normal)
  431. end
  432.  
  433. function io-watch
  434.     echo (set_color red)"--- 💾 Real-time Disk I/O (Press Ctrl+C to stop) ---"(set_color normal)
  435.     # Filters out the shell and the command itself to show only background noise
  436.     sudo fs_usage -w -f filesys | grep -vE "fs_usage|fish|grep"
  437. end
  438.  
  439. function sleeper-diagnose
  440.     echo (set_color cyan)"--- 🧠 CPU C-State Residency Snapshot (Intel Ivy Bridge) ---"(set_color normal)
  441.     # Use the cpu_power sampler for Intel chips
  442.     # We take a 1-second sample (-i 1000) and look for C-states
  443.     sudo powermetrics -n 1 -i 1000 -s cpu_power | grep -E "C-state|Residency|package"
  444. end
  445.  
  446. function load-check
  447.     set -l load (sysctl -n vm.loadavg | string split " ")[2]
  448.     # Extract just the number before the decimal for simple integer math
  449.     set -l int_load (echo $load | cut -d. -f1)
  450.     set -l col (set_color green)
  451.  
  452.     if test $int_load -ge 2
  453.         set col (set_color red)
  454.     else if test $int_load -ge 1
  455.         set col (set_color yellow)
  456.     end
  457.  
  458.     echo (set_color white)"Current Load Floor: "$col"$load"(set_color normal)
  459. end
  460.  
  461. function bunker-mode
  462.     if test "$argv" = "on"
  463.         sudo touch /tmp/sleeper_bunker_lock
  464.         freeze
  465.         echo (set_color red)"🔒 Bunker Lock active. Background daemon will not auto-thaw."(set_color normal)
  466.     else if test "$argv" = "off"
  467.         sudo rm -f /tmp/sleeper_bunker_lock
  468.         thaw
  469.         echo (set_color green)"🔓 Bunker Lock released."(set_color normal)
  470.     else
  471.         echo "Usage: bunker-mode [on|off]"
  472.         if test -f /tmp/sleeper_bunker_lock
  473.             echo "Current Status: "(set_color red)"LOCKED"(set_color normal)
  474.         else
  475.             echo "Current Status: "(set_color green)"UNLOCKED"(set_color normal)
  476.         end
  477.     end
  478. end
  479.  
  480. ~ $ launchctl print-disabled gui/$(id -u)
  481.  
  482.     disabled services = {
  483.         "com.CodySchrank.gSwitch-LaunchAtLoginHelper" => enabled
  484.         "com.apple.trustd.agent" => enabled
  485.         "com.apple.biomesyncd.plist" => enabled
  486.         "com.apple.staged" => enabled
  487.         "com.apple.accessibility.pointers" => enabled
  488.         "com.apple.sidecardisplayagent" => enabled
  489.         "com.apple.languageassetd" => enabled
  490.         "com.apple.knowledgeconstructiond" => disabled
  491.         "com.apple.inputanalyticsd" => disabled
  492.         "com.apple.ospredictiond" => disabled
  493.         "com.apple.touchbarserver" => disabled
  494.         "com.apple.intelligenceplatformd" => disabled
  495.         "com.apple.systemstats.microstackshot_periodic" => disabled
  496.         "com.ollama.ollama" => enabled
  497.         "jp.sone.BLEUnlock.Launcher" => enabled
  498.         "com.robinlu.Tooth-Fairy-Helper" => enabled
  499.         "com.apple.ContextStoreAgent" => enabled
  500.         "com.apple.cloudd" => enabled
  501.         "com.apple.triald.system.plist" => enabled
  502.         "com.apple.diagnosed" => disabled
  503.         "com.apple.usage-tracking-agent" => disabled
  504.         "com.apple.appleseed.fbahelperd" => disabled
  505.         "com.apple.appleseed.spindump" => disabled
  506.         "com.apple.appleh13camerad" => disabled
  507.         "com.apple.ManagedClientAgent.enrollagent" => disabled
  508.         "com.apple.Siri.agent" => enabled
  509.         "com.apple.Passwords.MenuBarExtra" => enabled
  510.         "com.rogueamoeba.arkaudiod" => enabled
  511.         "com.apple.akd" => enabled
  512.         "com.apple.biomeAgent.plist" => enabled
  513.         "com.apple.digitalseparation" => enabled
  514.         "com.apple.powerlogd" => enabled
  515.         "com.apple.XprotectFramework.PluginService" => enabled
  516.         "com.apple.triald" => disabled
  517.         "com.apple.systemstats.analysis" => disabled
  518.         "com.apple.icloud.searchpartyuseragent" => disabled
  519.         "com.apple.appleh16camerad" => disabled
  520.         "com.microsoft.update.agent" => disabled
  521.         "com.apple.weather.menu" => enabled
  522.         "com.apple.coreduetd" => enabled
  523.         "com.apple.TrustEvaluationAgent" => enabled
  524.         "com.apple.sysdiagnose.service" => enabled
  525.         "com.apple.parsec-fbf" => enabled
  526.         "com.apple.parsecd" => enabled
  527.         "com.apple.analyticsagent" => disabled
  528.         "com.apple.oahd" => disabled
  529.         "com.apple.FolderActionsDispatcher" => enabled
  530.         "com.microsoft.OneDriveLauncher" => disabled
  531.         "com.apple.amsaccountsd" => enabled
  532.         "com.apple.photoanalysisd" => enabled
  533.         "com.apple.sidecarrelay" => enabled
  534.         "com.apple.remoted" => enabled
  535.         "com.apple.spotlightknowledged.importer" => enabled
  536.         "com.apple.wallpaper.clouddestination" => enabled
  537.         "com.apple.appleseed.biomesyncd" => enabled
  538.         "com.apple.RemoteManagementAgent" => enabled
  539.         "com.apple.siriknowledged" => disabled
  540.         "com.apple.spotlightknowledged" => disabled
  541.         "com.apple.appleh15camerad" => disabled
  542.         "com.apple.biometrickitd" => disabled
  543.         "com.apple.BiomeAgent" => disabled
  544.         "com.apple.suggestd" => disabled
  545.         "com.apple.medialibraryd" => enabled
  546.         "com.apple.remotemanagementd" => enabled
  547.         "com.apple.systemstatsd" => enabled
  548.         "com.apple.appleseed.seedusaged.postinstall" => disabled
  549.         "com.apple.knowledge-agent" => disabled
  550.         "com.apple.mediaanalysisd" => disabled
  551.         "com.apple.osanalytics.osanalyticshelper" => disabled
  552.         "com.apple.siriinferenced" => disabled
  553.         "com.apple.ReportCrash" => disabled
  554.         "com.apple.gamed" => disabled
  555.         "com.apple.intelligencecontextd" => disabled
  556.         "com.apple.helpd" => disabled
  557.         "com.apple.biomesyncd" => disabled
  558.         "85C27NK92C.com.flexibits.fantastical2.mac.helper" => enabled
  559.         "com.microsoft.OneDriveMigrationLauncher" => disabled
  560.         "com.apple.chronod" => enabled
  561.         "com.apple.amsengagementd" => enabled
  562.         "com.apple.itunescloudd" => enabled
  563.         "com.apple.triald.system" => enabled
  564.         "com.apple.screentimeagent" => enabled
  565.         "com.apple.systemstats.daily" => enabled
  566.         "com.apple.naturallanguaged" => enabled
  567.         "com.apple.geoanalyticsd" => disabled
  568.         "com.apple.spotlightknowledged.updater" => disabled
  569.         "com.apple.symptomd" => disabled
  570.         "com.apple.geod" => enabled
  571.         "com.apple.tailspind" => disabled
  572.         "com.apple.appleh14camerad" => disabled
  573.         "com.apple.widgets.extension-vending" => disabled
  574.         "com.apple.ScriptMenuApp" => enabled
  575.         "com.apple.proactived" => disabled
  576.         "com.apple.proactiveeventtrackerd" => disabled
  577.     }
  578.  
  579. ~ $ sudo launchctl print-disabled system
  580.  
  581.     disabled services = {
  582.         "com.apphousekitchen.aldente-pro.helper" => enabled
  583.         "com.apple.symptomsd-diag" => enabled
  584.         "com.apple.coresymbolicationd" => enabled
  585.         "com.apple.PerfPowerServicesExtended" => enabled
  586.         "com.apple.symptomsd" => disabled
  587.         "com.apple.ospredictiond" => disabled
  588.         "com.apple.biomed" => disabled
  589.         "com.apple.systemstats.microstackshot_periodic" => disabled
  590.         "com.stclairsoft.AppTamer.Helper" => enabled
  591.         "com.apple.logd" => enabled
  592.         "com.sleeper.logramdisk" => enabled
  593.         "com.sleeper.priority" => enabled
  594.         "com.apple.contextstored" => enabled
  595.         "com.apple.appleh13camerad" => enabled
  596.         "com.apple.CBBlueLightReduction" => enabled
  597.         "com.apple.CSCSupportd" => disabled
  598.         "com.apple.icloud.searchpartyd" => disabled
  599.         "com.apple.CoreBrightnessDaemon" => enabled
  600.         "com.sleeper.optimise" => enabled
  601.         "com.apple.systemstats.analysis" => enabled
  602.         "com.apple.PerfPowerServices" => enabled
  603.         "com.apple.XProtect.daemon.scan.startup" => enabled
  604.         "com.apple.ftpd" => enabled
  605.         "com.apple.appleh16camerad" => enabled
  606.         "com.apple.CrashReporterSupportHelper" => enabled
  607.         "com.apple.displaypolicyd" => enabled
  608.         "com.apple.iomfb_bics_daemon" => enabled
  609.         "com.apple.iomfb_fdr_loader" => enabled
  610.         "com.apple.periodic-daily" => enabled
  611.         "com.apple.periodic-weekly" => enabled
  612.         "com.apple.mdmclient.daemon.runatboot" => disabled
  613.         "com.apple.powerlogHelperd" => disabled
  614.         "com.apple.coreduetd" => enabled
  615.         "com.apple.TrustEvaluationAgent.system" => enabled
  616.         "com.apple.analyticsagent" => enabled
  617.         "com.apple.dhcp6d" => enabled
  618.         "com.apple.sysdiagnose.service" => disabled
  619.         "com.apple.oahd" => disabled
  620.         "com.apple.aneuserd" => disabled
  621.         "com.apple.security.syspolicy" => enabled
  622.         "com.apple.biometrickitd" => enabled
  623.         "com.apple.remoted" => enabled
  624.         "com.apple.logd_reporter" => enabled
  625.         "com.apple.bootpd" => enabled
  626.         "com.apple.ReportCrash.Root" => disabled
  627.         "com.apple.wifianalyticsd" => disabled
  628.         "com.apple.audioanalyticsd" => disabled
  629.         "com.soma-zone.LaunchControl.Helper" => enabled
  630.         "com.apple.knowledge-agent" => enabled
  631.         "com.apple.colorsync.displayservices" => enabled
  632.         "com.apple.remotemanagementd" => enabled
  633.         "com.apple.osanalytics.osanalyticshelper" => disabled
  634.         "com.apple.systemstatsd" => disabled
  635.         "com.apple.spindump" => disabled
  636.         "com.apple.aned" => disabled
  637.         "com.apple.ecosystemanalyticsd" => disabled
  638.         "com.apple.corebrightnessd" => enabled
  639.         "com.apple.XProtect.daemon.scan" => enabled
  640.         "com.apple.ftp-proxy" => enabled
  641.         "com.apple.analyticsd" => disabled
  642.         "com.apple.triald.system" => disabled
  643.         "com.apple.tailspind" => disabled
  644.         "com.apple.systemstats.daily" => disabled
  645.         "com.apple.nfcd" => disabled
  646.         "com.microsoft.autoupdate.helper" => disabled
  647.     }
Advertisement
Add Comment
Please, Sign In to add comment