Xiaomiβs modern smartphones allow mobile internet not only to be used on the device itself, but also to be distributed to other gadgets β including computers. One of the most stable and energy-efficient ways to do this is by connecting through a mobile phone. USB-Unlike Wi-Fi, this method does not consume the battery of the phone, provides a higher data rate and works even in low signal conditions.
However, many users face difficulties in setting up USB-modem: the system does not recognize the connection, drivers do not install automatically, or the speed is lower than expected. MIUI, work-related USB-We will give step-by-step instructions for all current versions of Xiaomi, including Android models. 12/13/14.
You'll learn how to activate modem modem properly, what Windows or Linux settings you'll need to change, and what to do if your computer doesn't see the network. And for power users, we've prepared a section with advanced features, from changing the way you do things. MTU beforehand ADB-commands for forced activation of the regime.
1. Preparation of Xiaomi phone for the distribution of the Internet
Before connecting your phone to your computer, you need to follow several important steps on the smartphone itself, which will help avoid most common problems, such as the lack of an option Β«USB-modem in the menu or automatic disabling of data transmission.
First, check if the mobile data is activated.
- Open the settings on your phone.
- Go to SIM cards and mobile networks (on some models β Mobile network).
- Make sure the mobile data switch is on and the network indicator is displayed next to it (e.g, 4G or 5G).
It is recommended to update the firmware MIUI In older builds (especially on Android 10 and below), there are often bugs with the help of the new version. USB-To check for updates:
- π± Go to Settings. β The phone. β Updating the system.
- π Click on βCheck Updatesβ and install the available packages.
- π² After the update, restart the device.
Also pay attention to the energy saving settings. MIUI aggressively optimises background processes, which can interrupt data transmission through USB. To avoid this:
- Open Settings β Battery and Performance.
- Select Battery Consumption Management for applications.
- Find the settings in the list (or USB-modem, if such a point exists) and set a mode for it without restrictions.
π‘
If you have a Xiaomi Redmi Note 10 Pro or a newer model, in the developer settings (Settings) β The phone. β Version. MIUI β Tap 7 times) activate the debugging option USB. This will help to avoid problems with device recognition on the PC.
2. Connecting the phone to the computer and choosing the mode USB
When the phone is ready, connect it to the computer using the original USB-The use of cheap cables often leads to unstable connection or complete lack of data transmission. USB.
You must choose to transfer data (or MTP), And then on the drop-down menu β USB-On some Xiaomi models, for example, POCO X3 Pro) this paragraph may be referred to USB-internet USB-Tethering. If there is no such option, follow the following steps:
Please contact the notification "Charging through" USB"|Select "Data transmission" (MTP)|Check for a point "USB-modem|If there is no item, go to Settings β Access Point and modem-->
If you're optional USB-The modem is not on the menu, this may be due to the:
- π΅ Lack of active SIM-maps or mobile data.
- π Operator restrictions (some tariffs block tethering).
- π οΈ Outdated firmware or custom recavery (for example, TWRP).
- π§ Active mode Only charging in the developer settings.
On Windows computers 10/11 After selecting the modem modem, the system must automatically install the Remote driver. NDIS. If this does not happen, check Device Manager (Network Adapters section). If there is an exclamation mark next to the Xiaomi device, you will need to manually install drivers.
3. Set up a computer to work with USB-modem
Once a phone is successfully connected, the computer must determine a new network connection, which is usually automatic, but sometimes additional setup is required β especially on Windows 7 or Linux distributions.
On Windows:
- Open the Control Panel β Network and Internet β Network Management Center.
- Check if a new connection has been made called Network Connection (Xiaomi) or the like.
- If the connection is available but the internet is not working, right-click on it, select Properties and make sure that it is marked: π IP version 4 (TCP/IPv4) (should be on). π Get it. IP-address. π Get an address. DNS-server.
On Linux (Ubuntu/Debian) You may need to install a USB-modeswitch package:
sudo apt update
sudo apt install usb-modeswitchAfter installation, reconnect the phone. If the connection is still missing, check the output command:
lsusb | grep -i xiaomiIt should display your device in the list of connected devices. USB-device.
MacOS doesn't usually require any additional steps, and it automatically recognizes Xiaomi as a network adapter, but if the Internet doesn't work, try:
- Open System settings β Network.
- Select a new connection USB Xiaomi.
- Press Additional and manually specify DNS (For example, 8.8.8.8 from Google).
What to do if Windows asks for a driver for Xiaomi?
4. Solving common problems
Even with the right setup, Xiaomi users often encounter common mistakes, and letβs look at the most common ones and how to fix them.
| Problem. | Possible cause | Decision |
|---|---|---|
| Computer cannot see phone in modem modem | Outdated drivers or conflict with antivirus | Update drivers manually or disable antivirus temporarily |
| The Internet is connected, but the sites are not opened | Wrong. DNS lock-in | Install. DNS 8.8.8.8 or 1.1.1.1 manually |
| Speed is lower than with direct connection | USB 2.0 Limitation or Background Processes | Use it. USB 3.0 port and disable Windows updates |
| Connection breaks down in a few minutes | Energy conservation MIUI Windows | Turn off the transition to sleep mode for USB feed-in |
Particularly noteworthy is the problem of tethering blocking by operators, where some mobile operators (such as Tele2 or Iota) restrict Internet distribution at unlimited rates, to circumvent this restriction:
- π² Install PNet or ClockworkMod Tether on your phone (root rights required).
- π§ Change. TTL-meaning ADB: adb shell settings put global tether_dun_required 0
- π Use it. VPN on a phone (such as WireGuard) to mask tethering traffic.
π‘
If you're connected USB-Mobile Internet is lost on your phone, check your settings APN. Some operators (e.g. MTS) require a separate APN It's for tetering. You can add it manually to your settings. β SIM cards. β Access points (APN).
5. Optimization of connection speed and stability
By default. USB-Xiaomi modem may not work at full speed. MTU (Maximum Transmission Unit and prioritization of traffic. Here's how to improve productivity:
To start, check your current connection speed with Speedtest. If the results are significantly lower than expected (for example, instead of 100 Mbps, you get 10 Mbps), follow the following steps:
- On Windows, open the command line on behalf of the administrator and type: netsh interface ipv4 Show subinterfaces Remember the current value MTU Xiaomi connection (usually 1500).
- Change. MTU on 1472 (Best for mobile networks: Netsh interface ipv4 set subinterface "ID_SUPPLEMENTS" MTU=1472 store=Persistently ID_Please enter the number from the previous team.
- Reconnect. USB-modem and check the speed again.
Additional optimization methods:
- π Use it. USB 3.0 port (usually blue) β this will increase bandwidth.
- π΅ Turn off Windows background updates and antivirus scans while working with the modem.
- π‘ If the network signal is weak, turn on the phone mode Only 4G (In Settings β SIM cards. β Preferred type of network).
- π Reboot your phone regularly β MIUI has the feature of "forgetting" modem settings after a long work.
For advanced users: If you use Xiaomi with an unlocked bootloader, you can install a kernel with support USB Fast Charge + Modem, which allows you to charge your phone and distribute the Internet at the same time without losing speed:
- FrancoKernel (for French) POCO F3 Xiaomi 11T).
- Perseus (for Redmi) K20 Pro).
- NeonKernel (a universal solution for many models)
6. Alternative ways to distribute the Internet with Xiaomi
If USB-The modem doesn't fit for some reason, so consider alternative Internet distribution options:
| Method | Advantages | Deficiencies |
|---|---|---|
| Wi-Fi access point | Connecting multiple devices, no wires | Fast battery discharge, possible lags |
| Bluetooth tetering | Low power consumption, stable connection | Low speed (up to 3 Mbps), limited range |
| Reverse tethering (reverse tethering) | Uses an Internet PC for your phone | Requires root or ADB, complex setup |
To activate the Wi-Fi access point:
- Go to Settings β Access Point and Modem β Mobile Access Point.
- Set up a network name (SSID) and password.
- Turn on the mobile access point switch.
For Bluetooth tetering:
- Turn on Bluetooth on your phone and computer.
- Connect the devices (enter the same one) PIN-code).
- On your phone, go to Settings. β Access Point and modem and turn on Bluetooth modem.
Reverse tethering is good if you need to give the Internet phone from a computer.
- π₯οΈ Install ReverseTethering NoRoot on PC.
- π± Put the phone on. USB And turn on the debugging. USB.
- π§ Run the program and follow the instructions (you will need confirmation on your phone).
7. Security in the distribution of the Internet
Using your phone as a modem opens up potential vulnerabilities for your network, and here are key precautions to take:
First and most important, set a password to the access point, even if you use it. USB-This will prevent unauthorized connection of other devices to your network. MIUI:
- Go to Settings β Access Point and Modem β Access Point settings.
- Select the type of security WPA2-PSK.
- Set a complex password (at least 8 characters with numbers and letters).
Other important security settings:
- π Disable Autoconnection to Open Networks in Wi-Fi Settings.
- π‘οΈ Install an antivirus (such as Avast or Bitdefender) on your phone to protect against network attacks.
- π Regularly update the firmware in new versions MIUI Vulnerabilities related to tetering are closed.
- π΅ Use it. VPN on your phone if you connect to public networks (for example, in cafes or airports).
Pay special attention to traffic monitoring. Some applications (e.g. cloud services or instant messengers) may consume the Internet in the background, which will lead to over-the-limiting, to control the flow:
- Open the Settings. β SIM cards and mobile networks β Using traffic.
- Set a limit on mobile data and enable notifications when it is exceeded.
- Check which apps consume the most traffic (Use of traffic by app).
π‘
If you often give out the Internet through USB, Consider the possibility of using a separate SIM-This will protect your main number from being blocked by the operator for βnon-responsibleβ traffic use.
8. Enhanced opportunities: ADB custom-made
For users ready to dive into the technical details, Xiaomi offers additional customization options USB-modem ADB (Android Debug Bridge and custom firmware, which allow you to bypass carrier restrictions, increase speed, and even distribute the Internet to devices where it is blocked by default.
For example, by means of ADB can be forcibly activated USB-modem, even if it's hidden in the menu:
- Connect your phone to your computer and enable debugging via USB.
- Open the command line (or Terminal) macOS/Linux) and type: adb shell su setprop sys.usb.config rndis,adb
- Reboot the phone. Then it's on the menu. USB will appear USB-modem.
If you use custom firmware (like LineageOS or Pixel Experience), check for a module. USB Tethering Fix in Magisk.This module fixes the problems with the Internet distribution on many Xiaomi devices, including:
- Redmi Note 9 Pro (joyeuse),
- POCO X3 NFC (surya),
- Mi 10T (apollo).
For the installation of the module:
- Download the.zip file with XDA Developers.
- Open Magisk Manager and go to the Modules section.
- Click Install from Storage and select the downloaded file.
- Reboot the phone.
Warning: use of custom firmware and ADB-commands can lead to loss of warranty or unstable operation of the device.Before experiments, make a backup of the data via Mi Backup or TWRP.