How to set up a flashlight when calling Xiaomi 8T: all ways + hidden chips

Why the flashlight doesn’t work automatically and how to fix it

Owners of Xiaomi 8T And we often have a situation where, when you call in, the screen goes out, and finding the answer button in the dark becomes a real problem. MIUI It doesn't provide that option, and it's because of the energy saving policy: constant use. LED-flashes reduce battery life, so Xiaomi hid the feature in the depths of settings.

Fortunately, there are several ways to get around this limitation, from standard MIUI tools to third-party apps. In this article, we will discuss all the working methods for Xiaomi 8T (including the global and Chinese firmware versions), as well as the nuances that affect the stability of the function, such as why the flashlight can flash instead of a constant glow or why it turns off after 5 seconds.

Method 1: Enable via hidden MIUI settings (without root)

The most reliable method is to activate the hidden option in the engineering menu. It works on most versions of MIUI (including MIUI 10/11/12), but requires strict follow-up of the instructions. Importantly, check the firmware version in Settings β†’ About Phone before changing - on some custom builds, the path may be different.

Instructions:

  • πŸ“± Open the phone app and dial the code: ##6484##
  • πŸ”§ In the menu that appears, select Testing. β†’ LED and Vibration β†’ Flashlight during call
  • πŸ”„ Switch the switch to the position on and confirm the changes
  • πŸ“² Restart your phone (required!)

Make sure the flashlight is manually operated through the notification curtain |

Check the battery level (less than 15% can block the function)|

Turn off energy saving modes in Settings β†’ Battery |

Backup important data (in case of failure)

-->

If the flashlight does not light up after rebooting, check:

  • πŸ”¦ Does the cover block the function (especially with a magnetic lock)
  • πŸ“΅ Is the "Do Not Disturb" or "On the Plane" mode activated"
  • πŸ”‹ Is the ultra-power saving mode turned on (disables all background processes)

πŸ’‘

If ##6484## doesn’t work, try the alternative: ##36446337###, which opens the extended engineering menu on some versions of MIUI.

Method 2: Use the Flash On Call app (for all Android versions)

If the engineering menu is not available or changes are not saved, a third-party Flash On Call application will come to the rescue. It works even on non-rooted devices and supports flexible settings: you can choose the color of the blink, the duration of the glow and even turn on the vibration in sync with the flashlight.

Step-by-step installation:

  1. Download the app from Google Play (free version with ads)
  2. At the first start, grant permissions: πŸ“ž Calls (to track incoming calls) πŸ”¦ Camera (for flashlight control) πŸ›‘οΈ Auto-run (to run in the background)
  3. In the main menu, activate the Enable Flash on Call option.
  4. In the Settings section, set up: πŸ”„ Flash Mode: Select Always On (permanent glow) or Blinking (blinking) ⏱️ Duration: Set Until Call Ends (Until the End of the Call) 🎨 Flash Color: white or colored light (on some models)
Why can't the app work?
If the flashlight is not enabled via Flash On Call, check: 1. Battery Optimization: Turn Off Application Optimization in Settings β†’ Apps β†’ Flash On Call β†’ Battery β†’ No Limits. 2. Android 10+: Newer versions of Android require additional Display over other apps (in special features settings). 3. Conflict with MIUI: Some firmware versions block third-party apps from controlling the camera. The solution is to install a Magisk module to bypass restrictions.

Advantages of the method:

  • βœ… It works on all versions. MIUI Android
  • βœ… Flexible settings (you can even customize for specific contacts)
  • βœ… Doesn't require root rights

Disadvantages:

  • ❌ Increased battery consumption (the application runs in the background)
  • ❌ Possible delays in inclusion (1-2 seconds after the call starts)

Method 3: Automation via Tasker (for advanced users)

For those who like fine tuning, Tasker offers maximum flexibility, and it can create a rule that will include a flashlight not only when you call, but also when you call. SMS, notifications from specific applications or even low light levels.

Algorithm of settings:

  1. Install Tasker and AutoInput plugin
  2. Create a new profile (Profile β†’ Event β†’ Phone β†’ Phone Ringing)
  3. Add Task β†’ Add β†’ Plugin β†’ AutoInput β†’ Flashlight
  4. In the task settings, select Turn On and set a timeout (e.g. 30 seconds)
  5. Save the profile and activate it.

