Did you figure out how to do this? I'm also having trouble return to stock. I can install custom ROMs, but not stock. When I try to install stock via Odin 3.09 or 3.07 it says FAIL and then I have an error message on my screen after I reboot informing me of bad firmware. The. I have to reinstall twrp and then a custom ROM.
Sent from my SM-T320 using Tapatalk