How to permanently turn off the flashlight when calling on Xiaomi smartphones: the full guide

Are you tired of the flashlight on your Xiaomi automatically turning on every call you make?This feature, designed to be convenient in dark rooms, often annoys users β€” especially when the phone is down screen or the flashlight is triggered in the daytime. Unfortunately, in standard MIUI settings, the option to turn off this feature is not obvious, and on some models it is not at all on the menu.

In this article, we’ll look at all the ways you can turn off your flashlight when you call, from official settings to hidden commands and third-party apps. You’ll learn why the feature may not turn off on some firmware, how to bypass the limitations of MIUI 14/15, and what to do if the problem returns after the system update. Instructions are suitable for most models, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra.

Why does the flashlight turn on when you call and can it be turned off?

The automatic flashlight on incoming calls was introduced in MIUI 10 and was originally marketed as a smart add-on for comfortably taking calls in the dark. The logic is simple: when you pick up the phone, the proximity sensor picks up movement, and the system activates backlights so you can see the buttons on the screen.

  • πŸ”¦ The flashlight works even during the day or in bright lights.
  • πŸ“± Turns on when the phone is lying on the table (false motion sensor alerts).
  • πŸ”‹ Quickly drains the battery due to frequent switching on.
  • 😀 Irritates others in public places (cinema, theaters, meetings).

Technically, the feature is implemented through the interaction of Sensor HAL (hardware layer sensors) and com.android.phone. In some firmware, it can be disabled through settings, but Xiaomi periodically removes this option from the menu - especially on global versions of MIUI for Europe and India.

πŸ“Š The flashlight when you ring irritates you?
Yes, very!
Sometimes it's too much.
I don't care.
No, it's convenient.

Method 1: Disconnect via standard MIUI settings

On most modern Xiaomi smartphones (starting with MIUI 12), the option to turn off the flashlight when calling is hidden in the "Additional settings" menu. However, its location may vary depending on the model and regional firmware.

  1. Open the Settings app (cog icon).
  2. Go to the Appendix section β†’ Application management.
  3. Click on the three dots in the top right corner and select Show All Apps.
  4. In the search bar, enter the Phone and select the system application com.android.phone.
  5. Slip on the Notifications. β†’ Incoming challenges.
  6. Scroll down and find the flashlight option when you call (or Flash on call in English firmware).
  7. Move the slider to the off position.

If this item is not available, then your firmware does not support shutdown via the menu, in which case try the alternative methods below.

β˜‘οΈ Pre-switch check

Done: 0 / 3

⚠️ Note: Some models (e.g. Redmi) 9A POCO M3) When you turn off this option, the flashlight can be activated again after you restart. ADB-commands (see Method 3).

Method 2: Use of Do Not Disturb (Backway)

If your firmware doesn't have a direct shutdown option, you can use Do Not Disturb (DND) mode, which doesn't remove the flashlight completely, but allows you to turn it off at certain hours or for specific contacts:

  • πŸ•’ Set up a schedule. DND at the time when the flashlight interferes most (for example, from 22:00 to 8:00).
  • πŸ“΅ Add important contacts to exceptions to avoid missing important calls.
  • πŸ”• Turn on alarm clocks only – this will turn off all notifications, including the flashlight.

How to set up:

  1. Open Settings β†’ Sound and vibration β†’ Do not disturb.
  2. Select a schedule and set the desired time period.
  3. In the Exclusions section, add the contacts for which the flashlight should work.
MethodPlusesCons
Disconnection in phone settingsSimple and quick.Doesn't work on all firmware.
Do not disturb mode.It works on all models.Disable all notifications
ADB-teamIt works on 100% of devices.Requires PC and debugging over USB

Method 3: Disconnection through ADB-Teams (for advanced teams)

If standard methods don't work, the most reliable way is to use ADB (Android Debug Bridge), which allows you to change hidden system settings, including turning off the flashlight when you call, and importantly, once you execute the commands, the function will be permanently disabled, even after you reset the settings.

What you need:

  • πŸ–₯️ Computer with Windows/macOS/Linux.
  • πŸ“± Cable USB (original for stable connection).
  • πŸ”§ Included Debugging by USB phone-on.

