My phone and tablet has been hacked. Neither Samsung device is rooted. I think the rom has been changed and I am on a virtual network in a shell and unable to access factory reset. I don't know if the kernel has been changed. The guest account, which I can no longer access, controls my devices through Google play service's. I've read that a hard reset will only clear bugs and not restore the original rom. Dont know how to flash and with a "near.by" file on my phone I am reluctant to use a friend's system. Is there anything I can do to restore the factory Rom and salvage my phone and tablet or do I discard them and buy new.