You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Disable-Ventura-Bloatware.sh
+13-42
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/bin/sh
2
2
3
-
## Full Procedure;
3
+
## Procedure;
4
4
#0) Take note of Agents and Daemons currently running; `launchctl list | grep -v "\-\t0"`
5
5
#1) Reboot in Recovery mode (Eg; https://www.lifewire.com/restart-a-mac-into-recovery-mode-5184142)
6
6
#2) Open 'Terminal' application in Recovery mode
@@ -9,44 +9,17 @@
9
9
#5) Identify your system disk identifier - (Eg, 'disk3s3' for Volume 'Macintosh HD') in the diskutil output under the '(synthesized)' set
10
10
#6) Mount volume; `diskutil mount disk3s3` (replace 'disk3s3' with your own disk identifier if different)
11
11
#7) Make writable; `mount -uw /Volumes/Macintosh\ HD` (replace 'Macintosh\ HD' with your disk volume name)
12
-
#8) Update `${MYROOTDISK}` variable in the `Disable-Ventura-Bloatware.sh` script (~Line 59), and in the commands below (steps 11, 12), if different from (`/Volumes/Macintosh\ HD`)
12
+
#8) Update `${MYROOTDISK}` variable in the `Disable-Ventura-Bloatware.sh` script (~Line 32), and in the commands below (steps 11, 12), if different from (`/Volumes/Macintosh\ HD`)
13
13
#9) Make script executable; `chmod 775 ./Disable-Ventura-Bloatware.sh` and execute `./Disable-Ventura-Bloatware.sh` (in Recovery Mode Terminal)
14
14
#10) Check existing snapshots; `diskutil apfs listSnapshots disk3s3` (change disk and partition to yours)
15
15
#11) Create new disk snapshot; `/Volumes/Macintosh\ HD/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs_systemsnapshot -s "Custom1" -v /Volumes/Macintosh\ HD` (replace 'Macintosh\ HD' if different)
16
16
#12) Tag new snapshot bootable; `/Volumes/Macintosh\ HD/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs_systemsnapshot -r "Custom1" -v /Volumes/Macintosh\ HD` (replace 'Macintosh\ HD' if different)
17
+
#OR 11 & 12) `bless --mount /Volumes/Macintosh\ HD --bootefi --create-snapshot` (I have not confirmed if there is any difference between this command and 11+12 - They seem to work the same so far)
17
18
#13) Check snapshots; `diskutil apfs listSnapshots disk3s3` (change disk and partition to yours) - Should show your new customised SSV Volume is the new MacOS Boot image
18
19
#14) Reboot in Normal mode (first reboot with new snapshot might take upto 10 minutes)
19
20
#15) Verify LaunchAgents and Daemons are now stopped; `launchctl list | grep -v "\-\t0"`
20
-
#16) Open MacOS Log Console (`open -a Console`), and use your system for a while (test everything you normally use).
21
-
#Perform common activities to exercise all needed features, and watch for issues in Console.
22
-
#If things are not working as desired, you will need to experiment and try restoring Agents and Daemons one by one.
23
-
#You can also try deleting any related app/user plist files from `~/Library/Preferences/` and rebooting, to restore an Apps defaults settings. (Eg, `rm ~/Library/Preferences/com.apple.AppStore.plist`)
24
-
#
25
-
#Restoring functionality; follow steps 1,6,7 again, removing `.bak` extension from wanted .plists, restore launchctl loading if Agent, follow steps 11-14 (Increment 'CustomX') to commit the restored plists.
#When happy, update the script with your personal changes (for future you), and share fixes for others here..\
48
-
#17) Once everything is working as desired (and the things you don't use are gone), reboot into Recovery mode again
49
-
#18) Re-enable SIP `csrutil authenticated-root enable`. Reboot and re-enable disk Encryption/FileVault, and Lockdown mode (if used)
21
+
22
+
# * See README.md for all remaining steps *
50
23
51
24
# Agents not to disable
52
25
#Disabling `com.apple.speech.speechdatainstallerd` `com.apple.speech.speechsynthesisd` `com.apple.speech.synthesisserver` will freeze Edit menus.\
@@ -68,8 +41,8 @@ fi
68
41
# TODO Build launchctl man page extracts for Ventura https://gist.github.com/dmattera/883a4457b67534df795cdd0fa1651a26
69
42
70
43
# Launch Agents
71
-
# TODO Bluetooth is excluded below but Bluetooth is not working. Console logs show; <Notice>: service inactive: com.apple.bluetoothd (find dependency)
72
-
# Console logs seem to show bluetoothd trying to connect to com.apple.SharingServices which is likely part of com.apple.sharingd
44
+
# TODO Testing - When Bluetooth is excluded (from being disabled by commenting 'TODISABLE+=( "${LA_BLUETOOTH[@]}" )'), you also need to stop com.apple.sharingd from being disabled.
45
+
# Console logs show bluetoothd trying to connect to com.apple.SharingServices which is likely part of com.apple.sharingd
0 commit comments