Xiaomi Mi 9 is the flagship of 2019, which is still relevant thanks to the powerful hardware and flexible firmware MIUI. One useful feature that many users want to activate is the automatic flashlight on incoming calls. This is not only convenient in the dark, but also helps to quickly find the phone by light signal. Unfortunately, in the standard settings of the Mi 9, this option is not, but it can be implemented in several ways.
In this article, we will discuss 5 proven methods, from hidden MIUI settings to third-party applications with advanced functionality. You will learn how to set the flashlight to work on any calls (incoming / outgoing), as well as how to avoid common errors that may cause the function to fail. All instructions are adapted for the Xiaomi Mi 9 with the latest firmware versions (including MIUI 14 and HyperOS).
Before you proceed to setup, make sure that on your device:
- π Battery charge not less than 15% (lightlight consumes additional energy).
- π± Version. MIUI at least 10.3 (on older firmware, some methods do not work).
- π¦ The flashlight is serviceable (check its operation through the notification panel).
1. Method: Hidden MIUI settings (without root)
MIUI has a hidden Torch on call feature that can be activated via an engineering menu, which does not require root rights and works on most firmware versions for the Xiaomi Mi 9.
To turn on the flashlight when calling:
- Open the phone app and dial the combination: ##6484##
- In the Testing menu, select Hardware Testing β Torch.
- Activate the Torch on Call option (switch to position) ON).
- Save the settings and restart the phone.
Important! Some versions of MIUI (e.g. 12.5 Enhanced) may not have this item, so move on to the next method.
Dial ##6484##|Look for Torch on call|Enable switch |Reboot device
-->
2. Method: Application "Flash on Call" (Flash on Call)
If the hidden settings donβt work, use the third-party Flash On Call app. Itβs free, doesnβt require root rights, and has flexible settings for the Xiaomi Mi 9.
Instructions for installation and setting:
- Download the app from Google Play.
- Launch it and grant permissions to: π Access to calls (Phone). π¦ Flashlight control (Camera). π οΈ Auto-start (Auto-start in the settings) MIUI).
Enable Flash on Call
Settings
- π Incoming calls only (incoming calls only) or All calls (all calls).
- β±οΈ The duration of the flashlight: Until call ends (until the end of the call) or Custom time (set your value).
Advantages of the method:
- ποΈ Flexible settings (you can adjust the blinking, the color of the glow on models with RGB-flashlight).
- π± It works on all versions. MIUI HyperOS.
- π Ability to disable the function for specific contacts (blacklist).
Flash On Call|Torchie|Flashlight Alerts|Other|Not using.-->
3. Method: Automation through MacroDroid
For advanced users who want to set up complex scenarios (for example, turning on a flashlight only at night or for certain contacts), MacroDroid is a good application. It allows you to create automatic rules without programming.
Algorithm of settings:
- Install MacroDroid from Google Play.
- Create a new macro (Add Macro).
- Select as a Trigger (Trigger: π Phone β Incoming Call (Incoming Call). π If necessary, add a time limit (Time/Date).
- As an action (action) indicate: π¦ Torch β Turn On (turn on flashlight).
- π Phone β Call Ended β Torch β Turn Off.
Attention! On some MIUI firmware, this command may reset after the system update, in which case it will have to be run again.
adb shell am broadcast -a com.android.server.TorchService.TOGGLE -e state true
This command simulates clicking on a flashlight in the notification panel, but requires root rights or special permissions.
-->
5. Method: Custom Recovery Firmware (TWRP + Magisk)
For users with an unlocked bootloader and a TWRP installed, there is another way to flash the Magisk module, which adds a flashlight function when calling at the system level.
What will be required:
- π Unlocked bootloader (bootloader).
- π± Established custom recaveri TWRP.
- π οΈ Magisk module (e.g. Flashlight on Call).
Instructions:
- Download Flashlight on Call (available on XDA Developers)
- Reboot to TWRP (hold Power + Vol Up when the phone is off).
- Sweak the module through Install β select the downloaded file.
- Reboot to the system and check the function.
β οΈ Attention! firmware custom modules can lead to unstable operation of the phone or loss of warranty.Before installing, make a backup through TWRP (Backup β Select the Boot, System, Data sections).
Comparison of methods: which one to choose?
To make it easier for you to determine, we have compiled a table with the pros and cons of each method:
| Method | Difficulty | Need root? | Works on MIUI 14? | Additional functions |
|---|---|---|---|---|
| Hidden MIUI settings | β | β No. | β Yeah, not always) | Only the basic function |
| Flash On Call | ββ | β No. | β Yes. | Blacklist, timer, flashing |
| MacroDroid | βββ | β No. | β Yes. | Difficult scenarios, time conditions |
| ADB-team | βββ | β No. | β οΈ Partially. | System level, but it can reset |
| Magisk module | ββββ | β Yes. | β Yes. | Maximum stability, integration into the system |
Selection recommendations:
- π If you MIUI 14 or HyperOS β Start with Flash On Call.
- π§ For flexible settings (e.g., only at night) β use MacroDroid.
- π οΈ If you are an experienced user and are ready for risks, go through the Magisk module.
-->
Frequent problems and their solutions
Even after setting the flashlight correctly, the flashlight may not work when ringing, and letβs look at the typical errors and ways to fix them:
Problem 1: The flashlight does not turn on when the call is incoming.
- πΉ Check if the flashlight is manually turned off through the notification panel.
- πΉ Make sure the application (Flash On Call or MacroDroid) is given all the necessary permissions.
- πΉ Restart your phone β sometimes resetting temporary data helps.
Problem 2: The flashlight turns on but doesn't turn off after the bell.
- πΉ In Flash On Call, check the Turn off after setting (should stand Call Ends).
- πΉ In MacroDroid, make sure that a second action is created to turn off the flashlight.
- πΉ If used ADB-Reset command: adb shell settings put global torch_on_call_enabled 0 Then turn it on again.
Problem 3: The function is unstable (it turns on, then it doesnβt).
- πΉ Check if the function is blocked by antivirus or firewall.
β οΈ On some Xiaomi Mi 9 firmware (for example, MIUI EU) The flashlight function when calling can conflict with system optimizations. If none of the methods worked, try resetting your phone to factory settings (Settings) β The phone. β Reset settings), but pre-reverse data.