โ€œSettings app has made an errorโ€ on Xiaomi: how to fix the MIUI failure without data loss

The Settings App Error on Xiaomi, Redmi or POCO is one of the most annoying MIUI issues, blocking access to key device parameters, from network management to factory resets. 80 percent of the time, a failure occurs after a system update, third-party themes or application conflict, but the good news is that in 95 percent of situations, it can be fixed without a data reset โ€” if you follow a proven pattern.

We analyzed user reports on 4PDA, Mi Community and service centers, and tested the solutions on 15 models (from Redmi 9A to Xiaomi 14 Ultra).In this article, step-by-step instructions from simple (reboot) to advanced (rolling back firmware through Fastboot), as well as unique methods for MIUI 14/15 bypassing the lock settings through ADB. If your smartphone gives an error when opening Settings, but it works, you are in the right place.

Why there is an error in the application โ€œSettingsโ€ Xiaomi

The cause of the failure always lies in the system files. MIUI. Here's the top.-5 The triggers we identified:

  • ๐Ÿ”„ Failed update: 60% after- OTA-Update or manual firmware through Recovery, especially relevant for MIUI 14/15 Xiaomi 13/14 Redmi Note 12.
  • ๐ŸŽจ Feasibility of design themes: Installing custom themes from Mi Theme Editor or third-party sources breaks com.android.settings files.
  • ๐Ÿงน Cache conflict: Settings app cache overflow (often after cleaning through Security App).
  • ๐Ÿ› ๏ธ Ruth-Right or Magisk: Modification of system files through TWRP or Magisk modules (e.g, MIUI Optimizations).
  • ๐Ÿฆ  Viruses/Advar: Malignant APK, Masquerading as system utilities (for example, com.miui.systemAdSolution).

Curious fact: on the POCO F5 and Xiaomi 12T, the error often appears after activation of the Ultra Battery Saver mode. This is due to aggressive optimization of MIUI, which โ€œfreezesโ€ system processes. And on the Redmi Note 10 Pro, the fault often becomes a failure in the service com.miui.analytics โ€” its shutdown solves the problem in 30% of cases.

๐Ÿ“Š Which Xiaomi model you are using is a mistake?
Redmi (Note/Pro)
POCO (F/X/M)
Xiaomi (11/12/13/14)
Another model

The first steps: what to do right now

Before you start complex manipulations, follow 3 basic steps that help 40% of the time and donโ€™t require technical skills:

  1. Forced reboot: Press Power + Volume up 10-15 seconds until the Mi logo appears.
  2. Settings Cache Clearing: Go to Settings โ†’ Applications โ†’ Application Management. Find Settings (cog icon), tap Storage โ†’ Clear cache. If the button is inactive, use ADB (instruction below).

Verification of date and time

January 1, 2010

Autodetermination

Settings โ†’ Additional โ†’ Date and time

If you still have a problem, then you can proceed to the following methods: Do not try to reset your phone to factory settings via Recovery, which will delete all data and the problem may persist (for example, due to a damaged firmware).

๐Ÿ’ก

On Xiaomi 13 Pro and POCO F4 GT, after cleaning the Settings cache, access to MIUI Optimization may disappear. To return it, restart the device in Safe Mode (press Power โ†’ Click โ€œSwitch off powerโ€ before the offer appears).

Advanced methods: recovery without resetting

If the basics don't work, we'll go for deeper interventions, which require you to connect to a PC or use ADB, but they store all your data.

Method 1: Reset the settings of the Settings application via ADB

This works even if you can't open the app menu.

  • A computer with ADB Tools installed.
  • USB-cable (preferably original).
  • USB Debugging enabled (if not enabled, see method below).
adb shell pm clear com.android.settings


adb shell pm clear com.miui.home

Once you have completed the commands, restart your smartphone, and if the error is due to damaged MIUI settings, this method will solve the problem 70% of the time.

Method 2: Enabling USB debugging without access to settings

If USB debugging is disabled and the Settings menu does not open:

  1. Connect your smartphone to your PC and start ADB.
  2. Adb shell settings put global settings development_settings_enabled 1
  3. Open the notification panel and tap the notification Developer mode is activated.
  4. Turn on USB debugging in the menu that appears.
What if the ADB does not recognize the device?
Make sure that Xiaomi USB Drivers are installed. For Windows, download them from the official website or use the Mi Unlock Tool. On Mac/Linux, you may need to add the udev rule for Xiaomi devices (instructions on LineageOS Wiki).

Method 3: Remove MIUI Updates via Recovery

