My 2012 Nexus 7 tablet repeatedly freezes up so that the only thing I can do is reboot the device. Then it seems to work for a couple of minutes, only to freeze up again. I tried doing a factory reset from Settings, but it froze up in the process. Then I managed to do a hard reset even though it froze once during the reinstallation of my apps. For a minute, I thought the reset had solved my problem, but no such luck. I've run virus scans with Clean Master and with CM Security, but they found nothing. Jelly Bean is my OS. (Wish I still had KitKat.) Any ideas what the cause of my problem might be?