How to set a song on an alarm clock on Xiaomi

Many smartphone owners are faced with the fact that standard tunes quickly get bored, and morning rise turns into torture with monotonous sound. In the Android operating system, and especially in the shell MIUI and the new HyperOS from Xiaomi, the process of changing the alarm clock has its own nuances that are not always obvious at first sight. Unlike ringtones of the bell, the alarm files are often hidden in system folders, access to which is limited.

In this article, we will take a look at how to get around the limitations of the interface and install any audio file as a wake-up call. You will learn where to look for hidden system directories, how to properly prepare the file and what to do if the standard menu does not see your music.

Before you start setting up, make sure that the audio file you want is already loaded into your device’s memory. Local storage is a key requirement, as streaming music from the cloud or streaming services when the screen is off may not work because of the energy savings. We’ll look at a few methods, from simple selection from the list to forced copying of files.

Audio file preparation and formats

The first step is to choose the right track. Not all audio formats are supported by the Clock system application at the hardware decoding level. The most versatile and recommended format is MP3, which is error-free on 99% of devices. Loss of quality formats or proprietary containers can be ignored by the system.

Pay attention to the bitrate and the length of the track. High-resolution FLAC or WAV files that are too heavy can create micro-latency when the alarm is triggered, which is unacceptable at the critical moment of wake-up. The optimal choice is a file that is 15 to 60 seconds long and has a bitrate of 128-320 kbps.

πŸ“Š What type of music do you use most often?
MP3
FLAC
WAV
M4A
I don't know.

If your music is stored in the cloud or on a third-party service, be sure to download it to a local folder. Xiaomi's alarm clock does not have access to the Internet at the time of operation if the phone was in deep sleep, so the file should be stored.

Basic method through clock settings

The easiest way to replace a tune is through the standard menu. Open the Watch app, which is system-based and usually has an icon with a dial. Go to the Alarm tab and select an already created alarm clock or create a new one by clicking on the plus in the corner of the screen.

Within the settings of a particular alarm clock, find the item "Sound" or "Melody." When you click on it, you will be placed in the list of available tracks. Here it is important to switch from the tab "Online Music" or "Mi Music" to the tab "All tunes" or "Local", and this is where the files that the system recognizes as suitable for signals are displayed.

β˜‘οΈ Pre-installing check

Done: 0 / 4

If you don't have the right composition on the list, try clicking the Add button (often looks like a plus or folder icon) and the file manager will open to find your track, and then it will be added to the favorite alarm clock after you select it, but if the file doesn't show up even after you search, it's in the wrong directory, and you'll need a manual transfer method.

Advanced method: working with the file system

When the standard choice doesn't work, you need to put the file in a special system folder. To do this, open the Explorer (Files) app on your smartphone. You need to go to the root memory of the device, which is often called the Internal Drive or displayed as the name of the phone model.

Find a folder with a name MIUI, Then inside it is a folder. sound_recorder Or an alarm, the path might look like /MIUI/sound_recorder/alarm. If you don't have an alarm folder, create it manually, and that's where the system comes in first when it comes to finding custom alarm melodies.

⚠️ Note: Do not delete or rename existing system files in this folder, otherwise standard sounds may disappear or play with errors.

Copy the audio file into this directory. Once you copy, reboot your smartphone. This is a must, because the Android media scanner indexes new files when you boot the system. Without a reboot, the track may not appear on the available tunes list.

Use of Third-Party File Managers

Xiaomi’s standard Explorer sometimes hides or restricts access to system folders in newer versions of HyperOS. In this case, third-party solutions such as Total Commander, FX File Explorer or File Manager+ will come to the rescue.

Install the file manager you select from Google Play. When you first start, give it all the permissions you want to access your files. Find your music file in the Download or Music folder and do the copy operation.

Destination folderType of soundAvailabilityDemands Root rights
/MIUI/sound_recorder/alarmAlarm clockTall.No.
/Android/media/com.android.alarmclockAlarm clock (System)MediumNo.
/data/ringtonesSystemicLow.Yes.
/MIUI/sound_recorder/callCall recordingTall.No.

Go to /Android/media and find the folder com.android.alarmclock. If you don't have one, you can create one. Put the copied file here. This is especially relevant for Android 11, 12, 13 and 14, where access to the root is restricted by Scoped Storage's security policy.

What if the com.android.alarmclock folder is not created?
In some versions of MIUI, the system blocks folder creation in the Android/media section, in which case try to create a folder just "alarm" at the root of the internal drive or use the PC configuration method.

Configure through connection to the PC

If you're messing around with files on a small screen is inconvenient, the easiest way to use a computer is to connect your smartphone to your PC through a computer. USB-In the connection notification, select the File Transfer modeΒ» (MTP). This will open the phone’s file system on the computer as a regular flash drive.

Copy a music file from your computer into a folder MIUI -> sound_recorder -> The advantage of this method is that it is fast and can immediately rename the file into a clear name, which will appear in the menu of the selection of the melody.

Once you've done the copy, safely turn off the device. Go to the alarm settings and check the tune list. Your track should be at the top or bottom of the list, depending on the sorting, if it appears, it's a success.

πŸ’‘

Use a cable that comes with the kit, or a quality analog with data support, and cheap charging cables may not be visible to the computer.

Solving problems with volume and reproduction

A common problem with Xiaomi users is that the alarm clock rings, but it's very quiet, or it doesn't ring at all, if the phone was in "Do Not Disturb" mode. Make sure the alarm clock volume slider is twisted to maximum. Separately, the media volume and the alarm clock volume are different channels.

Check the Do Not Disturb settings. The newer versions of MIUI have an option to let the alarm clock break the silence. Go to Settings -> Sound and Vibration -> Do Not Disturb and make sure the alarm is activated as an exception.

⚠️ Note: If you use third-party alarm apps (such as Alarmy), the system volume settings may not work on them.

It's also worth checking if power saving mode is included, which can "kill" the sound playback process before it starts. add the Watch app to the battery's exclusion list to ensure it runs in the background.

πŸ’‘

The volume of the alarm clock is regulated by a separate slider in the volume menu, called by the volume buttons on the locked screen.

Alternative applications for alarm clocks

If the Watch system application is unstable or does not allow you to select the desired file, you can use alternatives from Google Play. Apps like Alarmy, Sleep Cycle or AMdroid have advanced functionality and often bypass the limitations of the system.

These programs allow you to set conditions: for example, the alarm clock will turn off only after scanning the barcode of a toothpaste or shaking the phone. They also know how to gradually turn up the volume and use music from your playlists in Spotify or Yandex.Music, which the system alarm clock can not do.

However, to keep the third-party alarm clock running, you need to give it permission to work in the background and auto-start. Without this, MIUI can close the application to save charge, and you will sleep over. Configure these parameters in the "Applications" -> "Permissions".

Why doesn't the alarm go off?
On most modern Xiaomi smartphones, the alarm clock will not work if the phone is completely turned off. Autostart function when turned off is not supported by all models and requires the phone to be at least in deep sleep mode, not de-energized.
Can I put a video on the alarm clock?
You can't set a video alarm clock with standard MIUI tools, just audio, but there are third-party apps that turn on the screen and play the video file at the designated time, mimicking the function of the video alarm clock.
Are alarm settings reset after the update?
Usually, alarm clock settings, including the selected melody, are saved after the system update. However, if the update affects the Clock system application or changes the structure of the file paths, the melody can be reset to the standard.