I'm having trouble returning the flash counter to 0 and making status say official instead of modified.
I followed the instructions in the OP and ODIN'd the stock firmware from Samsung. Once that was done I ODIN"d the chainfireROOT method to gain root. Once I rebooted I installed Triangle Away from the playstore and ran it.
I went back to download mode to check and everything said official with no flash count. I rebooted and went into SuperSU and clicked UNroot. I rebooted the phone and then finally did a factory reset.
When I rebooted...system status was modified again and flash count was 1.
I think I followed the instructions to a T....am I missing something?