A friend of mine has a Samsung Galaxy S7 which is stuck in safe mode, we have tried factory resetting the phone back to its original state yet safe mode still appears,
Everything You Should Know about Samsung Recovery Mode [Hot]
Galaxy S20: How to Get In & Out of Safe Mode - YouTube