How to change the sound of the screen lock on Xiaomi: all the ways

The screen lock sound on Xiaomi smartphones is a small but important detail that can be both fun and annoying. Standard tunes in MIUI often seem too loud, monotonous or just don't fit your style. Fortunately, the manufacturer has envisaged several ways to replace them - from built-in tools to install custom sounds through the file system.

In this article, we will discuss all the current methods for changing the lock sound for Redmi, POCO and Xiaomi devices based on MIUI 12/13/14, including hidden settings and bypassing system constraints. You will learn how to replace the sound through the standard menu, where to download safe tunes, and what to do if the desired file does not appear in the list of available ones, and also why some sounds may not play after replacing and how to fix it.

Why standard block sounds don’t suit users

By default, Xiaomi offers a limited set of lock sounds, which are often criticized for:

  • πŸ”Š High volume – many users say that standard signals are too sharp, especially in quiet rooms.
  • 🎡 Uniformity - in MIUI You can’t choose a tune from a music library, only from a fixed list.
  • πŸ“± Discontent with the theme of design – the sound of the lock can be dissonant with the chosen theme or wallpaper.
  • πŸ”„ Lack of flexibility – you can’t configure different sounds to lock and unlock (unlike some custom firmware).

Also, after MIUI updates, the user's audio settings are sometimes reset and you have to reconfigure everything, and on some models (such as the POCO F3 or Redmi Note 11), the list of available sounds may vary depending on the firmware region.

πŸ“Š What sound of blocking suits you more?
Standard MIUI.
Own tune
Silence (no sound)
Sound from a third-party app

Method 1: Replace sound with standard MIUI settings

The easiest and safest method is to use the system’s built-in tools, and it’s suitable for most devices on MIUI 12 and up, including the Xiaomi 13, Redmi Note 12 and POCO X5.

Instructions:

  1. Open the Settings app (the gear icon on the desktop).
  2. Go to the section Sound and vibration.
  3. Select the screen lock sound (some firmware may call it Lock Sound or System Sounds).
  4. In the list of available sounds, tap the right option. To listen, click on the play button on the right.
  5. Confirm the choice by pressing OK or going back.

If you don't have the right sound on the list, you can add your file.

  • πŸ“ Place the audio file in format.mp3,.ogg or.wav in folder /MIUI/sound/ internal.
  • πŸ”„ Restart the device (sometimes required to update the sound list).
  • πŸ”Š Return to the lock sound settings – your file should appear in the list.

File in format MP3/OGG/WAV|Duration no longer 5 seconds|Volume normalized (not clicked)|File is in a folder. /MIUI/sound/-->

It's important: MIUI maintains sounds for a duration of 5 If the file is longer, the system can crop it or not play it at all. Also make sure the file name does not contain Cyrillic characters or spaces - use Latin and underline (e.g., use the name of the file, my_lock_sound.mp3).

Method 2: Using a file manager to manually replace

If the standard method didn't work (e.g., your file doesn't appear in the list), you can manually replace the system sound, which requires root rights or ADB, but gives you more freedom.

Algorithm of action:

  1. Download and install a file manager with access to system folders (for example, MiXplorer or Solid Explorer with root mode enabled).
  2. Go to /system/media/audio/ui/ This is where all MIUI system sounds are stored.
  3. Find files with the names: lock.ogg – lock sound; unlock.ogg – unlock sound (if supported).
  4. Back up the original files (copy them to another folder).
  5. Replace them with your files, while observing: πŸ”„ Name matching (for example, yours) my_sound.mp3 It should be renamed lock.ogg). 🎡.ogg format (recommended for compatibility). πŸ“ File permissions: 644 (rw-r--r--).

Reset the device.

What if you don’t have root rights?
Without root rights, you can use them. ADB-So, you can get the phone to the PC, you can set up the debugging. USB and do: adb pull /system/media/audio/ui/lock.ogg adb push my_sound.ogg /system/media/audio/ui/lock.ogg adb shell chmod 644 /system/media/audio/ui/lock.ogg Note: This method does not work on all devices and may require unlocking the bootloader.

Critical! Incorrectly replacing system files can cause MIUI to malfunction, including a cyclical reboot. If the phone starts to glittle after the sound change, return the original files from the backup.

Method 3: Applications for customizing sounds

If you don't want to mess with the file system, you can use third-party apps that allow you to change lock sounds without root rights, but have limitations:

  • πŸ›‘οΈ Require permission to access notifications and special features.
  • πŸ”‹ Can drain the battery faster (due to background work).
  • πŸ“± Not all apps are compatible with the latest versions. MIUI.

Top.-3 tested applications:

AnnexFeaturesLink (Google Play)
ZedgeLarge library of sounds and wallpaper, integration with MIUIDownload
Ringtone MakerSound Editor, trimming and normalization supportDownload
Sound PickerAllows you to select sounds from any folder, without copying to /MIUI/sound/Download

Instructions for Zedge:

  1. Install and open the application.
  2. In the menu, select the Notification Sounds.
  3. Find the sound you like and click Set.
  4. In the list of options, select Lock Sound (if there is no such option, the sound will have to be set through the MIUI settings manually).

