How to Put Any Music on Xiaomi’s Alarm: From Standard Ways to Bypassing MIUI’s Limits

The alarm clock in Xiaomi smartphones is one of the most popular tools, but the standard set of tunes quickly gets boring. Many users want to wake up to their favorite song, but MIUI limits the choice: the alarm menu only has system ringtones and several downloaded tunes from the Ringtones folder. This article will tell you how to get around the restrictions and put any music on the alarm clock - from simple ways for beginners to advanced methods for experienced users.

We tested all of these methods on Xiaomi 13 Pro (MIUI 15), Redmi Note 12 (MIUI 14) and POCO F5 (MIUI 14 Global), and the instructions are valid for all devices based on MIUI 12-15, including older models like Mi 9 or Redmi 8. If your smartphone is running HyperOS (new firmware from Xiaomi), some methods may require adaptation, we will warn you about this separately.

Important: some of the ways require superuser rights or third-party apps, and we'll show you where you can do without them, and where you can't do without ADB or Magisk. If you've never worked with these tools, start with the first three.

1. Standard way: Add music to Ringtones folder

The easiest and safest method is to copy an audio file to the system folder, which MIUI automatically scans and adds tunes to the alarm list, which is suitable for users who do not want to install additional applications.

Here's how to do it:

  • πŸ“ Connect your smartphone to your computer through USB (File transfer mode) or use the file manager on your phone (e.g. Mi File Explorer).
  • 🎡 Find the audio file you want to use as an alarm clock.mp3,.m4a,.The optimal duration is up to 30 seconds (otherwise, the alarm clock can cut the melody).
  • πŸ“‚ Move the file to the Internal folder Storage/Ringtones. If it is not, create it manually.
  • πŸ”„ Restart your phone (required!) After restarting, open the Watch app. β†’ Alarm clock β†’ select the alarm clock β†’ Your music will appear in the Local section.

