Autorun on Xiaomi: How to turn it on for apps and why it shuts down

What is Auto Launch on Xiaomi and Why You Need It

The MIUI AutoRun feature is one of the most talked-about apps among Xiaomi, Redmi and POCO smartphone owners. It determines which programs can automatically start when the device is turned on or after a reboot, and also affects their operation in the background. Without the right setup, you may find that messengers (such as WhatsApp or Telegram) do not send notifications, activity trackers stop syncing, and music services are interrupted when the screen is blocked.

Unlike other manufacturers, Xiaomi aggressively optimizes background activity through MIUI Optimization.This extends battery life, but often breaks the logic of the application. Autorun is part of this system, and its setup requires understanding how MIUI manages resources. For example, on the Redmi Note 12 Pro+ or Xiaomi 13 Ultra, optimization algorithms may differ from those used in the budget POCO M5 or Redmi A2+.

It is important to distinguish between two concepts:

  • πŸ”„ Auto Start – permission to automatically start the application when booting the system.
  • πŸ“± Background activity – the ability of a program to run in a folded state (for example, playing music or tracking location).
  • ⚑ Battery optimization – limitations that MIUI imposes on applications to save charge.

Where is the Auto Start setup in MIUI

The path to the autorun menu depends on the MIUI version and the smartphone model. In recent versions (for example, MIUI 14/15 on Xiaomi 14 or Redmi Note 13 Pro), the interface has been simplified, but the logic has remained the same.

  1. Open the settings (cog icon).
  2. Go to the Apps β†’ Application management.
  3. Click on the three dots in the top right corner and select AutoRun.

On some devices (such as the POCO F5 or Redmi K60), the path may look different:

Settings β†’ Applications β†’ Permissions β†’ Autorun

If you have MIUI 12.5 or older but don’t have AutoRun on the menu, try an alternative way to:

  • πŸ” Enter the word "autostart" in the settings searchΒ».
  • πŸ“Œ On some firmware, the function is hidden - use the instructions for hidden settings.
πŸ“Š What version? MIUI You're using it?
MIUI 12 or older
MIUI 13
MIUI 14
MIUI 15
I don't know.

Step-by-step: how to enable auto-start for the application

Let’s analyze the process on the example of Telegram (Viber, Spotify, Google Maps and others are similarly configured).

  1. Open the autorun settings (see previous section).
  2. In the list of applications, find the desired one (for example, Telegram) and activate the switch next to it.
  3. Return to Application Management, select the same app and go to Permissions.
  4. Turn it on: πŸ”” Showing notifications πŸ”„ Auto-start (if there is a separate item) ⚑ Background activity or No restrictions (in Battery Optimization)

On devices with MIUI 14+, after auto-start, it may be necessary to restart the smartphone for the changes to take effect.

Enable autostart in the main menu | Allow background activity | Turn off battery optimization for the application |Reboot device (for MIUI 14+) | Check notifications after setting-->

Why Auto Starting Shuts Down on Its Own

Xiaomi users often experience auto-run settings reset after a system update or after a while.

Reason.How it manifestsDecision
MIUI UpdateAfter the update, permissions for all applications are resetSet up AutoRun Again and Disable Automatic Updates
Optimizing the batteryApps are killed in 5-10 minutes in the backgroundDisable optimization for a specific application in Settings β†’ Battery
Reset to factory settingsAll permits are resetRestore settings from backup or configure manually
Conflict with β€œSecurity”Antivirus or Memory Cleaner Blocks Auto-RunAdd the app to the exceptions in Security β†’ Optimization

On the POCO X5 Pro and other Game Turbo devices, auto-start can be blocked due to performance mode.

Settings β†’ Special features β†’ Game Turbo β†’ Settings β†’ Disable optimization for non-gaming applications
How to check if MIUI kills your app in the background?
Install AccuBattery or Greenify (root rights required for full analysis) and logs, see which processes are closed by the system. MIUI Optimization killed [app_name] β€” Your app is a victim of optimization.

Hidden Auto Start Settings: How to Access

On some firmware (especially on Redmi for the global market), the AutoRun item is hidden to unlock it:

  1. Activate Developer Mode: Settings β†’ About Phone β†’ MIUI Version (click 7 times)
  2. Go back to Settings β†’ Additional and open for developers.
  3. Find Show Hidden Settings (or Show Hidden Settings) and turn it on.
  4. Reset the device.