πŸ’‘

If the app doesn’t see lock sounds in the destination list, try downloading the file first, then manually place it in the /MIUI/sound/ folder and restart the phone.

Problems and Solutions: Why the Sound Doesn't Change

Sometimes after all the manipulations, the locking sound remains the same, and let's look at the typical causes and ways to eliminate them:

Problem.Possible causeDecision
The sound hasn't changed after the selection in the settingsSystem cache not updatedRestart your device or clear the Settings app cache (Settings β†’ Applications β†’ Application Management β†’ Settings β†’ Storage β†’ Clear the cache)
The file is not displayed in the list of soundsInappropriate format or pathCheck that the file is.mp3/.ogg and is in /MIUI/sound/.
The sound is reproduced with distortionsToo high volume or bitrateNormalize the audio in an audio editor (such as Audacity) to -16 LUFS
After the MIUI update, the sound droppedUpdate overwrites system filesRepeat the sound change or use apps to automatically restore settings (e.g. MacroDroid)

If you have replaced the sound through system files but it is not playing, check:

  • πŸ”Š File rights: 644 must be used to read the file).
  • πŸ“ The path to the file: some firmwares look for sounds in /system/product/media/audio/ui/ instead of the standard path.
  • πŸ”„ Version MIUI: into MIUI 14 the structure of system sounds has changed – it may need a replacement in another folder.

πŸ’‘

On dynamic memory devices (such as Xiaomi 12T), system sounds can be stored in /product/media/. Use ADB or root conductor to find the exact path.

How to Recover Standard Lock Sound

If you're not comfortable with the sound experiments, you can always go back to the factory settings, and you can do this in two ways:

  1. Through MIUI settings: Go to Settings β†’ Sounds and Vibrations β†’ Screen Lock Sound. Select Default or MIUI (name may vary).
  2. Through System File Recovery: If you have manually replaced files, return the original versions from the backup (see manual replacement section). or run the command via ADB: adb shell restorecon /system/media/audio/ui/lock.ogg

On some devices (such as the POCO X3 Pro) after resetting sounds, you may need to reboot or clean the MiuiSystemUI cache further:

adb shell pm clear com.miui.home

πŸ’‘

If it still doesn’t play back after returning standard audio, check if it’s turned off in the availability settings (Settings β†’ Special Features β†’ Sounds).

Safety and Risks of Changing System Sounds

Replacing the block sounds is a seemingly harmless procedure, but it can have unexpected consequences.

⚠️ Attention! On devices with a locked bootloader, manually changing system files (even sounds) can trigger the Anti-Rollback protection, in which case the phone will stop booting and you will need a complete flashing through the Fastboot.

Other potential risks:

  • πŸ”„ Cyclical boot: if the sound is not replaced correctly (for example, putting the file with the wrong rights in the system folder), MIUI It might be stuck on the logo.
  • πŸ›‘οΈ Warranty Violation: Manual modification of system files (especially root-rights) may be grounds for denial of warranty service.
  • πŸ”Š Conflicts with updates: after the update MIUI Your custom sounds may disappear or stop working.

To minimize the risks:

  • πŸ“ Always back up your original files before replacing them.
  • πŸ”§ Use reliable file managers (e.g. MiXplorer or other file managers). FX File Explorer).
  • πŸ”„ Before experimenting, check your model’s compatibility with the method you choose (see forum reviews). 4PDA or XDA-Developers).
What if the phone doesn’t turn on after the sound is changed?
1. Boot in Recovery Mode (clip Power + Volume up). 2. Connect your phone to your PC and through ADB, do: adb shell mount /system rm /system/media/audio/ui/lock.ogg reboot 3. If that doesn't help, swipe your phone through Fastboot with data storage (seek instructions for your model).

FAQ: Frequent questions about lock sounds on Xiaomi

Can I use different sounds to lock and unlock?
In standard MIUI, this is not possible, but on some custom firmware (e.g. Pixel Experience or LineageOS), you can do it, and you can use applications like Tasker to play different sounds when you turn the screen on or off.
Why does my custom sound get cut off when playing?
MIUI cuts sounds longer than 5 seconds. Cut the file in an audio editor (such as Audacity) or convert it to.ogg format with a bit rate of no more than 192 kbps. Also check that there is no silence in the file at the beginning - the system can crop the leading silent areas.
How to turn off the block sound completely?
Go to Settings β†’ Sounds and Vibrations β†’ Screen Lock Sound and select No Sound or Silence. On some devices, this option may be called No or Unplugged.
Can I use a tune from Spotify or YouTube as a block sound?
Directly, no, because MIUI doesn't support streaming services for system sounds, but you can: Download a track through a third-party app (like Snaptube), trim it to 5 seconds in Audacity, convert it to.ogg and put it in /MIUI/sound/. Attention: Using secure content may violate service rules.
Why did my locking sound disappear after the MIUI update?
Updates often overwrite system files, including sounds. To get your sound back: Check if your file is still in /MIUI/sound/. If the file is not, copy it again. If the file is still in place but not playing, clear the Settings app cache or restart the phone. On MIUI 14, sounds can be stored elsewhere - try looking for them in /product/media/audio/ui/.