Since I have not found what I was looking for in the search no matter how I worded it. I am going to ask here. I need to create a service that will monitor unlock attempts, and after so many attempts, proceed to reboot and wipe the device.
It has been a bit since I have played with the service modules, anyone want to point me in the right direction for this?
The capturing of attempts might be possible using BroadcastReceiver, but rebooting and wiping will be near impossible since only SYSTEM apps will have access to that, not sure if even rooted devices will allow it.
The capturing of attempts might be possible using BroadcastReceiver, but rebooting and wiping will be near impossible since only SYSTEM apps will have access to that, not sure if even rooted devices will allow it.
The app has device administration. I have tested it with a widget to ensure that it will wipe data. It does in fact wipe the data of the device as well as the internal storage of the device. From there a standard wipe in recovery will be needed as for some reason, it locks the internal storage as read only.
I see, so, basically what you want is that after X failed attempts to unlock the system the app will wipe the device?, not sure if that can be captured.
I see, so, basically what you want is that after X failed attempts to unlock the system the app will wipe the device?, not sure if that can be captured.