Double-pressing the power button to quickly start the camera is a convenient feature on Xiaomi smartphones, but not everyone likes it. Random positives, inconvenience when using the case or just wanting to free up the gesture for other actions are the reasons to disable this option many. In this article, we will discuss all possible ways to deactivate the function, including hidden MIUI settings, commands via ADB and even hardware nuances for different models.
It is important to understand that the switching algorithm may differ depending on the firmware version (MIUI 12, MIUI 13, MIUI 14), the smartphone model (Redmi Note 11, POCO X5, Xiaomi 13) and regional features of the software. We will look at universal methods, as well as point to the pitfalls that users face. If you have already tried to disable the function through standard settings and nothing has come out, do not be upset: the article has solutions for even the most stubborn cases.
Why does a double press of the power button interfere?
Xiaomi's double-click camera-start feature was introduced to speed up access to the footage, but in practice it often becomes a source of annoyance.
- ๐ธ Accidental positives in a pocket or bag, which leads to the discharge of the battery and filling the gallery with unnecessary photos.
- ๐ Conflict with cases: many protective accessories have thickened edges, which is why the power button works when you press the body.
- ๐ฎ Discomfort in gaming: Double-pressing can interrupt gameplay, especially in dynamic shooters or races.
- ๐ Incompatible with custom firmware: after installing LineageOS or Pixel Experience, the function can work unpredictably.
In addition, on some models (Redmi K50, POCO F4), double-pressing conflicts with control gestures or third-party automation applications (for example, Tasker or MacroDroid).If you actively use such tools, disabling the feature becomes a mandatory step for the stable operation of the smartphone.
โ ๏ธ Note: On devices with infrared sensor (e.g. Xiaomi Mi) 10T) double pressing of the power button can accidentally activate the remote control.
Method 1: Disconnect via standard MIUI settings
The easiest method is to use the built-in system options, which is suitable for most models on MIUI 12 and later.
- Open the Settings app (the gear icon on the home screen).
- Go to Lock Screen (or Lock and Protect on some firmware).
- Select the Power button (may be called Power button functions).
- Find the option Double press the power button and switch the slider to the off position.
If your menu doesnโt have a Power Button item, try an alternative path:
- Go to Settings. โ Additional (or Special Opportunities).
- Select buttons and gestures โ button functions.
- Turn off the camera's Quick Start option.
Make sure your smartphone is over 20% charged.
Close all background apps (especially the camera)
Check the version of MIUI in Settings โ About the phone
- Make a backup copy of the settings (optional)-->
On some devices (POCO M4 Pro, Redmi Note 10 Pro) the option may be hidden under a different name, for example, in global firmware it is sometimes called Quick Launch Camera. If you do not find a paragraph in the specified sections, move to the next method.
Method 2: Use the ADB command (for power users)
If standard settings don't work, you can turn off the feature via Android Debug Bridge (ADB), which works on all versions of MIUI, but requires you to connect your smartphone to your computer.
- ๐ฅ๏ธ A computer with installed Xiaomi drivers and ADB.
- ๐ฑ Included debugging by USB on a smartphone (Settings) โ The phone. โ Version. MIUI โ 7 times to press to unlock the developer mode, then additionally โ For developers โ Debugging by USB).
- ๐ Cable USB (preferably original).
Instructions for unsetting:
- Connect your smartphone to your PC and confirm the debugging permission on the device screen.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell settings put global camera_double_click_power 0- Reboot your smartphone with the command:
adb rebootAfter the reboot, the double-press function will be disabled. To return it back, use the same command, replacing 0 with 1.
โ ๏ธ Note: Some models (Xiaomi 12 Pro, Redmi) K40) post-refresh MIUI setting ADB If the function comes back after the update, repeat the procedure.
adb shell settings put secure camera_double_click_power 0
Sometimes the parameter is stored in a secure, not a global setting.-->
Method 3: Editing system files (for advanced)
If none of the previous methods worked, you can try editing system files manually, which is only suitable for users with an unlocked bootloader and installed TWRP or other custom Recovery.
Instructions:
- Create a backup of the /system partition via TWRP.
- Connect to your smartphone via ADB shell or use a root file manager (such as Root Explorer).
- Go to /system/usr/keylayout and find the Generic.kl or qwerty.kl file (depending on the model).
- Open the file in the text editor and find the line:
key 116 POWER WAKE_DROPPED
key 116 POWER CAMERA_LAUNCH- Remove or comment (add # to the beginning) the line with CAMERA_LAUNCH.
- Save the file, set the correct rights (644) and restart the device.
This method is guaranteed to disable the function at the system level, but requires caution. If after the changes the smartphone stopped booting, restore the backup via TWRP.
What if after editing the file, the smartphone does not turn on?
Comparison of methods of disabling a function
To choose the best way, compare them by key parameters:
| Method | Difficulty | PC required | Root is required. | Reset after update | Suitable for all models |
|---|---|---|---|---|---|
| Standard settings | โญ | โ No. | โ No. | โ No. | โ ๏ธ Not always. |
| ADB Team Team | โญโญ | โ Yes. | โ No. | โ ๏ธ Sometimes. | โ Yes. |
| Editing system files | โญโญโญโญ | โ Yes. | โ Yes. | โ No. | โ Yes. |
| Third-party applications (such as Button Mapper) | โญโญ | โ No. | โ ๏ธ Sometimes. | โ ๏ธ Often | โ Yes. |
For most users, the best solution is a combination of the first and second methods: first try the standard settings, and if it does not work โ use ADB.
Standard settings of MIUI
ADB Team Team
Editing system files
Third-party annexes
I haven't decided yet.-->
Method 4: Third-party applications for button reassignment
If you donโt want to completely disable the function, but want to reassign double-clicking to another action (for example, starting a flashlight or voice assistant), you can use specialized utilities.
- ๐ง Button Mapper โ allows you to reassign buttons without root, but requires ADB activate.
- ๐ค Tasker is a powerful automation tool that can intercept button presses.
- ๐ MacroDroid โ a simplified alternative to Tasker with a visual macro editor.
- ๐ฑ SecondScreen โ Suitable for devices with MIUI, but requires root rights.
Example of settings in Button Mapper:
- Install the app from Google Play.
- Connect to the PC and execute the command:
adb shell pm grant flar2.homebutton flar2.homebutton.permission.BIND_ACCESSIBILITY_SERVICE- In the app, select the Double Press Power button and assign a new action (e.g. Toggle Flashlight).
- Save the settings and restart the smartphone.
Note that third-party applications may conflict with MIUI system processes. If after setting up the smartphone began to slow down or overheat, roll back the changes.
Frequent problems and their solutions
When you turn off the dual-press function, users encounter common errors, and consider the most common and ways to fix them:
- ๐ The function returns after the update MIUI โ Use it. ADB or disable automatic updates in Settings โ The phone. โ Updating the system.
- ๐ง Team team. ADB doesn't work โ Check if the debugging is included USB If you have drivers installed, try reconnecting the device.
- ๐ฑ No item in the settings on POCO/Xiaomi โ In some models (POCO F3, Xiaomi 11T) The option is hidden. ADB file-editing.
- ๐ The smartphone stopped booting after editing system files โ Restore your backup copy through TWRP or sew the stock firmware.
If you use custom firmware (like LineageOS or ArrowOS), the dual-click function may be implemented differently, in which case, look for settings in the Buttons or Gesture settings section of the firmware menu.
โ ๏ธ Attention: On devices with Android 12+ and MIUI 13+ team ADB If you see a SecurityException error, try executing a command on behalf of the superuser).
FAQ: Answers to popular questions
Can I turn off the function without a computer?
Why does the function reappear after being disabled through ADB?
Will the way to edit files on Xiaomi with a blocked bootloader work?
Can you reassign double-click to another action without root?
Why is my Redmi Note 9 not having a power-off option in the settings?
๐ก
If standard settings donโt help, always start with the ADB command โ itโs the most secure and versatile method for Xiaomi devices.