if you rooted it or at least installed custom firmware you may wanna boot into download mode, back up your files to your computer, factory reset, and reinstall the firmware you downloaded along with thus reinstalling the firmware with whichever Odin version is required. I used to root my old galaxy s5 years back so if any of this applies still, hope it helps m8
... View more