Not using recovery mode, .
It is possible even complicate using Heimdall
Flashing Samsung Firmware with Heimdall
.
Flashing Samsung Firmware with Heimdall Frontend
It is easier using Odin
Finaly, i am not shure if reflashing stockOS will be usefull in your case.
as you said :