Does such a script exist? When this specific app is installed it requests device admin permission in order to be able to lock the screen.
If I want to uninstall this app or clear its data then at the moment I have to go to Settings/Security/Device admin apps and untick this app.
What I would like if possible is a solution script/intent or other way of removing the admin permissions from this app in order to uninstall or clear data as I would with any other app that wasnt a device admin.
Thanks