From aee78937e482dc60e04b6e15f6eb3ece9ed32910 Mon Sep 17 00:00:00 2001 From: David Friedman Date: Thu, 23 Jul 2015 09:05:08 -0700 Subject: Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836 Change-Id: Ieef63c416c85f778e4b00ef08b434040709c2493 --- docs/html/tools/help/adb.jd | 56 +++++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 32 deletions(-) diff --git a/docs/html/tools/help/adb.jd b/docs/html/tools/help/adb.jd index 641d463baca7..2faff4f3fe5c 100644 --- a/docs/html/tools/help/adb.jd +++ b/docs/html/tools/help/adb.jd @@ -420,62 +420,54 @@ Wi-Fi, as described here.
  1. -Connect Android device and adb host computer +

    Connect your Android device and adb host computer to a common Wi-Fi network accessible to both. We have found that not all access points are suitable; you may need to use an access point -whose firewall is configured properly to support adb. -

  2. +whose firewall is configured properly to support adb.

    -
  3. -Connect the device with USB cable to host. +

    Note: If you are attempting to connect +to a Wear device, force it to connect to Wi-Fi by shutting off Bluetooth +on the phone connected to it.

  4. -Make sure adb is running in USB mode on host. -
    -$ adb usb
    -restarting in USB mode
    -
    +Connect the device to the host computer with a USB cable.
  5. -Connect to the device over USB. -
    -$ adb devices
    -List of devices attached
    -######## device
    +Set the target device to listen for a TCP/IP connection on port 5555.
    +
    +$ adb tcpip 5555
     
  6. -Restart host adb in tcpip mode. -
    -$ adb tcpip 5555
    -restarting in TCP mode port: 5555
    -
    +Disconnect the USB cable from the target device.
  7. -Find out the IP address of the Android device: -Settings -> About tablet -> Status -> IP address. -Remember the IP address, of the form #.#.#.#. +Find the IP address of the Android device. For example, on a Nexus device, you can find +the IP address at Settings > About tablet +(or About phone) > Status > IP address. Or, +on an Android Wear device, you can find the IP address at Settings > +Wi-Fi Settings > Advanced > IP address.
  8. -Connect adb host to device: -
    -$ adb connect #.#.#.#
    -connected to #.#.#.#:5555
    +Connect to the device, identifying it by IP address.
    +
    +$ adb connect <device-ip-address>
     
  9. +
  10. -Remove USB cable from device, and confirm you can still access device: -
    +Confirm that your host computer is connected to the target device:
    +
     $ adb devices
     List of devices attached
    -#.#.#.#:5555 device
    +<device-ip-address>:5555 device
     
@@ -500,10 +492,10 @@ Reconnect by executing the "adb connect" step again.
  • Or if that doesn't work, reset your adb host: -
    +
     adb kill-server
     
    and then start over from the beginning.
  • - \ No newline at end of file + -- cgit v1.2.3-59-g8ed1b