rendiix / termux-adb-fastboot

android adb-fastboot tools for termux
Apache License 2.0
549 stars 82 forks source link

Use ADB completely untethered *GUIDE* #12

Open RealCalumPlays opened 1 year ago

RealCalumPlays commented 1 year ago

I have found a way to bypass that first computer connection

  1. Enable wireless debugging on your device.
  2. Pair adb using adb pair IP:PORT and enter the pairing code
  3. Run adb kill-server (this will take a couple seconds as it first tries to connect to the paired device)
  4. Now run adb connect and use the IP & Port from the IP Address & Port field
  5. Run adb devices to check its connected. It should say device next to the IP & Port of the device
  6. Use adb shell to enter the shell or use any other ADB command

I hope this helps anyone that needs to use ADB quickly without a computer.

EDIT: If the connection is successful you should get a notification saying Wireless debugging connected

RealCalumPlays commented 1 year ago

@rendiix Hope this helps anyone that doesnt have a computer available

Norgus commented 1 year ago

Would you mind clarifying which actions are performed on the device to be connected to and which are performed on the device making the connection?