How to remove YouTube from Xiaomi Mi Box S: Full Guide

Many users of Xiaomi Mi Box S smart consoles face the need to free up space in memory or simply remove unnecessary applications from the interface. Standard Android TV system means completely remove system applications such as YouTube. This limitation is laid down by the manufacturer to ensure the basic functionality of the device, but experienced users often look for ways to get around this framework.

This will require more advanced methods that go beyond the usual settings menu, most commonly through ADB (Android Debug Bridge), which allows you to manage system processes remotely from a computer, and it is important to understand that interfering with system files requires care and accurate follow-up.

In this article, we will detail how to safely disable and remove an intrusive video service, how to prepare the console, what tools will be required, and how to return everything to its original state if necessary. Complete removal of the system YouTube requires root rights or the use of ADB commands to hide the package.

Why you can’t just delete the app through settings

The Android TV operating system that runs the Xiaomi Mi Box S has a strict permission structure. Apps preinstalled by the manufacturer are marked as system. In the application management menu, you can only find the "Delete Updates" or "Stop" button, but not the complete removal.

This is done to protect the integrity of the system. If a user accidentally removes a critical component associated with Google video services, the console may start to work unstable or give errors when running other programs, so the delete button is hidden from normal access.

But there are ways around this limitation: they don't require breaking the firmware in the classic sense, but they allow you to freeze or delete the packet for the current user, which frees up space and removes the icon from the home screen.

  • πŸ”’ System applications are protected from removal by standard interface tools.
  • πŸ›‘οΈ Restrictions prevent accidental system failure by the user.
  • βš™οΈ To circumvent restrictions, the use of debugging by USB and command line.

⚠️ Warning: Before any manipulation of system files, make sure you understand the risks.Incorrect removal of dependent packets can lead to a cyclical reboot of the device.

Preparing Xiaomi Mi Box S for removal of applications

The first step before any technical work is to properly prepare the device, so you need to activate the developer mode and enable debugging over USB, without which the computer will not be able to send commands to the console.

Go to Settings β†’ Device β†’ Build. Click on Build seven times in a row with fast remote movements. The system will tell you you've become a developer. Then a new section will appear in the settings menu, "Developer Settings."

In the menu, find the item "Debugging by" USB" You can also activate the "Installation through" option. USB", So you can have full packet control, and now the device is ready to connect.

β˜‘οΈ Preparation of the console

Done: 0 / 1

Don't forget to write it down. IP-The address of your console can be found in the Settings section. β†’ Network and Internet. This address is required to connect your computer to the Xiaomi Mi Box S over a local network.

Necessary tools and software

To do this, you'll need a computer or laptop running Windows, macOS or Linux, and you'll need to install Android platform tools known as Platform Tools, which contain adb and fastboot executables.

Download the latest version of the tools from the official website of the developers of Android. After downloading the archive, unpack it in a convenient folder, for example, in the root of the C disk, so that the path to the files is short and does not contain Cyrillic characters.

Also make sure that the computer and the console are on the same local network, which is a prerequisite for wireless Wi-Fi connectivity. USB-cable, you will need a Male-to-Male cable, although the network method is considered more reliable and convenient.

  • πŸ’» PC or laptop with Internet access to download tools.
  • πŸ“‘ Stable Wi-Fi connection between computer and console.
  • πŸ“¦ Installed Android Package SDK Platform Tools.

πŸ’‘

Use Windows Command Prompt (cmd) or PowerShell to enter ADB commands. Running on behalf of the administrator is optional, but may be required in some network configurations.

Step-by-step instructions for removal through ADB

Once all the tools are ready, we'll move on to the process. Open the command line on your computer in the tool folder. ADB. Enter the command to connect to the console by specifying it IP-Address: adb connect 192.168.1.XX:5555.

You'll see a request for debugging permission on your TV screen, select "Always allow from this computer" and confirm the action. If the connection is successful, a message will appear on the command line about the successful connection.

Now you need to find the exact name of the YouTube package. Type in the command adb shell pm list packages | grep youtube. The system will give you a list of packages associated with YouTube. Usually the system package is called com.google.android.youtube.tv.