After that, the AutoRun tab will appear in the Application Management menu, and if it is not available, try an alternative method using ADB:

adb shell settings put global hidden_api_policy 1

πŸ’‘

On devices with MIUI EU (European firmware), hidden settings are often available by default. To check the firmware version, go to Settings β†’ About Phone β†’ MIUI version.

Auto-Run for System Applications: What Can and Cannot Be Disabled

In the autorun list, you'll see not only custom programs, but also Xiaomi system services, some of which may cause the device to run in an unstable way, and what you can touch and what you can't touch:

  • βœ… You can turn it off: 🎡 Mi Music (if you don't use it) πŸ“Ί Mi Video (alternatives: VLC, MX Player) πŸ“Š Mi Browser (if you use Chrome or Firefox)
  • ❌ You can't turn it off: πŸ”§ com.android.systemui (system interface) πŸ“± com.miui.home (launcher) MIUI) βš™οΈ com.miui.securitycenter (security center) πŸ”‹ com.miui.powerkeeper (Battery management)

⚠️ Warning: Disabling autorun for com.google.android.gms (Google services) will cause problems with Google Play, Gmail, and other apps. If you notice push notifications have stopped working after the changes, return your default settings.

Features of auto-run on different models Xiaomi

Autorun control algorithms may vary depending on the device series and firmware version.

Model/SeriesFeatures of auto-startRecommendations
Xiaomi 13/14, Redmi K60Aggressive battery optimization, auto-start resets after updatesDisable automatic updates or use ADB to fix settings
POCO F/X seriesLess restrictions, but there are conflicts with Game TurboDisable Game Turbo for Non-Game Apps
Redmi Note 10/11/12Frequent notification bugs due to background optimizationSet up Auto Start + Disable MIUI Optimization in Developer Settings
Redmi A Series (budget)Limited settings, no separate auto-start menuUse ADB or third-party utilities like AutoStart

On Xiaomi Pad 6 and other Xiaomi tablets, the logic of autorun is similar to smartphones, but there is a caveat: because of the large screen, the system keeps applications in memory longer. However, after blocking the screen, background processes can still be killed. The solution is to turn on the Always Active Screen mode in the display settings (but this will reduce battery life).

πŸ’‘

On devices with a Snapdragon processor (for example, Redmi K70), autorun is more stable than on MediaTek (for example, Redmi Note 12 5G), where bugs with background processes are more common.

Frequent Mistakes and How to Avoid Them

Even after you set up autoruns correctly, users have problems, and let's look at the typical errors:

  1. Notifications don't come, even though autorun is enabled Reason: background activity is turned off or battery optimization is turned off. Solution - check both settings in the application settings.
  2. Autostart resets after reboot Reason: bug in firmware. Solution - update MIUI before the latest version or use it ADB For settings: adb shell cmd appops set [package_name] RUN_ANY_IN_BACKGROUND allow
  3. The app starts, but immediately closes the reason: conflict with Security or Game Turbo. Solution - add the app to the exceptions.

⚠️ Note: On some devices (e.g. Xiaomi) 12T) after manual activation of auto-start for 10+ The system starts to ignore the settings to avoid this, limit yourself to the 5-7 most important programs.

πŸ’‘

If you reboot your smartphone frequently (for example, due to firmware testing), back up your autorun settings using the Swift Backup app (root required).

Can I turn on auto-run for all applications at once?
No, MIUI doesn't have that feature. You have to manually configure each application, but you can use ADB for batch configuration (you need to know the command line).
Why does the MIUI update shut down auto-start?
This is a feature of the system: major updates (for example, from MIUI 13 to MIUI 14) reset all permissions, the solution is to disable automatic updates or create a script to restore settings.
How to check if auto-start for an application is working?
Install Activity Launcher from Google Play and check if the app starts after the reboot. Alternatively, use ADB: adb shell am start -n com.example.app/.MainActivity (replace com.example.app with your app package).
Are there alternatives to auto-start for background work?
Yes, we can use it: πŸ”„ Scheduled tasks in Automate or Tasker (for forced start-up). ⚑ Developer mode β†’ Do not limit the background processes. πŸ“± Third-party launchers (such as Nova Launcher) that are less conflicting with the MIUI.
Why does POCO auto-run work differently than Redmi?
POCO uses a modified version of MIUI with a different optimization algorithm, for example, on the POCO F4 GT, auto-run for gaming applications is allowed by default, but is blocked for instant messengers.