How to permanently remove YouTube from Xiaomi Mi 9T: from blackout to deep cleaning

Are you tired of the intrusive YouTube notifications on your Xiaomi Mi 9T, or want to free up precious megabytes of memory? com.google.android.youtube not only takes up space, but also consumes battery power in the background β€” even if you don't use it. In this article, we'll discuss 5 working methods to remove YouTube from your phone completely or at least turn it off forever.

It's important to understand that on the Mi 9T (as on other Xiaomi smartphones with MIUI firmware), YouTube is often embedded as a privileged app, which means that simply clicking "Delete" in the app menu won't work. But there are workarounds, from safely disabling to radically removing via ADB or unlocking the bootloader, and we'll look at options for users with different levels of training, from beginners to advanced.

Before you start, check your firmware version: go to Settings β†’ About Phone β†’ MIUI Version. Mi 9T (codename davinci) has the instructions for MIUI 12-14 and Android 10-12. If you have custom firmware (like LineageOS), the process may be different.

1. Method: Disable YouTube without deletion (without root)

The easiest and safest method is to deactivate the app through settings, which won't free up memory, but will stop background activity and notifications, and is suitable for users who want to temporarily freeze YouTube.

Instructions:

  • πŸ“± Open the Settings. β†’ Annexes β†’ Application management.
  • πŸ” In the search bar, type β€œYouTube” and select the application from the list.
  • 🚫 Press "Disable" (the button may be gray). Confirm the action.
  • βš™οΈ Additional: Go to Notifications and turn off all alerts.

Once disabled, the YouTube icon will disappear from the home screen and the app will no longer be updated via Google Play, but its data will remain in the phone's memory. To return YouTube, just go back to the settings and click "Enable".

⚠️ Note: On some versions MIUI The "unplug" button can be blocked. In this case, try the method with ADB (Section 3) or removal of updates (section 2).

πŸ“Š How often do you use YouTube on your smartphone?
Every day.
Several times a week
Nearby
Never.

2. Method: Remove YouTube Updates (free up space)

If you don’t want to get rid of YouTube completely, but you need to make room, removing the updates will bring the app back to the factory version, saving up to 100-150 MB (the size depends on the current version of YouTube).

How to do this:

  1. Go to Settings β†’ Applications β†’ Application Management β†’ YouTube.
  2. Click on the three dots in the top right corner and select β€œDelete Updates”.
  3. Confirm the action. The app will return to the version preinstalled in the firmware.

Then, block the automatic YouTube update on Google Play:

  • πŸ›’ Open Play Store, find YouTube.
  • πŸ”„ Click on three dots next to the β€œUpdate” button and uncheck the β€œAuto Update” boxΒ».
Action.The effectReversibility
Disabling the applicationStops background activity, removes the iconYes (can be turned back on)
Removal of updatesReleases up to 150 MB, returns the factory versionYes (updated via Play Store)
Removal via ADBComplete deletion for the user (system files remain)Yes (can be rebuilt by the team)
Removal with root rightsCompletely delete all YouTube filesNo (repeated firmware required)

⚠️ Note: If YouTube stops running after you delete the updates, it's OK. The factory version may not be compatible with the current firmware. In this case, either update the app manually or use the methods in the following sections.

3. Method: Delete YouTube via ADB (without root)

For users willing to use the Android debugging bridge (ADB), this method allows you to delete YouTube for the current user without obtaining root permissions.The application will disappear from the system, but its files will remain in the firmware (they can be restored by the team).

What you need:

  • πŸ’» Computer with Windows/Linux/macOS.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ› οΈ Utilities. ADB and Fastboot (download from Android site).
  • βš™οΈ Included debugging by USB phone-on.

Step-by-step:

Turn on Developer Mode (7 times click on Build Number) in About PhoneΒ»)|Activate "Debugging by" USBΒ» in β€œDeveloper settingsΒ»|Connect your phone to your PC and allow debugging|Check the connection with the adb device command-->

  1. Connect the Mi 9T to your computer and type in the terminal: adb shell pm uninstall -k --user 0 com.google.android.youtube
  2. If the command didn't work, try the alternative: adb shell pm uninstall --user 0 com.google.android.youtube
  3. Reboot your phone. YouTube should disappear from the app menu.

To return YouTube, use the command:

adb shell cmd package install-existing com.google.android.youtube

πŸ’‘

If ADB Does not recognize the device, try reinstalling Xiaomi drivers or using another USB-On Windows, the Mi utility can help. PC Suite.

4. Method: Complete removal with root rights

