How to connect to another phone via Wi-Fi on Android: all the working methods

Connecting to another smartphone via Wi-Fi network opens up a wide range of possibilities: from remotely assisting relatives to managing the device as a file server or screen streaming. However, not everyone knows that Android offers several fundamentally different ways to connect – from built-in features like Miracast to professional tools like ADB or TeamViewerThe main obstacle for beginners is the lack of clarity in instructions and the lack of a clear understanding of which method is suitable for a particular task.

In this article we will look at 5 proven methods Let's compare the speed, security, and hardware requirements of Wi-Fi connections to an Android phone. We'll pay special attention to Setting up ADB over Wi-Fi without a USB cable — a method that's often overlooked in reviews, although it works even on non-rooted devices. You'll also learn how to bypass common errors (such as "device not detected" in Scrcpy) and why some functions may be blocked by the manufacturer.

1. Connecting via ADB over Wi-Fi: Step-by-step instructions

Protocol Android Debug Bridge (ADB) — is the most universal way to control an Android device, but its setup requires some preparation. The main advantage: after the initial USB connection, you can operate the phone completely over the air, including installing apps, accessing logs, and even remotely controlling the screen via scrcpy.

First, make sure the target phone has the following enabled:

  • 🔧 Developer mode (activated by tapping the build number 7 times in Settings → About phone)
  • 🔌 USB debugging (on the menu For developers)
  • 📶 Debugging over Wi-Fi (in new versions of Android, starting from 11)

Next, connect your phone to your computer via USB and run the following in the terminal:

adb tcpip 5555

adb connect IP_ADDRESS_PHONE:5555

Where IP_ADDRESS_OF_THE_PHONE You can find this in the Wi-Fi settings on the target device. After this, you can disconnect the USB cable—the connection will still be maintained over the network. To check, enter:

adb devices

Enable Developer Mode|Enable USB Debugging|Connect your phone to your PC via USB|Run `adb tcpip 5555`|Make sure the device shows up in `adb devices`-->

⚠️ Note: On some devices Xiaomi, Huawei And Samsung Wi-Fi debugging may require additional confirmation in the menu Security or PermissionsIf the `adb connect` command returns an error, check if your firewall is blocking the connection (ports 5555-5585).

2. Remote control via TeamViewer QuickSupport

If you need show your phone screen to another person (for example, for technical support), it is easiest to use TeamViewer QuickSupportThis app doesn't require root access and works even on unlocked devices. Its main advantage is its cross-platform functionality: you can connect to your Android phone from a PC, another phone, or even MacOS.

Instructions:

  1. Install TeamViewer QuickSupport With Google Play to the target phone.
  2. Run the app and record Device ID (9-digit code).
  3. On the control device, open TeamViewer (full version) and enter the ID in the "Partner ID" field.
  4. Confirm the connection on the target phone.

Limitations of the method:

  • 🚫 No full control over the phone (only screen viewing and chat)
  • 🕒 Sessions are time-limited (usually 5-10 minutes in the free version)
  • 📱 Requires confirmation on the target device each time you connect

Remote assistance to relatives|File transfer|Manage the device as a server|Debugging applications|Other-->

⚠️ Note: In the free version TeamViewer may block connections if it detects "commercial use." For example, if you connect to the same device more than three times a day. In this case, you'll have to use alternatives like AnyDesk or Chrome Remote Desktop.

3. Share your screen over Wi-Fi via Miracast (Wireless Display)

Technology Miracast allows mirror an Android phone's screen to another phone, TV, or computer wirelessly. This method is ideal for presentations or viewing media files, but is not suitable for remote control. Important requirement: both devices must support Miracast (most modern smartphones with Android 5.0+ do).

How to connect:

  1. On the target phone (the one that will be screencasting), open Settings → Connections → Screen Sharing (the name may differ: Wireless Display, Smart View or Cast).
  2. On the receiving device, enable Miracast receiver mode. On an Android phone, you may need a special app for this, such as Miracast Receiver.
  3. Select the receiving device from the list of available ones.
Device Miracast support Peculiarities
Samsung Galaxy (Android 10+) ✅ Yes The function is called Smart View, works stably
Xiaomi Redmi/POCO ✅ Yes Requires enablement Wireless Display in quick settings
Google Pixel ✅ Yes Supports Miracast and Google Cast (for Chromecast)
Huawei/Honor (EMUI 10+) ⚠️ Partially May require installation Huawei Share

Miracast transmits only image and sound, without control. Latency is typically 50-200 ms, which is noticeable when gaming but not critical for video. If the stream is interrupted, try:

  • 📶 Reconnect to Wi-Fi on the frequency 5 GHz (less busy)
  • 🔄 Restart Miracast mode on both devices
  • 📱 Disable power saving for an app Wireless Display

4. Remote control via Scrcpy: for advanced users

Scrcpy - is open source software for remote control of an Android phone from a computer via USB or Wi-Fi. Unlike TeamViewer, it provides full control above the device: you can tap the screen, enter text using your PC keyboard, and even record video from your phone's screen. Root access is not required.

