How to make the lock button call on Xiaomi complete: the complete guide

Finishing a phone conversation with the lock button (Power) is one of the most popular features among owners of Xiaomi smartphones. This option allows you to quickly complete calls without turning the phone upside down and pressing the virtual Reset button β€” especially when you are driving, exercising or just holding your smartphone in an uncomfortable position. MIUI This feature is often disabled or hidden in the depths of the menu.

In this article, we’ll look at all the ways you can activate the lock button on Xiaomi, Redmi and POCO devices, from official settings to hidden commands for the engineering menu. You’ll learn how to enable the feature on MIUI 14/15, which models support it out of the box and which will require additional customization. We’ll also look at common errors (for example, when the lock button doesn’t work) and alternative solutions for older versions of the firmware.

Why does the lock button not end the call by default?

Many Xiaomi users wonder why such a logical feature doesn’t work out of the box.

  • πŸ”Ή Security Policy: Xiaomi defaults to block the completion of a call with the Power button to avoid accidental resets during a call (for example, if the phone is in your pocket).
  • πŸ”Ή Differences in firmware: on global versions MIUI (For example, for Europe, the function can be disabled, whereas on Chinese firmware it is often active by default.
  • πŸ”Ή Hardware restrictions: On some budget models (e.g. Redmi) 9A or POCO C31) The function may be missing due to simplified firmware.
  • πŸ”Ή Gesture conflict: On smartphones with Always On Display or active gestures (such as double tapping to wake up), the Power button can be blocked for additional actions.

Interestingly, on flagship models (for example, Xiaomi 13 Ultra or POCO F5 Pro) the function often works immediately after upgrading to MIUI 15, whereas on older devices (like Redmi Note 8 Pro) it has to be enabled manually through the engineering menu.

πŸ“Š Your Xiaomi model supports the completion of the lock button call?
Yeah, it works out of the box.
I had to manually turn it on.
It does not work despite the settings.
I haven't tried it, I just found out now.

Official method: setup in MIUI 14/15

If your smartphone is running MIUI 14 or MIUI 15 (relevant to most models from 2022-2026), you can turn on the closure button through the standard settings.

  1. Open the Settings app (the gear icon on the desktop).
  2. Go to the System Applications section β†’ Phone.
  3. Select Incoming Calls (or Call Settings on some firmware).
  4. Scroll down and find the option to Complete the Lock button call (could be called Power button ends call in English firmware).
  5. Activate the switch and confirm the action.

If this is not the case, try an alternative route:

  1. Open the Settings. β†’ Special facilities.
  2. Select Physical buttons or Button Management.
  3. Find the Power button Action section and enable the option to complete the call.

Make sure you have the latest version of MIUI | Check if special features are disabled |Close all background apps before changing settings |Reboot your phone after activating the function-->

Important: Some firmware (e.g. Redmi Note 11) may call the option otherwise: End Power button or Power key to end call. If you don't find it in the sections listed, move on to the next method.

Hidden method: engineering menu (for power users)

If you don’t have an option in your standard settings, you can activate it via the Engineering Mode, which works on most Xiaomi models, but you need to be careful that you can make incorrect changes to your device and cause them to crash.

Instructions:

  1. Open the Phone app and type the combination: ##4636## This will open the testing menu.
  2. Select Usage Statistics (or Usage Statistics).
  3. Return to the main menu of the engineering mode and go to Hardware testing β†’ Audio.
  4. Find the Headset Mode option and set the Power Key End Call (or similar).
  5. Save the settings and restart the phone.

If the #4636### combination doesn’t work, try the alternative code for Xiaomi:

##36446337##

It opens the Advanced Engineering Mode menu, where you go to MTK Settings β†’ Telephony and find the call completion settings.

What to do if the engineering menu is not opened?
If neither of these combinations works, it means that the manufacturer has blocked access to the engineering menu on your firmware, in which case there are two options: 1. ADB-2. Install custom firmware (e.g. Xiaomi.eu) where the function can be unlocked by default.

Warning: Changes to the engineering menu can affect communication stability. If you have problems with the microphone or speaker after activation of the function, return the settings to the original state.

ADB-Teams: for advanced users

If standard and engineering methods fail, you can turn on the closure of the lock button via ADB (Android Debug Bridge), which requires connecting the phone to a computer, but gives 100% result on most Xiaomi models.

Steps:

  1. Turn on Developer Mode on your phone: go to Settings β†’ About Phone β†’ Press 7 times on the MIUI version.
  2. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.
  3. Connect your phone to your PC, install Mi PC Suite drivers (if not installed), and open the command prompt (cmd) in the ADB folder.
  4. Enter the command to check the connection: Adb devices should appear serial number of your device.
  5. Execute the command to activate the function: adb shell settings put global power_key_ends_call 1
  6. Reboot the phone.

To disable the function, use the same command by replacing 1 by 0.

πŸ’‘

