How to put a flashlight on the lock screen Xiaomi: 3 working ways

Why you need a flashlight on a locked screen and why it is not by default

Have you ever tried to turn on a flashlight on Xiaomi without unlocking your phone? If so, you know how annoying it is: you have to type a pin code, use Face. ID It's a fingerprint, and time goes out, especially when your hands are busy or you're in the dark. MIUI, Technically, it is not compromised by security.

The reason why the flashlight button is not on the lock screen is rooted in MIUI’s philosophy: developers are looking to minimize the number of active elements on the locked screen to reduce the risk of accidental taps. However, for many users, convenience is more important than theoretical danger. Fortunately, there are workarounds, from hidden settings to third-party widgets that do not require root rights or complex manipulation.

In this article, we’ll look at three proven methods that work on most Xiaomi, Redmi and POCO devices (including the MIUI 12-15 models).

πŸ“Š How often do you use a flashlight on your smartphone?
Several times a day
1-2 times a week
Only in emergency cases.
Almost never.

Method 1: The flashlight widget via lock screen settings (without third-party applications)

The easiest method is to add a flashlight widget directly to the lock screen via standard MIUI settings. It works on most devices starting with MIUI 12, but may not be available on some budget models (e.g. Redmi 9A or POCO C31).

Instructions:

  • πŸ“± Open the Settings. β†’ Lock screen.
  • πŸ” Scroll down to the section β€œlock screen widgets”** and click on it.
  • βž• In the list of available widgets, find the flashlight** (if not available, go to method 2).
  • πŸ”„ Drag the widget into the active area (usually the bottom of the screen).
  • πŸ’‘ Now, when you lock the phone, swipe left - a flashlight button will appear.

⚠️ Note: On some firmware, the flashlight widget may conflict with other elements (such as the weather widget).If the button doesn't appear after adding, try removing extra widgets or restarting your phone.

Check out the MIUI version (Settings β†’ About the phone)

Make sure the lock screen is not protected by a pattern lock (can block widgets)

Turn off the energy saving mode (Settings β†’ Battery)

Make a backup of settings (Settings) β†’ Additionally. β†’ Backup)-->

Method 2: Quick flashlight activation via Google Assistant (works on all Xiaomi)

If you don't have a flashlight widget in your firmware, you can use Google's voice assistant, which is universal and works even on older versions of MIUI, but requires pre-configuration.

How to set up:

  1. 🎀 Make sure that Google Assistant is installed and activated (download from Play Market if it isn’t available).
  2. πŸ”§ Go to Settings. β†’ Annexes β†’ Application management β†’ Google and enable permission to β€œDisplay on top of other windowsΒ»**.
  3. πŸ—£οΈ Activate the voice assistant with the β€œOK, Google” command** (or set up activation from the lock screen in the Assistant settings).
  4. πŸ’‘ Now, even on a locked screen, say, β€œOK Google, turn on your flashlight” and it will work.

πŸ”Ή Pros of the method: works on any device, does not require changes in the system.

πŸ”Έ Cons: you need to say the command out loud (inconvenient in public places), the assistant may not work with a weak Internet.

πŸ’‘

If the voice assistant doesn’t recognize the command, try to reframe: β€œSwitch on the light,” β€œLight the flashlight,” or β€œActivate the flashlight.”

Method 3: Third-party applications with lock screen support (for advanced users)

If the first two methods don't work, you can install a specialized app that adds a flashlight button to the lock screen, and we recommend two proven options:

AnnexCompatibilityPermits requiredFeatures
Flash Alerts 2MIUI 11–15, Android 9–14Special features, display over windowsAdds a button to the lock screen, works without root
Lock Screen FlashlightMIUI 12–14, Android 10–13Device administratorSupports gestures (double touch to enable)
QuickFlashFor root users onlyRoot access, ADBMaximum customization, but complex installation

⚠️ Note: Applications requesting Device Administrator rights** may conflict with system functions MIUI. Before installing, check the reviews in the Play Market for compatibility with your Xiaomi model.

Instructions for Flash Alerts 2:

  1. πŸ“₯ Install an application from the Play Market.
  2. πŸ”§ Go to the application settings and turn on the option β€œShow on the lock screenΒ»**.
  3. πŸ–ΌοΈ Select the position of the button (for example, in the lower right corner).
  4. πŸ”„ Restart the phone – the button will appear on the locked screen.
