How to stream Xiaomi screen to your computer through USB-cable: 3 proven methods

Broadcasting the screen of the Xiaomi smartphone to the computer through USB-Cable is a convenient way to show content without delay over Wi-Fi or mobile networks, and this method is relevant for gamers, streamers, teachers or just users who want to show photos, videos or presentations on the big screen. Unlike wireless solutions, the connection to USB Provides stable communication without loss of quality, which is especially important when working with high-resolution graphics or video.

In this article, we will discuss three main ways of broadcasting: through the built-in function of Mi Screen Mirroring, using the use of the Internet. ADB-teams (for advanced users) and third-party programs like Scrcpy or Vysor. Each method has its own nuances: somewhere you need to enable Debugging on the Internet. USB, Install drivers somewhere, and in some cases even unlock the bootloader. We will explain all the steps in detail so that you can choose the best option for your Redmi model, POCO or Mi.

1. Preparation of Xiaomi phone for broadcast on USB

Before you connect your smartphone to your computer, you have to do a few basic things, and without them, none of these things will work.

  • ๐Ÿ“ฑ Version. MIUI: broadcast USB officially maintained MIUI 12 and later, on older versions (e.g, MIUI (11) workarounds may be required.
  • ๐Ÿ”Œ Cable USB: Use the original Xiaomi cable or certified cable USB-C/USB-A Data-enabled (not all charging cables are suitable!).
  • ๐Ÿ–ฅ๏ธ Drivers: Xiaomi drivers must be installed on the PC (you can download from the official website or through Mi). PC Suite).

The most important step is to include debugging by USB. For that:

  1. Go to Settings. โ†’ The phone.
  2. Find the MIUI version and tap it 7 times until the notification โ€œYouโ€™ve become a developer!โ€ appears.
  3. Back to Settings โ†’ Additionally. โ†’ For developers.
  4. Activate the debugging switches USB and allow debugging (only for charging).

โš ๏ธ Note: On some models POCO (for example, POCO F3) If you turn on debugging, you may need to confirm your permission on your computer when you first connect. If the request window doesn't appear, check the cable or port. USB.

We also recommend that you disable battery optimization for applications that will be used for broadcasting, this will prevent connection breakage. โ†’ Annexes โ†’ Permits โ†’ Optimizing the battery.

๐Ÿ“Š Which broadcast method do you prefer?
USB.
Wi-Fi.
Through the Cloud (Mi Share)
I didn't use it.

2. Method 1: Built-in Mi Screen Mirroring

The easiest way to stream the screen is to use the built-in Mi Screen Mirroring feature available on most modern Xiaomi devices, which works without installing additional programs, but requires pre-configuration.

Instructions:

  1. Connect your phone to your computer through USB-cable.
  2. On the phone in the notification panel, find the icon USB-Connection (usually after connection) tap it and select File Transfer mode (MTP).
  3. Open the Screen Mirroring app (could be called Wireless Display or Screen Broadcast depending on the model).
  4. From the list of available devices, select your computer. If it is not available, click Connect via USB (On some firmware, this item is hidden under the menu...).

If the connection is successful, the PC screen will display a mirror image of the smartphone, control is carried out directly from the phone, and the computer acts as a monitor.

Xiaomi modelSupport for Mi Screen Mirroring USBNotes
Redmi Note 10/11/12Yes.Required. MIUI 13+ steady-work
POCO X3/X4/X5Yes (with limitations)Some of the firmwares need to be turned on. USB-debugging
Mi 11/12/13Yes.Maintains permission until 1080p
Redmi 9/9A/9CPartially.You may need to manually install drivers

โš ๏ธ Note: On some Windows 11 computers, the Mi Screen Mirroring feature may not work due to driver conflict.In this case, try rolling back the Android Composite driver ADB Interface to 2022 via Device Manager.

Important: On phones with an unlocked bootloader, the Mi Screen Mirroring function is USB This may be disabled by default due to Xiaomi's security policy. ADB or scrcpy.

3. Method 2: Use of ADB screen-broadcast

If the built-in feature doesnโ€™t work or you want more control over the broadcast, you can use Android Debug Bridge (ADB). This method is suitable for advanced users and allows you to adjust the resolution, bitrate and even record the screen directly to the PC.

What you need:

  • ๐Ÿ’ป Computer with Windows, macOS or Linux.
  • ๐Ÿ“ฆ Established ADB Fastboot (you can download from the Android Developers website).
  • ๐Ÿ”ง Included Debugging by USB on the telephone (see section 1).

