Search code examples
javaandroidadb

Uninstall the debugging mode from a device


I need to generate my system to lunch my app that I developed . to more secure and guaranteed my system ,i need to block all things which they can uninstall my launcher my question here is :
how can I uninstall the debugging mode from my device ?


Solution

  • If you are building a new system you can remove adb but would not recommend doing that. You would remove a big feature without any gain. If you really want your app to be impossible to uninstall just make it a system app, root users would be able to remove it but that is why they root their devices. Now how to remove adb, from what i know adb is not a java app but a linux binary. That binary is a adb demon that listens for connections. If you delete it nothing will listen for connections and adb is removed. Beware that you may cause unexpected error in the system this way! This is all i could find out and for location of binary you will have to do some more research.