You try to put your favorite song on the alarm clock in Xiaomi, but the system stubbornly ignores your choice or makes a mistake? This problem is familiar to many owners of smartphones on MIUI — from the budget Redmi Note to the flagship Xiaomi 13. 80% of the time, the fault is not technical problems, but hidden firmware restrictions or user missteps.
In this article, we’ll look at all the possible reasons why the alarm melody isn’t set, from the banal “file in the wrong format” to system bugs that require resetting. You’ll get unique solutions for MIUI 12-14 that you won’t find in standard instructions, including bypassing restrictions through ADB and third-party apps, and at the end, FAQs that answer the most common questions on your device model.
We warn you right away: if you use Xiaomi with global firmware, some of the features may be blocked by the manufacturer, but even then there are workarounds – read on.
1. Inappropriate audio file format: what tunes MIUI supports
The most common reason is that the system simply does not see your file due to the inappropriate format. Xiaomi officially supports alarm clocks only:
- 🎵 MP3 (bitrate up to 320 kbit / s, frequency 44.1 kHz)
- 🎵 M4A (AAC-Codecs used in iTunes)
- 🎵 WAV (without compression, but takes up a lot of space)
- ❌ Not supported: FLAC, OGG, WMA, APK (Yes, some are trying!
The problem is that MIUI doesn't show an "inappropriate format" error -- it just doesn't show the file in the selection list, for example, if you downloaded a song to FLAC from VK Music or YouTube Music, the system will ignore it.
How do you check the format? Click on the file in Explorer, select Properties → Details. If it says FLAC or OGG, it needs to be converted.
- Use free converters: Online-Convert, CloudConvert or Audacity.
- Select the MP3 output format with a bitrate of 192-320 kbit / s.
- Save the file to the Ringtones folder (create it in the root directory if it is not).
⚠️ Note: If you convert a file from FLAC into MP3, Some of the sound quality will be lost. It's not critical to an alarm clock, but if you care about quality, use it. M4A (AAC).
2.The file is in the wrong folder: where MIUI is looking for tunes
Xiaomi scans for tunes only certain system folders, and if your file is in Downloads or on a memory card, the alarm won't see it. Here's the full list of folders that the system checks.
| folder | Way | Notes |
|---|---|---|
| Ringtones | /storage/emulated/0/Ringtones/ | The main folder for alarm clock melodies and calls |
| Notifications | /storage/emulated/0/Notifications/ | For notifications, but sometimes MIUI scans it. |
| Music | /storage/emulated/0/Music/ | Only if the file is in MP3/M4A format |
| MIUI | /storage/emulated/0/MIUI/ringtone/ | Hidden folder for standard tunes |
How to transfer the file to the correct folder?
Open a file manager (e.g. Files by Google or Mi File Manager)
Find your audio file (usually in Downloads or Music)
Click "Select" → "Copy"
Go to the Ringtones folder (create it if not)
Insert the file and restart the smartphone-->
If you don't have a Ringtones folder, you can create it manually. Importantly, the name should be exactly the same as the table (with capital letters, no spaces). After you transfer the file, be sure to restart the device - MIUI scans the folders only when you start the system.
⚠️ Note: If you use a memory card (microSD), MIUI You may not see the files on it because of Adoptable Storage limitations.
3. MIUI Limitations: Why the System Blocks Custom Melodies
Since MIUI 12, Xiaomi has imposed a number of restrictions on the use of custom alarm melodies.
- 🔒 Security Policy: Blocking Modified Files.
- 📱 Battery Optimization: Some Formats Consume More Energy.
- 🎵 License Agreements: Prohibition of Use DRM-track-protected.
MIUI 14 adds file metadata verification: If the tags say "Copyright" or "DRM," the system blocks it from setting as an alarm clock tune, for example, tracks downloaded from Apple Music or Tidal may not work even after converting to MP3.
How do you get around the restrictions?
- Delete Metadata: Use MP3Tag (Windows) or Star Music Tag Editor (Android) to clean up tags.
- Rename the file: Avoid names with #, $, % characters.
- Use it. ADB (Adb shell settings put global settings ringtone_uri "content://media/internal/audio/media/123" (where 123 — ID your file in the media base).
How to find the file ID in the media base?
4. Clock app crashes: how to reset alarm clock settings
Sometimes the problem isn't with the file, but with the Watch app itself (com.android.deskclock). If the melody isn't set even for standard sounds, try:
- 🔄 Clear the cache: Settings → Annexes → Application management → The clock → Clear the cache.
- 🗑️ Reset settings: in the same menu, select "Storage» → «Delete the data" (all alarm clocks will be reset!).
- 🔧 Update the app: download the latest version of Google Clock from the Play Market (it often runs more stable than the standard one).
If the reset didn’t help, check the app’s permissions:
- Go to Settings → Applications → Hours → Permissions.
- Make sure it's on: 📁 Storage (to access files) 🔔 Notifications (for alarm clock operation) 🕐 Auto-start (to trigger the alarm after restarting)
💡
If alarm clocks are gone after reset, export them in advance through the menu «⋮» → «Export of alarm clocks in the appendix.
5. Conflict with energy-saving regimes: why the alarm clock is "silent"
Even if the tune is set, the alarm clock may not work due to battery optimization. Xiaomi has three energy saving levels that affect the alarm clock:
| Regime. | Impact on alarm clocks | How to turn off |
|---|---|---|
| Normal. | The alarm clock is working normally | Not required |
| Balanced | May delay the operation for 1-2 minutes | Settings → Battery → Battery Mode → Normal |
| Super energy saving | The alarm clock won't work at all. | Turn off the mode or add the clock to the exceptions |
How do you check the settings?
- Open the settings → Battery → Battery settings.
- Select “Control Battery Consumption with Applications”.
- Find the watch (com.android.deskclock) and set "No Limits".
How to check the MIUI version? Go to Settings → About Phone → MIUI version. If your version is listed above, the solutions are:
Update your firmware to the latest stable version (Settings → System Update)
Reverse to the previous version via the Mi Flash Tool (power users only)
Install an alternative alarm app (Google Clock, Sleep as Android)
Reset the settings to factory (Settings) → Additionally. → Resetting settings)-->
If the update doesn’t help, try clearing the media base:
- Install SD Maid from the Play Market.
- Run the scan in the "CorpseFinder" section.
- Select MediaStore and clear the cache.
- Reset the device.
⚠️ Warning: Resetting your media base may temporarily hide your photos and music, but it will take 5-10 minutes to rescan.
7.Alternative solutions: third-party applications and workarounds
If nothing has worked, radical methods remain:
- 🔔 Third-party alarms: Google Clock - supports custom tunes without restrictions. Sleep as Android - allows you to play music from Spotify or YouTube Music. Alarmy - even in energy saving mode.
- 🛠️ Manual editing of system files (root only): adb pull /system/media/audio/alarms/ adb push your tune.mp3 /system/media/audio/alarms/
- 🎧 Bluetooth speaker: Some users put a tune on a smart speaker (Xiaomi Mi Smart Speaker) and sync it with an alarm clock.
How do you choose an app? If you care about it,
- 🔊 Loud sound → Alarmy (there is a function of "wake checks»).
- 🎶 Streaming music → Sleep as Android.
- ⏰ Lots of alarm clocks. → Google Clock.
💡
If you use Google Clock, transfer the tunes to the Music folder – this app scans it first.