The flashlight on Xiaomi turns on itself: why it happens and how to fix it

You take a Xiaomi phone out of your pocket, and the screen is lit up with a bright light, the flashlight goes back on spontaneously, a situation familiar to many smartphone owners of this brand. Uncontrolled switching on the flashlight not only drains the battery, but can also cause discomfort in public places. Why is it? There are several reasons: from banal random presses to serious software failures.

In this article, we will look at all the possible reasons why a flashlight on Xiaomi turns on without you, how to diagnose a problem, what settings to check first, when to contact a service center, and also get a checklist of actions that will help you quickly fix the problem.

Note right away: if the flashlight is turned on only when the screen is unlocked or during a call, this can be incorporated in the firmware as a backlight function (for example, in the Redmi Note 10 Pro or POCO X3 Pro models).

โ•โ•โ•

1. Accidental clicks: the most common reason

Most flashlight cases on Xiaomi involve physical contact.The brand's smartphones are often equipped with touch buttons or gestures that can fire in a pocket, bag or even on a desk.

For example, in the Redmi 9 and POCO M3 models, the flashlight can be turned on by double pressing the power button (if the corresponding function is activated), and in the Xiaomi 11T Pro or Mi 11 Ultra, a gesture on the screen can be responsible for this (for example, swiping your finger down the display turned off).

How to check:

  • ๐Ÿ” See if the flashlight quick access function is included in Settings โ†’ Lock screen โ†’ Quick action.
  • ๐Ÿ“ฑ Try to put the phone down on a flat surface and see if the flashlight is turned on from vibrations.
  • ๐Ÿงค Make sure that the cover or protective film does not press on the touch buttons.

If the problem is random taps, the solution is simple: turn off quick access to the flashlight or change the case for a tougher one.

๐Ÿ“Š How often do you have a flashlight on Xiaomi?
Once a day.
Several times a week
Less often but regularly
First time I've ever met

โ•โ•โ•

2. Software failures and firmware errors

If the flashlight is turned on for no apparent reason (the phone is on the table, no one is touching it), the software may be to blame.

  • ๐Ÿ“ฒ Updates MIUI Up to the new version (especially beta firmware).
  • ๐Ÿ”„ Resetting factory settings.
  • ๐Ÿ› ๏ธ Installation of custom firmware or modified kernels.

In the firmware MIUI 12.5 and MIUI 13 were bugs that caused com.android.systemui to spontaneously activate the flashlight, especially the Redmi Note 8 Pro, Mi 9T and POCO F2 Pro.

How to diagnose:

  1. Go to Settings โ†’ About Phone โ†’ MIUI version and check the relevance of the firmware.
  2. Open Settings โ†’ Applications โ†’ Application Management โ†’ Systems and search for System Interface (com.android.systemui). See if there are any crashes.

โš ๏ธ Note: If the flashlight is turned on strictly on schedule (for example, every day at 3 a.m.), this may be a sign of the work of the task scheduler from a third-party application. โ†’ Battery and productivity โ†’ Application launch schedule.

โ˜‘๏ธ Diagnostics of program failures

Done: 0 / 4
How to open Engineer Mode on Xiaomi?
Dial ##4636## (for some models #36446337##). From the menu, select Usage statistics โ†’ Battery history to analyze the flashlight.

โ•โ•โ•

3. Viruses and malicious applications

One of the most insidious causes is malware that can control the phone's hardware functions, including the flashlight, most often after:

  • ๐Ÿ“ฅ Install applications from unverified sources (outside Google Play).
  • ๐Ÿ”— Transferring suspicious links to SMS messenger.
  • ๐ŸŽฎ Downloading "hacked" games or mods.

Malware can be disguised as harmless utilities (such as flashlights, battery optimizers, or launchers), some of which donโ€™t even appear on the installed application list, but continue to work in the background.

Signs of infection:

  • ๐Ÿ”‹ Unexplained battery consumption (check in Settings) โ†’ Battery โ†’ Battery utilization).
  • ๐Ÿ“ก Increased mobile data traffic.
  • ๐Ÿ›ก๏ธ Appearance of unknown permissions in Settings โ†’ Confidentiality โ†’ Application authorizations.

How to remove the virus:

  1. Run the built-in antivirus (Security โ†’ Scanning).
  2. Install Malwarebytes or Dr.Web Light and scan the system.
  3. If the virus is not removed, reset to factory settings (donโ€™t forget to save the data!).

โš ๏ธ Attention: Some viruses block access to reset settings, in which case only the firmware via Fastboot (instructions for experienced users) will help).

โ•โ•โ•

Hardware malfunctions: when the "iron" is to blame

If the software methods didn't work, the problem could be in the hardware of the phone, and it's often the fault of:

  • ๐Ÿ”Œ Faulty power button (sticking or oxidation of contacts).
  • ๐Ÿ”‹ Damaged display plume (can close flashlight contacts).
  • ๐Ÿ’ก Failure of the LED (in rare cases, it can "hang" in the on state).

