To disable SIP:

Quit OnyX.

Restart the computer while holding down Command-R until the macOS Utilities pane appears.

In the Utilities menu, select Terminal.

Enter the following command and press Return:csrutil disable

Quit Terminal.

Restart normally from the Apple menu ().