You’ll want to start by unpacking the stock firmware and modifying the boot.img to disable Knox triggers, make sure dm-verity and KG state checks are patched properly.
Found some helpful insights while browsing threads during downtime at authentic Greek food events London, weirdly productive combo.