How to check:

  1. Try tapping the power button gently โ€“ if the flashlight reacts, the problem is the mechanics.
  2. Connect your phone to your PC and check if the flashlight is turned on when the device is physically tilted (this may indicate a plume problem).
  3. Run the hardware test via the service menu (##6484## or #4636##).

If you suspect a hardware malfunction, donโ€™t try to disassemble the phone yourself โ€“ this could result in a loss of warranty.

Symptoms.Probable causeDecision
The flashlight is turned on when you press the bodySticking the power buttonCleaning or replacing the button
Light flashes when the phone movesDisplay plume damagedReplacement of the plume
The flashlight is constantly on, not turning off.Short circuit in the LED circuitDiagnostics in the service
The problem arose after a fall/hitMechanical damage to the boardRepairs at the service

โ•โ•โ•

5. Conflict with third-party applications

Even legitimate applications can interfere with MIUI system services, causing false flashlights, most often to blame:

  • ๐Ÿ”ฆ flashlight applications (e.g. Super-Bright) LED Flashlight).
  • ๐Ÿ“ธ Camera applications with advanced features (such as Open Camera or GCam).
  • ๐ŸŽต Gesture apps (such as Wave Launcher or Edge Gestures).
  • ๐Ÿƒ Fitness apps that use sensors (e.g. Google Fit or Mi Fitness).

How to find the culprit:

  1. Run your phone in Safe Mode (press the power button โ†’ Safe Mode) If the flashlight doesn't turn on, the problem is with third-party software.
  2. Turn off permissions for applications in Settings โ†’ Privacy โ†’ Application permissions โ†’ Camera.
  3. View the activity logs through Developer Options (how to enable: Settings โ†’ About Phone โ†’ MIUI version โ†’ 7 times press).

Important: Some applications (e.g. Tasker or MacroDroid) can program the flashlight to automatically turn on by trigger (time, location, SMS).

๐Ÿ’ก

If you do not want to delete the application, but it conflicts with the flashlight โ€“ try to disable the permission for it to use the camera in the settings.

โ•โ•โ•

6. Special Opportunities settings

Few people know, but MIUI has special features that can inadvertently activate a flashlight.

  • ๐Ÿ‘๏ธ Notifications by light (Settings) โ†’ Special facilities โ†’ Rumor โ†’ Notifications by light).
  • ๐Ÿ“ฑ Special feature gestures (for example, triple tapping on the screen).
  • ๐Ÿ”Š A mode for the visually impaired that can use a flashlight as a light source.

How to turn it off:

  1. Go to Settings. โ†’ Special facilities.
  2. Check the Hearing section โ€“ turn off Notifications with light.
  3. In the Physical Capabilities section, deactivate all gestures associated with the flashlight.

If you're using Google Assistant or Xiao AI, check if you have a "OK, Google, turn on the flashlight" command set up, and sometimes the assistant can trigger similar phrases.

โ•โ•โ•

7.Firmware problems and custom ROMs

Xiaomi owners who install custom firmware (like LineageOS, Pixel Experience or Havoc-OS) often encounter hardware component management bugs.

  • ๐Ÿ”ง Incorrectly ported kernel (especially in firmware for Redmi Note) 7/8/9).
  • ๐Ÿ“ Missing or outdated camera drivers.
  • ๐Ÿ”„ Conflict between magisk modules (e.g. Xiaomi Parts or Flashlight Enabler).

How to fix it:

  1. Update your firmware to the latest version (check out the 4PDA or XDA Developers forum).
  2. Remove all magisk modules associated with the camera or flashlight.
  3. Try to reflash the kernel (e.g. FrancoKernel or Kirisakura for your model).

โš ๏ธ Attention: If you installed custom firmware and then not only the flashlight stopped working, but also the proximity sensor or gyroscope - most likely, the firmware is assembled with errors. MIUI via Fastboot.

๐Ÿ’ก

Before installing custom firmware, always check user reviews of your model on the forums. Some builds may have critical hardware component management bugs.

โ•โ•โ•

FAQ: Frequent questions about flashlight on Xiaomi

The flashlight only turns on at night.
It's probably one of the apps with night light or alarm. Check out: Google Clock (Warnings โ†’ Additional settings), Mi Home (if you have Xiaomi smart devices that can sync with your phone), and Automatic flashlight settings on schedule in some firmware (e.g. MIUI 14 for Xiaomi 13).
After the MIUI update, the flashlight stopped turning off.
This is a known bug in some versions of MIUI 12.5 and MIUI 13. Solutions: Clear the Camera app cache to Settings โ†’ Apps. Reverse to the previous firmware version via Fastboot. Install a community patch (search for 4PDA on the phone model). If nothing helps, reset to factory settings.
Can I turn off the flashlight completely?
Yes, but it would require superuser rights: 1. Install Magisk and get root. 2. Download a file manager with root support (e.g., Root Explorer). 3. Move to the /system/build.prop And add a line: ro.camera.flash=0 4. Save, reboot the phone. โš ๏ธ After that, the flashlight will stop working even in manual mode!
The flashlight flashes when you call in. How do you turn it off?
This is a notification flash function. It turns off like this: Go to Settings โ†’ Sounds and Vibrations โ†’ Notification Flash. Turn off Flash Slider when you call. For MIUI 14: Settings โ†’ Notifications โ†’ Additional โ†’ Light Indication.
When the phone falls, the flashlight turns on itself.
Probable damage: Power button - if the flashlight is turned on when you press the right side of the phone; display plume - if the light flashes when the screen moves; camera module - if the main or front camera does not work with the flashlight; Recommendation: do not use the phone until repair - this can exacerbate the problem!