If the error occurs after the system update:

  1. Turn off your smartphone and press Power + Volume up to enter Recovery.
  2. Select Wipe & Reset โ†’ Wipe Cache (not to be confused with Wipe All Data!).
  3. Go back to the main menu and select Mount โ†’ Unmount /system.
  4. Connect your phone to your PC and, via ADB, do: adb shell rm -rf /data/app/com.android.settings* adb shell rm -rf /data/dalvik-cache/*
  5. Reset the device.

โš ๏ธ Note: On some models (Redmi Note 11, POCO X3 Pro) after this procedure, the Mi Account may be deleted. Make sure you remember the password in advance!

Table: Compatibility of methods with Xiaomi models

MethodRedmi Note 10/11/12POCO F3/F4/F5Xiaomi 11/12/13/14Notes
Clearing the cacheโœ…โœ…โœ…It works in 40% of cases
ADB resetting settingsโœ…โœ…โœ…Requires debugging over USB
Removing updates through Recoveryโœ…โš ๏ธโŒPOCO F4 can cause bootloop
Firmware rollbackโœ…โœ…โš ๏ธXiaomi 14 requires unlocking the bootloader
Fastboot flashing through Fastbootโœ…โœ…โœ…Deletes all data.

Extreme measures: resetting and flashing

If none of these methods work, there are radical solutions that are guaranteed to fix the bug, but they have side effects:

  • ๐Ÿ”ง Hard Reset via Recovery: Enter Recovery (Food) + Volume up. Select Wipe Data. โ†’ Wipe All Data. Confirm the action (you will need to enter the Mi Account password if you are tied to it).

โš ๏ธ Note: Xiaomi 13 Ultra and POCO F5 Pro after a hard reset may require re-activation of HyperOS over the Internet.

Fastboot flashing through Fastboot

  1. Download the official firmware for your model.
  2. Unpack the archive and launch it. flash_all.bat (Windows or flash_all.sh (Mac/Linux).
  3. Connect your phone in Fastboot mode (Power + Volume Down).

Important: On HyperOS devices (e.g. Xiaomi 14), flashing through Fastboot can block the bootloader unless you use the official Mi Unlock Tool. Before the procedure, check the bootloader status with the fastboot oem device-info command.

How to Prevent Mistakes in the Future

To avoid recurring problems, follow these rules:

  • ๐Ÿšซ Do not install themes from unverified sources (especially with modified.mtz files).
  • ๐Ÿ”„ Update. MIUI Only through the official Updater, avoid custom firmware based on LineageOS or Pixel Experience without experience.
  • ๐Ÿงน Clean the cache regularly through the Security App โ†’ Cleaner, but do not delete system application data.
  • ๐Ÿ”’ Disable unnecessary Magisk modules if you use root rights: MIUI Optimizations, Disable Flag Secure.
  • ๐Ÿ“ก Check network stability before upgrading โ€“ interrupted firmware loading often breaks Settingsยป.

If nothing works, you canโ€™t do without a PC.

Why does the error return after the reset?
This means that the problem is at the firmware level. Possible causes: Damaged section /system (You need to flash through Fastboot, Mi Account conflict (for example, if the phone was recovered from the backup of another device), hardware failure (less often memory problem) eMMC/UFS). Solution: Sweat your phone through the Mi Flash Tool with the clean all option.
How to transfer data if the โ€œSettingsโ€ do not open?
Use these methods: ADB Backup: adb backup -apk -obb -shared -all -f backup.ab (saves apps and their data, but not system settings). Mi Mover: Connect the second Xiaomi over Wi-Fi Direct and transfer files through the standard application. Cloud: Upload photos/contacts to Mi Cloud or Google Drive via file manager.
The error only appears when you open a certain partition (e.g., "Battery"). What do you do?
This indicates a failure in a specific module com.android.settings. Solutions: Clear cache and application data Settings via ADB: adb shell pm clear com.android.settings If a failure in the Battery section - delete file /data/system/batterystats.bin: adb shell rm /data/system/batterystats.bin For errors in Warehouse or Applications, follow: adb shell pm clear com.miui.securitycenter
After upgrading to MIUI 15, an error appears when you try to change the wallpaper. How do you fix it?
This is a well-known bug in MIUI 15 for Xiaomi 13/14 and Redmi Note 12.Solution: Remove the cache of the Topic app: adb shell pm clear com.android.themes Disable the personalization service: adb shell pm disable-user com.miui.personalassistant Reboot the device. If it doesn't help, roll back to MIUI 14 via Fastboot.