Remote management of Xiaomi equipment from a computer opens up a lot of possibilities, from transferring files without cables to debugging a smartphone or configuring a smart home through a large screen. But how to do this correctly so as not to encounter connection errors or compatibility problems? In this article, we will analyze all the current methods, from standard tools to specialized software, as well as nuances for different types of devices: smartphones, TVs, routers and gadgets of the Mi Home ecosystem.
Many users mistakenly think that to manage Xiaomi with a PC is enough USB-And in practice, it depends on the purpose: do you just need to transfer files, mirror the screen, debug through the interface? ADB We've put together proven methods based on the latest updates from 2026, from official solutions to workarounds for older models.
Before you start, check if your device meets the minimum requirements:
1. Xiaomi smartphone control via USB (ADB and Mi PC Suite)
The most reliable way to connect a Redmi, POCO or Mi smartphone to a computer is to use USB debugging mode (ADB), which will allow you not only to transfer files, but also to control the device through the command line or specialized programs.
First, activate the developer option:
- Go to Settings. โ The phone.
- Tap 7 times on the MIUI version.
- Back to Settings โ Additionally. โ For developers.
- Enable USB Debugging and USB Installation.
Now connect your smartphone to your PC via cable (preferably original!) and install the drivers:
- ๐น Xiaomi drivers (select your model).
- ๐น Android SDK Platform-Tools (to work with the ADB).
Check the connection by the team:
adb devicesIf you get the serial number of the device, you're done.
- ๐ฑ Control your smartphone via Vysor or scrcpy (screen mirroring).
- ๐ Transfer files via adb push/pull.
- ๐ง Install APK phone-free.
๐ก
If adb devices canโt see the device, try changing USB connection mode to File Transfer (MTP) in the smartphone notification curtain.
2. Wireless control of the smartphone (Wi-Fi ADB and Mi Remote)
You want to mess with the cables? Connect Xiaomi to your PC over Wi-Fi!
- Activate Debugging over USB (as in the previous section).
- Connect your smartphone to your PC via cable and do:
adb tcpip 5555
adb connect [IP- address phone]:5555Where [IP-Phone address โ The phone. โ General information โ Status. โ IP-address.
Once you've successfully connected, you'll turn off the cable, and you'll be able to control it over the air, and importantly, this only works on one Wi-Fi network, and you'll need to repeat the adb connect command when you reboot your phone.
To simplify the process, use:
- ๐ฅ๏ธ Mi PC Suite โ official backup software, updates and file transfer.
- ๐ฑ Mi Remote โ application for controlling PC from a smartphone (feedback).
Smartphone and PC connected to the same Wi-Fi network
USB debugging enabled
Installed ADB drivers on PC
Remembered. IP-phone-->
3. Controlling Xiaomi TV from a computer
Mi TVs (series A2, P1, Q2, etc.) support control from PC through:
- The Mi Home app (for the smart home)
- DLNA (media streaming) protocol.
- ADB for Android TV (advanced settings)
To start, turn on USB debugging on your TV:
- Go to Settings โ Device โ About the device.
- Slap 7 times on the Assembly Number.
- Go back to Settings โ For developers and activate Debugging over USB.
Connect the TV to your PC over the network and use commands:
adb connect [IP-address TV]:5555
adb shell input keyevent [code buttons]Examples of button codes:
| Action. | Code. |
|---|---|
| Volume + | 24 |
| Loudness. | 25 |
| Turn on/off | 26 |
| Home. | 3 |
| Back up. | 4 |
To manage media, use a VLC with DLNA or Kodi support.
How do you know? IP-Xiaomi TV address?
4. Xiaomi Smart Home Control via PC
Xiaomi smart devices (Yeelight, Aqara, Mi Robot Vacuum, etc.) are managed via Mi Home or Mi Home API.
- ๐ Web version of Mi Home (limited functionality).
- ๐ป Mi Home Assistant โ an unofficial client for the Windows/Mac.
- ๐ Home Assistant โ Automation System with Xiaomi Support.
To work with the API, you need a device token, and you can get it through:
- Mi Home (Charles Proxy traffic interception)
- Script get_token.py.
Example of a command to control the Yeelight lamp:
miio --ip 192.168.1.100 --token YOUR_TOKEN power on๐ก
Xiaomi device tokens are tied to your Mi Account. When you change your password or region, the token is reset!
5. Control of Xiaomi router from computer
Mi Routers (e.g. AX6000, 4A Gigabit) have a web interface to configure with a PC.
- Connect to the router network.
- Enter 192.168.31.1 or miwifi.com.
- Log in (login and password from the sticker on the router).
For advanced settings (such as OpenWRT firmware), use SSH:
ssh root@192.168.31.1
Password: Admin (or your current password)Official management software:
- ๐ฅ๏ธ MiWiFi (Windows/Mac).
- ๐ฑ Mi WiFi App (for the first time) Android/iOS).
๐ก
If you canโt log into the routerโs web interface, reset it with the Reset button (hold 10 seconds).
6. Solving Connection Problems
Frequent mistakes and their solutions:
| Problem. | Decision |
|---|---|
| ADB: device unauthorized | On the smartphone, confirm the debugging permission (pop-up window). |
| PC does not see the smartphone on USB | Try another cable/port, install drivers manually through Device Manager. |
| Mi Home does not connect to the device | Check the region in your account settings (should match the region of your device). |
| The TV doesn't respond to ADB-team | Reboot the TV and repeat adb connect. |
If a Xiaomi device is locked (for example, after a reset), you may need to unlock the bootloader through the Mi Unlock Tool.
โ ๏ธ Attention: unlocking the bootloader resets all data on the device and may take away warranty.For new models (e.g. Xiaomi) 13) wait 7-168 hours after account link.
7. Alternative management programmes
In addition to official tools, there are third-party solutions:
- ๐ฅ๏ธ AirDroid - Remote management and file transfer.
- ๐ฎ ApowerMirror โ mirroring the screen of a smartphone.
- ๐ง TeamViewer QuickSupport โ support for Xiaomi devices.
For developers, it is useful:
- ๐ ๏ธ Android Studio (built-in) ADB and emulators).
- ๐ฆ Scrcpy โ Open source software for mirroring without delay.
When choosing a program, pay attention to:
- ๐ Availability of encryption (especially for smart home).
- ๐ฅ Compatible with your Xiaomi model.
- ๐ฐ Presence of paid features (for example, recording the screen in AirDroid).
๐ก
For maximum security, use official Xiaomi tools or open source software (such as scrcpy).