How to change the charging sound on Xiaomi: 5 proven ways

Why users want to change the charging sound and can it be done officially?

The audio alert for charging on Xiaomi smartphones is a standard MIUI feature that signals the start of battery charging. However, the standard charging.ogg melody seems too loud, annoying or simply uninformative for many users, especially for owners of custom firmware devices where system sounds can conflict with user settings.

Officially, Xiaomi doesn’t provide a built-in tool to replace charging sound through the settings menu β€” unlike ringtones or notifications. But that doesn’t mean the task is impossible. There are at least 5 working ways, including editing system files, using third-party apps and even installing alternative launchers. It’s important to understand that some methods require root rights or unlocking the bootloader, which can affect the warranty.

Before you make any changes, make sure your model supports the method you choose. For example, on the Redmi Note 10 Pro with MIUI 14, you can do without root rights, while on the Poco F5 you may need to install Magisk. Also note that after the firmware update, all changes can be reset.

Method 1: Replace sound through file manager (without root)

This method is suitable for most Xiaomi devices based on MIUI 12-14 and does not require superuser rights.The essence is to replace the original charging sound file with a user one through the built-in file manager. Importantly, the method only works if you allow changes to system files (on some firmwares this is limited).

Steps to replace:

  • πŸ“ Open the file manager Mi File Explorer (or any other with access to the root folder).
  • πŸ” Cross the path: /system/media/audio/ui/ (In some models, the path may be /system/product/media/audio/ui/).
  • 🎡 Find charging.ogg (or ChargingStarted.ogg – depending on version) MIUI).
  • πŸ“₯ Prepare your sound file in.ogg format (can be converted through online services) and rename it charging.ogg.
  • πŸ”„ Replace the original file with your own (pre-backup!).
  • πŸ”„ Reset the device.

⚠️ Note: Some of the folders are on the firmware /system If the file is not replaced, try using it. ADB-commands or get root access.

Backup the original file | Download the file in.ogg format (max. 5 seconds) | Check the path to system sounds | Use the root access explorer (if necessary) |Reboot the phone after replacing

-->

If the sound has not changed after the replacement, check:

  • πŸ”Š The file format is.ogg only (not.ogg.mp3 or wav).
  • πŸ“ Duration - no more than 5 seconds (otherwise the sound may be cut off).
  • πŸ“‚ Pathways - on some Poco models, sound files are stored in the /product/media/audio/.

Method 2: Use the Zedge or Ringtone Maker app

For users who don’t want to dig into system files, third-party apps from Google Play are suitable. The most popular ones are Zedge and Ringtone Maker. They allow you to set custom sounds for notifications, alarms and even system events, including charging. However, there is a caveat: these apps do not replace the system file, but intercept the charging event through the Accessibility Service.

Instructions for Zedge:

  1. Install Zedge from Google Play.
  2. Enable the resolution of Special features β†’ Zedge in the phone settings.
  3. In the app, select Notification Sounds and download your favorite sound.
  4. Assign it as the sound for the Charging event (if you don’t have that option, select Default notification).

Cons of the method:

  • ⚠️ It does not work on all models (depending on version) MIUI).
  • πŸ”‹ Can conflict with other applications that use Accessibility.
  • πŸ“΅ The sound can be played with a delay (not immediately when connecting the charging).

Through the file manager|Using an app (Zedge)|Through ADB-team|With root rights.|Not yet.

-->

Method 3: ADB-Teams for Advanced Users

If you have experience with ADB (Android Debug Bridge), you can replace the charging sound without root rights, but using a computer.This method is suitable for devices where the /system folder is locked to write through the file manager.

Step-by-step:

  1. Install ADB Tools on your PC.
  2. Turn on USB Debugging on your phone (Settings β†’ About Phone β†’ MIUI Version β†’ 7 times press to activate Developer Mode, then Settings β†’ Additional β†’ Developers β†’ Debugging over USB).
  3. Connect your phone to your PC and execute the command: Adb devices (you should display your device).
  4. Download your audio file in.ogg format and rename it charging.ogg.
  5. Execute the command to copy the file: adb push charging.ogg /sdcard/
  6. Now copy the file to the system folder: adb shell su mount -o rw,remount /system cp /sdcard/charging.ogg /system/media/audio/ui/chmod 644 /system/media/audio/ui/charging.ogg reboot

⚠️ Note: Su and mount commands require root access. If not, use an alternative method with Magisk (described below).

If the sound hasn’t changed after the reboot, check:

  • πŸ”Œ Correct connection to ADB (Try reconnecting the cable).
  • πŸ“ The path to the file - on some firmware, the sounds are stored in the /product/media/audio/ui/.
  • πŸ”Š The file format is just OGG, bitrate not higher than 192 kbps.

Method 4: Install Custom Recovery (TWRP) and Root Rights

