How to Turn on/off debug mode using adb command in android

0xAliHn picture 0xAliHn · Nov 18, 2016 · Viewed 14.7k times · Source

I don't know it is possible or not to turn ON/OFF android debug mode using adb command.

Is there really any adb command exist to turn ON/OFF android debug mode. Please if any suggest or any kinds of way around will be highly appreciated.

Answer

Alex P. picture Alex P. · Nov 18, 2016

You can turn off USB Debugging with settings put global adb_enabled 0 command.