Why Xiaomi doesn’t set the melody on the alarm clock and how to fix it

You chose the perfect wake-up ringtone, but Xiaomi stubbornly ignores your attempts to keep it on the alarm clock? The situation is familiar to many owners of smartphones on MIUI β€” the melody is either reset to a standard, or does not appear at all on the list available. The problem can lie in software failures, and in the peculiarities of the operating system itself.

In this article, we will discuss 7 The main reasons why Xiaomi does not put the chosen tune on the alarm clock, from banal format incompatibility to hidden restrictions. MIUI 12/13/14. You will also find step-by-step instructions for diagnosing and fixing the problem, including little-known settings that are not even written about in official documentation. 10/11/12, POCO X3/X4 mi 11/12, where the bug is most often found.

1. Inappropriate audio file format

The first thing to check is the format of your tune. MIUI doesn't support all alarm clock audio formats, and it's a common cause of failures. The system can "see" a file in a gallery or player, but refuse to display it in the alarm menu.

Officially supported only:

  • 🎡 MP3 (bitrate to 320 kbps)
  • 🎡 M4A (AAC-coding)
  • 🎡 WAV (without compression but of limited duration)

Files in FLAC, OGG or WMA formats will be ignored by the system. Moreover, even MP3 with variable bitrate (VBR) may not be recognized, a problem especially relevant for tunes downloaded from YouTube through converters - they are often saved in non-standard formats.

πŸ’‘

Use the Audio Converter app from Google Play to recode the file to an MP3 with a constant bitrate (CBR) of 192-320 kbps. This is guaranteed to solve the compatibility problem.

2. MIUI restrictions on file duration and size

Xiaomi imposes strict restrictions on the settings of audio files for alarm clocks, which the user does not warn about.

  • ⏱️ Longer than 5 minutes (300 seconds)
  • πŸ“± It takes over 10MB.
  • πŸ”Š Has a bitrate above 320 kbit / s

The system will simply ignore it when it selects it, without showing it in the list, while in other applications (for example, in Google Clock), the same melody can work without problems.

ParameterMaximum value for MIUIWhat happens when you get over
Duration5 minutes.The file does not appear in the list
File size10MBThe melody is dropped to standard
Bitrate (MP3)320 kbpsPossible sound distortion or failure
Frequency of sampling44.1 kHzThe file may not be reproduced.

Important: These restrictions apply even to files copied to /system/media/audio/alarms manually. MIUI checks the file settings every time the alarm clock is run.

3. Problems with the folder of melodies storage

By default, MIUI looks for alarm clock tunes in strictly defined folders:

  • πŸ“ /storage/emulated/0/Alarms/ (mainfolder)
  • πŸ“ /storage/emulated/0/Ringtones/ (sometimes, too)
  • πŸ“ /system/media/audio/alarms/ (system-melodies)

If you put a file in another folder (like Download or Music), the alarm clock won't see it.

  • πŸ”’ They have incorrect access rights (for example, reading only)
  • πŸ—‘οΈ Alarms folder is empty or deleted
  • πŸ”„ The file was moved, not copied (link is broken)

This problem is especially common in smartphones with encrypted storage (for example, Xiaomi 12T or Redmi K50).

Create an Alarms folder at the root of internal memory|Copy (Do not move!) the file into a folder|Check the access rights (must be rw-r)--r--)|Reboot your smartphone after adding a file-->

4. malfunction of the Clock application

The watch app itself (com.android.deskclock) in MIUI is known for its bugs, especially in versions 12.5–14.0.

  • ⏰ The melody is reset to standard after rebooting
  • πŸ”• Not all files from the Alarms folder are displayed in the list.
  • πŸ”„ When you save the chosen melody, nothing happens.

This is most often related to:

  1. Application cache – temporary files conflict with new settings.
  2. Database Errors – MIUI stores alarm settings in settings.db, which can be corrupted.
  3. shell conflicts – if you use an alternative launcher (like Nova Launcher), system applications may not work properly.

Once a week |After each update | Only after the reboot | Never had this problem-->

Decision:

  1. Clear the Cache of the Watch app to Settings β†’ Apps β†’ App Management β†’ Watches β†’ Storage β†’ Clear the Cache.
  2. If it doesn't work, reset the app settings (Reset button in the same menu).Warning: this will remove all your alarm clocks!
  3. For advanced users: delete the file /data/data/com.android.deskclock/databases/settings.db via the Root Explorer (superuser rights required).

5. Conflict with energy saving and background activity