Step-by-step:

  1. Connect your phone to your computer and select File Transfer (MTP) mode.
  2. Open the command prompt (cmd on Windows or Terminal on macOS/Linux) and type:
adb devices

If the device appears in the list, you can continue. If not, check the drivers or cable.

  1. Run the broadcast by the command:
adb exec-out screenrecord --output-format=h264 - | ffplay -

This command uses ffmpeg to display the screen, and if it's not, install it via choco install ffmpeg (Windows) or brew install ffmpeg (macOS).

  1. To stop the broadcast, press Ctrl+C in the command line.

Advantages of the method:

  • โšก Minimum delays (suitable for gaming).
  • ๐ŸŽ›๏ธ Possibility of quality adjustment (for example, --bit-rate 8000000 bitrate).
  • ๐Ÿ”„ It works even on older Xiaomi models (e.g. Redmi 5 or Mi). A1).

Install ADB and Fastboot|Enable debugging on USB|Connect the phone in mode MTP|Check the visibility of the device by the adb device command|Install ffmpeg (if necessary)-->

โš ๏ธ Attention: When in use ADB On Windows, antiviruses (such as Avast or Kaspersky) can block adb.exe as a potentially dangerous file. Add it to exceptions or temporarily disable protection.

Method 3: Applications for broadcasting (Scrcpy, Vysor)

If previous methods seemed complicated, you can use third-party programs, the most popular ones are Scrcpy (free, open source) and Vysor (freeware), which offer additional features such as controlling from the PC keyboard or recording the screen.

Scrcpy:

  • ๐Ÿ–ฅ๏ธ It works on Windows, macOS and Linux.
  • ๐ŸŽฎ Supports keyboard control (for example, WASD play-off).
  • ๐Ÿ“น Can record the screen into a file.mp4.

How to install and use:

  1. Download Scrcpy from the official website: github.com/Genymobile/scrcpy.
  2. Unpack the archive and run scrcpy.exe (on Windows) or run scrcpy in the terminal (macOS/Linux).
  3. Put the phone on. USB and allow debugging if a request appears.

Vysor:

  • ๐Ÿ’ฐ The free version has a quality limit (720p).
  • ๐Ÿ”ง Easy to set up than Scrcpy, but requires registration for some features.
  • ๐Ÿ“ฑ Supports broadcasting from multiple devices simultaneously.
ParameterScrcpyVysor
Price.Free of charge.Free (with restrictions) / $2.5 per month
Max, permission.1080p+720p (free-for-free), 1080p (fee)
Delay.30-50 ms.50-100 ms
Screen recordingYes.Only in the paid version.

For Scrcpy, you can use additional flags when you start:

  • scrcpy --bit-rate 10M โ€” Increase bitrate for better quality.
  • scrcpy --max-size 1024 โ€” limit resolution (good for weak PCs).
  • scrcpy --record file.mp4 โ€” file.

๐Ÿ’ก

If Scrcpy doesn't show up when you start, try restarting your phone and PC and then reconnecting, often solving the driver problem.

5. Solving common problems

Even if you set it up properly, you can have errors, and let's look at the most common ones and how to fix them.

Problem 1: The computer canโ€™t see the phone when connected to the phone USB

  • ๐Ÿ”Œ Check the cable - try another, original from Xiaomi.
  • ๐Ÿ–ฅ๏ธ Update drivers via Mi PC Suite or manually (download from Xiaomi website).
  • ๐Ÿ“ฑ On the phone, select the file transfer mode (MTP), Not just charging.

Problem 2: Mi Screen Mirroring can't find a computer

  • ๐Ÿ”„ Reboot both devices.
  • ๐Ÿ› ๏ธ Make sure that the PC has enabled the function of Projection on this computer (Windows: Settings) โ†’ System system โ†’ Projection on this PC).
  • ๐Ÿ“‹ Check if the firewall is blocking the connection (add an exception for MiScreenMirroring.exe).

Problem 3: ADB The error is "device unauthorized"

  • ๐Ÿ“ฑ The phone will be asked for debugging permission - confirm it.
  • ๐Ÿ”‘ If the request does not appear, disconnect and reconnect the cable.
  • ๐Ÿ—๏ธ Delete the adbkey.pub file in the folder %USERPROFILE%\.android\ and reset ADB.

Problem 4: Delays or lags during broadcasting

  • ๐Ÿ“ถ Close background apps on your phone and PC.
  • ๐Ÿ”ง In Scrcpy, reduce bitrate: scrcpy --bit-rate 2M.
  • ๐Ÿ–ฅ๏ธ Connect the cable to the port USB 3.0 (blue connector) on the computer.
