How to install APK on the console Xiaomi: 3 proven ways

Why is it difficult to install APK on Xiaomi TV Box?

Xiaomi Mi Box and Mi TV Stick works on Android-based systems TV โ€” A modified version of the operating system, where the default is to block the installation of applications from unknown sources, for security reasons, but often hinders users who want to expand the functionality of the device. IPTV-Player, emulator or specialty application not available in the Google Play Store.

Unlike smartphones, where unlocking takes a couple of clicks, TV-In addition, the process is complicated by interface limitations and the lack of direct access to the file manager, and the Mi Box S (2019-2021) and Mi Box 4 (2018) models have different firmware versions, which affects the installation algorithm. In this article, we will discuss current ways to implement firmware in 2023-2026, including bypassing new restrictions from Xiaomi.

Important: If your console is automatically updated, some methods (e.g., through ADB) may require additional steps.

Method 1: Install APK through the file system (for beginners)

The easiest method is to download APK-file USB-A storage device or cloud storage device and open it through a console, suitable for Mi Box S, Mi Box 4 and Mi models TV Stick with firmware is no older than Android TV 11.

You'll need:

  • ๐Ÿ“ Flash drive (formatted into a FAT32) Access to the cloud (Google Drive, Mega)
  • ๐Ÿ“ฑ Smartphone/PC for download APK (Recommended sources: APKMirror, APKPure)
  • ๐Ÿ”Œ Cable OTG (if you use USB-accumulator)

Steps:

  1. Download. APK-file on a computer or smartphone. Make sure it's an Android version. TV (routine APK Smartphones may not work).
  2. Transfer the file to USB-It's in the root folder (not nested!) If you use the cloud, upload the file there.
  3. Connect. USB via OTG-adapter (for Mi) TV Stick will need a powered hub).
  4. Open the File Manager (if not, install it via Google Play, such as FX File Explorer).
  5. Find it. APK-You can click on the file and you can then ask the system to install the application.

โš ๏ธ Attention: If, when pressed, APK Nothing happens, check if Unknown Sources for File Manager are enabled.

Download APK Android TV|Check the format USB (FAT32)|Connect OTG-adapter|Open the file manager|Allow installation from unknown sources

-->

Method 2: Allowing installation from unknown sources

By default, Xiaomi TV Box blocks APK installation from third-party sources. To unlock this feature, you need to manually enable permission for a specific application (for example, a file manager or browser).

Instructions for Android TV 9-11:

  1. Open Settings โ†’ Applications and Notifications โ†’ Special Access โ†’ Install Unknown Applications.
  2. Select the application you will install the APK through (such as FX File Explorer or bootloader).
  3. Activate the switch Allow installation from this source.

For Android TV 12+ (relevant for the new firmware Mi Box S 2023):

  1. Go to Settings โ†’ System โ†’ About TV.
  2. Find the Build Number and click on it 7 times to activate the developer mode.
  3. Return to Settings โ†’ Developer settings and enable Installation via USB.

๐Ÿ’ก

If your file manager is not in the application list, install it through Google Play first, then go back to the settings and unlock the APK installation for it.

Once permissions are activated, try again to install the APK from the first method. If an "App not installed" error appears, check:

  • ๐Ÿ” Compatibility APK Android TV (Not all smartphone apps work on consoles).
  • ๐Ÿ—‘๏ธ Is there enough memory on the device (minimum storage is 500 MB).
  • ๐Ÿ”„ Is the file corrupted (hope over) APK).

Method 3: Install APK via ADB (for power users)

If previous methods didnโ€™t work, use Android Debug Bridge (ADB), a debugging tool that lets you install apps via the command line, which is suitable for all Xiaomi TV Box models, including the Mi Box 4K and Mi TV Stick 4K, but requires a computer.

What you need:

  • ๐Ÿ’ป Computer with Windows/macOS/Linux
  • ๐Ÿ”Œ USB-cable (for the Mi Box S) or OTG-adapter (for Mi) TV Stick)
  • ๐Ÿ“ฆ Utility. ADB Tools (download from Android site)

Step-by-step:

  1. Enable the developer mode on the console (as in Method 2).
  2. In the Developer Settings, activate Debugging over USB.
  3. Connect the console to the computer. TV Stick use it. OTG-powerhouse.
  4. Open the command prompt (Windows) or terminal (macOS/Linux) and go to the folder with ADB:
cd /path/tools/platform-tools
  1. Check the connection of the device:
adb devices

If the console is determined (the serial number will appear), execute the installation command:

adb install path/to/file.apk

โš ๏ธ Note: Some Xiaomi firmware after connecting to ADB If the request does not appear, reconnect the cable or reboot the device.