Step-by-step:

  1. Download ADB Tools and unpack the archive.
  2. On your phone, turn on USB Debugging (Settings β†’ About Phone β†’ MIUI version – press 7 times, then go back to Additional Settings β†’ For Developers).
  3. Connect your phone to your PC and type in the command line: adb devices (your device should appear).
  4. Execute the flashlight shutdown command: adb shell settings put global flashlight_on_call 0
  5. Reboot the phone.

⚠️ Note: On some firmware (for example, MIUI 14 for POCO F5) after updating the system of settings ADB To avoid this, record the command via adb shell cmd settings set global. settings_provider_model strict.

πŸ’‘

If ADB doesn’t recognize the device, try reinstalling Xiaomi USB Drivers or using a different cable, often with unoriginal cords.

Method 4: Third-party applications to turn off flashlight

If you don't want to mess with ADB, you can use third-party utilities.

  • πŸ“± Flash Alerts 2 allows you to flexibly adjust the flashlight and vibration when calling.
  • πŸ› οΈ MacroDroid – Creates a rule β€œIf an incoming call is made” β†’ Turn off the flashlight".
  • πŸ”§ Tasker – for advanced users (requires profile settings).

How to set up in MacroDroid:

  1. Install the app from Google Play.
  2. Create a new macro with an Inbound Call trigger.
  3. Add the action Turn off the flashlight (Flashlight β†’ Turn Off).
  4. Save and activate the macro.

The downside of this method: Applications need special features rights or Overlays over other windows, which can affect performance.

What to do if the application does not work?
Check if MIUI Optimizer is blocking it (disable in battery settings). Also add the app to Autostart and Battery Optimization exceptions.

Method 5: Manual editing of system files (for experienced)

This method is only suitable for users with an unlocked bootloader and a TWRP installed. It involves editing the build.prop file, which is responsible for system parameters. Dangerous! Incorrect changes can lead to bootloop ( looped boot).

Instructions:

  1. Backup build.prop via TWRP or Root Explorer.
  2. Open the file in a text editor (such as MT Manager).
  3. Add at the end of the line: persist.sys.flashlight_on_call=0
  4. Save the file and restart the phone.

If the phone doesn’t boot after the changes, restore the original build.prop via TWRP.

πŸ’‘

Editing system files without root rights or backup can cause data loss or buildup of your device, and use this method only if you are confident in your actions.

Frequent problems and their solutions

Even after the flashlight is turned off, users face a return of the function, and consider typical scenarios and ways to fix them:

  • πŸ”„ The flashlight is turned on again after the update MIUI. β†’ Repeat the shutdown procedure through ADB Firmware often resets user settings.
  • πŸ“± Some contacts have flashlights working, others don’t. β†’ Check the exception settings in the Phone or Contacts app. These numbers may have custom settings.
  • πŸ”‹ Fast battery discharge after shutting down function. β†’ This is a temporary effect. The system will re-index the settings within 1-2 days.

If none of the methods worked, the reason may be:

  • πŸ› οΈ Castom firmware with modified system services.
  • πŸ“¦ Conflict with other apps (such as Truecaller or Google Phone).
  • πŸ”§ Hardware malfunction of the proximity sensor (check in the service menu by code ##6484##).
Can I turn off the flashlight only for certain contacts?
Yes, but not through the standard settings. Use apps like MacroDroid or Tasker to create a rule: "If [contact X] calls] β†’ turn off the flashlight. MIUI no such function.
After upgrading to MIUI 15, the flashlight will turn on again.
This is a well-known problem with new firmware. It only helps to re-disconnect through the ADB If you do not have root rights, use the command: adb shell settings delete global flashlight_on_call Then restart the phone.
The flashlight goes on even when the phone is on the table.
The motion sensor or gyroscope is activated. Turn off the Waking Up option in Settings β†’ Screen β†’ Additional. Also check if the case is disturbing the proximity sensor.
Is there a difference between Chinese and global firmware?
On Chinese versions of MIUI (e.g. Xiaomi 13 Pro), the option to turn off the flashlight is often available on the menu, while on global firmware it is removed "to simplify the interface."
Can I turn off the flashlight without a computer?
Yes, if you have root rights. Install BuildProp Editor from Google Play and add a line persist.sys.flashlight_on_call=0 You can't do without root rights, just through the ADB third-party.