What to do if the application does not work?
If the button does not appear after installation: 1. Check if the energy-saving mode does not block it (add the application as exceptions). 2. Turn off battery optimization for the application (Settings β†’ Battery β†’ Battery β†’ Battery Optimization). 3. Try another application from the table (for example, Lock Screen Flashlight). 4. Some firmwares require you to turn off MIUI protection: go to Settings β†’ Password and Security β†’ MIUI Protection and temporarily turn it off (not recommended for permanent use!).

Why the flashlight may not work on the lock screen: common problems and solutions

Even after setting the flashlight button correctly, it may not appear or respond to the presses.-5 causes and ways of eliminating them:

  • πŸ”‹ Energy-saving regime: MIUI Add the flashlight app (or Google Assistant) to the exceptions: β†’ Battery β†’ Optimizing the battery β†’ All applications.
  • πŸ”’ Protection MIUI: On some devices (such as the Xiaomi 13 Pro), the function is blocked by the security system. β†’ Password and security β†’ Protection MIUI (temporarily!).
  • πŸ“± Incompatible firmware: Custom firmware (e.g. xiaomi.eu) may lack standard widgets.Update MIUI Up to the latest version or install a global firmware.
  • πŸ› οΈ Conflict with other widgets: If there are too many elements on the lock screen, remove the extra ones (for example, a weather or calendar widget).
  • πŸ”„ Cash systems: Clear the cache MIUI: Settings β†’ The phone. β†’ Memory. β†’ Clear the cache.

On devices with MIUI 14+ and Android 13+, additional resolution may be required to display widgets on the lock screen. It can be included in Settings β†’ Applications β†’ Special Access β†’ Display on top of other windows.

πŸ’‘

If none of the methods worked, check if the flashlight is turned off at the system level: go to Settings β†’ Communication and Devices β†’ Flashlight and make sure the function is active.

Bonus: Hidden flashlight chips on Xiaomi that you didn't know about

The flashlight on Xiaomi has more than just a light, here are some useful life hacks that will make it easier to use:

  • πŸŒ“ Brightness Adjustment: In most models (e.g. Mi 11 Ultra or Redmi Note 12 Pro)+) You can change the brightness of the flashlight swipe up/down on the button on the lock screen (if you use a widget).
  • πŸ”₯ SOS-signal: Quickly turn on and off the flashlight three times in a row - on some devices this will activate an emergency beacon (blinking lights).
  • πŸ“Έ Flashlight as a flash for selfies: Xiaomi camera can use flashlight as a permanent source of light for shooting in the darkΒ»**.
  • πŸ”‹ Savings of charge: On models with AMOLED-screens (e.g. Xiaomi) 13T) Turning on a flashlight through the widget consumes less battery than through a quick menu.

πŸ’‘ Secret code: Some devices can turn on the flashlight even from the screen off! To do this, double-click the "Louddown" buttonstrong> + Β«Power" (simultaneous) Not working on all models!

FAQ: Answers to Frequent Questions About Xiaomi Flashlight

❓ Can I add a flashlight to the lock screen without third-party apps on the Redmi Note 10 Pro?
Yes, but only if your firmware supports lock screen widgets. Go to Settings β†’ Lock screen β†’ Widgets and check for the flashlight option. If it is not available, use Google Assistant (method 2) or install a third-party application (method 3).
❓ Why After Updating MIUI flashlight widget missing?
This is a known problem after major updates (e.g., from MIUI 13 to MIUI 14).Solution: Reset the lock screen settings: Settings β†’ Lock screen β†’ Reset settings. Reinstall the flashlight widget again. If it doesn't work, clear the MIUI cache (see Problems and Solutions section).
❓ Can I assign the inclusion of a flashlight to double press the screen?
Yes, but only with third-party applications (e.g. Lock Screen Flashlight or Tap, Tap) that are not available in standard MIUI settings. Please note that you will need a Special Features resolution to work.
❓ Will the flashlight work on the lock screen if the phone is discharged to 1%?
Depending on the model. On most devices (e.g., the POCO X5 Pro or Redmi K50), the flashlight turns off at a critical charge level (usually below 5%) to save energy for emergency calls. On some flagships (e.g., Xiaomi 13 Ultra), it remains active until it is fully discharged.
❓ How to remove the flashlight button from the lock screen if it interferes?
If you have added a widget through MIUI settings: Go to Settings β†’ Lock Screen β†’ Widgets. Find the Flash widget and swipe it left (or click Remove). If the button is added through a third-party app, delete it or turn off the display in the app settings.