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.
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:
- Format the flash drive in FAT32 (if files are less than 4GB) or exFAT (for files larger than 4GB).
- Put her on the hook. USB-Port Mi Box S (use the port) OTG-cable, if you connect a hard drive with external power).
- Open any file manager (for example, FX File Explorer or X-Plore and go to the section USB-accumulator.
- 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:
- Upload files to Google Drive from your computer.
- On the Mi Box S, open the Google Drive app (install from the Play Market if you donโt have one).
- Find the right file and click โฎ โ Open in... or Download.
- 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?
โ ๏ธ 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:
- Install Send Files to TV on the console and smartphone / PC.
- Run the app on both devices and select the Mi Box S from the recipient list.
- Select files on the sending device and confirm the transfer.
๐ Transfer speed depends on the Wi-Fi standard:
| Wi-Fi standard | Max, speed. | Real speed (MB/s) |
|---|---|---|
| 802.11n (2.4 GHz) | 300 Mbps | 10โ15 |
| 802.11ac (5 GHz) | 867 Mbps | 30โ50 |
| 802.11ax (Wi-Fi 6) | 1200 Mbps | 60โ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:
- Go to Settings โ About the console โ Android TV version.
- Click the build number 7 times until the notification โYou became a developer!โ appears.
- Go back to Settings โ Device Preferences โ Developer settings.
- 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 80803. 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.-->