Samsung Note 8 GT-N5110 restarts by itself
Following esQmo's suggestion, I followed the general instructions given at
Install Original Factory Rom on Samsung Galaxy Tab 2 10.1 and reinstalled the stock firmware. Never did anything like that before, but to my surprise it worked and the tablet now is behaving itself.