If you're ready for drastic measures and your Mi 9T already has root access (like through Magisk), you can delete YouTube completely, including system files. This method is irreversible without flashing your phone.

Instructions for root users:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/priv-app/PrebuiltGmsCore or find the YouTube folder in /system/app/ or /system/priv-app/.
  3. Delete the folders: YouTube and com.google.android.youtube (names may vary depending on the firmware).
  4. Clear the cache and data through Settings β†’ Apps β†’ YouTube (if the item is still available).
  5. Reboot the phone.

An alternative method is to use Terminal Emulator with root rights and enter:

su


mount -o rw,remount /system




rm -rf /system/priv-app/PrebuiltGmsCore/YouTube*




rm -rf /system/app/YouTube*




reboot

⚠️ Warning: Removing system applications can lead to unstable work MIUI, Especially if YouTube is integrated into Google services. TWRP Or OrangeFox.

What happens if you delete YouTube from root?
Complete removal of the system YouTube can cause errors in the work of other Google services, for example: - Problems with authorization in the Google account. - Incorrect operation of the Google Play Market. - Errors when updating the firmware through OTA. If after deleting the phone began to "glut", restore deleted files from the backup or reflash the device.

5. Method: Removal through Custom Recovery (TWRP)

If your Mi 9T has custom Recovery installed (like TWRP), you can delete YouTube without getting root, but with access to the system partition.

Step-by-step:

  • πŸ”„ Reset the phone to mode TWRP (clamp down on power. + Loudness up).
  • πŸ“ Go to Advanced. β†’ File Manager.
  • πŸ—‘οΈ Find and delete folders: /system/priv-app/YouTube and /system/app/YouTube (if they exist).
  • πŸ”„ Go back to the main menu and select Wipe. β†’ Dalvik/ART Cache.
  • πŸ”„ Reboot the phone.

If you have any errors after deleting, try flashing a Zip file with a YouTube uninstaller (such as Universal YouTube Debloter) available on the XDA Developers or 4PDA forums.

πŸ’‘

TWRP removal is one of the most reliable ways, but it requires you to unlock the bootloader beforehand and install custom Recovery. Without these conditions, it won't work.

6.Alternatives: How to use YouTube without an app

If you have removed YouTube but sometimes want to watch videos, there are a few alternatives:

  • 🌐 Web version: Open m.youtube.com in your browser (such as Chrome or Firefox). For convenience, add the site to the home screen via Add to the home screenΒ».
  • πŸ“± Third-party clients: Apps like NewPipe (no ad, with background play) or SkyTube (open source).
  • πŸ’Ύ Local playback: Download videos via Snaptube or TubeMate and watch without the internet.

Advantages of alternatives:

MethodPlusesCons
Web versionYou don't have to install anything superfluous.No background playback, high battery consumption
NewPipeNo advertising, background playback, video downloadNo official support, possible bugs
SnaptubeDownload video in high quality, built-in playerClosed source code, possible limitations

If you have chosen NewPipe, download it from the official website (newpipe.net), as Google Play does not have this app. To install it, you will need to allow installation from unknown sources (Settings β†’ Applications β†’ Special Access β†’ Install unknown applications).

FAQ: Frequent questions about removing YouTube from Xiaomi Mi 9T

❓ Can You Delete YouTube Without a Computer?
Without a computer, you can only disable or remove YouTube updates (sections 1 and 2). Complete removal will require ADB (section 3) or root access (section 4).
❓ Will YouTube be back after resetting its settings?
Yes. If you have a hard reset, all pre-installed apps, including YouTube, will recover. To avoid this, delete YouTube after reset or use ADB/root methods.
❓ Why, after removal, ADB YouTube is back again?
This is due to automatic system applications recovery in some MIUI firmware. To prevent YouTube from returning: Turn off automatic app updates in Google Play. Block the com.google.android.youtube package via ADB: adb shell pm hide com.google.android.youtube Use Debloater tools like Universal Android Debloater.
❓ How to delete YouTube on Mi 9T firmware EU (Xiaomi.eu)?
On custom firmware Xiaomi.eu or MIUI Pro YouTube can often be removed as a regular app. If it doesn't work: Use ADB (section 3). In TWRP, run the Magisk module to remove system applications (such as System App Remover). On Xiaomi.eu, the option of Priv-app Remover is also available in the firmware settings.
❓ Can You Delete YouTube Music with YouTube?
Yes, but these are separate apps. To delete YouTube Music, use similar commands: Through ADB: adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music Through root: delete /system/priv-app/YouTubeMusic folder.