Modern Xiaomi smartphones, which are based on the shells MIUI or HyperOS, offer users the widest possible personalization. One of the most noticeable elements of the interface, which the owner encounters hundreds of times a day, is the sound of the screen lock. Standard melodic click or characteristic ringing become part of the usual experience, but over time, even the most pleasant melody can get bored and in some situations, annoy others.
Changing system sounds on Xiaomi devices is not always an obvious process, as manufacturers often hide these settings in the depth of the menu or tie them to the themes of the design. Unlike setting the ringtone to an incoming call, replacing the sound of the system event requires understanding the structure of the file system or using special thematic tools. In this article, we will discuss in detail all the available methods, from simple settings in the menu to advanced methods of replacing system files.
You don't have to be a programming expert to make changes, you just have to follow the instructions carefully and understand what audio profile settings you're changing, and we'll look at the system's regular features, the Themes store capabilities, and also look at optimization issues that can affect sound playback.
Standard sound settings in MIUI and HyperOS
The first and most logical step is to test the built-in capabilities with the operating system. Xiaomi shells have a well-developed sound menu, but it is often divided into logical blocks. To find the right parameters, you need to go to Settings β Sound and vibration. This is where the main controls of the audio interface.
Within this section, you're interested in Additional Sounds or System Sounds. Depending on the firmware version (Chinese or global), the range of options available may vary. Standardly, the system offers switches for lock, unlock, touch keyboard and charge device. If the switch is active, you'll hear a preview of the sound, but change the melody itself to your own through this menu, alas, most often you can't - only choose from a preset list.
π‘
On some versions of HyperOS, the path may be different: try looking for settings in the βSound Effectsβ section or through a search by settings by typing in the βsystem soundsβ query.
Importantly, new versions of HyperOS have stricter restrictions on changing system files without root rights. So the standard functionality can be limited to volume selection or effects on/off. If the standard set of tunes does not suit you, you will have to resort to more creative methods, which we will discuss below.
β οΈ Warning: Before making any changes to system files or installing third-party themes, always back up important data. Incorrect modification of system partitions can lead to unstable interface operation.
Using the Themes app to change sounds
The safest and most effective way to change the lock sound on Xiaomi is to use the official Themes app. Themes store contains thousands of designs, many of which include unique sets of system sounds. You don't need to use the theme in its entirety; you can choose only the desired audio component.
To start, open the Themes app and search for keywords like βsoundβ, βaudioβ or simply select your favorite visual theme. Go to the theme page and click Download. After downloading, take your time to apply the whole theme. Click on the theme information icon or select the βSet upβ option if available, and find the Sounds or Ringtone section.
- π΅ Open the Topics app and go to profile (human icon).
- π Select the Theme tab and find the downloaded design file.
- βοΈ Click on the topic, select Set up and mark only the item "Sounds".
- β Click "Apply" to activate the new lock sound without changing the wallpaper.
This method allows you to keep the visual style of the system unchanged, changing only the audio, but it is worth considering that some themes may contain low quality sounds or too quiet tunes.
βοΈ Verification of the compatibility of the topic
Manual replacement of system files through Explorer
For advanced users who don't like standard tunes and themes, there is a method of directly replacing system audio files, which requires care because it involves working with the root directories of the system, and the essence of the method is to replace the standard lock sound file with a file with your audio, renamed accordingly.
First you need to find or create the desired audiophile. The format should be.ogg or.mp3, although MIUI prefers ogg for system events. The file should be short (no more than 2-3 seconds), otherwise the sound will be cropped or played with a delay. Place your file in the internal memory of the phone.
/storage/emulated/0/MIUI/sound/ui/lock_screen.oggThe next algorithm is: copy your file, rename it to lock_screen.ogg (or unlock_screen.ogg Then through the file manager (e.g., to unlock, MIUI Explore the ZArchiver or Explorer path, go on the path of internal memory β MIUI β sound β Here you will need to replace the existing file.
β οΈ Attention: On modern versions of Android, access to the system folder /system/media/audio/ui/ It's closed without root rights. MIUI/sound It works on most Xiaomi devices without superuser rights, but can be reset after a system update.
If the system requires confirmation to replace the file, agree. After that, restart the device or just lock and unlock the screen to check the result. If the sound has not changed, maybe your version of the shell caches the sounds, and you will need to clear the cache of the Theme application or System UI.
What to do if the file is not replaced?
Configuring sound profiles and modes
In addition to direct file swaps, it is important to properly configure audio profiles. Xiaomi has a no-sound, vibration and sound mode, and locking the screen sounds can behave differently depending on the profile you choose, for example, in Do Not Disturb mode, system sounds are often turned off automatically.
Go to the Sound and Vibration settings and find Modes (or Sound Profiles) section. Make sure that the Active Profile (usually General) has the UI Sound option enabled. If this slider is turned off, no file replacement will help - the sound is blocked at the software level.
| Parameter | Description of the impact | Recommended value |
|---|---|---|
| Media volume | Often regulates the volume of system sounds | 50-70% |
| Interface sounds | Global UI Sound Switch | Included. |
| Vibration on touch | Tactile response, complements sound | To taste. |
| Do not disturb mode. | Suppresses the sounds of blocking | Off (for test) |
Also worth noting is Mi Sound Improvement, which is a feature that, while it mainly affects music playback, in some scenarios, can alter the equalizer processing of system signals, making the lock click more deaf or ringing.
Solving problems with lack of blocking sound
Users often experience a situation where the lock sound disappears on its own or stops working after an upgrade.This is a common problem associated with battery optimization or system process failures android.system. If you have replaced the file but the silence is maintained, check the battery exception list.
Go to Settings β Battery and Performance (or simply Battery). Find Themes and System Services in the app list. Set them to work without limits. Aggressive energy savings in MIUI often kills the processes responsible for playing system tunes, considering them background and irrelevant.
- π Open the battery settings and go to application management.
- π Find the Media Themes and System Process App.
- β‘ Change the energy saving mode to "No restrictions".
- π Reboot your smartphone to apply changes.
Another reason could be a conflict of third-party launchers or audio control apps. If you use third-party volume control panels, try removing them and checking the regular sound. Also helps to clear the cache of the Themes app through the Apps menu β All Apps β Themes β Clean.
π‘
Most often, the problem of lack of sound lies not in the absence of a file, but in the energy saving settings that block the background playback of system audio files.