How to change the lock sound on Xiaomi: a step-by-step guide

Smartphone personalization is not just about changing wallpapers, but also about tuning the audio that makes the device unique. Owners of Redmi and POCO gadgets often face a limited set of pre-installed tunes that quickly become tedious. Fortunately, the MIUI operating system and the new HyperOS provide enough flexible tools to replace standard signals with custom tracks.

The process of installing a custom ringtone for the lock screen may vary depending on the shell version and the firmware region. In some cases, it is enough to select a file from memory, in others you will need to use an embedded audio player or third-party assistant applications. Understanding these nuances will allow you to avoid confusion and quickly adjust the desired sound.

In this article, we will discuss in detail all available methods of replacing system sounds, you will learn how to properly prepare an audio file, where to place it, and what hidden settings may be required, and will also consider the typical problems when the selected track is not played or replaced with a standard signal.

Audio file preparation and format requirements

Before you start setting up your system, you need to make sure that your audio file meets the technical requirements of your smartphone. Most modern Xiaomi devices work without problems with MP3 format, which is the most versatile. However, to correctly display and play back without delay, the file must have certain characteristics.

It is recommended to use tracks of no more than 30-40 seconds, as longer compositions can be cropped by the system or play incorrectly when the screen is turned on quickly. Bitrate is better chosen in the range of 128-320 kbit / s for balance between quality and file size. Too heavy files in WAV or FLAC format can cause micro-delays when the screen is activated.

⚠️ Attention: Files protected DRM-protection (e.g. downloaded from streaming services for offline listening) will not work as system sounds.

It is also important to name the file correctly, avoiding special characters and Cyrillic in the title, although modern versions of Android often correctly handle Russian names. To ensure compatibility, rename the track Latin before downloading to the device memory, this will eliminate possible errors when the system searches for the path to the file.

💡

Use online services or editorial apps to cut the track to the desired length and adjust a smooth fade-out at the end so that the sound doesn’t break off abruptly.

Standard method through sound settings

The easiest and most obvious way to change the audio is to use the built-in settings menu, which works on most devices without the need to install additional software. The algorithm may vary slightly depending on the version of MIUI, but the overall logic remains the same.

To start, you need to go to Settings → Sound and Vibration. Here you will see a list of all system events for which you can assign an audio file. Find Lock Sound or Lock screen sound. By clicking on it, you will be taken to the track selection menu.

The list that opens usually has standard manufacturer tunes available. To select your file, scroll down to the bottom and click Select a Melody from Memory or Plus Icon. The system will suggest you select an audio file from built-in storage. If the desired track is not in the list, it may be in a folder hidden from the system scanner.

📊 What sound installation method is closer to you?
Through standard settings
With Themes.
Through a third-party player
I don't change the standard.

Using the “Themes” application for customization

Themes, a powerful tool that is often underrated, allows you to change not only visual style, but also sound design, including lock sounds, and is especially relevant if the standard way to select a file from memory is not available or is not working properly.

In Themes, go to Profile → Melodies, where you can download a local file or select a track from a directory, and the peculiarity of this method is that it applies sound to a deeper level of the system, and once you select a track and apply it, it automatically becomes a lock sound if you select the appropriate profile in the sound settings.

The advantage of using Themes is that you can back up sound circuits, so you can create multiple profiles with different sets of sounds for different situations (work, rest, night) and switch between them in one click, which gives you flexibility that you don't have with standard setup.

☑️ Checking before setting the sound

Done: 0 / 4

Setup through third-party audio players

If standard tools don’t see your file, third-party players like Poweramp, Musicolet, or VLC will come to the rescue. These applications have their own mechanisms for installing tracks to system events, which is especially useful when the file is in a specific folder or has non-standard metadata.

In most advanced players, it is enough to open the desired track, click on three dots (menu) and select the option Use as → Screen Lock Sound. The player will move the file to the desired system directory or write the corresponding key in the Android settings registry.

It is worth noting that some “lightweight” versions of shells or global firmware may limit the ability of third-party applications in this regard, in which case the system may request additional permission to change system settings, which must be confirmed.

MethodDifficultyReliabilityRequirements
Sound settingsLow.Tall.File in memory
Annex TopicsMediumTall.Mi Account
Third-party playerLow.MediumInstalled player
Topics Editor (MTZ)Tall.MediumModding skills

Reproduction problems and their solution

Quite often, users are faced with a situation where the lock sound is either not playing at all, or the standard signal is played instead of the chosen one. One of the most common reasons is the Do Not Disturb or Do Not Disturb mode, in which the system blocks all audio notifications, including screen sounds.

Another reason could be volume conflict: Xiaomi has a separate volume scale for media, bells, alarms and system sounds, make sure the system slider isn't zeroed out, and you can do this by pressing volume buttons and selecting three points to expand the menu.

⚠️ Note: If you use a design theme from a third-party source (not from an official store), it can force the blocking sounds to be overwritten with its data, in which case only resetting the theme to a standard Classic will help".

It’s also worth checking the permissions for the application you’re setting the sound through. If the system doesn’t have storage permission, it won’t be able to read the file. Go to Settings → Applications → All applications, find the right tool, and check the permissions section.

Hidden folder of sounds
System sounds on Xiaomi are often stored along the /system/media/audio/ui/ path. Direct file swaps here require root rights and can result in a cyclical reboot, so only use this method if you are an experienced user.

Creating your own sound design theme

For advanced users who want to achieve the perfect result, a method of creating their own theme is available through the MIUI Theme Editor on PC, which allows you to “stitch” the lock sound directly into the theme package, which ensures that it works regardless of system limitations.

The process involves unpacking an existing theme, replacing an audio file. lock_screen.mp3 In the resource folder and reassemble the package, then install the theme in the "From File" mode via Themes, which gives you complete control over the duration, quality and timing of playback.

The main advantage of this approach is the ability to create an audio-visual experience, the sound of unlocking, locking, keyboard pressing and notifications will perfectly harmonize with each other, creating a holistic experience of the interface.

💡

The most reliable way to avoid resetting sound after a reboot is to use official customization methods or apply the theme as a whole, rather than editing system files directly.

Why is the lock sound reset after rebooting?
This can be due to a system caching error or conflict with the installed theme. Try clearing the Themes and Sound app cache in the application settings. Also make sure the file is not deleted or moved after installation.
Can you make different sounds for SIM-map?
The locking sound is a system event and is uniform across the device. SIM-It is technically impossible because the screen is locked no matter what SIM card is currently active.
Does the sound of the lock affect battery consumption?
Short-term audio playback when the screen is locked has a negligible effect on battery consumption, and even with frequent use of the smartphone, the difference in autonomy will be invisible to the user.
How do you get back the standard sound if you don’t like it?
To return to factory settings, go to Settings → Sound and Vibration → Lock Sound and select any of the standard options on the list, such as “Finger” or “Lock.” This will instantly replace the custom track.