How to Set Your Melody on Xiaomi Mi 9: Official and Alternative Methods

The Xiaomi Mi 9 is still a popular device even after years due to its balanced characteristics and flexible MIUI firmware. However, many users face a problem: a standard set of ringtones quickly becomes boring, and attempts to replace them with their own tunes do not always end in success. In this article, we will analyze all the current ways to install custom ringtones, from official methods through the settings menu to workarounds for files with β€œinappropriate” formats.

The Mi 9 (codenamed cepheus) is a feature of MIUI limitations on the duration and format of audio files. For example, the system can ignore tracks longer than 30 seconds or with a bitrate higher than 192 kbit / s. We tested all methods on MIUI 12-14 firmware (including global and Chinese versions) and highlighted working solutions even for non-standard cases - when the melody does not appear in the selection list or is reset after a reboot.

Preparation: audio file requirements for Xiaomi Mi 9

Before downloading music to your phone, make sure that the files meet the MIUI technical limitations.The system automatically filters the ringtones according to the following criteria:

  • 🎡 Format:.mp3,.m4a,.ogg,.wav (priority y) MP3 bitrate up to 320 kbit/s).
  • ⏱️ Duration: optimal 5-30 seconds. Files longer than 40 seconds may not appear in the list.
  • πŸ“ Placement: Ringtones, Notifications or Alarms folders in the root memory directory.
  • πŸ”Š Volume: normalize the sound (peak volume is not higher) -3 dB, otherwise the melody will be quieter than the standard.

To check the file settings, use free programs like Audacity (on PC) or MP3 Cutter (on Android). If your track is.flac or.aac, convert it via Online-Convert or VLC Media Player.

⚠️ Attention: Files from DRM-protection (e.g. downloaded from Apple Music or Spotify) will not play as ringtones. Use only audio without copyright protection.

ParameterRecommended valueConsequences of non-conformity
Bitreit128–320 kbit/sFiles with bitrate > 320 kbps may not be played
Frequency of sampling44.1 kHz48 kHz or higher can cause distortions
ChannelsMono or Stereo.Multichannel audio is not supported
File size< 5 MBLarge files may not appear in the selection menu

πŸ’‘

If you cut a track from a song, add a smooth fade-out in the last 2-3 seconds. This will eliminate a sharp break in the melody when you call.

Method 1: Install ringtones through standard MIUI settings

The easiest method is to use the built-in MIUI menu. It works on all versions of the firmware, but has a limitation: the files must be in the correct folder and correspond to the format.

Instructions:

  1. Connect Xiaomi Mi 9 to your PC via USB (File Transfer Mode) or download the audio file directly to your phone.
  2. Move the melody to the Ringtones (for calls), Notifications (for notifications) or Alarms (for alarm clocks) folder. SD-map!).
  3. Open Settings β†’ Sound and vibration β†’ Call melody.
  4. Select your file from the list. If it's not there, reboot your phone and check again.

The correct file format (MP3/M4A)|File in a folder Ringtones/Notifications|Duration < 30 seconds|No. DRM-defense

-->

⚠️ Note: On some versions MIUI 13+ Ringtones folder may not exist by default. Create it manually through any file manager (e.g. Mi File Manager or Solid Explorer).

What if the file is not listed?
1. Check the file extension - sometimes it's hidden (e.g. song.mp3.mp3). 2. Rename the file to a spaceless Latin (e.g. ringtone1.mp3). 3. Reboot the phone - MIUI scans media files when you start. 4. Delete the.nomedia file from the folder (if any) - it blocks the media scanning.

Method 2: Use a file manager with root rights (for experienced)

If the standard method didn’t work and you have an unlocked bootloader and root rights, you can replace the system ringtones, which is suitable for setting tunes on all default contacts or for replacing standard signals (for example, an alarm clock).

Algorithm:

  1. Install a file manager with root support (such as Root Explorer or FX File Explorer).
  2. Go to /system/media/audio/ringtones (for calls) or /system/media/audio/alarms (for alarm clocks).
  3. Copy your file into this folder. Importantly, the file name must match the original file name (e.g., the file name must be the same as the original file name, Mi_Tune.mp3), Otherwise, the system won't recognize it.
  4. Change the file permission to 644 (rw-r-----).
  5. Reboot the phone.

The advantage of this method is that the melody will be available even after the settings are reset.

  • 🚨 Damage to system files can lead to bootloop ( looped boot).
  • πŸ”„ After updating MIUI change may be reset.

πŸ’‘

Backup /system/media/audio folder is a must! Use the adb pull /system/media/audio command to save original files.

Method 3: Third-party applications for installing ringtones

If the first two methods didn't work or you don't want to mess with the file system, use specialized applications that bypass the limitations of MIUI and allow you to set tunes of any length.

Top.-3 Proven applications for Xiaomi Mi 9:

AnnexAdvantagesDeficiencies
Ringtone MakerCuts tracks, normalizes volume, supports all formatsAdvertising in the free version
ZedgeLarge library of ready-made ringtones, synchronization with the cloudRequires registration for downloading
Ringtones for MeSimple interface, support for dark themeTrack length limit of 30 seconds