adb shell pm uninstall -k --user 0 com.google.android.youtube.tv

This command will remove the app for the current user, it will disappear from the app list and no longer occupy space in the user section, and it is important not to confuse the package name so as not to remove the system component of Google Play Services.

ADB Team TeamDescription of actionRisk
adb shell pm list packagesLists all installed packagesLow.
adb shell pm uninstallRemove the package for the current userMedium.
adb shell pm enableIncludes previously disabled packageLow.
adb rebootReboots the deviceLow.

πŸ’‘

The uninstall command with the --user 0 flag does not physically delete the file from the system partition, but only hides it for the user, which is a safe method.

Alternative methods: freezing and disconnecting

If you're afraid to use deletion commands, you can use the "freeze" method, in which case the application stays in the system, but completely stops working and consumes resources in the background. This is achieved by the command adb shell pm disable-user --user 0 com.google.android.youtube.tv.

The advantage of this method is that you can get it back to normal at any time. To recover, just type in the command adb shell pm enable com.google.android.youtube.tv. This is ideal for those who want to just remove the icon from the desktop.

There are also third-party launchers that allow you to hide application icons without using ADB. Installing an alternative interface, such as Projectivy Launcher or ATV Launcher, gives you flexible visibility management of programs.

  • ❄️ Freezing is safer than complete removal and is easily reversible.
  • πŸ”„ Launchers allow you to hide icons without technical manipulation.
  • πŸ›‘ Disabling stops background processes and app updates.

⚠️ Note: When using third-party launchers, make sure you have a way to get back to the standard interface, such as through settings or the long-pressed Home button.

πŸ“Š Which method of removal do you prefer?
Complete removal through ADB
Freeze the application
Hiding through the launcher
I'll leave it as it is.

Possible problems and ways to solve them

The most common message users encounter is "device offline" or "no devices found", which means that the connection between the computer and the console is lost. IP-Xiaomi Mi Box S address after router reboot.

Another common problem is denial of access. If the command fails, make sure that the TV screen confirms debugging permission. Sometimes you need to re-enable the USB debugging switch in the developer settings.

If voice search or other Google features have stopped working after YouTube has been removed, dependent components may have been affected, in which case a full reset to the factory console settings will help.

What to do if the console went into a cyclical reboot?
If the device is constantly restarting after deleting system files, you must perform Hard Reset. Press the back and OK buttons on the remote simultaneously when power is turned on (the method may vary depending on the version of the software), or use Recovery mode if you have access to the buttons on the case.

Recovery of Remote Application

Since we used the deletion method for the current user, it's very easy to restore the application, so you don't have to search for installation files or flash the device again, just repeat the ADB connection procedure.

Use the command to install the package from the system storage: adb shell cmd package install-existing com.google.android.youtube.tv. This command will return the shortcut and functionality of the video service to its place.

If you completely reset your settings, all changes will be automatically voided, and the console will return to the β€œout of the box” state, and YouTube will appear again in its standard form.

  • ↩️ Install-existing team returns system application.
  • πŸ”„ Resetting to factory settings also restores all remote components.
  • πŸ’Ύ Backing up the packet list will help you quickly restore configuration.

Frequently Asked Questions (FAQ)

Is it safe to delete YouTube via ADB on Xiaomi Mi Box S?
Yes, it is safe if you delete the user packet (--user 0). system files are not corrupted, and you can always restore the application with a command.
Do you need Root Rights to remove YouTube?
No, you don't need a superuser (Root) right to delete or freeze an application for the current user. USB debugging is enough.
Can YouTube update itself after it’s deleted?
If you used the uninstall command, the application is removed and can not update. If you used only Stop in the settings, then auto-update is possible through Google Play.
What happens if the ADB command is not executed?
Check the syntax of the command, the presence of spaces and the correct name of the package. Make sure that the computer and the console see each other on the network.
Will YouTube be removed from all users of the console?
The --user 0 command removes the app only for the primary profile, and if there are other profiles on the console, the app can stay there.