The sound of unlocking the screen on smartphones Xiaomi, Redmi and POCO It can get boring or disliked over time, and unfortunately, the manufacturer has not provided an easy way to replace it through standard settings, unlike alarm clock tunes or notifications. However, there are legal workarounds that allow you to set the custom unlock sound even without receiving the ROOT-rights.
In this article, we will analyze three proven methods: through system files (without editing), using launcher applications and through ADB-All the ways work for the teams. MIUI 12β14 (including HyperOS) and are relevant for models from Redmi Note 10 to Xiaomi 14 Ultra. Important: none of the methods requires unlocking the bootloader or interfering with system partitions, which preserves the warranty and security of the device.
Why Xiaomi doesnβt allow you to change the unlock sound through settings?
Unlike notifications or alarms, the screen unlocking sound in MIUI is hardwired into system files, for several reasons:
- π Security: The manufacturer is committed to minimizing the risks of system files being modified that could lead to failures.
- π΅ Brand uniformity: Xiaomi uses branded sounds (e.g., branded sounds, miui_unlock.wav) maintain a recognizable style.
- π± Optimization: Unlock sounds are stored in a compressed format in the section /system/media/audio/ui, recordless ROOT.
However, you can legally circumvent this restriction without hacking the system, and the main rule is: do not replace the original files in the /system folder, otherwise after the MIUI update, the sound will reset to the standard one.
Method 1: Replace via MIUI (without ROOT and ADB)
The easiest method is to put your audio file in a special folder that MIUI scans when downloading, which works on most devices with MIUI 12+ and does not require technical skills.
β οΈ Note: The sound format must be.ogg or.wav with a bitrate not higher than 192 kbit / s.mp3 unsupported!
Step-by-step:
- Download or create a sound file that lasts 1-2 seconds (for example, in the program Audacity).
- Rename the file to unlock.ogg (exact name is important!).
- Connect your smartphone to your PC and move the file to /Internal Storage/MIUI/sound/unlock.ogg If there is no MIUI/sound folder, create it manually.
- Reset the device.
After the restart, the system will automatically pick up a new sound. If that doesn't happen, check:
- π File name correctness (registrar is important!).
- π§ Format and bitrate (use MediaInfo to check).
- π The permissions of the folder (should be rw-r)--r--).
Download or record sound 1-2 seconds long
Convert to.ogg (bitrate β€192 kbit/s)
Rename the file to unlock.ogg (exact name!)
Place it in /MIUI/sound/ folder
-->
Method 2: Use of the Nova Launcher (for advanced users)
If the first method didn't work, you can trick the system with a third-party launcher. Nova Launcher allows you to assign custom sounds for system actions, including unlocking. Less of the way - the sound will only play when unlocked through the main screen, not through the lock screen.
How to set up:
- Install Nova Launcher from Google Play.
- Press your finger on the home screen β Nova Settings β Actions and gestures.
- Select Unlocking Screen β Sound.
- Download your audio file (.mp3,.wav,.ogg are supported).
- Save the settings and install Nova with the default launcher.
Limitations of the method:
- β Does not work when unlocked via Face Unlock or fingerprint.
- β The sound can be played with a delay (~0.5 sec).
- β Suitable for temporary replacement without interference with the system.
Why is the sound delayed?
Method 3: Replace sound through ADB (for power users)
If previous methods didnβt work, you can use ADB (Android Debug Bridge) to temporarily replace the system sound, which doesnβt require ROOT, but will reset after the MIUI update.
What you need:
- π₯οΈ Computer with installed ADB-driver.
- π± Included debugging by USB on a smartphone (Settings) β The phone. β Version. MIUI β 7 times to tap β For developers β Debugging by USB).
- π΅.ogg audio file, renamed unlock.ogg.
Instructions:
- Connect your smartphone to your PC and execute in ADB-shell: adb push unlock.ogg /sdcard/ adb shell su -c "mount -o rw,remount /system" su -c "cp /sdcard/unlock.ogg /system/media/audio/ui/unlock.ogg" su -c "chmod 644 /system/media/audio/ui/unlock.ogg" su -c "mount -o ro,remount /system"
- Reset the device.
β οΈ Note: Su commands require temporary rights upgrades through the adb shell, but do not establish permanent rights. ROOT. Once you restart, access will be restricted. Do not edit other files in the /system β This can lead to bootloop!
| Method | Difficulty | Need a ROOT? | Resets after the update? | Works on all models? |
|---|---|---|---|---|
| Replacement through MIUI folder | β | β No. | β No. | β Yes (MIUI 12+) |
| Nova Launcher | ββ | β No. | β No. | β οΈ Partially (only through the main screen) |
| ADB-team | βββ | β No (temporary access) | β Yes. | β Yes, Android 11.+) |
π‘
If, after application, ADB-The sound method has not changed, check the path to the file in your version MIUI. Some of the sounds are stored in /system/product/media/audio/ui/ instead of a standard folder.
How to get back the standard unlock sound?
If the experiment failed or you want to return to factory sound, do the following:
- π For the method 1: Remove the unlock.ogg file from the folder /MIUI/sound/ and reboot the device.
- π For method 2: Open the Nova Launcher β Settings β Reduce sounds.
- π For the method 3: Perform in ADB: adb shell su -c "mount -o rw,remount /system" su -c "rm /system/media/audio/ui/unlock.ogg" su -c "mount -o ro,remount /system" Then copy the original file from the backup or update it. MIUI (the sound will automatically recover).
If the sound is gone, check the volume settings in Settings β Sound β System Loudness. Sometimes, after manipulating the files, the system resets the volume levels.
Frequent problems and their solutions
When replacing the unlock sound, users often encounter common errors. Here's how to fix them:
- π No sound playback: Check the file format (only.ogg or.wav). Make sure the file is not corrupted (play it on PC). Reboot the device - sometimes MIUI caches.
- π Sound distorted or interrupted: Reduce bitrate to 128 kbps. Convert the file to mono (1 channel) instead of stereo.
- π΅ The way with the folder MIUI Not working: Some firmware (HyperOS) has changed its path to /MIUI/sound_effects/. Try renaming the file to unlock_effect.ogg.
π‘
If none of the methods worked, check if the system sounds are disabled in the accessibility settings (Settings β Special Options β Delete Animations), which sometimes blocks custom sounds from being played.