Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

jasoncarle

Suspended
Jan 13, 2006
623
460
Minnesota
Did the security update today. Everything went OK apart from the fact that the software update badge is back (offering Catalina). I tried re-doing the fix given by @alphascorp - either I'm not doing it correctly or it doesn't work anymore. Well - it sort of works initially, but when I press Check For Updates in Sysprefs the badge re-appears. If @alphascorp is around: could you please confirm that it still works. And maybe for completeness, post the fix here again if it does (or better still, add it to the front page). Thanks.

I did not attempt doing any fixes, but the update badge is there for me as well.
 

ATC

macrumors 65816
Apr 25, 2008
1,185
433
Canada
Updated my iMac 9,1 today. Either the update itself or the re-patching broke the back light brightness controls so I had to re-install Dosdude's bkltpatch10.14.2 and now it's working again.

I do see the badge on the Sys Pref and I ran these in Terminal:
sudo softwareupdate --ignore "macOS Catalina"
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 && killall Dock
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier

Got rid of it but if I go into Software Update and it checks, the badge comes back. Wonder if there are better solutions for this?
 

alphascorp

macrumors 6502
Jul 16, 2018
343
635
Brest, France
Hi @mrploppy, @jasoncarle, @ATC

Indeed, during the update 2020-03 SoftwareUpdate.prefPane was modified.

And I just carried out several tests, it no longer takes into account "softwareupdate - ignore" macOS Catalina "and re-writes each time in /Library/Preferences/com.apple.softwareUpdate.plist the value" LastRecommendedMajorOSBundleIdentifier "deleted (by the command running in terminal).

It also rewrites each time in ~/Library/Preferences/com.apple.preferences.softwareupdate.plist the value "LastRecommendedMajorOSBundleIdentifier" deleted (by the other command running in terminal).

Instead of deleting these values, I simply modified them but nothing to do, they are nevertheless replaced with each update from Preferences System and the red badge returns.
I also tested by replacing inside com.apple.preferences.softwareupdate.plist Product ID 001-09493 (Mojave) with 061-78580 (Catalina 10.15.5) but without any effects.

When running the terminal command: softwareupdate --list the red badge does not appear but the value "LastRecommendedMajorOSBundleIdentifier" in /Library/Preferences/com.apple.softwareUpdate.plist has however been modified.

I have no definitive solutions yet.
Unfortunately, Terminal commands must be run at each appearance of the red badge.

Code:
sudo softwareupdate --ignore "macOS Catalina"

The next line must be run with "sudo" (before there was no need)

Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier

The following lines do not need "sudo"

Code:
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier

Code:
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0

Code:
killall Dock


If you want to execute everything in a single command with copy/paste:

Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier && defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 && killall Dock
 
Last edited:

avz

macrumors 68000
Oct 7, 2018
1,830
1,896
Stalingrad, Russia
SO I downloaded and installed the security update my 2011 mini told me was available this morning. I rebooted with the dosdude patcher, reinstalled all the patches selected for my 5.1 mini and everything appeared to be fine, machine rebooted and everything is back, or so I thought...

I have no internal sound. The machine doesn't even recognize it. I rebooted to the USB patcher, reinstalled the audio patch, rebooted again, nothing. This is all I see.

I normally use this only for music, and the internal for all other things like youtube and such.

Any ideas?

View attachment 919187 View attachment 919189

Is it possible that you forgot to check "force cache rebuild" after applying the patches? I actually forgot to do it myself and rebooted to a system that had no sound and no graphic acceleration. Then I did rebuild caches manually and everything went back to normal.
 
  • Like
Reactions: K two

jasoncarle

Suspended
Jan 13, 2006
623
460
Minnesota
Is it possible that you forgot to check "force cache rebuild" after applying the patches? I actually forgot to do it myself and rebooted to a system that had no sound and no graphic acceleration. Then I did rebuild caches manually and everything went back to normal.

I did that. Both times after installing the patches.
[automerge]1590613545[/automerge]
Hi @mrploppy, @jasoncarle, @ATC

Indeed, during the update 2020-03 SoftwareUpdate.prefPane was modified.

And I just carried out several tests, it no longer takes into account "softwareupdate - ignore" macOS Catalina "and re-writes each time in /Library/Preferences/com.apple.softwareUpdate.plist the value" LastRecommendedMajorOSBundleIdentifier "deleted (by the command running in terminal).

