Disable the lock button reset on Xiaomi: all ways

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.

πŸ“Š Your Xiaomi model?
Redmi (Note, K-series)
POCO (F, X, M-series)
Mi (11, 12, 13)
Another model
I don't know.

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.

  1. Open the Settings app (cog icon).
  2. Go to All settings β†’ System β†’ Buttons and gestures.
  3. Select the Lock button (or the Power button on some firmware).
  4. 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

Done: 0 / 4

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.

  1. Download ADB Tools and unpack the archive.
  2. Turn on Developer Mode on your smartphone: go to Settings β†’ About Phone and 7 times click on the MIUI version.
  3. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.
  4. 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 false

Once you've done the command, restart the device. To get it back, use:

adb shell settings put global power_button_end_call true

Critical 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?
If the command returns the error "permission denied", try: 1. Reconnect the device and confirm the debugging resolution on the smartphone screen. 2. Use the command `adb root` (3. Install Magisk and the Disable Power Button End Call module from the repository.

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:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/usr/keylayout/ and find the Generic.kl file (or qwerty.kl for some models).
  3. Open the file in the text editor and find the line:
key 116   POWER       WAKE_DROPPED

Replace her with:

key 116   POWER       WAKE

Save 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 modelSupported methodNeed root?Notes
Redmi Note 10/11Standard settings / ADBNo.MIUI 13+ may require ADB
POCO X3/X4ADB or file editingFor files, yes.The global firmware is run by ADB
Mi 11/12Only ADB.No.No standard paragraph
Redmi K40/K50File editingYes.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:

  1. Install the app from Google Play.
  2. Grant permission to use special features (Settings β†’ Special features β†’ Button Mapper).
  3. 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.

Can I disable the reset call with the lock button without a computer?
Yes, on most Xiaomi models (except the Mi 12/13 and Redmi K50 flagships), this can be done through standard settings: Settings β†’ Buttons and gestures β†’ Lock button. If you don’t have a point, try updating your firmware or using apps like Button Mapper (requires ADB to activate).
Why did the lock button stop waking the screen after disabling this function?
This is due to a conflict of gesture settings. To fix: Go to Settings β†’ Screen. β†’ Turn off and turn on the double tap to wake up again. Reboot the device. If it doesn't work, reset the button settings through the buttons. ADB: adb shell settings delete global power_button_end_call
Will this method work on the POCO F5 with MIUI 14?
Nana POCO F5 Other New Models (Redmi Note) 12, Xiaomi 13T) The standard method may not work. ADB-Root: Su settings put global power_button_end_call Or install the Disable Power Button End Call module in Magisk. If the bootloader is not unlocked, the only option is to use a headset or blacklist to filter calls.
Can I return the lock button reset if I change my mind?
Yes, all changes are reversible: If you used standard settings, just turn the slider back on. ADB β€” Adb shell settings put global settings power_button_end_call If you edited system files, return the original line to Generic.kl.
Why isn’t my Redmi 9A in the settings?
On budget models (Redmi) 9A/9C, POCO C31) and old versions MIUI (below 12.5) In this case: Update the firmware to the latest version via Settings β†’ Update the system. Use it. ADB-The method (even works on Android) 10). Install an alternative launcher (like Nova Launcher) that allows you to reassign button actions.