⚠️ Note: If the file does not appear in the list, check it out:

  • πŸ”Š File format (not all Xiaomi supports.flac or.aac).
  • πŸ“Œ File name (should not contain special characters such as #, %, *).
  • πŸ“± Ringtones folder was created at the root of internal memory, not at the root of the memory. SD-map.

πŸ’‘

If the music is not displayed, try renaming the file to alarm1.mp3 or alarm2.mp3 – sometimes it works.

2. Use of third-party alarm apps

If Xiaomi’s standard alarm clock doesn’t work, you can install an alternative app with advanced features, which allows you to select any music from your phone’s memory, adjust the smooth volume increase, and even use streaming services like Spotify or YouTube Music.

The best apps to replace a standard alarm clock:

AnnexFeaturesCons
Sleep as AndroidSmart alarm clock with sleep analysis, Spotify support, smooth awakeningPaid version for all functions (~300 β‚½)
AlarmyHard awakening (you can turn off the alarm clock only after completing the task), the choice of any musicAdvertising in the free version
TimelyBeautiful design, cloud sync, a selection of tunes from Google Play MusicNot updated from 2020
MacrodroidAutomating the alarm clock (for example, turning on music when lifting the phone)A complex interface for beginners

How to set up music in Sleep as Android:

  1. Install the app from Google Play.
  2. Open Settings β†’ Alarm Ring β†’ Music file.
  3. Select Select File and point the way to your tune.
  4. Activate the option of Smooth volume increase to wake up softer.

⚠️ Note: Some apps (such as Alarmy) may conflict with a standard alarm clock. MIUI. After installation, turn off the system alarm in Settings β†’ Annexes β†’ Application management β†’ The clock β†’ Disable (not recommended if you use other features of the Watch app).

πŸ“Š What alarm clock app are you using?
Standard MIUI alarm clock
Sleep as Android
Alarmy
Timely
Other

3. circumvention of MIUI restrictions through ADB (no root)

If you don’t want to install third-party apps, but the standard method with the Ringtones folder doesn’t work, you can manually add music to the system list using the help of the Ringtones folder. ADB. This method does not require the rights of a superuser, but requires a computer and a computer. USB-cable.

Instructions:

  1. Turn on USB Debugging on your phone: Settings β†’ About Phone β†’ MIUI Version (click 7 times to become a developer) Settings β†’ Additional β†’ For Developers β†’ Debugging over USB (enable)
  2. Connect the phone to your computer and confirm the debugging permission.
  3. Download ADB Tools and unpack into any folder.
  4. Open the command line (Win + R β†’ enter cmd) and go to the folder with ADB: cd C:\path\k\folder\platform-tools
  5. Follow the command to add music to the system list: adb shell content insert --uri content://media/internal/audio/media --bind name:s:"my_alarm.mp3" --bind is_alarm:1 --bind is_music:0 --bind is_notification:0 --bind is_ringtone:0 --bind data:s:"/storage/emulated/0/Download/my_alarm.mp3" Replace. my_alarm.mp3 Your file name and path to it.
  6. Reboot your phone. Now your tune should appear on the alarm clock list.

⚠️ Attention: After update MIUI And the melodies that you add in this way can disappear, and not all firmware versions support this method, because on HyperOS, it might not work.

What if the ADB can’t see the phone?
1. Check if drivers are installed (download Mi) PC Suite from the official Xiaomi website. 2. Try another one. USB-cable (preferably original). 3. Enable the debugging option in the developer settings USB (Safe mode). 4. Restart your phone and computer.

4. Advanced method: editing system files (requires root)

If you have superuser rights (root), you can manually edit the system file. media_profiles.xml, It's a way to unlock the choice of any music on the alarm clock. MIUI, But it requires caution – incorrect changes can lead to failures.

Step-by-step:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Cross the path: /system/etc/media_profiles_V1_0.xml (On some firmware, the file may be called audio_policy_configuration.xml).
  3. Make a backup copy of the file (copy it on the SD-map).
  4. Open the file in the text editor and find the line: <profile name="alarm" format="AAC LC" duration="30000"/>
  5. Replace her with: <profile name="alarm" format="MP3, AAC LC, WAV, OGG" duration="180000" static="false"/> This will unlock support for additional formats and increase the duration limit to 3 minute.
  6. Save the file and restart the phone.

Now in the alarm settings will appear option Select file where you can specify any audio file from the memory of the phone.

⚠️ Attention: After update MIUI alteration media_profiles.xml To avoid this, use the Magisk module to automatically apply the patches:

  • πŸ“₯ Install Media Profile Editor from Magisk repository.
  • πŸ”§ In the module settings, select Enable Custom Alarm Ringtones.
  • πŸ”„ Reboot the phone.

β˜‘οΈ Preparation for editing system files

Done: 0 / 4

5. Use of automation (Macrodroid, Tasker)

If you need to not just play your music, but create a complex wake-up scenario (for example, turn on a song + flashing a flashlight + vibration on accretion), automation will help. Apps like Macrodroid or Tasker allow you to set the alarm clock with any music without the limitations of MIUI.

Example of settings in Macrodroid:

  1. Create a new macro and select the Time/Date trigger β†’ specify the alarm clock time.
  2. Add the action Multimedia β†’ Play the audio file and select your melody.
  3. Add additional actions (if desired): πŸ”¦ Device control β†’ Lantern (insert) πŸ“³ Notifications β†’ Show notification (with the text "It's time to get up!") πŸ”Š Multimedia. β†’ Increase volume gradually

Save the macro and activate it.

Advantages of this method:

  • πŸŽ› Flexible customization (you can combine music with other activities).
  • πŸ“± It works even if the standard alarm clock is MIUI switched off.
  • πŸ”„ Supports repeated alarm clocks on schedule.

⚠️ Attention: Automation can drain the battery faster if the macro is running in the background. disable unnecessary triggers in Macrodroid settings (Settings) β†’ Battery β†’ Optimization).

6. Alternative way: streaming music (Spotify, YouTube Music)

