How to upload a file to Xiaomi Mi Box S: all ways from USB to ADB

Xiaomi Mi Box S

ADB

Many people have problems when trying to copy. APK-files to install third-party applications or download media files for offline viewing.This article is only the current methods (2026) tested on the latest versions of the Mi Box S firmware (including: MDZ-22-AB). We will focus on circumventing the limitations of Android TV, which block access to the file system.

If you only need to transfer a couple of files, thatโ€™s enough. USB-For regular synchronization, it is better to configure cloud storage or FTP-And for experienced users, we'll describe in detail the work with the server. ADB โ€” This method gives full control over the file system of the console.

๐Ÿ“Š What file transfer method do you use more often?
USB-accumulator
Cloud storage (Google Drive, Yandex Disk)
Local area network (Wi-Fi)
ADB or Termux
Another way.

1. File transfer via USB-accumulator

The easiest and most reliable way is to use a flash drive with a FAT32 file system or exFAT. Mi Box S supports external drives up to 256 GB, but there are nuances with the format:

โœ… Pros: does not require Internet, works on any firmware, is suitable for large files (movies in the Internet) 4K, play-play).

โŒ Cons: you need to physically connect the flash drive, the limit on the file size (4 GB for the file size) FAT32), Not all file managers show external drives.

To copy the files:

  1. Format the flash drive in FAT32 (if files are less than 4GB) or exFAT (for files larger than 4GB).
  2. Put her on the hook. USB-Port Mi Box S (use the port) OTG-cable, if you connect a hard drive with external power).
  3. Open any file manager (for example, FX File Explorer or X-Plore and go to the section USB-accumulator.
  4. Copy files into the internal console memory (folder /storage/emulated/0/Download) or run the APK directly from the flash drive.

Formatting in FAT32/exFAT|Virus testing|Copying files to a flash drive|Use of the OTG-cable HDD|Safe extraction after work-->

โš ๏ธ Attention: Some flash drives from NTFS Mi Box S can be defined, but you can't write to them. Also, avoid using hubs, because the console may not have enough power for hard drives.

2. Use of cloud storage (Google Drive, Yandex Disk)

If you have a stable Internet, cloud services are a convenient alternative to USB. Mi Box S supports official applications Google Drive, Yandex Disk and Dropbox, but with restrictions:

๐Ÿ”น Google Drive: You can download files up to 15 GB (web version restriction) APK Installation from unknown sources (Settings) โ†’ Security โ†’ Unknown sources).

๐Ÿ”น Yandex Disk: There is no limit on file size, but download speed depends on the tariff.

The following steps are provided for Google Drive:

  1. Upload files to Google Drive from your computer.
  2. On the Mi Box S, open the Google Drive app (install from the Play Market if you donโ€™t have one).
  3. Find the right file and click โ‹ฎ โ†’ Open in... or Download.
  4. For APK: After downloading, open the file via File Commander or ES Explorer.
How to get around the restriction on installing APKs from the cloud?
1. Download the APK file via a browser (e.g., Chrome or Firefox). 2. Go to Settings โ†’ Applications โ†’ Special Access โ†’ Install Unknown Applications. 3. Allow installation for the browser through which the file was downloaded. 4. Open the downloaded APK through the notification or Download folder.

โš ๏ธ Important: When downloading large files (for example, movies in the 4K) Mi Box S can overheat. Watch the temperature of the console โ€” if it gets hot, take a break for 10-15 minutes.

3. Transmission over a local area network (Wi-Fi)

If USB and clouds don't work, you can use a local area network, which would require a computer (Windows, macOS or Linux) and a file transfer application.

Method 1: FTP-server on the Mi Box S

1. Set it on the prefix. FTP-server, FX File Explorer or Solid Explorer).

2. Include. FTP in the application settings (usually in the Network section) โ†’ FTP-server).

3. Write down the address of the view ftp://192.168.x.x:2221 login data (username and password is often anonymous).

4. On your computer, connect to this address via FileZilla or Windows Explorer (\\192.168.x.x).

Method 2: Send Files to TV (without root)

Send Files to TV allows you to transfer files from your phone or PC to the Mi Box S over Wi-Fi without additional settings:

  1. Install Send Files to TV on the console and smartphone / PC.
  2. Run the app on both devices and select the Mi Box S from the recipient list.
  3. Select files on the sending device and confirm the transfer.

๐Ÿ“Œ Transfer speed depends on the Wi-Fi standard:

Wi-Fi standardMax, speed.Real speed (MB/s)
802.11n (2.4 GHz)300 Mbps10โ€“15
802.11ac (5 GHz)867 Mbps30โ€“50
802.11ax (Wi-Fi 6)1200 Mbps60โ€“80

โš ๏ธ Warning: When transferring over Wi-Fi, avoid using 2.4GHz for large files - the channel is often overloaded, leading to breaks.Switch to 5GHz in router settings.

4. Transmission via ADB (for power users)

ADB (Android Debug Bridge) is the most flexible way, but requires configuration. It allows you to copy files directly to any console folder, including system (if you have root).

๐Ÿ”ง What's the matter:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB Tools.
  • ๐Ÿ“ฑ Developer Mode on Mi Box S enabled (see instructions below).
  • ๐Ÿ”Œ USB-cable (or Wi-Fi connection).

