How to distribute the Internet from Xiaomi phone to your computer via USB: full instruction

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.

πŸ“Š What Internet Distribution Method Do You Use More Often?
Through USB.
Wi-Fi.
Through Bluetooth.
Not giving.

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.

  1. Open the settings on your phone.
  2. Go to SIM cards and mobile networks (on some models – Mobile network).
  3. 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:

  1. Open Settings β†’ Battery and Performance.
  2. Select Battery Consumption Management for applications.
  3. 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:

  1. Open the Control Panel β†’ Network and Internet β†’ Network Management Center.
  2. Check if a new connection has been made called Network Connection (Xiaomi) or the like.
  3. 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-modeswitch

After installation, reconnect the phone. If the connection is still missing, check the output command:

lsusb | grep -i xiaomi

It 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:

  1. Open System settings β†’ Network.
  2. Select a new connection USB Xiaomi.
  3. 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?
Download the official driver from Xiaomi’s website (the β€œDrivers” section). For manual installation in Device Manager, select β€œUpdate driver” β†’ Perform a search on this computer β†’ Select a driver from the list" and specify the folder with the uploaded files. If the driver does not fit, try universal Google. USB Driver from Android SDK.

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 causeDecision
Computer cannot see phone in modem modemOutdated drivers or conflict with antivirusUpdate drivers manually or disable antivirus temporarily
The Internet is connected, but the sites are not openedWrong. DNS lock-inInstall. DNS 8.8.8.8 or 1.1.1.1 manually
Speed is lower than with direct connectionUSB 2.0 Limitation or Background ProcessesUse it. USB 3.0 port and disable Windows updates
Connection breaks down in a few minutesEnergy conservation MIUI WindowsTurn 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:

  1. 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).
  2. 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.
  3. 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:

MethodAdvantagesDeficiencies
Wi-Fi access pointConnecting multiple devices, no wiresFast battery discharge, possible lags
Bluetooth teteringLow power consumption, stable connectionLow speed (up to 3 Mbps), limited range
Reverse tethering (reverse tethering)Uses an Internet PC for your phoneRequires root or ADB, complex setup

To activate the Wi-Fi access point:

  1. Go to Settings β†’ Access Point and Modem β†’ Mobile Access Point.
  2. Set up a network name (SSID) and password.
  3. Turn on the mobile access point switch.

For Bluetooth tetering:

  1. Turn on Bluetooth on your phone and computer.
  2. Connect the devices (enter the same one) PIN-code).
  3. 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:

  1. Go to Settings β†’ Access Point and Modem β†’ Access Point settings.
  2. Select the type of security WPA2-PSK.
  3. 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:

  1. Open the Settings. β†’ SIM cards and mobile networks β†’ Using traffic.
  2. Set a limit on mobile data and enable notifications when it is exceeded.
  3. 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:

  1. Connect your phone to your computer and enable debugging via USB.
  2. Open the command line (or Terminal) macOS/Linux) and type: adb shell su setprop sys.usb.config rndis,adb
  3. 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:

  1. Download the.zip file with XDA Developers.
  2. Open Magisk Manager and go to the Modules section.
  3. Click Install from Storage and select the downloaded file.
  4. 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.

How to return the standard firmware after experiments?
1. Download the official firmware for your model from the Xiaomi site. 2. Go to Fastboot mode (clip the Power). + Volume down when turned on). 3. Connect your phone to your PC and execute the command: fastboot flash all name file.zip 4. Wait for the process to be completed and restart the device.

Frequently asked questions

My Xiaomi doesn't show an option Β«USB-modem. What do you do?
If the item is not on the menu, try: Update the firmware to the latest version. Enable developer mode and activate debugging by USB. Use it. ADB-command to force on (see section 8). Check if the operator blocks tethering (try another one). SIM-If nothing helps, it’s possible that your Xiaomi model has hardware limitations (like the Redmi Go or some versions). POCO M2).
Speed through USB lower than when directly connected to 4G. Why?
This is a normal phenomenon, because: USB 2.0 is limited to speeds up to 480 Mbps (real) ~300 Mbps Part of the bandwidth is spent on service packets. The operator can limit the tetering speed (even if the phone is unlimited). To improve speed: Use USB 3.0 port. MTU (See section 5. Disable background updates on PC.
The computer writes "Unidentified Device" when you connect to Xiaomi. How do you fix it?
This is a driver problem. Solutions: Download the official Xiaomi or Google drivers USB Driver. In Device Manager, manually update the driver by specifying the folder with the files uploaded. USB-port (preferably on the back of your PC) Disable driver signatures in Windows (to do this, hold the Shift when booting). + F8 and select Disable Mandatory Driver Signature Verification. If the problem persists, check the cable, it may be damaged.
Can I share the Internet with Xiaomi on a MacBook?
Yes, macOS supports USB-Xiaomi modem without additional drivers. If the Internet does not work: Check what is in the System settings β†’ There's a new connection. DNS manually, for example, 8.8.8.8). Reboot the MacBook with the phone connected. On the new MacBook with the chips M1/M2 Sometimes you need to confirm your device’s trust in your security settings.
How to distribute the Internet from Xiaomi on Linux (Ubuntu)?
On most Linux distributions USB-Xiaomi modem works out of the box. If not: Install packages: sudo apt install usb-modeswitch usb-modeswitch-data Check if the device is detected: lsusb | grep -i If the modem is not activated, manually switch mode. USB: sudo usb_modeswitch -v VENDOR_ID -p PRODUCT_ID -M "55534243123456780000000000000011062000000100000000000000000000" (substitute VENDOR_ID and PRODUCT_ID For constant operation, add a rule in udev: sudo nano /etc/udev/rules.d/99-xiaomi-tether.rules Add a line: SUBSYSTEM=="net", ACTION=="add", ATTR{idVendor}=="2717", RUN+="/sbin/ifconfig %k up Save the file and restart the system.