I did a factory reset on my android tv last weekend, because it was behaving like someone was holding down the 5 key on the remote (changing channels by itself). There was nothing wrong with the remote, it even did it with the batteries out.
Was convinced that some bit of software had broken itself.
It wasn't until I was setting up Netflix/Google/etc etc that I remembered and went looking for the wireless keyboard for the tv that makes typing email addresses and passwords much easier. It was jammed behind a couch cushion, turned on, probably the 5 key wedged on.
Need to hand in my troubleshooting badge.