MIUI aggressively optimizes background activity, which can interfere with the proper functioning of the alarm clock.

  • ⚑ The β€œUltra-Economies” or β€œBattery Super-Economies” mode is enabledΒ»
  • πŸ”‹ Appendix Watch added to "List of limited applicationsΒ»
  • πŸ›‘ Autocleaning function RAMΒ» It's aggressively operating.

The system can β€œforget” the tune settings or not start the alarm at all.

How to check:

  1. Go to Settings β†’ Battery and Performance β†’ Battery Management.
  2. Find the Watch app in the list and select β€œNo Limits”.
  3. Turn off RAM Cleanup when locked in Settings β†’ Special Features β†’ RAM Cleanup.
What if the alarm doesn’t work at all?
If the melody is not put and the alarm doesn’t work, the problem may be with Android System WebView. Update it to Google Play or roll back to the factory version via Settings β†’ Apps β†’ Show all apps β†’ Android System WebView β†’ Three dots β†’ Reverse updates.

Firmware bugs and ways of circumventing them

Some versions of MIUI contain critical bugs related to audio file processing, such as:

  • 🐞 V MIUI 12.5 (especially on the Redmi Note 9 Pro) the alarm clock resets the tune after any security update.
  • 🐞 V MIUI 13 for POCO F3 Files with Cyrillic names (alarm clock.mp3) not appearing on the list.
  • 🐞 V MIUI 14 (beta) melodies longer than 2 minutes are cut off when playing.

Decisions:

  1. Reverse to stable version (if you have beta)-prosewing).
  2. Manual editing of system files (Magisk or TWRP required) For example, you can replace standard tunes in /system/media/audio/alarms with your own files with the same names.
  3. Use a third-party application (such as Sleep as Android or Alarmy) that is not subject to system limitations.

πŸ’‘

If the problem has occurred after the MIUI update, check the official Xiaomi forum for known bugs.

Hardware restrictions (rare cases)

In less than 1% of cases, the problem lies in hardware malfunctions:

  • πŸ”Š The audio codec is damaged (for example, after falling or getting moisture).
  • πŸ“± Flash memory is faulty (files are damaged when writing).
  • πŸ”‹ Failures in the operation of the power controller, because of which the alarm clock does not receive enough energy to reproduce.

How to diagnose:

  1. Check if other sounds (calls, notifications, music) are playing, if not, the speaker or audio track is a problem.
  2. Connect the headphones – if the melody plays through them, but not through the speaker, the audio chip is to blame.
  3. Run the hardware test through the engineering menu (#4636## β†’ Audio).

⚠️ Warning: If your smartphone falls or comes into contact with water, don't try to repair it yourself.A damaged audio codec can short-circuit when you try soldering.

FAQ: Frequent questions about the alarm clock on Xiaomi

Can I put my tune on an alarm without root rights?
Yes, but with limitations: The file must be in MP3/M4A format and lie in the Alarms folder. Duration no more than 5 minutes, size up to 10 MB. If it doesn't work, try restarting your smartphone or clearing the Clock app cache.
Why did all the alarm clock tunes drop after the MIUI update?
This is a well-known problem with MIUI 12.5-14. When you upgrade, the system resets the Watch app settings to factory. Solution: Back up your Alarms folder before you upgrade. Once you update, re-select the tunes manually. If the files are missing, copy them back to the Alarms folder.
The tune is set, but the alarm doesn't ring.
Probable causes: πŸ”• Do Not Disturb Mode is on during the alarm clock. πŸ“΅ App Watch added to auto-start blacklist. πŸ”‹ The smartphone is discharged to 0% and does not have time to boot by the time of operation. 🐞 Firmware bug (especially relevant for the POCO X3 Pro on MIUI 13). Check the settings in Settings β†’ Annexes β†’ Application management β†’ The clock β†’ Auto-start.
Can I put music from Spotify/YouTube Music on an alarm clock?
No, you can't, but there are workarounds: Download the track through a third-party app (like Snaptube) in a format. MP3. Place the file in the Alarms folder. Use the Sleep as Android app, which can integrate with Spotify (premium subscription required). ⚠️ Attention: Downloading music from YouTube/Spotify may violate the terms of use of the services. Do it at your own risk.
Why can’t you play a tune longer than 5 minutes on Xiaomi?
It's an artificial restriction. MIUI, related: πŸ“± Saving battery charge (prolonged playback drains the battery). πŸ”Š Optimization of the audio system (long files can cause lags). πŸ“ Restricting the cache size of the Watch app, which can only be avoided through third-party applications (e.g. Alarmy) or modifying system files (root required).