Instructions for Ringtone Maker:

  1. Install the app from Google Play.
  2. Select an audio file from your phone’s memory.
  3. Cut the track (optional) and press Save as a ringtone.
  4. Assign a name and confirm the preservation.
  5. Go to Settings β†’ Sound β†’ Call Melody and select your file.

⚠️ Note: Some apps (e.g. Zedge) install ringtones in their own folder, which can be cleared when you delete the program. /sdcard/Ringtones.

πŸ“Š What type of ringtone installation do you use more often?
Through MIUI settings
Third-party annexes
Manual replacement of system files
I don't set up custom ringtones.

Typical problem solving

Even after installing the Xiaomi Mi 9, users are faced with bugs.

Problem 1: The melody does not appear in the selection list

Causes and solutions:

  • πŸ“‚ Wrong folder: Move the file to /sdcard/Ringtones (subfolder!).
  • πŸ” Media file not scanned: Restart your phone or manually run the scan through Mi File Manager (Media Scanner menu).
  • 🎡 Unsupported format: Convert to MP3 bitrate 192 kbit/s.

Problem 2: Rington resets after rebooting

This is a bug in some versions of MIUI 12.

  • πŸ”„ Update your firmware to the latest stable version.
  • πŸ“± Set the tune through a third-party app (like Ringtone Maker).
  • πŸ”§ Reset the sound settings: Settings β†’ Annexes β†’ Application management β†’ Settings (βš™) β†’ Resetting settings.

Problem 3: The melody plays with distortion

The fault is the high audio settings:

  • πŸ”Š Reduce the bitrate of the file to 192 kbit/s.
  • πŸŽ›οΈ Turn off Mi Sound Enhancer in Settings β†’ Sound. β†’ Sound effects.
  • πŸ“‰ Check the file for clipping (distortion from too high volume) in Audacity.

How to Set Different Melodies for Different Contacts

The individual ringtones function is unstable in MIUI, but it can be configured through standard tools or third-party applications.

Method 1: Through Google Contacts:

  1. Open the Contacts app.
  2. Select a contact and click Edit.
  3. Slip on the ringtone and select the file.
  4. Save the changes.

Method 2: Contact Ringtones app:

  • πŸ“₯ Install the app from Google Play.
  • πŸ”— Provide access to contacts and storage.
  • 🎡 Assign unique tunes for each contact.
  • πŸ”„ The application works even if the standard function MIUI refuses to maintain the settings.

πŸ’‘

To check if your ringtone is working, call yourself from another phone or use the command ##4636# β†’ Sound Testing.

Alternatives: vibration and LED-indication

If you don’t like sound notifications, you can configure the Xiaomi Mi 9 to:

  • πŸ“³ Vibrational patterns: Create a unique vibration for each contact β†’ Sound. β†’ Vibration on the bell.
  • πŸ’‘ Colour LED-Indicator: Use the Light Manager app to assign notification colors (e.g., red for the app). SMS, blue-colored).
  • πŸ”” Quiet mode with exceptions: C Settings β†’ Do not disturb add important contacts to the exceptions.

To create custom vibration patterns:

  1. Go to Settings β†’ Sound β†’ Vibration when calling β†’ Create a pattern.
  2. Write down a sequence of vibrations (e.g., long-short-long).
  3. Save and assign contact.

πŸ’‘

Xiaomi Mi 9 LED-The indicator only works when the screen is off. If the indicator does not blink, check the battery saving settings in Settings β†’ Battery β†’ Sleep regimen.

FAQ: Frequent questions about ringtones on Xiaomi Mi 9

Can I set a tune longer than 30 seconds?
Technically, yes, but MIUI cuts playback to 30 to 40 seconds. To hear the full track: Use the Ringtone Maker app and save the file as Music, not Rington. Assign it through Settings β†’ Sound β†’ Call Melody β†’ Local Music. Note: Long tunes can cause a delay in calling.
Why is my tune quieter than standard?
This is due to normalizing the volume in MIUI. Solutions: Increase the volume of the file in Audacity (the Normalize effect). Turn off Adaptive Volume in Settings β†’ Sound. Use the Volume Booster app (caution - it can cause distortion!).
How to get back the standard MIUI ringtones?
If you have replaced system files and want to roll back: Download the original ringtones MIUI (for example, XDA Developers. Replace the files in /system/media/audio (You need root. Or reset the sound settings: Settings. β†’ Annexes β†’ Settings (βš™) β†’ Reset.
Can I use music from Spotify/YouTube as a ringtone?
No, because these services are used. DRM-Alternatives: Download the track in format MP3 without protection (e.g. through YTMP3). Use the Ringtone Maker app to crop up downloaded audio. ⚠️ Downloading music from YouTube may infringe copyright.
Why did all the custom ringtones disappear after the MIUI update?
This is standard MIUI behavior in major updates. To recover: Move file backups back to Ringtones/Notifications folders. Reboot your phone. If the tunes don't show up, clear the Media Store app cache (Settings β†’ Apps β†’ Show Everything β†’ Media Store β†’ Clear cache).