My s22 ultra will repeatedly restart when turning on and off the phone, but it works fine when I am using it, there is a green flash and then the screen shuts off and the phone restarts, I dropped the phone onto a wooden floor once, apart from that no damage. Is it oneui7 or is it hardware damage?