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.
โโโ
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:
- Go to Settings โ About Phone โ MIUI version and check the relevance of the firmware.
- 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
How to open Engineer Mode on Xiaomi?
โโโ
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:
- Run the built-in antivirus (Security โ Scanning).
- Install Malwarebytes or Dr.Web Light and scan the system.
- 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:
- Try tapping the power button gently โ if the flashlight reacts, the problem is the mechanics.
- 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).
- 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 cause | Decision |
|---|---|---|
| The flashlight is turned on when you press the body | Sticking the power button | Cleaning or replacing the button |
| Light flashes when the phone moves | Display plume damaged | Replacement of the plume |
| The flashlight is constantly on, not turning off. | Short circuit in the LED circuit | Diagnostics in the service |
| The problem arose after a fall/hit | Mechanical damage to the board | Repairs 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:
- 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.
- Turn off permissions for applications in Settings โ Privacy โ Application permissions โ Camera.
- 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:
- Go to Settings. โ Special facilities.
- Check the Hearing section โ turn off Notifications with light.
- 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:
- Update your firmware to the latest version (check out the 4PDA or XDA Developers forum).
- Remove all magisk modules associated with the camera or flashlight.
- 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.
โโโ