You run a favorite track, you set up a frame for a video in TikTok or Instagram Reels, but if you press the record button, the music instantly stops. Familiar situation? On Xiaomi smartphones (especially MIUI 12-14), this problem is more common than competitors. The reason is because of system optimization: by default, Android prioritizes the microphone resources during recording, muting all other sounds. But there is a solution - and there are several of them.
In this article, we will discuss 5 working ways to save background music when shooting a video on Redmi Note 12, POCO X5, Xiaomi 13 and other models, from standard camera settings to circumventing restrictions through the ADB-So, you can use the commands to pick a method that suits your level of training, and you can also figure out why some firmwares have a problem that comes back after the update, and how to avoid it.
Why Music Turns Off When You Record Videos on Xiaomi
The culprit is the audio management policy on Android, and when you start recording a video, the system automatically switches focus to the microphone, blocking playback through speakers.
- π€ Echo prevention (microphone should not capture sound from speakers)
- π± Resource savings (simultaneous audio processing from microphone and speakers requires more energy)
- π Compliance with recording standards (in most applications, video without external sound is considered "clean")
On Xiaomi, the situation is made worse by the MIUI shell, which is more aggressive than others in blocking background processes, for example, on Samsung or Google Pixel, the same problem is solved with a single checkbox in the camera settings, and here you will have to dig deeper.
β οΈ Note: On devices with HyperOS (the new firmware Xiaomi) the logic of the work has changed.+, First check the section "Features for HyperOS".
Another nuance: some apps (like TikTok or CapCut) have their own audio settings that conflict with the system settings, and if music is turned off in only one app, the problem may not be in the smartphone, but in the software.
Method 1: Incorporate background sound in a standard camera
The easiest method is to use a hidden feature of the standard Camera app, which works on most devices with MIUI 12-14, but the path to settings may vary.
- Open the Camera app.
- Go to Video Mode (swipe sideways or tap on the video camera icon).
- Touch the gears. βοΈ in the upper right corner to open the settings.
- Find the Sound or Audio section (in some models it is hidden in Additional).
- Activate Background, Music Playback or Do Not Turn Off Audio (name depends on the MIUI version).
If you don't have one, your firmware doesn't support it, in which case you can try updating the Camera app through Google Play or using alternative methods in this article.
Step 1: Open Camera app | Step 2: Switch to Video mode | Step 3: Press the settings gear | Step 4: Find the "Sound" or "Audio" section | Step 5: Enable the background play-->
Important: On some models (e.g. Redmi Note 10 Pro), this option only appears after the first start of recording the video. Try to shoot a short video first, then go back to settings.
Method 2: Using third-party applications to record
If the standard camera doesnβt offer the flexibility you need, install an alternative app.
| Annex | Support for background music | Additional functions | Cons |
|---|---|---|---|
| Open Camera | β Yes (setting up on the menu) | Manual ISO settings, shutter speeds, bitrate | A complex interface for beginners |
| Footage | β Yes (automatically) | Screen recording, overlay of music | Advertising in the free version |
| AZ Screen Recorder | β Yes (through overlay of sound) | Gameplay recording, streaming | Not suitable for shooting through the main camera |
We recommend Open Camera, which is open source with manual tuning, to play background music:
- Install the app from Google Play.
- Open the Settings β Audio.
- Activate Force Video Audio Source to Camcorder.
- Return to video mode and start recording β the music will not turn off.
β οΈ Note: Xiaomi with Mediatek processor (e.g. Redmi) 9A) Open Camera may not work properly with the main camera.
π‘
If the app doesn't see music, check the microphone and storage permissions in your Android settings. Without them, there won't be any background sound recorded.
Method 3: Adjusting through ADB (for advanced users)
If you are ready to dig into the system settings, ADB-The team will allow you to force the playback of music while recording. MIUI, But it requires a computer connection.
You'll need:
- π₯οΈ Computer with Windows/macOS/Linux
- π USB-cable (preferably original)
- π± Included debugging by USB smartphone
Steps:
- Activate Developer Mode on Xiaomi: Settings β About Phone β MIUI Version (shap 7 times)
This command disables the forced muting of music when recording video at the system level, and after the smartphone is rebooted, the effect will continue.
β οΈ Note: On some firmware (for example, MIUI 13 for POCO F3) This setting is reset after the update. To fix the result, repeat the command or use Tasker for automatic application when downloading.
What if the ADB canβt see the device?
Method 4: Recording the screen with the overlay of sound
If you want to record music videos, but not necessarily through the main camera, use screen recording, which is a technique that's good for capturing gameplay, streams, or social media videos.
Instructions for Xiaomi:
- Add Screen recording tile to the Quick Settings Panel (swipe down) β pencil β).
- Run music in any player (such as Spotify or YouTube Music).
- Activate screen recording and select Record Sound β Device Sound (not microphone!).
- Open the camera or app you want to record and start shooting.
The downside is that the video quality is lower than when shooting through the main camera (resolution is limited to 1080p, bitrate is lower), but the music is guaranteed not to turn off.
For the best results, use AZ Screen Recorder:
- π΅ Allows you to separately adjust the volume of music and microphone.
- π± Keeps the record in 4K (on supported devices).
- π You can put on music after recording.
Method 5: Features for HyperOS (new firmware Xiaomi)
With the release of HyperOS (replacing MIUI on 2026 devices), the logic of audio management has changed, so that background music is blocked at the energy-saving policy level, not at the camera level, when recording video.
To circumvent the limitation:
- Go to Settings. β Battery.
- Select Performance Mode (or High Performance).
- Turn on the option to turn off optimization for applications.
- Add the Camera app and your music player (like Spotify) to the exceptions.
If it didn't help, try:
- π Switch to Developer Mode and disable Background Process Limitation.
- π± Install Google Camera (GCam) with a patch for HyperOS (look for forum versions) 4PDA).
β οΈ Attention: Some of the HyperOS ADB-method 3 If you enter adb shell settings put global video_camera_mute_player 0 No change, try the alternative command: adb shell cmd media volume --stream 3 --set 15 (Set media volume to maximum, bypassing restrictions).
π‘
On HyperOS, standard methods may not work because of the system architecture, and if nothing works, use third-party cameras (Open Camera, GCam) or screen recording.
Additional Advice and Frequent Mistakes
Even if you set it right, the music can still turn off. Here are the common reasons and solutions.
| Problem. | Reason. | Decision |
|---|---|---|
| Music is only disabled on TikTok | Limitations of the annex | Record the video in a standard camera, then upload it to TikTok |
| The sound is recorded with distortions | Conflict of microphone and speakers | Use headphones with a microphone or turn off sound recording in camera settings |
| Settings are reset after the update | MIUI/HyperOS Policy | Repeat the setting or use Tasker for automatic application |
A few more life hacks:
- π§ If sound quality is more important than video, record music separately (for example, through Voice Recorder), then overlay it in the editor (CapCut, KineMaster).
- π In some models (POCO X3 Pro) helps to disable Microphone noise reduction in sound settings.
- π² For Instagram Reels, use a built-in editor β it allows you to add music after shooting without losing quality.
Prevention: Check updates regularly for the Camera app in Google Play. Xiaomi sometimes adds new options to manage audio in the latest versions.