termux-adb-fastboot icon indicating copy to clipboard operation
termux-adb-fastboot copied to clipboard

Cannot connect to device

Open MelleNi opened this issue 3 years ago • 9 comments

After installing, when I try to start server and find connected devices I get the following: Screenshot_20211217-163348_Termux

MelleNi avatar Dec 17 '21 16:12 MelleNi

@MelleNi Use wireless debugging to connect from the device itself

rendiix avatar Dec 17 '21 18:12 rendiix

@rendiix I tried that, but the only way I could do it in the end was by doing a fresh install (after which it wouldn't display any devices at all) and then the following:

Connecting to a computer, and then running: adb tcpip 5555 adb kill-server on the computer, disconnecting the cable and running on the phone: adb connect localhost:5555

MelleNi avatar Dec 17 '21 18:12 MelleNi

The device must be connected to the local network via wifi. Then do adb pairing.

Screenshot_20211218-011707954

rendiix avatar Dec 17 '21 18:12 rendiix

It says pairing is unsuccessful, and that I have to connect to the same network, even though it is of course connected to the same network.

MelleNi avatar Dec 18 '21 11:12 MelleNi

doesn't work, followed instructions and pairing guide to a Tee...

Screenshot_20220106-134339_Termux

nathaneltitane avatar Jan 06 '22 18:01 nathaneltitane

doesn't work, followed instructions and pairing guide to a Tee...

Did you try do the steps I did? Doing that it worked for me, after that you don't need a computer anymore to set it up

MelleNi avatar Jan 07 '22 10:01 MelleNi

doesn't work, followed instructions and pairing guide to a Tee...

Did you try do the steps I did? Doing that it worked for me, after that you don't need a computer anymore to set it up

yes actually.. unless i gorgot something?

can you write a step by step to be sure?, i'll try once more?

nathaneltitane avatar Jan 07 '22 15:01 nathaneltitane

  1. Connect your device to a computer
  2. On the computer you make sure the device shows up with adb devices
  3. On the computer you do adb tcpip 5555 and then adb kill-server
  4. Disconnect the phone from the computer
  5. On the phone you do adb connect localhost:5555
  6. It should now connect

I think that's all the steps, but it's from memory, so I might be wrong.

It's similar to this wi-fi guide: https://www.guru99.com/adb-connect.html

MelleNi avatar Jan 07 '22 17:01 MelleNi

1. Connect your device to a computer

2. On the computer you make sure the device shows up with `adb devices`

3. On the computer you do `adb tcpip 5555` and then `adb kill-server`

4. Disconnect the phone from the computer

5. On the phone you do `adb connect localhost:5555`

6. It should now connect

I think that's all the steps, but it's from memory, so I might be wrong.

It's similar to this wi-fi guide: https://www.guru99.com/adb-connect.html

Thank you! It worked!

heham avatar Feb 14 '22 00:02 heham