What to do if the broadcast is interrupted 5-10 minute?
This may be due to the energy-saving settings of Windows or MIUI. On PC, turn off the transition to sleep mode through the Control Panel โ†’ Power. On the phone in Settings. โ†’ Battery โ†’ Battery optimization add broadcast app to exceptions.

6. Alternative broadcasting methods (without USB)

If the broadcast USB If you don't like it, consider wireless alternatives. They're inferior in stability, but easier to set up.

1. Mi Screen Mirroring over Wi-Fi

  • ๐Ÿ“ถ The phone and computer must be on the same network.
  • ๐Ÿ–ฅ๏ธ On PC, install Mi Screen Mirroring Receiver (download from the official website).
  • ๐Ÿ“ฑ On your phone, open Screen Mirroring and select your computer from the list.

2. Google Cast (Chromecast)

  • ๐Ÿ“บ You need a Chromecast device or a TV that supports Google Cast.
  • ๐ŸŽฅ The delay is ~200-500 MS (not suitable for games).
  • ๐Ÿ“ฑ In the Google Home app, select Translate screen.

3. TeamViewer QuickSupport

  • ๐ŸŒ It works over the Internet, does not require a common network.
  • ๐Ÿ”’ Suitable for remote assistance (for example, setting up a phone for relatives).
  • ๐Ÿ“ฑ Install TeamViewer QuickSupport from Google Play and connect from PC.
MethodDelay.Quality.Difficulty setting up
USB (ADB/Scrcpy)30-100 ms.1080p+Medium
USB (Mi Screen Mirroring)50-150 ms.1080pLow.
Wi-Fi (Mi Screen Mirroring)100-300 ms.720p-1080pLow.
Google Cast200-500 ms.720pLow.

Wireless methods are convenient for watching videos or presentations, but for games or graphics work it is better to use them. USB-connection.

7. Security in the broadcasting of the screen

Screen broadcasting is the transmission of sensitive data. Follow these guidelines to avoid leaks:

  • ๐Ÿ”’ Turn off the broadcast when you donโ€™t need it (especially on public networks).
  • ๐Ÿšซ Do not use third-party applications from unverified sources (the risk of spyware).
  • ๐Ÿ“ฑ On the phone, turn off notifications with confidential information (bank, messengers) during the broadcast.
  • ๐Ÿ–ฅ๏ธ On PC, use antivirus to check installation files (such as Scrcpy or Vysor).

If you are broadcasting a screen on someone elseโ€™s computer (for example, at work or in an educational institution), you must:

  1. Delete your connection history in Mi Screen Mirroring.
  2. Revoke debugging permissions USB after use (Settings) โ†’ For developers โ†’ Withdraw permits).
  3. Use Guest Mode on PC if possible.

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 12 Pro)+) when connected USB In debugging mode, you may have a security risk warning, which is normal, but don't confirm access to the device on unfamiliar computers.

๐Ÿ’ก

For maximum security, use the broadcast on the USB Wireless methods (Wi-Fi) are less secure from interception of data.

FAQ: Frequent questions about streaming Xiaomi screen on PC

Can I stream the screen on a MacBook?
Yes, all of the methods described work on macOS. Scrcpy requires you to install Homebrew and execute brew install scrcpy. ADB Download tools from the Android Developers website and add the path to adb to the variable PATH.
Why is there no sound when broadcasting via USB?
By default, sound is transmitted only through HDMI Or wireless methods like Google Cast, to transmit audio over the Internet. USB, Use: SoundWire application (requires root or ADB-Audio Relay in Scrcpy (experimental, not working on all models).
How to stream the screen on a PC with Xiaomi without root rights?
All of the methods in this article work without root, except for some advanced features like redirecting sound or recording a screen with internal audio. Most tasks (screen demo, streaming) do not require superuser rights.
Does the broadcast support the USB Xiaomi with MediaTek processor?
Yes, but on some models with MediaTek chips (like Redmi). 10C or POCO M4 Pro) may be required: Installation of special MediaTek drivers USB VCOM. Using Scrcpy instead of Mi Screen Mirroring (the built-in feature sometimes works unstable).
Can I control my phone from a computer during a broadcast?
Yes, but the options depend on the method: Scrcpy: full keyboard and mouse control (including gestures); Vysor: mouse control, but the keyboard is limited. Mi Screen Mirroring: view only, no control. ADB: Control is possible via commands (e.g. adb shell input tap x y).