Downgrade the phone with Odin
1. Get the firmware that is compatible with your device (Stock or custom)
2. Download odin
3.if phone has Bixby button, to enter download mode,press volume down,power,and Bixby at the same time until u come to a blue sc...