To connect via Wi-Fi:

  1. First, set up an ADB connection (as in the first method).
  2. Download and install scrcpy from the official website (GitHub).
  3. Launch scrcpy with a flag for Wi-Fi:
scrcpy --tcpip=IP_PHONE_ADDRESS:5555

Advantages scrcpy:

  • ⚡ Minimal latency (10-50 ms with good Wi-Fi)
  • 🎮 Support for PC gamepads and keyboards
  • 📼 High-quality screen recording
How to speed up scrcpy over Wi-Fi?

To reduce lag, use the following launch parameters:

scrcpy --bit-rate 2M --max-fps 30 --tcpip=IP_ADDRESS:5555

Where:

- --bit-rate 2M — limits the bitrate to 2 Mbps (reduces the network load)

- --max-fps 30 - reduces the frame rate to 30 FPS (reduces lag)

- For games, you can increase the bitrate to 8M, but this will require a stable 5GHz Wi-Fi.

⚠️ Attention: On some firmware (for example, ColorOS from Oppo/Realme) scrcpy It may not work due to ADB commands being blocked. In this case, try an alternative: Vysor, but please note that the free version will have a watermark.

5. Alternative methods: VNC and SSH

If standard methods are not suitable, protocols can be used VNC or SSHThese methods require more setup but provide flexibility:

  • 🖥️ VNC (for example, through RealVNC or bVNC) — allows you to control your phone as a remote desktop. Requires installing a VNC server on Android (e.g., VNC Server from RealVNC).
  • 🔐 SSH (through Termux) - suitable for running commands in the terminal, but not for screen control. Root rights are required or Termux with a package openssh.

Example of VNC setup:

  1. Install VNC Server to the target phone.
  2. Start the server and write down the IP address and port (usually 5900).
  3. On the control device, connect via any VNC client (for example, RealVNC Viewer), entering the IP and port.

Restrictions:

  • 🐢 High latency (200-500 ms) due to the specifics of the VNC protocol.
  • 🔒 Manual security configuration is required (it is better to use SSH tunneling).

6. Security: How to protect your connection

Any remote connection to your phone is a potential security threat. Here are some key precautions:

For ADB/Scrcpy:

  • 🔒 Always turn off adb tcpip after using the command:
adb usb
  • 🛡️ Use adb pair (Android 11+) to encrypt the connection:
adb pair IP_ADDRESS:PORT VERIFICATION_KEY

For TeamViewer/Miracast:

  • 🚪 Always close your session when you are finished working.
  • 🔑 Set up two-factor authentication in your TeamViewer account.
  • 📡 Avoid public Wi-Fi networks when screen sharing.
Method Security level Recommendations
ADB over Wi-Fi ⚠️ Average Turn off after use, use adb pair
TeamViewer ✅ High Enable 2FA, do not use on public networks
Miracast 🔴 Low Only on trusted networks, disable after use
Scrcpy ✅ High Encryption by default, but requires ADB

FAQ: Frequently Asked Questions

Is it possible to connect to a phone via Wi-Fi without a computer?

Yes, but the options will be limited. For example:

  • Through TeamViewer QuickSupport You can share your screen with another phone, but you can't control it.
  • Through Miracast You can mirror your screen to another phone that supports Wireless Display.
  • For full control without a PC you will need root and an application like TeamViewer Host.
Why can't ADB see my device over Wi-Fi?

Common causes:

  • 🔌 Port 5555 blocked by firewall (check your router settings).
  • 📱 The debugging request has not been confirmed on the phone (check your notifications).
  • 🔄 The phone's IP address has changed (reconnect to Wi-Fi or use adb connect with a new IP).
  • 🛠️ On some firmware (for example, MIUI) needs to be enabled Debugging over Wi-Fi manually in the developer settings.

Solution: Restart the ADB server with the command:

adb kill-server && adb start-server
How to connect to a phone via Wi-Fi from an iPhone?

Options are limited due to the closed nature of iOS:

  • 📱 TeamViewer QuickSupport - works on both devices, but only for viewing the Android screen.
  • 🖥️ If you have a computer, you can use it as an intermediary: connect to Android via scrcpy or ADB, and then mirror your computer screen to your iPhone via Chrome Remote Desktop.
  • 🚫 Direct control of Android from iPhone via Wi-Fi without a PC is impossible without root and complex settings.
Is it possible to control a phone via Wi-Fi without rooting?

Yes, most of the methods in this article do not require root access:

  • ADB over Wi-Fi — works on all Android 5.0+.
  • Scrcpy - full control without root.
  • TeamViewer - screen viewing only.
  • VNC servers (For example, RealVNC) often require root to function properly.

Root may only be needed for advanced features, such as managing system apps or accessing protected partitions.

How to reduce latency when controlling via Wi-Fi?

Latency depends on the connection method and network quality:

Method Typical delay How to reduce
Scrcpy (5 GHz) 10-50 ms Use --bit-rate 2M, connect to a 5 GHz router
TeamViewer 100-300 ms Connect via Ethernet to your PC, close background applications
Miracast 50-200 ms Reduce the screen resolution in the broadcast settings
VNC 200-500 ms Use SSH tunnel, reduce color palette