Owners of Xiaomi Redmi 4X Often faced with a problem: even after removing the application through the standard menu, it continues to take up space in memory, leaves a cache or does not disappear from the list of installed programs. MIUI Android architecture 6.0/7.1, Unlike modern smartphones, the Redmi is powered by this device. 4X not always cleans correctly data/data and /system/priv-app β folders where the residual files are stored.
This article will not just list the ways of uninstallation, but will reveal the mechanisms of work. MIUI with applications: why some programs can not be removed through the Settings menu, how to circumvent manufacturer restrictions and what to do if after removal there are βartifactsβ in the form of empty folders or registry entries. MIUI Optimized Setup, and Advanced Setup with the ADB, root rights and even manual editing of system files, and we will focus on the unique problem of Redmi. 4X: version-conflict MIUI 8/9 Android-core 6.0, Which is why some of the systems APK Recovery after rebooting.
Why Standard Removal Doesn't Work on Redmi 4X
MIUI firmware on Redmi 4X modifies Androidβs standard uninstallation process by adding its layers of abstraction. Here are the key reasons apps arenβt completely removed:
- π Optimization mechanism MIUIΒ»: The system automatically creates backup copies APK-file /data/app-lib, Even if you delete the program from the menu, it's done for "quick recovery," but it often leads to space being taken up.
- π Division into user and system APK: Applications installed by the manufacturer (e.g. Mi Video, Mi Music) are stored in the /system/priv-app and do not have a "Delete" button in the interface.
- ποΈ Incomplete cache cleaning: After uninstallation, files remain in the /data/data/name-packet and /sdcard/Android/data/the name of the package that is used up to 30% from the original size of the application.
- π Systemic autorecovery APK: On the Redmi. 4X s MIUI 8/9 Some pre-installed programs (such as Mi Drop) are restored after a reboot due to triggers in the system. /system/addon.d/70-miui.sh.
The problem is compounded by the fact that Redmi 4X does not support Project Treble (introduced in Android 8.0), so modifying system partitions requires special care. For example, removing APK from /system without adjusting the package.xml file can lead to a bootloop ( looped reboot).
β οΈ Attention: On Redmi 4X s MIUI Global Stable cannot be removed from system applications through ADB Trying to do this will lead to the error adb: failed to copy '/system/priv-app/MiApplication/Application.apk' to '/system/priv-app/Application/' Read-only file system.
Method 1: Remove via the standard MIUI menu (for custom applications)
This method is only suitable for programs installed by you from Google Play or APK-System applications (e.g. Mi Browser, Cleaner) cannot be removed as the Remove button will be inactive.
Instructions:
- Open Settings β Applications β Application Management.
- Select the app you want from the list. If you don't have one, tap three dots in the top right corner and select "Show all apps."
- Press "Delete" (if the button is active). Confirm the action.
- Go to Settings β Storage β Cleanup and start manual garbage cleaning to remove residual files.
After that, check the folders:
- π /sdcard/Android/data/bundle name (e.g. com.facebook.katana for Facebook)
- π /data/data/Packet name (requires root rights to access)
If the folders are left, they must be manually deleted (see Method 4).
βοΈ Checklist before removal
Method 2: Disable system applications without root (MIUI Optimized Setup)
If the Remove button is inactive but the app is in the way (e.g. Mi Video is constantly hanging in the memory), it can be disabled, which hides the program from the menu and stops its processes, but does not free up space on the disk.
How to turn it off:
- Go to Settings β Applications β Application Management.
- Select a system application (such as Mi Drop).
- Click βDisableβ (the button will appear if the deletion is blocked).
- Confirm action. The application will disappear from the launcher and stop running.
To return the app, go to Settings β Apps β Menu (three dots) β Show disabled and click βEnableβ.
β οΈ Warning: Disabling system services (e.g. MiuiDaemon or SecurityCenter) may result in unstable operation MIUI: Disappearance of notifications, synchronization errors, or even a soft brick (the device is turned on but not loaded fully).
Method 3: Remove via ADB (without root, but with bootloader unlocked)
This method allows you to remove any applications, including system ones, but requires you to pre-unlock the bootloader on Redmi 4X. If the bootloader is locked, ADB will not be able to modify system partitions.
Step-by-step:
- Activate Developer Mode: Go to Settings β About Phone β MIUI version and tap 7 times on this item.
- Enable USB Debugging in Settings β Additional settings β For developers.
- Connect Redmi 4X to your PC and confirm debugging permission.
- Open the command prompt (Windows) or terminal (Linux/macOS) and type:
adb devices(Your device should be displayed. If not, install Mi USB Driver drivers.)
adb shell
pm list packages | grep 'name packet'(For example, for Mi Browser, use grep 'browser'.)
pm uninstall -k --user 0 name packet(Example: pm uninstall -k --user 0 com.android.browser.)
After the command is executed, the application will be removed for the current user (--user 0). To return it, you will need to reset the settings or flashing.
| Annex | Packet name | Can I remove it through ADB? |
|---|---|---|
| Mi Browser | com.android.browser | Yes. |
| Mi Music | com.miui.player | Yes. |
| Mi Video | com.miui.videoplayer | Yes. |
| Cleaner | com.miui.cleanmaster | Yes (but it can disrupt the optimization) |
| Security (Security) | com.miui.securitycenter | No (critical for MIUI) |
β οΈ Note: Delete com.miui.securitycenter or com.android.settings via ADB will result in a broken interface MIUI. Restore the device only through Fastboot and full flashing.
π‘
Before removing system APKs through ADB, back up /system with the adb backup -f system.ab -system command to help restore the device in case of an error.
Method 4: Complete removal with root rights (manual cleaning)
If you have a bootloader unlocked and Magisk or SuperSU installed, you can uninstall the app without a trace, including its files in /data and /system.
Instructions:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /data/app and find a folder with the packet name (e.g. com.facebook.orca for Messenger). Delete it.
- Go to /data/data and delete the folder with the same packet name.
- If the application is system, go to /system/priv-app or /system/app and delete the corresponding folder.
- Clear the cache in /cache and /sdcard/Android/obb (if there are application files).
For complete cleaning, it is also recommended:
- π§Ή Delete the records from /data/system/package.xml (Requires manual editing of the file).
- π Check it out. /data/dalvik-cache To have files with the name of the package and delete them.
- π± Reboot your device and run Optimized Setup manually through Settings β The phone. β Optimization of the system.
Example of manual editing of package.xml:
<package name="com.facebook.katana" codePath="/data/app/com.facebook.katana-1" ... />You need to delete the entire line with the mention of the package.
What to do if the application is restored after removal?
Method 5: Use of third-party utilities (without root)
If unlocking the bootloader or getting root rights is not an option, you can use specialized utilities. They will not remove system applications completely, but will help to clean up residual files and disable unnecessary services.
Top.-3 utility 4X:
- π οΈ App Inspector: Shows all application files, including hidden ones. Allows you to manually delete cache and data without rooting.
- π§Ή SD Maid: Clears the residual files in /sdcard and /data (Requires permission to access folders).
- π§ Package Disabler Pro: Disables system applications without removal (similar to built-in shutdown in the system) MIUI, but with extended settings).
Example of working with SD Maid:
- Install the utility from Google Play.
- Run the scan in the "CorpseFinder" section (search for remnants of remote applications).
- Select files associated with the desired package and delete them.
- Go to AppCleaner and clear the cache for all apps (this will free up extra space).
Limitations of the method:
- β Can't remove APK from /system.
- β Doesn't clear the records in package.xml.
- β Safe for inexperienced users.
π‘
The side utility does not replace manual cleaning, but reduces the risk of system damage, and is best used in combination with other methods (for example, after removal through ADB).
Frequent Mistakes and How to Avoid Them
When you uninstall applications on Redmi 4X, users often face typical problems, and hereβs how to prevent them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The app has been removed but reappeared after the reboot | Auto-recovery script in /system/addon.d/ | Edit the script (see Method 4) or use ADB with the --user 0 flag |
| Mistake. INSTALL_FAILED_INVALID_APK When trying to reinstall the application | Residual files in /data/data | Remove the package folder manually or via SD Maid |
| The device hung on the MI logo after removing the system APK | Removed critical service (e.g. com.miui.securitycenter) | Restore via Fastboot or re-flash MIUI |
| adb: error: device unauthorized | Request for debugging via USB is not confirmed | Reconnect the device and confirm the resolution on the smartphone screen |
If Redmi 4X starts to brake or overheat after removing the application, follow the following steps:
- Restart the device in Safe Mode (press the power button β long tap on βSwitch offβ β βReboot in Safe Modeβ).
- Check the CPU temperature through AIDA64. If it's above 60Β°C, reset the cache to Recovery.
- Roll back the changes via adb install -r name packet.apk (if there is an APK backup).