If your already rooted you can just strait up to a custom rom, I would however pay attention to all the HardBrick warnings attached to those, the hardbrick is unfortuantely caused directly at the source so no matter if its a custom or original rom you can just as easily be screwed.
Do your research, I completely missed the warning and luckily I grabbed a stock rom, so no custom stuff getting in the way forcing me to do things like factory reset or data wipes which can brick the device.
Just read through a long article about how bad it is and how its impossible to fix without returning it to the manufacturer for a hardware brickblock reset, at which point they could very easily tell you to sod off and void your warranty. Rooting, custom and unofficial roms are all grounds for voiding warranty and samsung records custom rom flashes on the hardware level.
As far as i know odin with an official rom then rooting is the safest route from a warranty point, the hardware counter reads 0 and once bricked they cant boot the device to see any further info.
Brciked my previous phone by flashing an incorrect ROM, but there was no hardware tracker to tell voda I screwed up. They just flashed it and sent it back to me.