Owners of the Xiaomi Redmi Note 7 often face the inconvenience of pressing the physical power button every time to lock a smartphone. This not only wastes time, but also wears out the key mechanism. Fortunately, MIUI has hidden features, as well as third-party solutions that allow you to add a virtual lock button directly to the screen β in the notification bar, on the desktop or even as a gesture.
Many users are unaware that Redmi Note 7 originally has the ability to quickly lock through the Control Panel, but it is disabled by default. Others prefer to use specialized applications that offer advanced functionality, such as timer lock or double tap. In this article, we will discuss all working methods, including those that do not require root rights or complex manipulation of the system.
Important: The methods work on all versions of MIUI 10β14 (including global and Chinese firmware), but some features may not be available in older builds. If your Redmi Note 7 hasnβt been updated in a long time, we recommend checking for updates in Settings β About Phone β System Update first.
1. Adding a lock button to the notification panel (official method)
The easiest and safest way is to activate the hidden lock button in the notification curtain, a method that requires no third-party apps to install and works on all versions of MIUI for the Redmi Note 7.
Instructions:
- Open the settings on your phone.
- Go to the Notification Panel and Status bar.
- Select Edit the Control Panel (or Configure the Control Panel depending on the firmware version).
- Find the βBlockβ icon in the list of inaccessible items (usually it looks like a lock).
- Press the icon and drag it to the top of the screen where the active switches are located.
- Click Ready and check the result: now, when swiping down, a button will appear for instant lock.
β οΈ Note: In some versions MIUI (for example, MIUI 12.5 for the European region), the lock button may not be in the list of available items. In this case, try alternative methods from the following sections.
Update the firmware to the latest version
Check that the control panel is not hidden in the settings
Make sure there is enough free space in the system (minimum 500 MB)
Restart your phone before changing-->
If the button never appeared, your firmware may have been modified (e.g., custom MIUI from third-party developers), in which case resetting the notification panel settings will help:
- Go to Settings β Applications β Application Management.
- Find System Settings and select Storage.
- Click Clear Data (this will reset the location of the icons in the control panel).
- Repeat the steps to add the lock button.
2.Use of gestures to lock the screen
The Xiaomi Redmi Note 7 supports lock gestures that allow you to turn off the screen without pressing physical buttons.This method is convenient if you often use your smartphone with one hand or want to extend the life of the power button.
The gesture can be activated in two ways:
- π Double touch: Enable the option in Settings β Screen locking β Double tap to lock. After that, just touch the screen twice (not while the apps are running!) to lock the device.
- π Swipe down: some firmwares have a swipe gesture down the main screen to lock. To activate it, go to Settings β Additional functions β Gestures.
β οΈ Note: Double-touch gestures may conflict with the functions of certain applications (e.g., games or readers). PDF). If the lock is triggered by accident, turn it off and use alternative methods.
Physical power button
The button in the notification panel
Double-touch gesture
Party of annex
Another option-->
If your firmware doesn't have built-in gestures, you can install a third-party app like Tap, Tap (available on Google Play) that allows you to configure the lock by:
- π Double/Triple tap on the back panel.
- ποΈ Shaking the device.
- π± Turning the screen down (like in Motorola).
The application works without root, but some features will require permissions for Special Features.
3. Installation of lock widgets on the desktop
If you want to keep the lock button at hand, you can add it directly to the home screen as a widget, which is suitable for both standard MIUI tools and third-party utilities.
Method 1: Widget "Quick Settings"
- Press and hold the empty space on the desktop.
- Select the widgets in the menu that appears.
- Find the Quick Settings widget (or Control Panel).
- Drag it to the screen and select a size (recommended 4Γ1 or 2Γ2).
- In the widget settings, add the βBlockβ button (if available).
Method 2: QuickShortcutMaker App
If the standard widget is not suitable, use QuickShortcutMaker:
- Download the app from Google Play.
- Open it and enter the lock in the search bar.
- In the results, look for the action com.android.internal.policy.impl.KeyguardExternalView (or similar to the word lock).
- Create a shortcut on your desktop.
β οΈ Note: Some antiviruses (e.g. Avast or Dr.Web) may block QuickShortcutMaker as a βsuspiciousβ application. This is a false positive β the utility simply creates shortcuts for system functions.
| Method | Root is required. | It's working on MIUI 14. | Energy consumption |
|---|---|---|---|
| The button in the notification panel | β No. | β Yes. | Low. |
| Double-touch gesture | β No. | β Yes. | Average. |
| Quick Settings Widget | β No. | β οΈ Depends on the firmware. | Low. |
| QuickShortcutMaker | β No. | β Yes. | Low. |
| Tap, Tap (gestures) | β No. | β Yes. | High (background service) |
4. Locking the screen through the voice assistant
Few people know, but Redmi Note 7 allows you to block the screen with voice commands, and this does not require additional applications β a built-in Google Assistant or XiaoAI (in Chinese firmware).
Configure through Google Assistant:
- Activate the voice assistant by saying OK, Google or holding the Home button.
- Say the command: βLock the screenβ or βSwitch off the display.β
- If the command doesn't work, manually train the Assistant: Open the Google app. Go to Settings β Voice Assistant β Commands. Add a new command and link it to Lock the screen.
Setup via XiaoAI (for Chinese firmware):
In firmware with XiaoAI (for example, MIUI China, enough to say: «» (xiaΗ Γ i tΓ³ngxuΓ©, suΗ pΓng). If the assistant does not respond, check the permissions in Settings β Annexes β XiaoAI β Auto-start.
π‘
If voice locking doesnβt work, make sure that the Smart Lock lock option is turned off in the security settings β it can conflict with voice commands.
β οΈ Attention: Voice locking may be triggered accidentally if you listen to music or video with speech. To avoid this, turn off the function OK, Google in the voice assistant settings or add exceptions for media applications.
Side of the screen locking application
If the built-in methods don't work, you can install specialized applications that offer advanced features like:
- π Timer lock (for example, after 30 seconds of inactivity).
- π± Customization widgets (change icon, color, size).
- π Charge savings (automatically shutting down the screen at low battery level).
Top.-3 apps for Redmi Note 7:
- Screen Off and Lock is a minimalist application with one feature: instant lock by clicking on an icon. It does not require root and works on all versions of Android.
β οΈ Note: Some applications (such as Gravity Screen) require constant background work, which can increase battery consumption by 5-10%. MIUI.
How to remove ads in Screen Off and Lock?
Instructions for Screen Off and Lock:
- Download the app from Google Play.
- Open it and grant permission to the Device Administrator (required for locking).
- Add a shortcut to your desktop or Quick Access panel.
- (Optional) In the settings, enable the option to Lock with double press.
6. screen lock via ADB (for advanced users)
If you are ready for experiments, you can add a lock button through the ADB-This method doesn't require root, but it involves working with a computer.
Step-by-step:
- Turn on USB Debugging on your phone: Go to Settings β About Phone. 7 times click on the MIUI Version to activate Developer Mode. Return to Settings β Additional β For Developers and enable USB Debugging.
Redmi Note 7
Command line.
Terminal
adb devicesThe serial number of your device should appear.
adb shell settings put global settings_panel_items_order"wifi,bt,data,location,lock,flashlight"Here, lock is the ID of the lock button.
adb rebootβ οΈ Attention: Misuse of the right ADB If the notification panel stopped working after executing the commands, reset its settings through Settings. β Annexes β System settings β Clear the data.
π‘
ADB-commands allow not only to add a lock button, but also to configure other hidden functions MIUI, For example, activate the developer modes for the camera or change the DPI screen.
7.Alternative methods: Smart Lock and Automatic Lock
If you don't need manual locking, you can set up automatic screen shutdown depending on the conditions, and MIUI has a Smart Lock and timeout settings for this.
Setting up Smart Lock:
- Go to Settings β Screen Lock β Smart Lock.
- Enter your PIN/password for confirmation.
- Choose one of the options: π Home Network: The screen is not blocked when you are connected to a trusted Wi-Fi network. π± Bluetooth devices: unlock when connected to trusted gadgets (such as smartwatches). π€ Facial/voice recognition: Automatic unlocking when recognizing.
Setting up screen timeout:
To lock the screen faster:
- Go to Settings β Display β Sleep mode.
- Select a minimum time (e.g. 15 seconds).
- (Optional) Activate Adaptive Lighting to save battery life.
β οΈ Warning: Smart Lock may reduce the security of your device, and do not use it if you store sensitive data (bank applications, passwords, etc.) on your phone.).