With regard to the warranty couldn’t you just re-flash the stock firmware as long as whatever recovery you’re using is still working? I have a OnePlus Nord N200 5G and I totally just did that when I needed to after I borked a custom rom installation on it (yes I realize that Samsung devices are different with Odin and what not, but I figure this would still work)
Even with wireless charging ? Damn