Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>See forum post <em><a href="http://forum.xda-developers.com/showpost.php?p=7594419&amp;postcount=9" rel="noreferrer">Any way to view Android screen remotely without root? - Post #9</a></em>.</p> <ol> <li>Connect the device via USB and make sure debugging is working.</li> <li><code>adb tcpip 5555</code></li> <li>find the IP address with <code>adb shell netcfg</code> or <code>adb shell ifconfig</code> with 6.0 and higher</li> <li><code>adb connect &lt;DEVICE_IP_ADDRESS&gt;:5555</code></li> <li>Disconnect USB and proceed with wireless debugging.</li> <li><code>adb -s &lt;DEVICE_IP_ADDRESS&gt;:5555 usb</code> to switch back when done.</li> </ol> <p>No root required!</p> <p>To find the IP address of the device: run <code>adb shell</code> and then <code>netcfg</code>. You'll see it there. To find the IP address while using OSX run the command <code>adb shell ip route</code>.</p> <hr> <p><strong>WARNING</strong>: leaving the option enabled is dangerous, anyone in your network can connect to your device in debug, even if you are in data network. Do it only when connected to a trusted Wi-Fi and remember to disconnect it when done!</p> <hr> <p>@Sergei suggested that line 2 should be modified, commenting: "-d option needed to connect to the USB device when the other connection persists (for example, emulator connected or other Wi-Fi device)".</p> <p>This information may prove valuable to future readers, but I rolled-back to the original version that had received 178 upvotes.</p> <hr> <p><strong>On some device</strong> you can do the same thing even <strong>if you do not have an USB cable</strong>:</p> <ol> <li>Enable ADB over network in developer setting <a href="https://i.stack.imgur.com/8euGG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8euGG.png" alt="Screenshot Showing the option on"></a> It should show the IP address</li> <li><code>adb connect &lt;DEVICE_IP_ADDRESS&gt;:5555</code></li> <li>Disable the setting when done</li> </ol> <hr> <p>Using Android Studio there is <a href="https://plugins.jetbrains.com/plugin/7856?pr=androidstudio" rel="noreferrer">a plugin</a> allowing you to connect USB Debugging without the need of using any ADB command from a terminal.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload