Owners of Xiaomi Redmi 7 often face a problem: preinstalled YouTube takes up space in memory, consumes traffic in the background and is not deleted by standard means. Even after clicking โDeleteโ in the app menu, it remains in the system as an updated version on top of the factory, this is due to the policy of Google and Xiaomi, which integrate services at the MIUI firmware level.
But there are ways to get rid of it forever, from simply shutting it down to completely deleting system files. In this article, we will discuss 3 working methods (including root-free solutions), as well as alternative options for those who want to save memory but are not willing to risk system stability. Importantly, on Redmi 7 with MIUI 12+ firmware, some methods require additional steps due to the changed structure of the system folders.
Before you start, check:
- ๐ฑ Version MIUI: Settings โ The phone. โ Version. MIUI. This depends on the choice of method.
- ๐ Root rights: If they are not available, only methods 1 and 2 will work.
- ๐ฆ Free space: after removal, free ~150โ200 MB (excluding cache).
1. disable YouTube without deletion (safe way)
If you just hide an app and stop it from working in the background, this method is the easiest and doesn't require superuser rights. It's suitable for users who want to keep the ability to bring YouTube back.
Steps:
- Go to Settings โ Applications โ Application Management.
- Find YouTube on the list and tap it.
- Click โDisableโ (the button will become active if the app has been updated through Google Play).
- Confirm the action in the dialog window.
What's going to happen?
- ๐ซ The app will disappear from the menu and stop updating.
- ๐ต Background activity (traffic and battery consumption) will stop.
- ๐ If necessary, you can turn it back on in the settings.
โ ๏ธ Warning: The disabled application still takes up space on the device (~50โ70 MB) For complete removal, proceed to the following methods.
๐ก
If the โDisableโ button is inactive, try first to delete all YouTube updates through Settings. โ Annexes โ YouTube โ โฎ โ Remove updates
2. Removal via ADB (without root but with PC)
This method allows you to completely remove YouTube from your phone without getting root rights, you will need a computer with ADB drivers installed and USB debugging enabled on Redmi 7.
Step-by-step:
- Turn on USB debugging: Go to Settings โ About Phone. Tap 7 times on MIUI Version to activate Developer Mode. Go back to Settings โ Additional โ For Developers and turn on USB Debugging.
Connect your phone to your PC
Open the command line (Windows)
adb
Take the commands in turn.
adb devices(Your device should be displayed)
adb shell pm uninstall -k --user 0 com.google.android.youtubeIf the command is successful, YouTube will be removed for the current user (without affecting system files), and when you reset your phone or create a new profile, the application can return.
| Advantages of the method | Deficiencies |
|---|---|
| โ Doesn't require root rights | โ When you reset your settings, YouTube will return |
| โ Frees him. ~150 MB of memory | โ I need to work with the command line. |
| โ Safe for the system. | โ Does not remove pre-installed updates MIUI |
โ ๏ธ Note: On some versions MIUI 12.5+ The team can return the error DELETE_FAILED_DEVICE_POLICY_MANAGER. In this case, try an alternative command: adb shell pm hide com.google.android.youtube (steal the application, but will not delete files).
โ๏ธ Preparation for removal through ADB
3. Complete removal with root rights (for experienced)
If you have root access, you can delete YouTube at the system file level, which will permanently rid the phone of the app, but it takes care: wrong actions can cause MIUI to crash.
Instructions:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /system/priv-app/PrebuiltGmsCore or (for newer versions of MIUI): /system/priv-app/YouTube
- Delete the YouTube folder or files with the.apk and.odex extensions.
- Clear the cache and data through Settings โ Apps โ YouTube (if the item is still displayed).
- Reboot the phone.
B. Restriction of background activity
- Go to Settings โ Apps โ YouTube โ Battery.
- Select โLimit background activityโ.
- Turn off auto-start in Settings โ Battery and Performance โ Auto-start Management.
B. Use of the browser
- ๐ Log in to m.youtube.com via Chrome or Firefox.
- ๐ Add the site to the home screen as a shortcut (โAdd to the home screenโ in the browser menu).
- โก Saves up to 100 MB of memory compared to a full application.
๐ก
A lightweight version of YouTube Go or a web version of the site is the best choice for users who want to save memory without risking the system.
5. How to prevent YouTube from being re-installed
Even after deleting, Google Play may try to restore the app.
Method 1: Freeze through ADB
If you have removed YouTube via ADB, then write the following command:
adb shell pm disable-user --user 0 com.google.android.youtubeThis will block the possibility of automatic recovery.
Method 2: Disabling Automatic Updates
- Open Google Play.
- Go to profile โ Settings โ Auto-update applications.
- Select โDo not update automaticallyโ.
Method 3: Delete your Google account (radical)
- ๐ Delete your main Google account in your phone settings.
- โ ๏ธ This will disable all related services (Gmail, Play Market, etc.).
- ๐ To return access, just add the account again.
6. Frequent errors and their solutions
When you delete YouTube on Redmi 7, users face typical problems:
Error 1: โCanโt delete the packageโ
- ๐น Reason: No rights ADB or the application is protected by politicians MIUI.
- ๐น Solution: Check if debugging is included USB. Reconnect the cable (use the original one). Try the flag command. --user 0 (see section 2).
Error 2: YouTube is back after the reboot
- ๐น Reason: GmsCore System Process Recovers Remote Applications.
- ๐น Solution: Remove updates for Google Play Services. Use ADB for freezing (pm hide).
Error 3: Google Play is not working after deleting
- ๐น Reason: Google's critical libraries have been removed.
- ๐น Solution: Restore GmsCore.apk Backup. Fastboot phone over (extreme case).