Tried to unroot but now I can't root or downgrade to pre-patched rom
I was installing cyanogenmod but something soft-briked it so I went back and did the unrooting process but this time installed 4.4.2 instead of the older rom. After trying to root I learned that the stock rom I was on patched rooting away. Now I'm stuck and even trying to downgrade I get the following error in odin. All my searching I haven't found anything on how to fix this. Can someone help, all the guides on the forum do not work.
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> M919UVUAMDL_M919TMBAMDL_M919UVUAMDL_HOME.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/006> Odin v.3 engine (ID:6)..
<ID:0/006> File analysis..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> NAND Write Start!!
<ID:0/006> FAIL! (Auth)
<OSM> All threads completed. (succeed 0 / failed 1)