How to roll back the application on Xiaomi: full instructions

Owners of Xiaomi, Redmi and POCO smartphones often face a situation when, after a planned update of the built-in software, the device begins to work unstable. App rollback becomes the only way to return the previous functionality without completely reflashing the device. This is especially true for system components such as MIUI Security, Gallery or Explorer, which, after an update, can cause increased battery consumption or sudden reboots.

Android allows you to manage versions of installed software more flexible than it seems at first glance. A return to the factory version is possible directly from the phone’s settings, but system utilities often require more advanced methods. In this article, we will discuss all the available methods, from simple data reset to use. ADB-commands for forced uninstallation of updates.

Before you start taking action, you need to understand the risks: improper rollback of critical system processes can lead to a bootloop (cyclical reboot), so before starting any manipulations, make sure that your personal data is stored and the battery is at least 50%.

Why there is a need to roll back the software

Xiaomi developers are constantly releasing updates to optimize the MIUI and HyperOS shell. However, given the huge number of models and configurations of iron, testing is not always perfect.

The most common cause of complaints is battery optimization: After an update, the system application can begin aggressively "killing" background processes, which stops receiving notifications from messengers, in which cases, returning to the previous, more stable version often solves the problem.

⚠️ Note: Recurring system applications on Xiaomi may disrupt some security features.If you're not sure about your actions, it's best to wait for the official patch from the developers.

It can also be a change in the interface or the removal of familiar features, for example, in new versions of the Gallery, they often change the sorting algorithms or add advertising that was not in the old builds, and the user can choose the version of the software that he finds most convenient.

Sometimes the problem is not the application itself, but the version conflict: If you only update one system application and the rest are on the old versions, you may have libraries desynchronized, in which case a clean installation or a full rollback of all components may be the only way out.

📊 What is the most common problem you have experienced after the update?
Increased battery consumption
Lags of the interface
Disappearance of notifications
Advertising in system applications
Everything worked fine.

Standard Method Through Android Settings

The safest and easiest way for anyone to use is to use the built-in app management menu, which allows you to remove the updates, returning the app to the state it was (at the time of the phone purchase).

To do the rollback, go to the Settings menu of your smartphone. Find the Apps (or All Apps) section and select the problem program from the list. If you don't see the desired name in the list, click three dots in the corner of the screen and select Show System Processes.

In the app information menu that opens, look at the bottom of the screen or the three-dot menu in the top right corner, and there should be a Remove Updates button, and clicking on it will start the process of resetting the version to the factory.

☑️ Checklist before removing updates

Done: 0 / 4

After confirming the operation, the system will delete the files of the new version and restore the original version. APK-This usually takes a few seconds. It is important to note that this method does not delete your personal data (cache, logins, settings) unless you click on a separate button "Clear Data».

But there's a limitation to this: it only works if the app was preinstalled by the manufacturer. For programs you downloaded yourself, the Remove Updates button will be missing or inactive, so only manually installing the old version (APK) on top of the new one will help, but that requires disabling signature verification, which is difficult to do on modern Android.

Data reset and cache cleanup

Often users confuse rolling back an application with a full reset, and if your goal is not to return the old version of the code, but simply to fix the errors in the current one, then just clean up the data, which will return the application to the post-install state by deleting all settings and temporary files.

To do this, go back to Settings → Apps. Select the app you want and find the Clean (or broom icon) button at the bottom of the screen, and you will be offered two options: Clear the cache and Clear all data.

Action.What's removedImpact on accountsRisks.
Clearing the cacheTemporary files, thumbnailsIt doesn't.Minimum
Clearing the dataSettings, logins, databasesRe-entry requiredLoss of local data
Removal of updatesFiles of the new version of APKIt doesn't.Return of old version bugs
Deletion of the annexAll program filesFull exit.Losing all progress

Use cache cleanup if the application is just running slowly or displaying errors. This is safe and does not require re-authorization. If the problem is deeper - for example, the application crashes when you start or does not save settings - then resort to a complete data cleanup.

⚠️ Warning: Clearing the data of the system application "Security" or "Google Play Services" may lead to resetting permissions and recalibrating the battery.

Once the data is cleared, the app will launch as a first-time experience, and you'll have to re-accept the user agreement, set up notifications, and possibly log in to your account, a great way to refresh the software without having to look for older firmware versions.