It also rewrites each time in ~/Library/Preferences/com.apple.preferences.softwareupdate.plist the value "LastRecommendedMajorOSBundleIdentifier" deleted (by the other command running in terminal).

Instead of deleting these values, I simply modified them but nothing to do, they are nevertheless replaced with each update from Preferences System and the red badge returns.
I also tested by replacing inside com.apple.preferences.softwareupdate.plist Product ID 001-09493 (Mojave) with 061-78581 (Catalina 10.15.5) but without any effects.

When running the terminal command: softwareupdate --list the red badge does not appear but the value "LastRecommendedMajorOSBundleIdentifier" in /Library/Preferences/com.apple.softwareUpdate.plist has however been modified.

I have no definitive solutions yet.
Unfortunately, Terminal commands must be run at each appearance of the red badge.

Code:
sudo softwareupdate --ignore "macOS Catalina"

The next line must be run with "sudo" (before there was no need)

Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier

The following lines do not need "sudo"

Code:
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier

Code:
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0

Code:
killall Dock


If you want to execute everything in a single command with copy/paste:

Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier && defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 && killall Dock

This will not prevent it from reappearing, correct?
 

ATC

macrumors 65816
Apr 25, 2008
1,185
433
Canada
Hi @mrploppy, @jasoncarle, @ATC

........

If you want to execute everything in a single command with copy/paste:

Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier && defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 && killall Dock

Thanks. I did the single command and got the same result as what I ran in my earlier post - it gets rid for it but comes back if/when a software update check happens.
 
  • Like
Reactions: K two

mrploppy

macrumors regular
Oct 27, 2017
242
128
Hi @mrploppy, @jasoncarle, @ATC

Indeed, during the update 2020-03 SoftwareUpdate.prefPane was modified.

And I just carried out several tests, it no longer takes into account "softwareupdate - ignore" macOS Catalina "and re-writes each time in /Library/Preferences/com.apple.softwareUpdate.plist the value" LastRecommendedMajorOSBundleIdentifier "deleted (by the command running in terminal).

It also rewrites each time in ~/Library/Preferences/com.apple.preferences.softwareupdate.plist the value "LastRecommendedMajorOSBundleIdentifier" deleted (by the other command running in terminal).

Instead of deleting these values, I simply modified them but nothing to do, they are nevertheless replaced with each update from Preferences System and the red badge returns.
I also tested by replacing inside com.apple.preferences.softwareupdate.plist Product ID 001-09493 (Mojave) with 061-78581 (Catalina 10.15.5) but without any effects.

When running the terminal command: softwareupdate --list the red badge does not appear but the value "LastRecommendedMajorOSBundleIdentifier" in /Library/Preferences/com.apple.softwareUpdate.plist has however been modified.

I have no definitive solutions yet.
Unfortunately, Terminal commands must be run at each appearance of the red badge.

Code:
sudo softwareupdate --ignore "macOS Catalina"

The next line must be run with "sudo" (before there was no need)

Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier

The following lines do not need "sudo"

Code:
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier

Code:
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0

Code:
killall Dock


If you want to execute everything in a single command with copy/paste:

Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier && defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 && killall Dock

Thanks for the update. I'm glad to hear I wasn't going nuts!

This is no big deal, of course, but I'm sure you'll let us know if you find a permanent fix.
 
  • Like
Reactions: K two

alphascorp

macrumors 6502
Jul 16, 2018
343
635
Brest, France
Last edited:
  • Like
Reactions: K two

jasoncarle

Suspended
Jan 13, 2006
623
460
Minnesota
Well... I'm not sure what changed, however... I have my internal output back. My only guess is that having my amp plugged in AND turned on let the computer know it was an active output? I didn't do anything about this from my time messing with it earlier this am when I gave up to go about my day.

Screen Shot 2020-05-27 at 5.11.59 PM.png
 
  • Like
Reactions: K two

mrploppy

macrumors regular
Oct 27, 2017
242
128
Having said everything was OK after the security update, apart from the software update badge, I of course suffered the usual failure to sleep. This has happened to me every time after security updates recently - it will only sleep properly when set to Higher Performance graphics, but I don't like that setting because my fans go nuts. So every time I have to go through a song and dance - changing graphics modes, resetting NVRAM, jumping up and down on one leg, restarting, and finally I can at least get it to sleep by using the sleep menu item. I'm never sure which of those things "fixes" it - it seems different every time. However, it still won't sleep properly by "idle sleep". So be it. Quite honestly, I'm fed up of this annoyance, so I'm thinking this'll be the last security update I'll do.
 

