How to make sure that the music is not turned off when shooting videos on Xiaomi: the complete guide

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.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 11/12/13
POCO X3/X4/X5
Xiaomi 12/13/14
Another model
I don't know.

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.

  1. Open the Camera app.
  2. Go to Video Mode (swipe sideways or tap on the video camera icon).
  3. Touch the gears. βš™οΈ in the upper right corner to open the settings.
  4. Find the Sound or Audio section (in some models it is hidden in Additional).
  5. 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.

AnnexSupport for background musicAdditional functionsCons
Open Cameraβœ… Yes (setting up on the menu)Manual ISO settings, shutter speeds, bitrateA complex interface for beginners
Footageβœ… Yes (automatically)Screen recording, overlay of musicAdvertising in the free version
AZ Screen Recorderβœ… Yes (through overlay of sound)Gameplay recording, streamingNot suitable for shooting through the main camera

We recommend Open Camera, which is open source with manual tuning, to play background music:

  1. Install the app from Google Play.
  2. Open the Settings β†’ Audio.
  3. Activate Force Video Audio Source to Camcorder.
  4. 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:

  1. 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?
1. Make sure that Xiaomi drivers are installed (download from the official website). 2. Try another one. USB-cable (cheap cables often do not support data transfer). 3. Switch the connection mode on your smartphone from Charging to File Transfer" (MTP). 4.Reboot your PC and smartphone.

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:

  1. Add Screen recording tile to the Quick Settings Panel (swipe down) β†’ pencil βž•).
  2. Run music in any player (such as Spotify or YouTube Music).
  3. Activate screen recording and select Record Sound β†’ Device Sound (not microphone!).
  4. 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:

  1. Go to Settings. β†’ Battery.
  2. Select Performance Mode (or High Performance).
  3. Turn on the option to turn off optimization for applications.
  4. 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 TikTokLimitations of the annexRecord the video in a standard camera, then upload it to TikTok
The sound is recorded with distortionsConflict of microphone and speakersUse headphones with a microphone or turn off sound recording in camera settings
Settings are reset after the updateMIUI/HyperOS PolicyRepeat 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.

FAQ: Frequent questions

Can I play background music on Xiaomi without root rights?
Yes, all the methods in this article (except for deep systemic changes) work without root. ADB, Third-party cameras or HyperOS settings.
Why is the music shut down again after the MIUI update?
Updates often reset user audio settings. To avoid this, reapply after the update. ADB-On HyperOS, it also helps to add apps to battery exceptions.
How to record music videos from YouTube?
YouTube blocks audio recording through standard means. Solutions: Download audio separately (e.g. via Snaptube). Use screen recording with the device's sound on (see Method 4). Record video without sound, then overlay the track in the editor.
Will there be an echo if the music is played through speakers while recording?
Yes, if the microphone picks up the sound from the speakers, it will echo. To avoid this: Use your headphones (the sound will be recorded clean), turn off the microphone in the camera settings (if you don't need a voice), reduce the volume of the speakers to 30-50%.
Does this work on POCO and Black Shark?
Yes, POCO and Black Shark (as Xiaomi sub-brands) use the same MIUI/HyperOS firmware. All the instructions in the article are applicable, but the path to settings may vary slightly (for example, on Black Shark 5, the background sound option is hidden in Game Mode).