Skip to main content

ADB over Wi-Fi

Steps to configure the ADB connection over Wi-Fi

  • Connect the device and the computer to the same Wi-Fi network

  • Plug the device to the computer with a USB cable to configure the connection

  • On the computer command line type: adb tcpip 5555

  • On the computer command line type: adb shell ip addr show wlan0 and copy the IP address after the “inet” until the “/”. You can also go inside the Settings of the device to retrieve the IP address in Settings → About → Status.

  • On the computer command line type: adb connect ip-address-of-device:5555

  • You can disconnect the USB cable from the device and check with adb devices that the device is still detected.


adb install [-l] [-r] [-d] [-s] [–algo <algorithm name> –key <hex-encoded key> –iv <hex-encoded iv>] <file> – push this package file to the device and install it
(‘-l’ means forward-lock the app)
(‘-r’ means reinstall the app, keeping its data)
(‘-d’ means allow version code downgrade)
(‘-s’ means install on SD card instead of internal storage)
(‘–algo’, ‘–key’, and ‘–iv’ mean the file is encrypted already)


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.