XDA Developers [link|https://forum.xda-developers.com/t/guide-tutorials-odin-smartswitch-flash-stock-firmwares-twrp-cf-autoroot.3634256/|has a thread about the reinstalling the stock firmware with Odin|new_window=true]. ***DO IT AT YOUR OWN RISK***, nor the procedure nor the downloads are endorsed in any way by Samsung, and [link|https://www.makeuseof.com/samsung-odin-overview/|Odin has never been officially released|new_window=true] to the public (although there is an open source replacement, [link|https://www.glassechidna.com.au/heimdall/|Heimdall|new_window=true])