My kid asks: “My phone had a software update 2 days ago and got stuck in a loop ...

@mjd@mathstodon.xyz

My kid asks:

“My phone had a software update 2 days ago and got stuck in a loop of restarting over and over. Between restarts I managed to put it into "safe mode", after which it stopped restarting. since then it has been very warm with any use at all. I have restarted it again and checked which apps are using battery and nothing seems out of the ordinary. It is too warm to use. what should I do?”

I don't have a clue. Does anyone here have a suggestion? It is an Android phone, I believe a Samsung.