How to adjust the brightness of a flashlight on Xiaomi: all the ways for MIUI 12-14

The flashlight on Xiaomi, Redmi and POCO smartphones is one of the most popular tools, but not all users know that its brightness can be flexibly adjusted. By default, the system offers only basic modes, but additional options are hidden in the depths of MIUI, and third-party applications expand the capabilities to a professional level. This article will reveal all the current ways to change brightness, from standard settings to engineering menus and automatic scripts.

The peculiarity of flashlights in Xiaomi devices lies in their hardware implementation: modern models (for example, Xiaomi 13 Pro or Redmi Note 12) use dual-use flashlights. LED-diodes with support for smooth adjustment, while budget devices (like) POCO M5) We'll break down solutions for all device categories, including circumventing constraints through ADB and specialized utilities.

Important: the customization options depend on the MIUI version (12, 13 or 14) and the smartphone model. For example, MIUI 14 has a separate section for controlling the flashlight, and older versions will have to use workarounds. If your device does not support smooth adjustment out of the box, do not despair - in the article there are solutions for such cases.

Method 1: Standard settings through the notification panel

The most obvious and quick method is to use the notification panel.It works on most Xiaomi devices with MIUI 12 and later, but has limitations: usually only 2-3 fixed brightness levels are available (for example, "weak", "medium", "maximum").

To change the brightness:

  1. Swipe your finger down from the top of the screen to open the notification bar.
  2. Find the flashlight icon (usually in the top row of quick settings).
  3. Hold your finger on the icon 1-2 seconds – a pop-up menu will appear with a selection of brightness levels.
  4. Choose the right option (for example, β€œLow” for reading in the dark or β€œHigh” for lighting a large area).

On some models (such as Xiaomi 12T or Redmi K50), instead of holding, you need to press the flashlight icon twice, this will switch modes in a circle.

  • πŸ”§ Open the notification panel and tap on the icon "βš™οΈ Edit".
  • πŸ” Find the flashlight and drag it to the active area.
  • βœ… Click "Ready" to save the changes.
πŸ“Š What Xiaomi model do you use?
Xiaomi 13/14 series
Redmi Note 11/12
POCO F/X series
Redmi K50/K60
Another model

Please note: on devices with AMOLED-With screens (e.g. Xiaomi 13 Ultra), the flashlight brightness can automatically adjust to the ambient lighting, even if you choose a fixed level.

Method 2: Hidden flashlight settings in MIUI 13/14

Since MIUI 13, Xiaomi has added a hidden partition to fine-tune the flashlight, but access to it is not obvious.This method allows you to set an arbitrary brightness level (from 1% to 100%) and even adjust the color temperature on supported models.

Instructions:

  1. Open the Settings app.
  2. Go to the About Phone (or About Device) section.
  3. Tap 5-7 times on the line MIUI version until the message appears "You became a developer!".
  4. Return to the main Settings menu and open a new section for developers (or additionally β†’ for developers).
  5. Scroll down and find the flashlight settings item (some firmware calls it). LED-indicator).
  6. In this menu you can:
  • πŸ”¦ Set brightness in 1% increments (slider or numerical value).
  • πŸ”„ Turn on smooth attenuation when switched off (useful for battery saving).
  • 🎨 Change the color temperature (available only on flagships with RGB-LED, for example, Xiaomi 12S Ultra).
  • ⏱️ Set up an automatic shutdown timer (from 5 seconds to 1 hour).

On models with infrared illumination (for example, Redmi Note 10 Pro) in this menu also appears the option to enable IR mode, which is indispensable for night shooting or search for hidden tags.

Enable the developer mode (stamp according to MIUI)

Find the section "For developers" in the settings

Check for the "Flamelight settings" item

Reboot the phone after the changes (recommended)-->

⚠️ Note: Some custom firmware (e.g. Xiaomi.EU) may not have this section or may not work properly. If the flashlight starts flashing or spontaneously shuts down after the changes, reset the settings in this menu to the factory.

Method 3: Use of the Engineering Menu (MTK/Qualcomm)

For advanced users willing to take risks, there is a method of customization through an engineering menu, which is suitable for devices on MediaTek chips (for example, Redmi). 9A, POCO M4 Pro) and Qualcomm Snapdragon (e.g. Xiaomi) 11T, Redmi K40). This method allows you to bypass the restrictions MIUI set up PWM-frequency LED.

Instructions for MediaTek:

1. Open the Phone app and enter the code: ##36446337##


2. Go to the "Hardware Testing" section β†’ "LED".




3. Select "Torch LED" and set the values:




Brightness Level: 0–255 (where 255 = 100% brightness)




Current Limit: 100-300mA (do not exceed 250mA on budget models!)




4. Press "Set" and restart the device.

Instructions for Qualcomm Snapdragon:

1. Enter the code: ##7378423# (Service Menu)


2. Go to LED Testing β†’ Torch LED.




3. Use the Brightness slider to adjust.




4. To save the changes, press "Apply" and restart the phone.

ChipsetEngineering menu codeMax. LED safe current (mA)Supported models
MediaTek Helio G85/G95##36446337##200–250Redmi Note 10, POCO M3
Qualcomm Snapdragon 7xx/8xx##7378423##250–300Xiaomi 11/12 series, Redmi K50
MediaTek Dimensity##4636##180–220POCO X4 Pro, Redmi Note 11 Pro+

⚠️ Warning: Exceeding recommended current values can lead to overheating LED-If the light flashlight starts to flicker or warm up after the changes, reset the settings immediately through the same menu or return to the factory settings.

