The flashlight when calling Xiaomi Mi 9: 5 ways to turn on automatically

Owners of Xiaomi Mi 9 often face a situation when it is difficult to find a phone in the dark during an incoming call. Turning on the flashlight when calling solves this problem - bright light helps to quickly detect the device and see who is calling. However, in standard MIUI firmware, this feature is hidden or not explicitly.

In this article, we’ll look at all the ways you can activate a flashlight when you call, from built-in settings to third-party apps. You’ll learn how to set up automatic backlighting through Settings β†’ Special features, which apps from Google Play are best to use, and how to circumvent the limitations of MIUI with hidden commands. We’ll also look at frequent errors and give recommendations for optimizing the function.

Important: The methods vary depending on the version of MIUI. If you have global firmware (e.g. MIUI 12.5 or MIUI 13), some methods may not work β€” they will require the installation of additional modules or root rights.

1. Built-in feature in MIUI: where to look for settings

Some versions of MIUI for Xiaomi Mi 9 have a hidden option to turn on the flashlight when you call, which can be called variously: "Lighting at notifications", "Light signal" or "Lightlight at call", the problem is that the path to it is not obvious and depends on the regional firmware.

To find this setting:

  • πŸ” Open the Settings. β†’ Special facilities.
  • πŸ” Scroll down to the "Hearing" or "Sound and Vibration" section".
  • πŸ” Look for items related to light notifications (may be called "Blinking Light" or "Screen Lighting").
  • πŸ” If you don't have an option, your firmware doesn't support it out of the box.

On Xiaomi Mi 9 with MIUI 11 and older, this feature is often absent from global builds, but is available in Chinese firmware versions.If you use custom firmware (e.g. xiaomi.eu), the odds of finding a customization are higher.

⚠️ Warning: Turning on the flashlight when calling through the built-in settings may conflict with Do Not Disturb mode. If the function does not work, check if this mode is activated in Settings β†’ Sound and vibration.

πŸ“Š What firmware are you using on Xiaomi Mi 9?
Global (Global)
Chinese (China)
European (xiaomi.eu)
Castomic (LineageOS, etc.)
I don't know.

2. Apps from Google Play: Top-3 decision

If you don't have a built-in feature, you can use third-party apps that run on all versions of MIUI and don't require root permissions, and we tested more than 10 programs and selected the three most reliable ones:

AnnexRatings.FeaturesCons
Flash On Call4.7 β˜…Works without root Customized glow duration Support white contact listAdvertising in the free version
Flash Alerts 24.5 β˜…Flashing flashlight mode Integration with SMS and messengersPlugins for some functions
Flash Notification4.3 β˜…Minimalist interface: Low battery consumptionLimited customization

For installation:

  1. Download one of the apps from the links above (or search Google Play by name).
  2. Open the application and grant permissions: πŸ“± Access to notifications (to track calls) πŸ”¦ Flashlight control (to enable it)

"Flash on Call"

self-start

Settings β†’ Applications β†’ Auto Launch

⚠️ Note: Some applications may conflict with battery optimization MIUI. If the flashlight doesn’t work, add the app to the optimization exceptions (Settings) β†’ Battery and productivity β†’ Optimizing the battery).

Install the app from Google Play|

Provide access to notifications |

Enable the "Flash on Call" option |

Add to auto-run MIUI|

Disable battery optimization for the application-->

Hidden MIUI commands: how to turn on a flashlight through the engineering menu

MIUI firmware has a hidden engineering menu that allows you to activate additional features, including flashlight control, which doesn’t work on all versions, but it’s worth trying if other methods haven’t worked.

Instructions:

  1. Open the Phone app and enter the code: ##36446337## This will open the CIT (Customer Engineer Mode) menu.
  2. Go to the Hardware Testing β†’ Lights section.
  3. Find the Torch Light (or Flashlight) option and select it.
  4. Enable the option "Enable during call" (if any).
  5. Save the settings and restart the phone.

If the code doesn’t work, try an alternative:

##4636##

In the menu that opens, select Usage Statistics β†’ Battery History and check if there are any options related to flashlight management.

What to do if the engineering menu is not opened?
If nothing happens after you enter the code, it means that your version is MIUI It blocks access to the engineering menu, and in this case, you can try: 1. Install the application. MTK Engineering Mode (for MediaTek processors) or Qualcomm Engineer Mode (for Snapdragon). 2. ADB-commands to unlock hidden features (requires a PC connection). 3. Update the firmware to a newer version MIUI, where the menu can be accessed.

This method is the most risky: the wrong actions in the engineering menu can lead to malfunctions in the phone. If you are not sure, you should use the apps from Google Play.

Automation through Tasker: for advanced users

If you like fine-tuning, you can use the Tasker app to create an automatic flashlight rule when you call, which takes longer to set up, but gives you complete control over the logic of the operation.