RK78

macrumors 6502
Oct 24, 2019
270
92
I'm sorry but I fear that this time, there will be no permanent solution...
Aside from possibly disabling automatic updates or blocking Software Update Preference Pane...
Here's why:

http://mrmacintosh.com/10-15-5-2020-003-updates-changes-to-softwareupdate-ignore/
This works for me (although takes a little while until it decides what to do)

Code:
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && softwareupdate --list

Supposed to keep red badge from returning so long as you don't check from SU. Instead, use

Code:
softwareupdate --list

From bottom of page at https://tinyapps.org/blog/202005070700_remove_catalina_notification_badge.html

But wonder what happens to badge when there is a real (aka, non-Catalina) update?

EDIT: good news is it lasts through a restart.
 
Last edited:
  • Like
Reactions: K two

NeoGd

macrumors newbie
May 28, 2020
2
0
Hi. I installed mojave using dosdude1's patch. So here's the question: If I change my GPU to a metal compatible one (if it's possible) and my HDD Disk to an SSD Disk, would I be able to install mojave natively? Or it still needs to be patched? (I have a 2011 MacBook Pro)
 
Last edited:

jasoncarle

Suspended
Jan 13, 2006
623
460
Minnesota
Hi. I installed mojave using dosdude1's patch. So here's the question: If I change my GPU to a metal compatible one (if it's possible) and my HDD Disk to an SSD Disk, would I be able to install mojave natively? Or it still needs to be patched? (I have a 2011 MacBook Pro)

You'll still need to patch it.
 
  • Like
Reactions: K two

VaZ

macrumors 6502
Aug 31, 2012
323
84
SO I downloaded and installed the security update my 2011 mini told me was available this morning. I rebooted with the dosdude patcher, reinstalled all the patches selected for my 5.1 mini and everything appeared to be fine, machine rebooted and everything is back, or so I thought...

I have no internal sound. The machine doesn't even recognize it. I rebooted to the USB patcher, reinstalled the audio patch, rebooted again, nothing. This is all I see.

I normally use this only for music, and the internal for all other things like youtube and such.

Any ideas?

View attachment 919187 View attachment 919189
Is this still under warranty or something ?
 

TheRV

macrumors newbie
Jun 1, 2019
7
7
France
Do you advice to manually install the security update on a patched MacBook 2008, or it is better to wait that macOS Mojave is updated and to install it from the software updates pref pane when it will be available ? (if an update is planed)
 

brmarinho

macrumors newbie
Mar 16, 2020
17
18
Do you advice to manually install the security update on a patched MacBook 2008, or it is better to wait that macOS Mojave is updated and to install it from the software updates pref pane when it will be available ? (if an update is planed)
Definitely manually... It's a simples process and effective. But be aware to have a bootable patched USB to re-apply the patches after the reboot.
 

MTBnBeer

macrumors regular
Dec 9, 2015
101
87
I successfully installed the latest Security Update on my 17" Early 2008 MacBook Pro 4,1 by the usual method:

  • run Apple Software Update
  • REBOOT
  • boot off Mojave Patcher USB
  • install Mojave Patcher updates
  • REBOOT
  • install backltpach10.14.2 (needed on this 17" MBP with CCFL display)
  • REBOOT
I'm still hoping DosDude1 will add the required 17" backlight patch to Mojave Patcher. Would save a REBOOT and executing backltpach10.14.2 in Terminal on Mojave updates.
 
  • Like
Reactions: macinfo

alphascorp

macrumors 6502
Jul 16, 2018
343
635
Brest, France
Hi all
Following the modification made by Apple by the 2020-003 update and especially the depreciation of the "softwareupdate --ignore" command I have 2 solutions:

The first, for those who do not want to modify the system files, is:

1) Uncheck the automatic update search in the system preferences.
2) Regularly use the excellent utility "SilentKnight.app" in order to update MRT and XProtect. (download direct link)

The second: (replace the "SoftwareUpdate.framework" file with version 18G4032) I joined the framework in a .zip archive below

1) Make a backup of "SoftwareUpdate.framework" existing in /System/Library/PrivateFrameworks/
2) Copy the file "SoftwareUpdate.framework" (uncompressed) in the folder /System/Library/PrivateFrameworks/ (overwrite the existing one, DO NOT MERGE)
3) With terminal:

Code:
sudo chmod -R 755 /System/Library/PrivateFrameworks/SoftwareUpdate.framework
sudo chown -R 0:0 /System/Library/PrivateFrameworks/SoftwareUpdate.framework

4) Restart

It worked for me on MBP5,3 and iMac 8,1

Capture d’écran 2020-05-31 à 19.50.43.png


I can confirm that after replacing the framework, the update works perfectly because on iMac8,1 Safari was only at version 13.1
After replacing the framework I ran an update from the system preferences and the result is there, "an update is available: Safari 13.1.1" but no notification for Catalina!!!

Capture d’écran 2020-05-31 à 23.01.30.png


EDIT:

It still works for SecUpd2020-004Mojave and SecUpd2020-005Mojave

EDIT2:

I created a .pkg tool that overwrites the SoftwareUpdate.framework file modified by the last security update. HERE:
 
Last edited:

mrploppy

macrumors regular
Oct 27, 2017
242
128
On a patched Mojave installation, I just downloaded the latest safari update from the pref pane. But I don't see this latest security update form there. Do you ?
Yes I do/did. I've done it that way since I started on the patched Mojave. It's a pain having to do the manual download, unpacking, editing and re-packaging.

Hang on ... I've a vague recollection, something to do with APFS. I'm on APFS using the post-install APFS patch. You?
 

jhowarth

macrumors 65816
Jan 13, 2017
1,122
1,500
Going back to the prior security patch for SecUpd2020-002MojaveModified.pkg, has anyone else noticed the following in the log window while applying that patch?

Jun 1 11:48:09 Jacks-Mac-Pro installd[575]: PackageKit: Extracting file:///Users/howarth/SecUpd2020-002MojaveModified.pkg#SecUpd2020-002Mojave.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/0353D183-EB7F-4B87-91DA-A8CC03F97891.activeSandbox/Root, uid=0)
Jun 1 11:49:06 Jacks-Mac-Pro installerdiagwatcher[221]: ------- Install Failed -------
Jun 1 11:49:06 Jacks-Mac-Pro installerdiagwatcher[221]: Operation: None crashed, Failure Reason: None
Jun 1 11:49:06 Jacks-Mac-Pro installerdiagwatcher[221]: This was an attempted unknown install type from Unknown to Unknown

It isn't exactly clear which package in the security update that failure is being registered for. I am hoping it is the recovery partition update package and not anything more critical.
 

RK78

macrumors 6502
Oct 24, 2019
270
92
Hi all
Following the modification made by Apple by the 2020-003 update and especially the depreciation of the "softwareupdate --ignore" command I have 2 solutions:

The first, for those who do not want to modify the system files, is:

1) Uncheck the automatic update search in the system preferences.
2) Regularly use the excellent utility "SilentKnight.app" in order to update MRT and XProtect. (download direct link)

The second: (replace the "SoftwareUpdate.framework" file with version 18G4032) I joined the framework in a .zip archive below

1) Make a backup of "SoftwareUpdate.framework" existing in /System/Library/PrivateFrameworks/
2) Copy the file "SoftwareUpdate.framework" (uncompressed) in the folder /System/Library/PrivateFrameworks/ (overwrite the existing one, DO NOT MERGE)
3) With terminal:

Code:
sudo chmod -R 755 /System/Library/PrivateFrameworks/SoftwareUpdate.framework
sudo chown -R 0:0 /System/Library/PrivateFrameworks/SoftwareUpdate.framework

4) Restart

It worked for me on MBP5,3 and iMac 8,1

View attachment 920351

I can confirm that after replacing the framework, the update works perfectly because on iMac8,1 Safari was only at version 13.1
After replacing the framework I ran an update from the system preferences and the result is there, "an update is available: Safari 13.1.1" but no notification for Catalina!!!

View attachment 920386
Hi alphascorp,

thanks for all that, but wondering what your opinion is for the "solution" I found at https://tinyapps.org/blog/202005070700_remove_catalina_notification_badge.html

Code:
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && softwareupdate --list

Main question is it gets rid of the red badge for Catalina, but unsure if red badge notification will still appear for a subsequent "real" non-catalina update?

I posted above at https://forums.macrumors.com/thread...unsupported-macs-thread.2121473/post-28510524
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.