What to do if the engineering menu does not open?
If the code doesn’t work, try it: 1. Use the application MTK Engineering Mode (for MediaTek) or Qualcomm Service Menu from Google Play. 2. Enable debugging on USB use ADB-Command: Adb shell am start -n com.mediatek.engineermode/.EngineerMode 3. On some firmware, the engineering menu is blocked - in this case, only reflashing to the custom version will help. MIUI.

Method 4: Third-party applications for advanced management

If standard methods don't work, third-party utilities come to the rescue, not only allowing you to adjust the brightness more accurately, but also adding features like a strobescope, SOS-We tested 5 popular apps and selected the best ones:

  • πŸ”¦ Flashlight + LED β€” Supports smooth adjustment on 90% of Xiaomi devices, there is a widget for quick access.
  • 🌈 TeslaLED - allows you to change the color of the flashlight (works only on models with a RGB-LED, For example, Xiaomi Mix 4).
  • ⏱️ Flash Alerts 2 – adds flashing flashing flashlight function when incoming calls or notifications.
  • πŸ”§ Flashlight Widget – Minimalist gesture-enabled app (e.g., shaking to enable).

To avoid compatibility issues, check before installing:

  1. Android version (some apps don’t run Android 13+ without root rights).
  2. CAMERA permission (required to control LED through the camera)
  3. User reviews of your model (e.g., search the Play Market for β€œflashlight for Redmi Note 11”).

πŸ’‘

If the app doesn’t see the flashlight, try turning off the system flashlight in MIUI: go to Settings β†’ Applications β†’ Application Management β†’ Flashlight and click β€œDisable.” After that, the third-party utility will have full control over the LED.

Method 5: Automation with Macrodroid or Tasker

For those who want to automate flashlight control, scripting applications like Macrodroid or Tasker are suitable.

  • πŸ”„ Turn on the flashlight when shaking the phone.
  • πŸŒ™ Reduce brightness at night (by time or geolocation).
  • πŸ”‹ Turn off the flashlight when the battery is low.
  • πŸ“± Use it. NFC-tags for quick on/off.

Example of settings in Macrodroid:

  1. Create a new macro and select the trigger "Shake device".
  2. Add the action "Lightlight control" β†’ "Lighten".
  3. Set a time limit (for example, only from 18:00 to 6:00).
  4. Save the macro and test it.

Tasker will require an AutoTools plugin to control the flashlight brightness.

Profile: "Timer flashlight"


Event: Time β†’ From 20:00 to 22:00




Task:




1.Plugin β†’ AutoTools β†’ Secure Settings β†’ On-the-Ring flashlight (70 percent brightness)




2. Wait β†’ 30 minutes




3.Plugin β†’ AutoTools β†’ Secure Settings β†’ Flashlight is off

πŸ’‘

Automation is especially useful for devices without a flashlight button (such as the Xiaomi Mi 11 Lite).

Solving problems: flashlight is not adjustable or flashing

If the flashlight brightness does not change or it is unstable, the reasons can be both software and hardware.

Problem.Possible causeDecision
The flashlight doesn't turn on.Failure to work LED-driverRestart your phone or reset the settings in the engineering menu
The brightness doesn't persistConflict with the energy-saving regimeTurn off "Adaptive Brightness" in the screen settings
Flashlight.Exceeded LED current or firmware failureReset the flashlight settings through ADB: adb shell settings put global torch_brightness 150
No brightness adjustment.Outdated version of MIUI or budget modelUse third-party applications (see Method 4)

If the flashlight stopped working after the MIUI update, try:

  1. Clear the cache of system applications: Settings β†’ Applications β†’ Application management β†’ Three points β†’ Clear the cache of all applications.
  2. Reset to factory settings (without deleting data): Settings β†’ About phone β†’ Reset settings.
  3. Install a patch through Magisk (for rooted devices): Torch Brightness Enabler module.

⚠️ Attention: On devices with Android 13+ and MIUI 14 some engineering codes and ADB-The teams may be blocked for security reasons, and only a rollback to an older firmware version or the use of official customization methods will help.

FAQ: Frequent questions about flashlight on Xiaomi

Can the flashlight be brighter than the maximum?
Technically yes, but it requires root rights and file editing. /sys/class/leds/torch/max_brightness. However, exceeding factory limits is fraught with an exit LED Most models have a safe maximum β€” 250 m(or value) 255 engineer).
Why does the flashlight turn off after a few seconds?
It's about overheating protection. MIUI Automatic shutdown timer is set by default (usually 3–5 To remove it: Use it. ADB-Adb shell settings put global torch_timeout 0. Or turn off the option in the engineering menu (section "LED Timeout"). On some models, e.g, POCO F4) This restriction cannot be circumvented without root rights.
How to make the flashlight turn on when unlocking the screen?
Macrodroid: Create a Screen Unlocked trigger. Add "Lighten flashlight." Set a delay of 2-3 seconds before turning off (optional). Alternatively, use the "Double Press Screen" gesture (configured in Settings β†’ Lock Screen β†’ Gestures).
Why is my Xiaomi not adjusting the brightness of the flashlight?
This is typical for budget models (e.g. Redmi). 9A or POCO C31), monochromatic LED supportless PWM-Adjustments. Solutions: Use third-party applications (e.g. Flashlight) + LED), You can also use flashing lights to emulate brightness levels. Buy an external flashlight with a USB-Type C (connects to the charging port).
Can I use a flashlight as a strobe?
Yes, Strobe Light or Flash Alerts are suitable for this. They allow you to configure: Blinking frequency (1 to 20 Hz). SOS (Three long, three short signals, synchronization with music (via microphone). ⚠️ On some models, frequent blinking can cause the camera module to overheat (as the flashlight is often integrated into it).