Ok, I will try to help even though I haven't rooted in a while (last phone I did was the Nexus 5). However, I believe anytime you unlock the bootloader it will trip the knox (only Samsung phones) which I'm pretty sure you have to unlock the bootloader in order to root it. Sorry if that wasn't much help, just trying to throw in some input!