If ADB doesn’t recognize the device, try reinstalling the drivers manually through Device Manager (select β€œUpdate Driver” β†’ β€œSearch on this computer” β†’ specify the folder with Mi PC Suite).

On some models (e.g. Xiaomi) 12T or POCO X5 Pro) after execution ADB-commands need to additionally enable the option in the phone settings - check the Special features section β†’ Physical buttons.

Compatibility table: Which models support the function?

Not all Xiaomi smartphones allow you to complete a call with a lock button, below is the compatibility table for popular models (data is relevant for MIUI 14/15):

ModelOut of the box supportDo you need an ADB/Engineering Menu?Notes
Xiaomi 13/13 Pro/13 UltraYes.No.The function is included in the phone settings
Redmi Note 12 Pro+/12 ProYes (on global firmware - no)Yes (for the global version)On Chinese firmware works by default
POCO F5/F5 ProYes.No.Option in the section Call settings
Redmi 10A/10CNo.Yes (ADB only)On budget models, the function is often blocked.
Xiaomi 11T/11T ProYes (after upgrade to MIUI 14)No.MIUI 13 requires an engineering menu

If your model is not in the table, try enabling the feature via ADB or engineering menus – the odds of success are ~70%. On the oldest devices (e.g. Redmi 5/6), the feature may not work due to hardware platform limitations.

Frequent problems and their solutions

Even after successful activation, the function may not work properly. Consider typical errors and how to fix them:

  • πŸ”Έ The lock button does not work during the call. β†’ Check if the function conflicts with gestures (e.g. Double tap to wake). β†’ Lock screen.
  • πŸ”Έ The function works, but with a delay (1-2 seconds) β†’ This is normal behavior on some firmware. To speed up the reaction, turn off animations in the Developer Settings (Window Animation Scale) β†’ No animation).
  • πŸ”Έ After restarting, the function is turned off. β†’ This means that the settings are not saved to the system. Solution: Use ADB-command to permanently activate or install the Magisk module (e.g. Power Button End Call Enabler).
  • πŸ”Έ The lock button ends the call, but the screen does not go out. β†’ The problem is with the power saving settings. Turn off Adaptive Brightness in Settings. β†’ Display.

πŸ’‘

If after activating the function, the phone began to spontaneously reset calls, check the case or film - they may accidentally press the Power button.

If none of the solutions worked, try resetting your phone to factory settings (Settings β†’ About Phone β†’ Settings Reset).Be sure to back up your data before doing so!

Alternative ways to complete the call

If the lock button never worked, consider alternative methods:

  • πŸ“± "Swipe down" gesture: On some models (e.g. Xiaomi 13 Lite), you can complete a call by swiping down the screen during a call. β†’ Special facilities β†’ Gestures.
  • πŸ”Š Voice command: Activate Google Assistant and set up the "Complete Call" command (only in English in some regions).
  • πŸ”˜ Widget on lock screen: Install Quick Call End widget from Google Play – it adds a reset button to the lock screen.
  • πŸ”§ Third-party apps: Apps like Power Button End Call or GravityBox (requires Magisk) emulate clicking the call end button.

Please note: Third-party apps may require permission to feature special features or overlay over other windows, which may affect security.

πŸ’‘

If you talk frequently with headphones, set up call completion via Double pressing the headphone button in Settings β†’ Connected devices β†’ Headphone settings.

FAQ: Answers to Frequent Questions

❓ Why After Updating MIUI function stopped working?
Updates often reset user settings, including those that have been activated through ADB After the update: Check if the option in the phone settings has turned off. ADB-Adb shell settings put global power_key_ends_call 1). If it doesn’t work, wait for the patch from Xiaomi or roll back to the previous firmware version.
❓ Can I configure the end of the call with the volume/increase button?
Yes, but only on some models through the engineering menu or ADB. For example, for the volume button, use the command: adb shell settings put global. volume_key_ends_call 1 However, this method is unstable and may conflict with volume control during a call.
❓ Will the feature work if the phone is locked (e.g., with a pattern lock)?
Yes, the lock button ends regardless of the lock screen condition, but if you use a smart lock, the function may not work properly β€” disable it in Settings β†’ Security.
❓ Why not? POCO X3 The Pro function only works once?
This is a known problem on Qualcomm Snapdragon and MIUI 12.5 processor devices. Solutions: Update the firmware to MIUI 14+. Turn off battery optimization for the Phone app in Settings β†’ Applications β†’ Battery Management. Install the Magisk Power Button Tweaks module.
❓ Can this feature be enabled on Xiaomi with custom firmware (e.g. LineageOS)?
On most custom firmware (including LineageOS, Pixel Experience), the lock button shutdown function works by default. If it's not there: Check the settings in Phone Settings β†’ Call settings. Use the Magisk Button Mapper module to reassign buttons. edit the build.prop file by adding a line ro.telephony.call_end_with_power=True (requires root).