๐Ÿ“ How to Enable Developer Mode:

  1. Go to Settings โ†’ About the console โ†’ Android TV version.
  2. Click the build number 7 times until the notification โ€œYou became a developer!โ€ appears.
  3. Go back to Settings โ†’ Device Preferences โ†’ Developer settings.
  4. Activate USB Debugging and Network Debugging (if you need Wi-Fi transmission).

๐Ÿ’ป Commands for file transfer:

# Connection via USB


adb devices




adb push C:\path\to\file.apk /sdcard/Download/




Wi-Fi connection (preliminarily find out IP set-top boxes in network settings)



adb connect 192.168.x.x:5555




adb push file.apk /sdcard/Download/

1. Reconnect. USB-Cable (use the original cable from Xiaomi).

2. Update ADB drivers on PC via SDK Platform Tools.

3.Reboot the console and computer.-->

Critical feature: when transferring an APK via ADB, the file is not automatically installed. Once copied, you need to manually open it through the file manager or by the adb install /sdcard/Download/file.apk command.

5. Alternative methods: Termux and Kodi

If standard methods donโ€™t work, you can use Termux (terminal emulator) or Kodi (media player with network folder support).

Method 1: Termux + Python server

1. Install Termux from F-Droid (the Play Market version is not updated).

2. Enter commands:

pkg update && pkg upgrade


pkg install python




cd ~/storage/downloads




python -m http.server 8080

3. On your computer, open your browser and go to the address http://IP_prefix:8080 (IP You can find out in Settings โ†’ Network).

Method 2: Kodi and Network Folders (SMB)

1. Install Kodi on the Mi Box S.

2. Go to Files โ†’ Add Source โ†’ SMB Protocol.

3. Specify the path to the shared folder on the PC (for example, \\192.168.x.x\SharedFolder).

4. Enter the username / password from the computer (if the folder is protected).

โœ… Pros of Kodi: supports streaming without downloading, works with any video formats, integrates with Plex and Jellyfin.

6. Frequent errors and their solution

When you transfer files to the Mi Box S, users face typical problems.

๐Ÿ”ด Error: โ€œFailure to establish APK"

Causes and solutions:

  • ๐Ÿ“Œ Unknown Source: Allow installation in Settings โ†’ Security โ†’ Unknown sources for a particular application (browser or file manager).
  • ๐Ÿ“Œ Damaged. APK: Check the hash file (for example, through Hash Droid) or download the known working version from APKPure.
  • ๐Ÿ“Œ Incompatible architecture: Mi Box S works on the ARM64. Make sure that APK built for this architecture (check in the file description).

๐Ÿ”ด Mistake: "USB-storage device not found"

What to do:

  • ๐Ÿ”Œ Try another one. USB-port OTG-cable.
  • ๐Ÿ”„ Format the flash drive into FAT32 cluster size of 4096 bytes.
  • ๐Ÿ”‹ Connect an external power source if you use it. HDD.
  • ๐Ÿ”„ Reboot the console with a connected flash drive.

๐Ÿ”ด Mistake: โ€œInadequate memory"

Decisions:

  • ๐Ÿ—‘๏ธ Clear the app cache in Settings โ†’ Annexes โ†’ Clear the cache.
  • ๐Ÿ”„ Move the files to USB-The storage and run them from there.
  • ๐Ÿ“ฆ Remove unnecessary apps (e.g. pre-installed games from Xiaomi).

1. firmware version (Settings โ†’ About console) โ€“ on older versions (below MDZ-22-AB) there may be USB bugs.

2. the integrity of the file system of the console (will help reset to factory settings).

3. file system compatibility of the drive - Mi Box S does not support NTFS record.-->

FAQ: Answers to Frequent Questions

Can I transfer files via Bluetooth?
The Mi Box S does not support Bluetooth file reception. This protocol is only used to connect remotes and gamepads. Use Wi-Fi, USB or cloud to transfer data.
How to transfer files more than 4 GB if the flash drive is in FAT32?
There are three options: Format the flash drive in exFAT (supported by Mi Box S); break the file into pieces using an archiver (for example, 7-Zip with the option to "Break into volumes"); Use the cloud (Google Drive, Yandex Disk) or transfer over a local network.
Why canโ€™t the console see the external hard drive?
The Mi Box S may not always provide enough energy to power the car. HDD. Solutions: Use HDD - External powered, plug the disk in through USB-Extra power hub. Try the drive on another device to rule out malfunction.
Can I use the Mi Box S as a Network Storage (NAS)?
Technically yes, but with limitations: Install FTP-server, FX File Explorer) and configure access over the local network. Use Kodi with a plugin SMB Note that performance will be low due to a weak processor Mi Box S (AmLogic). S905X). For a full-fledged NAS It is better to use specialized devices (for example, Xiaomi Mi Router with connected devices). HDD).
How to update the Mi Box S firmware if the update file is not copied?
If you downloaded firmware (.zip) and canโ€™t move it: Try renaming the file to update.zip and putting it on a FAT32-formatted flash drive. Connect the flash drive to the console and go to Settings โ†’ About console โ†’ System Update โ†’ Local Update. If the file is not determined, check its integrity (MD5-sum) or download the firmware from an official source (for example, Xiaomi site).