SwitchResX broke my color profile, how to restore?

Per campyguy‘s post in https://forums.macrumors.com/threads/switchresx-cannot-remove-fully.1893707/, here goes how to get rid of the annoying "SwitchResX" prefix.

  • Open Terminal and enter the following Command: ioreg -lw0 | grep IODisplayPrefsKey
  • Return of last step should be ended like: ... AppleBacklightDisplay-610-a031, remember the "610" and "a031" hints.
  • Go to folder "System/Library/Displays/Contents/Resources/Overrides"
  • Find the file folder "DisplayVendorID-610" as per the hint.
  • Edit the file "DisplayProductID-a031" in text editor with super admin permission (such as "sudo vi" command), delete the "SwitchResX" word in the file.
  • Reboot. (Don't forget to delete SwitchResX profile files in your ColorSync folders /Library/ColorSync/Profiles/Displays/ and ~/Library/ColorSync/Profiles/

Hope this finds you well.