Additional opportunities:

  • πŸ”„ You can add a Time condition so that the flashlight only works at night.
  • πŸ“± You can link to specific contacts (for example, only for calls from Mommy")
  • πŸ”‹ You can automatically turn off the flashlight at a charge level below 20%

Through the engineering menu|

Flash On Call| appendix

Tasker|

Another option|I don't know, I haven't tried it yet.-->

Table of comparison of methods

To choose the best way, compare the key parameters:

MethodRoot is required.Battery consumptionStabilityFlexibility of settingsDifficulty
Engineering menu❌ No.⚑ Low.⭐⭐⭐⭐⭐⭐⭐ (only on/off)⭐⭐ (simple)
Flash On Call❌ No.⚑ Medium.⭐⭐⭐⭐⭐⭐⭐⭐ (color, flashing, timeout)⭐⭐ (simple)
Tasker + AutoInput❌ No.⚑ High-pitched⭐⭐⭐⭐⭐⭐⭐⭐ (terms)⭐⭐⭐⭐ (difficult)
Magisk moduleβœ… Yes.⚑ Low.⭐⭐⭐⭐⭐⭐⭐⭐⭐ (extension)⭐⭐⭐⭐⭐ (difficult)

Important: On the Xiaomi 8T with MIUI 12.5+ firmware, the engineering menu can block changes after the update. In this case, use the Flash On Call or Tasker app.

Frequent problems and their solutions

Even after setting the flashlight correctly, here are the most common failures and ways to fix them:

⚠️ If the flashlight flashes instead of the constant glow, check the energy saving settings. MIUI By default, restricts background processes for applications that control the camera. disable battery optimization for Flash On Call or Tasker in Settings β†’ Annexes β†’ Battery management.

Problem 1: The flashlight turns on, but goes out immediately

  • πŸ”‹ Check the charge level – on some firmware, the function turns off when the battery is below 10%
  • πŸ”„ Restart your phone (sometimes it helps to reset the system cache)
  • πŸ“± Update the firmware - in older versions MIUI It was a timeout bug.

Problem 2: The flashlight only works for some contacts.

  • πŸ“ž Check if the contact has been added to the blacklist or the "Exceptions" list"
  • πŸ”§ In Flash On Call, turn off the Ignore Silent Mode option if the call is silent.
  • πŸ“‘ Make sure that the contact does not have a special call signal (sometimes this interferes with the operation)

Problem 3: After the MIUI update, the flashlight stopped working

  • πŸ”„ Repeat the settings through the engineering menu – updates reset hidden settings
  • πŸ“² Reinstall the Flash On Call app (sometimes data cleanup helps)
  • πŸ”§ Check if the engineering menu code has changed for your version. MIUI

πŸ’‘

If none of the methods worked, try resetting the network settings: β†’ SIM-maps and mobile networks β†’ Network resets. This sometimes solves problems with the camera module and the phone application.

Additional chips: how to make a flashlight smarter

The flashlight is just the beginning, and with Xiaomi 8T, you can implement more advanced scenarios:

  • πŸŒ™ Night mode: Configure the Tasker so that the flashlight is turned on only from 22:00 to 7:00
  • πŸ“± Individual settings: Flash On Call allows you to assign different colors to different contacts (e.g. red for work, green for family)
  • πŸ”‹ Battery savings: Program to turn off the flashlight after 10 seconds if the call is not received
  • 🚨 SOS-signal: When repeatedly pressing the power button, the flashlight will flash in mode SOS (useful in emergency situations)

To implement the last item, use the Shake Flashlight app (available on Google Play), which allows you to turn on the flashlight:

  • πŸ”„ Shaking the phone
  • πŸ”Š Voice command (OK, Google, turn on the flashlight")
  • πŸ“ geolocation (for example, automatically in dark rooms)

Combining these features with automatic turn on when calling will make your Xiaomi 8T a true smart assistant.

❓ Can I set up a flashlight for certain contacts only?
Yes, this is possible using the Flash On Call app. In the settings there is a Contacts section where you can: Add specific numbers to the whitelist Eliminate numbers from the blacklist Assign different colors of the flashlight for different contact groups In the engineering menu there is no such option - there the setting is applied to all calls.
❓ Why the flashlight doesn't work in "Do Not Disturb" mode"?
This is a feature of MIUI: in the Do Not Disturb mode, not only sounds are blocked, but also visual notifications, including a flashlight. Solutions: Add important contacts to exceptions (in the mode settings) Use Tasker to bypass the restriction (requires permission to access notifications) Turn off the Do Not Disturb mode for incoming calls in the audio settings
❓ How to turn off the flashlight when calling if you no longer need it?
Methods depend on the method of setting: Engineering Menu: Repeat the steps and disable the Flashlight option during call Flash On Call: Go to the application and deactivate the main option or delete it Tasker: Disable the profile in the Profiles section or delete the task If the flashlight continues to turn on, clear the cache of the Phone application in the settings.
❓ Will it work for other Xiaomi models (Redmi, Poco)?
Yes, most methods are universal for devices on MIUI, but there are nuances: Redmi Note 7/8/9: The engineering menu code may differ (try ##36446337##) Poco F1/F2/F3: Requires to disable MIUI optimization for third-party applications Xiaomi Mi 9/10/11: Some firmwares need to additionally allow access to the camera for system applications For accurate information, check compatibility on the Mi Community or XDA Developers forums.
❓ Does this function affect the life of the LED-flash?
Yeah, but not critical. LED-Smartphone flashes are designed to last 50,000 to 100,000 hours, and if the flashlight is turned on for 10 to 20 seconds per call, it will last for several years of active use: πŸ”₯ Overheating (if the flashlight lasts longer than 1 minute in a row) πŸ’§ Moisture intrusion (even if the phone is waterproof, contacts) LED oxidize) ⚑ Frequent voltage drops (with battery power below 5%) To minimize wear, set a timeout in Flash On Call for 15-20 seconds.