5

I was trying to run ADB over wifi following answers provided here, and I connect successfully to the device, but I lose connection after disconnecting the USB. The same result with both manual and plugins ways. Also, I have tried this solution, and this one, but without success.

Solutions that require the device is rooted won't work for me.

Ahmed Osama
  • 644
  • 4
  • 17

1 Answers1

11

For some reason, connecting the device in Charge only mode solved the problem. Just make sure "Allow ADB debugging in charge only mode" is enabled before connecting the device.

Other modes caused the connection to be lost, as I have tested on my device running on Android 8.0.0.

Ahmed Osama
  • 644
  • 4
  • 17
  • Thats not true i guess. Mode is device dependent . mostly it works in media mode for some devices in charge mode . – ADM Aug 18 '18 at 02:45
  • Are you talking about the last line? If so, it is for the sack of logging of what happened on my device, I'm not making assumptions that "Charge only" mode only would work for all devices running on Android 8.0 and other modes won't. It is obvious. – Ahmed Osama Aug 18 '18 at 03:57
  • 1
    My phone is 8.0 too. It worked well. Helps me a lot. Thx. – user1665375 Oct 30 '19 at 02:23