[SOLVED] ADB over wireless – How do I get it working?

Issue

This Content is from Stack Overflow. Question asked by Chinmay K

It’s extremely frustrating to see the wireless adb repeatedly fail, when the process must seem very straightforward. Here’s how I got it working after an hour of screaming at my screen.



Solution

Note

adb pair must run before adb connect!! Without this, it will not work even if everything else is alright.

Now the other things

  1. Forgot the wifi network on phone and reconnect.
  2. Use sudo
  3. In dev settings, press and hold on the Wireless ADB to open the full menu.
  4. Click on Pair device with pairing code – use that IP address (eg. say IP was 192.168.0.123:45678) with sudo adb pair 192.168.0.123:45678
  5. DO NOT CLOSE THE POPUP WHICH SHOWED YOU THE PAIRING CODE, it will reset the pairing port.
  6. adb will ask for the pairing code, enter that.
  7. It will successfully pair, if not retry everything above
  8. Then hit sudo adb connect and see the notification on your phone indicating good connection.


This Question was asked in StackOverflow by Chinmay K and Answered by Chinmay K It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?