Step-by-step:

  1. Install Tasker from Google Play and provide all the necessary permissions (including special features).
  2. Create a new profile ("+" β†’ Event β†’ Phone β†’ Incoming call).
  3. As an action add: πŸ”¦ "Flash" (in Net section β†’ Flash - install On: True. ⏱️ "Wait" (in Task section β†’ Wait – Specify the time (for example, 30 seconds). πŸ”¦ "Flash – Install On: False (to turn off flashlight after ringing).

Save the task and activate the profile.

Advantages of this method:

  • πŸŽ›οΈ Full customization: you can adjust the blinking, the duration of the glow, exceptions for certain contacts.
  • πŸ”„ Integration with other automations (e.g., enabling vibrations) + flashlight).
  • πŸ“± It works on all versions. MIUI rootless.

⚠️ Attention: In new versions MIUI (MIUI 13+) Tasker may require additional permissions to control the flashlight. If the task is not performed, check the settings "Other permissions" in the application information.

πŸ’‘

To prevent the flashlight from draining the battery, in Tasker add a charge check condition. For example, turn on the backlight only if the charge is above 20%.

5.Problems and Solutions: Why the flashlight doesn't turn on when ringing

Even after setting the flashlight correctly, let's look at the most common causes and ways to eliminate them:

Problem.Possible causeDecision
The flashlight doesn't turn on.The app is blocked by battery optimizationAdd it to exceptions (Settings β†’ Battery β†’ Battery Optimization)
It only works when the screen is unlocked.MIUI Limitations for Background ProcessesEnable "Show over other windows" in the app settings
The flashlight flashes, but does not burn constantly.Conflict with other applications (e.g., camera)Close all applications that use the camera/flashlight
The function works in a timeWeak network signal or firmware errorsUpdate. MIUI or reset the network settings (Settings) β†’ SIM-maps and mobile networks β†’ Resetting network settings)

If none of the methods worked, check:

  • πŸ”§ The flashlight is operational: try to manually turn it on through the notification panel. If it doesn't work there, there's a problem in the hardware (possibly damaged LED).
  • πŸ“± Version MIUI: on certain assemblies (for example, MIUI 12.0.1) function can be disabled at the firmware level.
  • πŸ› οΈ Root rights: If you are ready for radical measures, you can install the Xposed or Magisk module to force the function to be enabled.

πŸ’‘

If the flashlight doesn't work in any app, check its hardware health first, and type the code ##0673# or ##0289## into the engineering menu and run the LED test.

6.Alternative methods: vibration, screen and smart devices

If you can’t turn on the flashlight when calling, consider alternative warning options:

  • πŸ“± Screenlighting: in settings MIUI You can turn on "Lift for Activation" (Settings) β†’ Display. β†’ When the phone is called, the screen will light up when the phone is moving.
  • πŸ”Š Smart watch or bracelet: If you have a Mi Band or Amazfit, set the vibration on it when you call.
  • πŸ’‘ Smart Lamps: With Google Assistant or Mi Home, you can configure the smart lamp (e.g. Yeelight) to turn on when you call in.
  • πŸ”” Sound notifications: increase the volume of the call and set the melody with a gradual increase in sound (Settings) β†’ Sound and vibration β†’ The ringing melody).

For owners of Xiaomi Mi 9 with NFC There is another life hack: you can program NFC-I'll put a flashlight on:

  1. Buy it. NFC-sticker (stands) ~100 rubles).
  2. Install the NFC Tools app.
  3. Write down the flashlight command on the label.
  4. Stick the sticker to the back of your phone or case, and when you call, you just have to put your hand on the tag to activate the backlight.

7 Safety and battery: how to minimize risks

The constant use of a flashlight when making calls can affect the autonomy and resource of the LED, to avoid problems:

  • ⚑ Limit flashlight time: In applications like Flash On Call, set a timer (e.g., 20-30 seconds).
  • πŸ”‹ Watch the temperature: if the phone heats up in prolonged glow, turn off the function. Overheating can shorten battery life.
  • πŸ”„ Use the energy saving mode: in MIUI There is an option "Ultraeconomic mode" (Settings) β†’ Battery and performance, but it can block background processes.
  • πŸ›‘οΈ Check permissions: Some flashlight control apps request access to contacts or SMS. Refuse if it is not necessary for the main function.

On the Xiaomi Mi 9, the LED flashlight is designed for ~50,000 hours of operation (approximately 5-6 years with moderate use). If you turn it on every call (for example, 20 times a day for 30 seconds), the resource will be reduced to 3-4 years. However, in practice this is not critical - replacing the LED is inexpensive (from 300 rubles in the service center).

⚠️ Warning: Do not use a flashlight when calling if the phone is in a sealed case or underwater. + Moisture can damage the LED or battery.

FAQ: Frequent questions about setting up a flashlight when calling

Can I turn on the flashlight when calling without third-party applications?
Yes, but only on some versions of MIUI (usually Chinese or custom) this feature is often absent from the global firmware for Xiaomi Mi 9. Check Settings β†’ Special features β†’ Lighting notifications. If you don't have the option, use the apps from Google Play.
Why does the flashlight turn on but turn off immediately?
This is due to battery optimization in MIUI. Add the flashlight control app to exceptions: Go to Settings β†’ Applications β†’ Application Management. Select your app (e.g. Flash On Call). Activate the Autostart, Secondary Start and Background Operation options. Also check if the flashlight is blocking another app (e.g. Greenify or Battery Saver).
Will the flashlight work when you call in "Do Not Disturb"?
No, in most cases, Do Not Disturb (DND) mode blocks all visual and audible notifications, including the flashlight. To get around this limitation: Add the right contacts to the exceptions (Settings β†’ Sound and Vibration β†’ Do Not Disturb β†’ Exceptions). Use Tasker with the condition of checking the DND mode.
Can you adjust different colors for different contacts?
No, the Xiaomi Mi 9 is equipped with a single-color white LED, and it is software impossible to change its color. However, you can: Use the backlight of the screen with different colors for contacts (through applications like Light Flow).
How to turn off the flashlight when you call if you no longer need it?
The method depends on the method of setting: If you used the built-in MIUI settings, go back to Settings β†’ Special features and deactivate the option. If you used a third-party application, open it and turn off the Flash on Call function. If you set it up through Tasker, delete or deactivate the corresponding profile.