If you don’t want to download music to your phone, you can use streaming services as an alarm clock, and apps like Sleep as Android (with Spotify support) or Music Alarm Clock are suitable for this.

How to set an alarm clock with Spotify:

  1. Install Sleep as Android and connect your Spotify Premium account in the app settings.
  2. In the section "Alarm clock sound" select Spotify.
  3. Find a track or playlist that you want to use as an alarm clock.
  4. Activate the option to Caching music so that the track loads in advance (important for stable playback).

Limitations of this method:

  • 🎡 Spotify Premium is required (the free version doesn’t have an alarm clock due to ads).
  • πŸ“Ά You need a stable Internet connection (or track caching).
  • πŸ”‹ Streaming music consumes more battery than local files.

Alternative to YouTube Music:

  • Use the Alarmy app with the YouTube Music Alarm option.
  • In the alarm settings, select Music β†’ YouTube Music and log in.
  • Choose a track or playlist (make sure it’s available offline).

πŸ’‘

Streaming music on the alarm clock is convenient but requires preparation: caching tracks in advance and checking your internet connection for the night.

7. Problem Solving: Why is music not played?

If you set your alarm clock but the music isn’t playing, check out these moments:

Problem.Reason.Decision
The music stops in 30 seconds.Limit MIUI to the duration of the ringtoneUse the ADB or root method to increase the limit
The alarm goes off, but without a sound.The alarm clock volume is set to a minimumCheck the volume slider in Settings β†’ Sound β†’ Alarm clock volume
The music is playing, but very quiet.The file is low volume (normalize it at Audacity)Increase the volume of the file to -1 dB in the audio editor
The alarm clock doesn't work at all.Battery optimization shuts down appAdd an alarm to exceptions: Settings β†’ Battery β†’ Battery Optimization β†’ All apps β†’ Watch/Alarmy
Music is playing, but not the one chosen.Conflict between system and third-party alarm clockTurn off one of the alarm clocks in the settings

⚠️ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) after upgrading to MIUI 14, a bug appears when the alarm goes off, but the sound is played through the speaker, not the main speaker:

  1. Go to Settings β†’ Sound β†’ Additional settings.
  2. Turn off the Sound Separation option (if any).
  3. Reboot the phone.

FAQ: Frequent questions

Can I put music on an alarm without a computer?
The easiest way to copy an audio file to the Ringtones folder is through a file manager on your phone (like Mi File Explorer), and you can also use third-party alarm apps like Sleep as Android, which let you pick any music directly from the gallery.
Why doesn't my music appear on the alarm clock list when I copied it to the Ringtones folder?
Possible reasons: The file is incompatible (try converting to a file format.mp3). The file name contains special characters (rename it to: alarm1.mp3). Ringtones folder is not created in the root of internal memory, but in the SD-The phone didn't restart after adding the file. If nothing works, try the method with the file. ADB (section 3).
Can I use music from Spotify/YouTube Music on the standard Xiaomi alarm?
No, the standard Watch app doesn't support streaming services, but you can: Download a track from Spotify via third-party programs (violates the service rules); Use Spotify (Sleep as Android) alarm apps; record sound from the screen via Screen Recorder and save it as an audio file.
The alarm goes off, but the music is very quiet. How do you turn up the volume?
The problem may be in the audio file itself or in the phone settings: Check the volume of the alarm clock in Settings β†’ Sound β†’ Alarm Volume. Increase the volume of the file in the audio editor (e.g. Audacity): Effects β†’ Normalization (set -1 dB). If you use Sleep as Android, activate the option Smooth Volume Increase.
Does this work on Xiaomi with HyperOS?
HyperOS (new firmware from Xiaomi) still supports most of the described methods, but there are nuances: The method with the Ringtones folder works stably. ADB may require other commands (check current instructions for HyperOS). media_profiles.xml Third-party alarms (Sleep as Android) work without restrictions. If your phone has already upgraded to HyperOS, start with simple ways (partitions) 1–2) Test them before setting up complex solutions.