Device wants desperately to install a package (com.google.system.s) on its own I have in my hands a Mpie M8 device (Android 5), The previous owner said it wasn't working properly and I suspected it had a virus. I factory reset it and now the phone wants desperately to install com.google.system.s every 5 seconds even though I press cancel and even though I have WiFi off. I install it and it said that it is about locking. The phone started restarting all the time. I downloaded 360 Security and it said this is malware.

I tried to uninstall it and it said that this app is deep in my phone. I finally uninstall it (with a lots of sweat). And I have the same problem again, every 5 seconds. What is this file? What should I do?
From experience, flashing in any conventionally accepted way instantaneously bricks this Mpie M8. It takes a lot of efforts to unbrick it, too. So work with what you have, root it first so that the malware can be managed. When the auto-installation-without-permission starts, pull down notification and click on app info to see which system process is being hijacked and disable it immediately. As an example, mine shows Launcher and Android Service are involved. Have used a different launcher instead just to be on the safe side. Android Service, hiding in /system/priv-app as android_service_800000_0923_outsea.apk, appears the true culprit. Once deleted, the phone runs flawlessly. Of course your phone may have different malware in it depending on which malicious websites that you have visited. Good luck.