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:
- Install Zedge from Google Play.
- Enable the resolution of Special features β Zedge in the phone settings.
- In the app, select Notification Sounds and download your favorite sound.
- 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:
- Install ADB Tools on your PC.
- 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).
- Connect your phone to your PC and execute the command: Adb devices (you should display your device).
- Download your audio file in.ogg format and rename it charging.ogg.
- Execute the command to copy the file: adb push charging.ogg /sdcard/
- 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:
- Unlock the bootloader through the Mi Unlock Tool (requires a Mi Account and wait 7-15 days).
- Install TWRP for your model (download from the official website twrp.me).
- Sweep Magisk through TWRP to obtain root rights.
- Use Root Explorer or Mixplorer to replace charging.ogg file with /system/media/audio/ui/.
- Set resolutions 644 (rw-r----) for the new file.
What if the root phone doesnβt turn on after receiving the root?
| Method | Need root? | Difficulty | Risk to the system | Compatibility |
|---|---|---|---|---|
| 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-pitched | All 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.
-->