For users willing to take drastic measures, the most reliable way is to get root rights through Magisk and install custom recovery (TWRP), which will not only replace the charging sound, but also completely customize system sounds, animations and even the Android kernel.

  • 🚨 Loss of warranty (if the device is under warranty).
  • πŸ”§ Possibility of "filling" the phone in case of error.
  • πŸ”„ Need to re-flash after updates MIUI.

Instructions:

  1. Unlock the bootloader through the Mi Unlock Tool (requires a Mi Account and wait 7-15 days).
  2. Install TWRP for your model (download from the official website twrp.me).
  3. Sweep Magisk through TWRP to obtain root rights.
  4. Use Root Explorer or Mixplorer to replace charging.ogg file with /system/media/audio/ui/.
  5. Set resolutions 644 (rw-r----) for the new file.
What if the root phone doesn’t turn on after receiving the root?
If after firmware Magisk or file replacement device got stuck on the Xiaomi logo, try it: 1. Go in. TWRP (clamp down the Power + Volume Up). 2. Performing Wipe β†’ Advanced Wipe β†’ Dalvik/ART Cache + Cache. 3. Reflash Magisk or roll back to the stock firmware via Fastboot. If it doesn't work, contact the service center (but the warranty will be lost).

MethodNeed root?DifficultyRisk to the systemCompatibility
File manager❌ No.β­β­β˜†Low.MIUI 12-14 (not all models)
Zedge/Ringtone Maker❌ No.β­β˜†β˜†Absent.All models, but unstable.
ADB-team⚠️ Partially.⭐⭐⭐Medium.MIUI with unlocked loader
TWRP + Magiskβœ… Yes.⭐⭐⭐⭐High-pitchedAll models (with the risk of loss of warranty)
Custom firmwareβœ… Yes.⭐⭐⭐⭐⭐Very tall.Advanced users

Method 5: Install custom firmware (for enthusiasts)

If you’re willing to go beyond just replacing sound, consider installing custom firmware like LineageOS, Pixel Experience or Havoc-OS. These firmware often lets you flexibly customize system sounds through built-in menus, without the need for manual file editing. In Pixel Experience, for example, charging sound can be changed right in the Sound and Vibration settings β†’ System Sounds.

Advantages of custom firmware:

  • πŸŽ› Complete customization of the interface and sounds.
  • πŸš€ Best performance (on some models).
  • πŸ”„ Regular security updates.

Disadvantages:

  • πŸ”§ Installation difficulty (requires unlocking of the loader).
  • πŸ“± Possible bugs (not all functions) MIUI may work).
  • πŸ”‹ Loss of some Xiaomi branded features (e.g. Game Turbo).

-->

Frequent problems and their solutions

Even after successfully replacing the charging sound, users face typical problems, and here are the most common ways to fix them:

Problem 1: The sound hasn’t changed since the file was replaced.

  • πŸ” Check the path to the file on new versions MIUI sounds may be stored in /product/media/audio/ui/.
  • πŸ”„ Restart your phone (sometimes changes only apply after a reboot).
  • πŸ“‹ Make sure the file has the correct permissions (644).

Problem 2: The sound is played twice (standard + new).

  • πŸ”Š This happens if an application (such as Zedge) conflicts with system sound.
  • πŸ“‚ Remove the duplicate sound file in the folder /system/media/audio/.

Problem 3: After the MIUI update, the sound dropped.

  • πŸ”„ It's normal, system files are restored when you update.
  • πŸ“₯ If you are using Magisk, install the System Sound Changer module to automatically replace it.

-->

Can I change the charging sound to Xiaomi without a computer?
Yes, but with limitations. The easiest way is to use a file manager with access to system folders (like MiXplorer with Root Access enabled), but most devices without root rights can't replace the file. The alternative is applications like Zedge, but they don't work smoothly.
Why did the sound of the notifications disappear after the charging sound was replaced?
This happens if you accidentally replace the wrong file in /system/media/audio/. Restore the original files from the backup or reflash the system partition via Fastboot. Also check if the audio app you installed (such as Ringtone Maker) conflicts with the system settings.
How to get back the standard charging sound?
If you saved the original charging.ogg file, just return it to place via file manager or ADB. If there is no backup, you can extract the file from the stock firmware for your model (download it from the Xiaomi Firmware Updater site and unpack system.img).
Does the Poco F5 and Redmi Note 12 sound replacement work?
On the Poco F5 and Redmi Note 12 (with MIUI 14), the file manager method only works if there are root rights. Without them, you can try ADB or Zedge-like applications, but stability is not guaranteed. On these models, Xiaomi has tightened the protection of system files.
Can I install my charging melody through MIUI Launcher?
No, there is no such option in the standard MIUI launcher, but some alternative launchers (like Nova Launcher or Hyperion Launcher) allow you to customize system sounds through plugins, but this is an indirect method, and it does not guarantee that it will replace the charging sound.