💡

Before clearing the data of messengers (WhatsApp, Telegram), be sure to back up chats in the cloud, otherwise the history of correspondence will be lost irretrievably.

Use of debugging by USB and ADB

For advanced users who have not been helped by standard methods, there is a more powerful tool, Android Debug Bridge (ADB), which allows you to forcibly remove updates even for those system applications that are protected from normal removal, which is actually a “rollback” to the factory state at the system level.

To get started, you will need a computer (Windows, macOS or Linux), USB-Xiaomi cable and installed drivers. On the smartphone, you need to activate the developer mode. To do this, go to About Phone and quickly press 7 times on Version. MIUI (or OS).

Then on the menu Advanced settings → For developers, include the Debugging item USB. When you connect to your computer, you'll see a request for debugging permission on your phone screen, be sure to confirm it. You may also need to turn on "Installation through" USB» and “Debugging through Wi-Fi».

adb shell pm uninstall -k --user 0 com.miui.securitycenter

The command above is an example of how you can uninstall security center updates. The syntax of pm uninstall with the --user 0 flag removes the app only for the current user without affecting the system partition. This allows you to restore the application at any time with a simple reset of the phone settings.

With ADB, you can not only remove, but also block auto-update specific packages, which is useful if you found a stable version of the application and want to prevent the system from updating it automatically through GetApps or Google Play.

List of popular rollback packages
com.miui.securitycenter (Security)|com.miui.gallery (Gallery)|com.android.browser (Browser)|com.miui.weather2 (Weather)|com.xiaomi.scanner (Scanner)

Manual installation of older versions of APK

If the built-in Remove Updates feature is not available or working, you can try installing an older version of the app manually, a method called downgrade, but modern versions of Android have protections that prevent you from installing an older version on top of a newer one.

To get around this limitation, it often requires a full reset of the phone (Wipe Data) before installing the older version, which is extremely inconvenient.The alternative is to use modified package managers or root rights, but this is already beyond secure use.

A more gentle option is to search for modified versions of apps (Mod APKs) that have their version check feature cut out or ads removed, which are often found on specialized forums dedicated to Xiaomi. But be aware of the security risks: downloading APKs from third-party resources, you trust unknown developers to access your data.

Installation APK-The system can manually issue a warning of a potential threat. MIUI It can also block the installation. To continue, sometimes you need to turn off Device Protection in the security settings or use a special Installer. APK.

⚠️ Attention: Installation APK-Files from unverified sources are the main way that a smartphone is infected with miner viruses and password stylers. Use only trusted repositories like APKMirror.

If you still decide to manually downgrade, be sure to disable automatic updates to apps in Google Play and the GetApps store. Otherwise, the system immediately after your successful installation of the old version will download and install the new, reducing all efforts to zero.

💡

The most reliable way to lock in the version of the application is to disable auto-update for a specific application in the Google Play store (by unchecking the app menu).

Frequent questions and problems with rollback

The process of rolling back applications on Xiaomi generates a lot of questions for users, and below we have collected the most popular ones so that you can quickly find the answer without looking for additional information.

Can I roll back the entire Android version?
Yes, but it's a complicated procedure called firmware downgrade, which requires unlocking the bootloader, using the Mi Flash Tool, and completely cleaning up the phone's data, which is risky for ordinary users and can lead to a loss of warranty.
What to do if the “Remove Updates” button is inactive?
This means that the application is not system or it is already in the factory version. For third-party applications (Instagram, games), rollback is possible only through root rights and special snails, or through emulators on a PC.
Will my emails disappear after the kickback?
When using the Remove Updates feature, the correspondence is usually saved because it is stored in a separate section of user data, but with Data Clearing or manual reinstallation of APK, all local history will be deleted without recovery.
Why did the app update itself again after the rollback?
Chances are you have automatic update enabled in the app store settings: Go to Google Play or GetApps, find this app in the update list and disallow auto-update specifically for it.
Is it safe to use older versions of system applications?
Using older versions carries security risks, as they may have unsealed holes, and it is recommended to use older versions only temporarily, until the official fix from Xiaomi is released.

To sum up, rolling back an app on Xiaomi is an effective tool to combat software errors. Always start with the safest methods: clearing the cache and removing updates through settings. Using ADB and manually installing APKs requires caution and understanding the processes going on in the system.