Why you don’t set the melody on the alarm in Xiaomi: a complete guide to fixing the problem

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.

📊 What Melody Format Did You Try to Set on an Alarm?
MP3
M4A
WAV
FLAC
OGG
Other

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.

  1. Use free converters: Online-Convert, CloudConvert or Audacity.
  2. Select the MP3 output format with a bitrate of 192-320 kbit / s.
  3. 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.

folderWayNotes
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?

  1. Delete Metadata: Use MP3Tag (Windows) or Star Music Tag Editor (Android) to clean up tags.
  2. Rename the file: Avoid names with #, $, % characters.
  3. 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?
Install Media Storage Explorer from Google Play. Open it and find your audio file in the list. ID will be listed in the column ID (e.g. 456). Substitute this value to the ADB command instead of 123.

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:

  1. Go to Settings → Applications → Hours → Permissions.
  2. 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 clocksHow to turn off
Normal.The alarm clock is working normallyNot required
BalancedMay delay the operation for 1-2 minutesSettings → Battery → Battery Mode → Normal
Super energy savingThe alarm clock won't work at all.Turn off the mode or add the clock to the exceptions

How do you check the settings?

  1. Open the settings → Battery → Battery settings.
  2. Select “Control Battery Consumption with Applications”.
  3. 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:

  1. Install SD Maid from the Play Market.
  2. Run the scan in the "CorpseFinder" section.
  3. Select MediaStore and clear the cache.
  4. 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.

FAQ: Answers to Frequent Questions

🔍 Why is my tune in the Ringtones folder but it's not on the alarm list?
The problem is probably the file metadata. Try: Rename the file to Latin (e.g. alarm.mp3), delete all tags with MP3Tag, reboot the phone. If it doesn't work, check if the Do Not Disturb mode for the Watch app is on.
📱 My Redmi Note 10 Pro doesn't have a Ringtones folder?
Create it manually: Open any file manager (e.g. Mi File Manager). Go to the root directory (/storage/emulated/0/). Click Create a folder and call it Ringtones (with a capital letter!). Move your audio file there and restart your phone.
🔊 The alarm goes off, but it plays the standard sound, not my melody?
It's a famous bug. MIUI Solutions: Set Google Clock and set the alarm there. Clear the Cache of the Watch and Media Store app. Check if your tune is in the folder on the phone. SD-Transfer it to your internal memory.
🔄 After updating MIUI All my alarm clock tunes are gone?
The update could reset permissions or clear the media cache. Try: Reboot your phone — sometimes it helps to re-scan files. Check if your files have become “hidden” (turn on the display of hidden files in the Explorer). If the tunes were in Ringtones but lost, copy them again. If nothing helps, use a backup (if you did a backup using Mi Cloud).
🎵 Can I put on the alarm music from Spotify or YouTube Music?
No, no, because these services are used. DRM-But there are workarounds: Download the track through third-party services (for example, YTMP3) and convert into MP3. Use Sleep as Android, which can integrate with Spotify (you need a premium subscription). Set up automation in Tasker: when the alarm goes off, start playing through Spotify. ⚠️ Please note: Downloading music from Spotify violates user agreement.