What if ADB doesnโ€™t see the box?
1. Make sure that the debugging is enabled by USB. 2. Try another one. USB-cable (original from Xiaomi). 3. For Mi TV Stick use it. OTG-externally powered hub โ€“ the device may not have enough power to maintain a stable connection. 4. Update drivers ADB on your computer (download the latest version of platform-tools). 5. Reboot the console and computer.

Solving Common Errors When Installing APK

Even after unblocking unknown sources, users are faced with errors, and consider the most frequent and ways to fix them.

Mistake.Reason.Decision
App not installedAPK is incompatible with Android TV or damagedDownload the APK version for Android TV (see "TV" or "Leanback" in the description).
Parse ErrorAPK is built for the new version of AndroidInstall an older version of the application or update the console firmware.
Insufficient storageLack of memoryClear the cache (Settings โ†’ Storage) or remove unnecessary apps. Minimum stock is 1 GB.
The application is installed but not openedThere are no rights or incompatibility with TV-interfaceTry to run it through ADB: adb shell am start -n packet.name/activity (you can find out the name of the package through adb shell pm list packages).

If the error persists, check:

  • ๐Ÿ”’ Does the antivirus block the installation on the console (turn off Google Play Protect in the security settings).
  • ๐Ÿ“‹ Does the architecture match? APK with a console processor (most Xiaomi) TV Box is working ARM64).
  • ๐Ÿ”„ Does the new application conflict with the existing ones (for example, two or more) IPTV-Players can interfere with each other).
๐Ÿ“Š What error do you see most often when installing APK Xiaomi TV Box?
"App not installed"
"Parse Error"
"Insufficient storage"
App won't open
Other

How to remove installed APKs and clean the system

If the app doesn't work properly or takes up too much space, it can be removed. Android TV does it differently than it does on smartphones.

Methods of disposal:

  1. Through Settings: Open Settings โ†’ Applications. Select the desired application โ†’ Delete.

Through ADB:

adb uninstall package.name

(to find out the name of the package: adb shell pm list packages | grep "name")

Through the file manager:

APK Editor

To completely clear the system of traces of remote applications:

  1. Go to Settings โ†’ Storage โ†’ Clear the cache.
  2. Use ADB to delete the remaining files:

If you suspect that you have a virus:

  1. Disconnect the console from the Internet immediately.
  2. Remove the suspicious app via ADB or settings.
  3. Perform a reset to factory settings (Settings โ†’ System โ†’ Reset).
  4. Check the accounts (such as Google or Netflix) that the console was linked to.

๐Ÿ’ก

Never install APKs from sites that offer hacked versions of paid apps (like Kodi with pirated addons) not only violates the law, but also contains malicious code 90% of the time.

FAQ: Frequent questions about installing APK on Xiaomi TV Box

Can we determine APK Xiaomi Mi TV Stick without a stick. OTG-adapter?
Yes, but only through cloud storage or bootloader (application for downloading files by URL). Open bootloader, enter the link APK, download and install. However, some firmware will require OTG-powered adapter, as USB-Stick port doesnโ€™t always provide enough power for the flash drive.
Why did the firmware update stop installing APK?
Xiaomi has probably tightened its security policy in the new version: Try: Reset (Settings โ†’ System โ†’ Reset). Use ADB to install (Method 3). Reverse to the previous firmware (see instructions on 4PDA). If nothing helps, wait for the file manager update or use alternative launchers (e.g., ATV Launcher).
How to install Google Play on Xiaomi Mi Box if you donโ€™t have one?
All official Xiaomi Google Play Store consoles have the default installed. If it's not available, it means: You have a Chinese firmware version (for example, for the Chinese market). In this case, you need to flash the device to the global version. The console was dropped with the removal of system applications. Try to restore using ADB: adb install com.android.vending.apk (com.android.vending.apk file can be downloaded from APKMirror).
Can I install APK on Xiaomi TV Box via Bluetooth?
Technically, yes, but it's inconvenient. APK-file from phone to console via Bluetooth (in Bluetooth settings, set-top boxes enable Visibility for all) on console, accept file and save it in memory, open through file manager. However, transfer speed will be low, and some firmware will block installation APK, Bluetooth-based data. Better to use it. USB or ADB.
What apps can not be installed on Android TV?
Not all. APK, Smartphones are suitable for Android TV. Avoid installation: ๐Ÿ“ฑ Applications without Leanback support (TV-They'll be mobile-based or won't be launched. ๐ŸŽฎ Emulators that require sensory control (e.g., some versions) PPSSPP). Use modifications to TV gamepad-enabled. ๐Ÿ”’ Rooting apps (like KingRoot) don't work on Xiaomi TV Box and can lock the device. ๐Ÿ“บ Pirates. IPTV-Players. They often contain malicious code and violate copyright laws. Check compatibility on the developer's website or forums before installing.