43

Every time I restart my Android phone after enabling the USB debugging in Developer Options, the USB Debugging option gets disabled.

How do I keep it enabled even after restarting my Android phone.

user6617547
  • 487
  • 1
  • 5
  • 6

7 Answers7

62

This is an old issue but it seems that it still happens so I would like to share the solution that I have found.

I have the same issue with my Honor 9 Lite:

Every times I enable USB Debugging, I can see that, when I leave the developer menu and come back, USB debugging is OFF. I can't keep it ON.

I have found the solution on another web site and it is working for me:

  • Disconnect the phone
  • Revoke all the USB debugging permissions (on my phone, this option is proposed just after the USB Debugging switch)
  • Enable USB Debugging
  • Leave the developer menu
  • Connect the phone to the PC
  • Select 'transfer files' option
  • Accept the PC certificate fingerprint.
OlivierGrenoble
  • 3,803
  • 2
  • 18
  • 25
  • 2
    The steps in this answer did not work for me. Using Huawei Honor 8 FRD-L04 with Android 7.0 Emui 5.0.4 operating system. – Sander Heinsalu Mar 21 '19 at 13:35
  • 1
    Perfectly worked for me on Huawei Y5 with Android 10. – MathMax Sep 30 '20 at 08:25
  • 7
    I also clicked on Restore Defualt Settings and then it worked for me. – Karan Singh Oct 14 '20 at 07:48
  • Works perfectly for me on Oppo A9 with Android 10 / ColorOS v7.1 – planktronic Nov 25 '20 at 22:29
  • @KaranSingh **THANK YOU! The posted answer did not work but your comment did. I had to go to the developer menu and click "Restore Default Settings" (the bar at the bottom of the developer menu), then I re-enabled developer menu and enabled USB debugging and then it worked!** – Mitch McMabers Apr 01 '21 at 12:08
30

I have found a solution on XDA developpers forum for my Honor 7X, Android 8.0.0, EMUI 8.0.0, build BND-L21 8.0.0.302(C432log):

Enable the 'allow debugging in charge only mode' and it should fix the problem

Note that it can already be enabled. You can try to disable and re-enable it to fix the problem.

Abrikot
  • 965
  • 1
  • 9
  • 21
10

My device is Honor 9lite and I faced this issue after sometime of using debug mode.

You just have to follow these steps:

  1. after connecting android device and pc/laptop via usb cable, just enable "transfer files" option.
  2. then enable debugging option in developer option menu.
  3. a message will be prompted like a certification and just allow that for your device as always.

There you go! It worked for me.

colidyre
  • 4,170
  • 12
  • 37
  • 53
Codengg
  • 111
  • 1
  • 4
4

Restoring the default settings in developer options worked for me.

Moataz Alsayed
  • 381
  • 2
  • 12
2

In my case, none of the previous answers worked (I always got a unrecognized driver error). I just used a new cable and it instantly got detected and installed the correct drivers.

Lorenzo
  • 591
  • 7
  • 18
0

Resetting all settings and then enabling USB Debugging worked for me on Huawei MediaPad T5

-1

Restore default setting

in developer options work for me

ARN
  • 173
  • 2
  • 9