My phone as of right now. It's closing and restarting by itself for no reason. I replaced the battery. Still. I was told my motherboard is the reason but I've cleared cache partition. This is why you don't use a OPPO. If you have one and it works well then I don't know.
I don't think there is any other way
If the mother board is messed up, you'll have to change it
@OverlordPrime it's like made 2 years ago. It's almost 1 year old. Since I got it last year
How old is it?
And clearing cache won't be enough