2

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.

4
  • ok what is adb? literally?
    – Selvin
    Commented Nov 18, 2016 at 14:50
  • @Selvin So, if debug mode is ON then how can I disable that using adb command.
    – 0xAliHn
    Commented Nov 18, 2016 at 14:56
  • prolly on rooted device you can stop adb deamon on device ... also you may play with setprop
    – Selvin
    Commented Nov 18, 2016 at 15:07
  • @Selvin Alex answer give me the solution.
    – 0xAliHn
    Commented Nov 18, 2016 at 16:22

1 Answer 1

15

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

1
  • 1
    you need to run adb shell and then in shell paste settings put global adb_enabled 0.
    – Scalway
    Commented Sep 15, 2021 at 11:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.