Are you tired of accidentally pressing the lock button on a Xiaomi smartphone interrupting an incoming call?This feature, designed to quickly reset unwanted calls, often works at the most inopportune moment β when the phone is in your pocket, bag or just with a sloppy tap. Unlike other manufacturers, where the lock button by default does not affect the active call, MIUI defaults it to the reset connection.
Complicating the problem, newer firmware versions (especially MIUI 13 and MIUI 14) have hidden the settings deep or missing from the GUI. Users of Redmi Note 10 Pro, POCO X3 Pro and other popular models often find that standard instructions from the Internet do not work β menus have moved, items have been renamed, and some options now require ADB permission.
In this guide, we will discuss all the current ways to disable lock button reset on Xiaomi smartphones, including:
Why the Lock button resets calls: technical reasons
The Power button reset feature was introduced in MIUI as part of the security policy, originally designed to:
- π Fraud protections β quickly reset a suspicious call without unlocking the screen.
- β‘ Emergency services β for example, when you need to interrupt a conversation, but the screen is blocked.
- π± Compatible with cases - on some models (Mi 11 Ultra, Redmi) K40) The power button is located so that it is easy to touch in the case.
But in practice, it's more likely to get in the way than it helps, especially when the smartphone is in your pocket and a random tap breaks off an important conversation. Android 10+ and MIUI 12+ have changed the logic of the work, and now the system recognizes double-pressing the lock button as a call reset command (old versions had a single tap), which reduced the number of false positives, but did not solve the problem completely.
Key point: the setup is not universal. Some models (POCO F3, Redmi 9T) can disable it through the standard menu, while others (Xiaomi 12 Pro, Mi 11 Lite) will need to edit system settings through ADB or third-party utilities.
Method 1: Disconnect via standard MIUI settings (for most models)
If you have MIUI 12.5 or newer, try this method first.It works on most devices, including the Redmi Note 10/11, POCO X3/X4, Mi 10/11.
- Open the Settings app (cog icon).
- Go to All settings β System β Buttons and gestures.
- Select the Lock button (or the Power button on some firmware).
- Find the option to reset the lock button and turn off the slider.
If this item is not, check:
- π Update of firmware - in MIUI 14 Ways may be different: Settings β Screen. β Buttons and gestures.
- π± Regional firmware β on global (Global) and Chinese (China) versions, menus can be called differently.
- π§ Hidden settings β sometimes the option is hidden under the Additional button functions.
βοΈ Checking before setting up
Important! on some devices (POCO F4 GT, Redmi K50) after disabling this option, it may be necessary to restart for the changes to take effect.
Method 2: Using ADB for hidden settings (advanced method)
If you don't have the right item on the menu, you'll need to use Android Debug Bridge (ADB), which works on all Xiaomi models, but requires a computer and minimal technical skills.
- Download ADB Tools and unpack the archive.
- Turn on Developer Mode on your smartphone: go to Settings β About Phone and 7 times click on the MIUI version.
- Return to Settings β Additional β For developers and activate Debugging over USB.
- Connect your phone to your PC, open the command line in the ADB folder and type:
adb devices
adb shell settings put global power_button_end_call falseOnce you've done the command, restart the device. To get it back, use:
adb shell settings put global power_button_end_call trueCritical detail: on some firmware (e.g. MIUI 13.0.4 for Redmi Note 11 Pro+), this command may not work due to manufacturer limitations, in which case an alternative method with editing system files will be required (see next section).
What to do if ADB is not working?
Method 3: Editing system files (for power users)
If ADB doesnβt help, you can still manually edit configuration files, which requires root rights and is only suitable for users who are prepared for potential risks (loss of warranty, system failures).
Instructions:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /system/usr/keylayout/ and find the Generic.kl file (or qwerty.kl for some models).
- Open the file in the text editor and find the line:
key 116 POWER WAKE_DROPPEDReplace her with:
key 116 POWER WAKESave the changes, set the rights 644 and restart the device.
β οΈ Warning: Incorrect editing of system files can lead to bootloop ( looped boot).Before changes, make a full backup through TWRP Or Mi Flash Tool.
| Xiaomi model | Supported method | Need root? | Notes |
|---|---|---|---|
| Redmi Note 10/11 | Standard settings / ADB | No. | MIUI 13+ may require ADB |
| POCO X3/X4 | ADB or file editing | For files, yes. | The global firmware is run by ADB |
| Mi 11/12 | Only ADB. | No. | No standard paragraph |
| Redmi K40/K50 | File editing | Yes. | ADB does not work on some versions. |
Method 4: Third-Party Applications for Button Management
If you don't want to dig into the settings or use ADB, you can use specialized utilities.
- π± Button Mapper - allows you to reassign the actions of the buttons, including locking. MIUI, requires ADB activate special permits.
- π§ Power Button to Volume Button β Replaces the power button function with volume control (useful if the button is broken or frequently hits).
- π οΈ MacroDroid β Creates automatic rules, such as locking the power button during a call.
Example of settings in Button Mapper:
- Install the app from Google Play.
- Grant permission to use special features (Settings β Special features β Button Mapper).
- Select Power Button and set the No Action action for the During Call event.
β οΈ Note: Some apps (such as Button Mapper) may conflict with Google Pay and other services that require SafetyNet.
π‘
If gestures stop working after installing a third-party app (like double tapping to wake up), try turning off battery optimization for that application in the MIUI settings.
Frequent problems and their solutions
Even after successfully disabling a lock button reset, users experience side effects. Consider typical situations and ways to fix them:
1.The lock button stopped waking the screen
If after the changes the power button stopped turning on the display, check:
- π Reboot the device β sometimes the system resets temporary settings.
- π± Sign settings in Settings β Screen. β Gestures (may conflict with button reassignment).
- π§ Reset button settings through ADB: adb shell settings delete global power_button_end_call
2.The function returns after the MIUI update
Xiaomi often resets custom settings after major updates.
- π Create a task in MacroDroid that will automatically disable the call reset after the reboot.
3: ADB does not work on new models
Xiaomi 13, Redmi Note 12 and other new devices MIUI 14 can block ADB-The decisions of the team:
- π¦ Install the Disable Power Button End Call module in Magisk (requires root).
- π Try the alternative command: adb shell cmd power set-power-shutdown-behavior 0
π‘
On devices with MIUI 14 and Android 13+ standard ADB-Teams may not work because of tighter security policies, and in this case, the only reliable way to do this is to edit system files or use Magisk modules.
Alternative solutions: if nothing has worked
If all of these methods fail, consider alternative approaches:
- π Use a headset β with connected headphones or Bluetooth headset, the lock button does not reset the challenge.
- π Set up a blacklist β add unnecessary numbers to the lock (Settings) β Annexes β Challenges β Blacklisting to reduce unwanted calls.
- π οΈ Reassign the button - in some firmware (POCO Launcher) can be made so that double-pressing the locking switches on a flashlight or camera instead of resetting the call.
- π Install custom firmware β for example, Pixel Experience or LineageOS, where such a feature is not by default.
For owners of Redmi and POCO with infrared port, there is an unexpected solution: some users use an air conditioning remote attached to the lock button via Mi Remote, which allows you to physically lock the power button without losing functionality.
Last tip: if you drop your phone frequently or carry it in an uncomfortable pocket, consider buying a button-protected bumper, which will not only prevent accidental tapping, but also save your smartphone from mechanical damage.