Remove OEM apps (Redmi 7)

An experience of removing unwanted OEM apps from a Redmi 7 phone without root access.

I got hold of a Redmi 7 phone with MIUI 11 running on Android 9 recently and noticed the presence of a lot of apps that its user didn't need, like 'ShareMe' and 'Google Duo'. These OEM apps cannot be uninstalled the way other apps may be removed.

Then I came across Pavel Selivanov's post about removing unwanted miui apps which I found very helpful (and I would urge you to check it out). The following is a description of what I did after reading Pavel's post.

Android SDK Platform-Tools

Go here and download the SDK tool package for your OS. I used Linux but choose as per your platform.

For our purposes, we need adb (Android Debug Bridge), a tool that can be used to execute commands on an Android device.

Windows users will need to install USB drivers as well.

Prepare the phone

Enable Developer options

Go to Settings > About phone.

Keep tapping on MIUI version till a message says 'You are now a developer'.

Now we can access developer options.

Enable USB debugging

Go to Settings > Additional settings > Developer options.

Under DEBUGGING section, enable the USB debugging option.

A confirmation pop-up will appear. Tap OK.

Removing unnecessary apps

Connect to PC

After connecting phone to the computer via USB, open a terminal (or command prompt), navigate to the directory where platform-tools have been extracted. Then run,

adb devices

A daemon would start now (if it wasn't running already).

Your device may be listed now as 'Unauthorized'.

Accept the connection on your phone.

Re-run adb devices and your device would now appear as 'trusted'.

Drop to the shell with

adb shell

Finding apk name

We can use pm tool (package manager) to uninstall apps from inside adb shell.

To change the status of an app in phone, you need to know its apk name.

Go to Settings > Manage apps.

Select the app you wish to uninstall and click on the info icon on the top right corner.

The package name is displayed under APK name.

Disabling an app

Before uninstalling an app, you can try disabling it and use the phone to check if everything works fine without the app.

pm disable-user <apk_name>

This way, if something goes wrong due to the unavailability of that app, you can just re-enable it with

pm enable <apk_name>

If the system doesn't miss the app, you can uninstall it.

Uninstalling an app

Uninstall an app with

pm uninstall --user 0 <apk_name>

where <app_name> is the app that you need uninstalled.

0 is the user id for root.


You could use a script like the one below to uninstall or disable packages.


# Packages to uninstall
    # Add or delete as needed

    # Xiaomi
    "com.xiaomi.glgm"                                 # Games?
    "com.xiaomi.mipicks"                              # Mi App manager
    "com.xiaomi.midrop"                               # ShareMe
    "com.xiaomi.payment"                              # 
    "com.mi.globalbrowser"                            # Mi browser
    ""                             # India only [[WARNING]]

    # MIUI
    ""                             # MIUI System Ads
    "com.miui.bugreport"                              # Bug report
    ""2                               # Weather
    "com.miui.compass"                                # Compass

    # Google
    ""                              # Google Lens

    # Android
    ""                      # YouTube
    ""                  # Google photos
    ""                 # Google Duo
    ""    # Google search
    ""               # Digital Wellbeing

    # Default Facebook

    # Others

# Packages to disable
    # Add or delete as needed
    ""                            # Calendar
    ""              # Downloads
    ""                        # Themes

for i in ${uninstall[@]}; do
    #pm uninstall --user 0 $i  # uncomment as needed
    echo $i


for i in ${disable[@]}; do
    #pm disable-user $i  # uncomment as needed
    echo $i

Disable Developer options

Once you are done, disable USB Debugging at Settings > Additional settings > Developer options if you no longer need it.


Uninstalling some apps can cause problems for your phone.

For example, people have shared here that uninstalling apps like 'MIUI Gallery' ( and 'Xiaomi Find Device' (com.xiaomi.finddevice) can result in soft-bricking the phone.

See more