How to change the lock sound on Xiaomi: the complete guide

Xiaomi’s smartphone personalization is not just about changing desktop wallpapers, but also setting up audible notifications that make the device truly yours. The standard lock sound you hear every time the screen goes out or lights up can quickly get boring or annoying with its volume. Fortunately, the MIUI shell and its modern version of HyperOS provide users with ample opportunities to customize audio-according system events.

In this article, we will discuss in detail the process of replacing a standard lock ringtone with any other device that is available in memory or downloaded from the Internet. You will learn where hidden audio settings are hidden, how to prepare an audio file correctly and what to do if the system ignores your changes. Understanding these nuances will allow you to avoid typical mistakes when setting up your audio profile.

Preparation of an audio file for installation

Before you go to system settings, you need to make sure you have the right audio file. Not all formats are supported by Xiaomi's system player equally well, so choosing the right container plays a key role. The most versatile and recommended format is MP3, which reads on all versions of Android without conversion.

Note the length of the track: system sounds such as locking the screen do not require long compositions. The optimal length is 2 to 5 seconds. If the file is too long, it can be cropped by the system or superimposed on other sounds, creating porridge in the speakers. It is also important that the file is not protected. DRM-The system will not see it in the list of available tunes.

⚠️ Note: Do not use files with bitrates above 320 quiz-lossless format FLAC This wastes the processor's resources every time the screen is turned on and can cause micro-latency of interface response.

A downloaded file is best placed in a root memory folder or a specially created Music/Ringtones directory. While modern versions of MIUI can scan all memory, structured file storage helps you find the right tracks faster in the system selection menu. If you use a file manager, make sure that it has permissions to read media files.

πŸ’‘

System sounds are ideal for short mono-phonic signals up to 3 seconds long, sounding clearer and not overloading the speaker with frequent use.

Standard way through sound settings

The easiest and most obvious method of replacing a tune is through the standard Android settings menu.This path is relevant for most users who want to simply choose another preset from the list or install a downloaded track without unnecessary manipulation. The interface may vary slightly depending on the version of the shell, but the logic remains the same.

To start, open the Settings app and find the Sound and Vibration section. In some firmware, this item may be simply called "Sounds." Inside you're interested in the subsection responsible for system notifications. It's important not to confuse "Lock Sound" with "Unlock Sound" or "Charge Sound" because they're separately regulated.

β˜‘οΈ Sound replacement algorithm

Done: 0 / 1

Clicking on the melody selection, you'll see a list of preset songs. To use your file, you'll need to scroll down the list or click on the plus + icon in the corner of the screen. The file manager will open where you want to find the previously prepared track. After selecting, the system will suggest listening to it and confirming the installation.

ParameterDescriptionRecommendation
File formatType of audio codingMP3, OGG
DurationReproduction time2-5 seconds
LoudnessSignal levelMedium (not max)
Location.Storage folderMusic/Ringtones

Using a theme to change sound

A unique feature of Xiaomi’s ecosystem is the deep integration of audio profiles into the themes of the design, often without the knowledge that when users install a new theme, they automatically change not only the icons, but also the soundtrack, including locking the screen, a powerful tool for those who like complex changes.

If you want to use this method, open the Themes app, and you can search for keywords like "Nature" or "Minimal" and go to your favorite theme card, and the theme description usually tells you what components it includes, and if there's a "System Sounds" or "System Sounds" item, then the theme contains a set of audio files.

You don't have to use the theme fully if you only like sounds. In modern versions of the theme store, you can only use a sound package. However, it's worth remembering that some third-party themes may be paid or contain advertising. Also, when updating the theme, sounds can be reset to standard ones if the corresponding profile is not fixed.

πŸ“Š What is more important to you in the sound of the lock?
Silence (vibration)
Short signal.
Musical melody
Voice message

Setup through the Topics app

Themes is the central hub for managing the visual and sound style of the device, where you can not only download the finished solutions, but also edit existing ones. If you like the visual style of the current topic, but the sounds are annoying, you can create a mix by leaving the graphics and replacing the audio with custom.

Go to the profile of the theme that is currently active, and find the button "Set up" or "Edit." From the settings menu, select the "Sounds" section. Here you will be asked to select the sound source: "Use theme sounds" or "Use standard sounds." Choosing the second option, you return stock tunes Xiaomi, which are often more neutral and pleasant than in third-party themes.

Also available in this section is the "Sound Store" feature, where you can download additional packets of ringtones created specifically for the MIUI interface. These sounds are optimized in frequencies to sound good on the company's built-in speakers without causing resonance or wheezing.

⚠️ Note: If you change region in your phone settings (e.g. from China to Global), the list of available themes and audio packages may change.

Reproduction problems and their solution

Sometimes users are faced with a situation where seemingly all settings are correct, but the locking sound is not played or the old one is played, this may be due to the operation of the energy saving system, which "sleeps down" audio services to save battery power, in which case a deeper diagnosis is required.

The first thing to check is Do Not Disturb (DND) mode, which, if activated, can block all audio notifications, including system interface sounds, and check the volume of media and system sounds separately, as they are often spaced across different regulator sliders in Android.

If the sound is gone after the firmware update, you may have lost access to the file system for the system process miuisound, in which case it helps to clean the cache of the application "Themes" and "Sounds" through the application management menu. Don't be afraid to clear the cache - your personal files and settings will not be affected.

Hidden codes for checking speakers
Type in the code ##6484## (or #4636###) to get to the engineering menu, and then select Speaker and check for different frequency test signals to see if the problem is software or hardware.

Use of third-party applications

When standard tools are not enough, specialized applications from Google Play come to the rescue, programs like Zedge or Sounds & Notifications allow you to assign unique sounds to each system event with more flexibility than the standard menu, and they can even create profiles for different times of the day.

Installing such software requires advanced resolutions, an application needs to be given access to audio control and possibly the right over other windows if it changes sounds dynamically, and beware: too aggressive applications can conflict with MIUI system settings, causing interface lags.

One popular method is to use automatizers like MacroDroid or Tasker, which can create a macro that says, "If the screen is off -> Play the X file." This gives you maximum control, for example, allowing you to change the locking sound depending on location or the earbuds you're connected to.

⚠️ Warning: Third-party audio management applications may be disabled by the battery optimization system. Be sure to go to the battery settings, find the app and select mode "No restrictions".

FAQ: Frequently Asked Questions

Why does the lock sound not change after the file is selected?
The most common problem is in the file format or its location. Make sure the file is in a readable folder and has MP3 format. Also try to reboot your smartphone after you set a new sound, as some system services only download audio resources when you start.
Can I set the voice recording as a lock sound?
You can. Record the desired fragment with a tape recorder, save it and indicate the path to this file when choosing a melody. However, for better recording quality, it is recommended to use third-party tape recorders with a bit rate setting, since a standard recorder can compress the sound too much.
Does replacing system sounds affect the guarantee?
No, software replacement of ringtones, notification melodies and lock sounds through the standard settings menu is a regular function and does not violate the manufacturer's warranty obligations. The warranty is removed only when root rights are obtained or the device is flashed using non-standard methods.
Where to find the standard Xiaomi lock sound file?
Standard sounds are usually in the system partition /system/media/audio/ui/. However, access to this folder without root permissions is closed. If you like standard sound but it doesn't appear in the list, try resetting the theme to standard.

πŸ’‘

Changing the lock sound is a safe and simple procedure that does not require root rights and significantly improves the comfort of daily use of the smartphone.