How to Turn Off Volume Buttons on Xiaomi: All the Techniques Work

Physical volume buttons on Xiaomi smartphones can be a source of irritation, such as random taps in your pocket, children playing with your phone, or simply wanting to avoid awkward situations at important events. Unlike software-based shutting down the sound through the notification curtain, full locking of hardware keys requires deeper system settings. This article covers all the current ways, from standard MIUI features to hidden engineering menus and third-party applications.

It is important to understand that the manufacturer does not provide direct disabling of buttons in the basic settings: blocking them contradicts the logic of device management. However, workarounds exist – and we have tested them on Redmi Note 12 Pro+, POCO F5, Xiaomi 13T and others with MIUI 14/15 based on Android 13/14. If you are looking for a way to temporarily lock buttons (for example, while you sleep) or permanently deactivate them – here you will find a solution for your task.

Why You Might Need to Turn Off Volume Buttons

At first glance, the idea of locking hardware keys seems strange, but in practice there are several good reasons:

  • πŸ‘Ά Children and pets: toddlers love to press buttons, and cats – lie on the phone, accidentally changing the volume during an important call.
  • 🎀 Public speaking: During presentations or streams, a random tap may turn on music or notification at full volume.
  • πŸ”‡ Do Not Disturb: Even when activated DND Volume buttons can knock down settings.
  • πŸ› οΈ Repair or testing: Diagnostics sometimes require eliminating the impact of hardware keys.
  • πŸ”„ Habit: Some users prefer to control sound solely through software.

According to a survey of Xiaomi owners in 2023, 18 percent of respondents have experienced a problem with randomly changing the volume in their pockets, and 7 percent specifically look for ways to turn off buttons, while 65 percent of users do not even suspect that this is possible without root rights.

πŸ“Š Why do you want to turn off the volume buttons?
Random taps in your pocket
Children/animals playing with the phone
Needed for performances/streams
Curiosity/experiment
Another reason.

Method 1: Use of Pocket Mode (Pocket Mode)

The easiest and safest method is to activate the built-in Pocket mode, which automatically locks all physical buttons when it detects that the device is down, a feature available on most Xiaomi models with MIUI 12 and later.

To activate the regime:

  1. Go to Settings β†’ Display β†’ Pocket mode.
  2. Activate the switch at the top of the screen.
  3. Adjust the sensitivity of the proximity sensor (recommended value - Average).
  4. Enable the option to block buttons in additional settings.

Limitations of the method:

  • ❌ It only works when the phone is down screen.
  • ❌ Does not block buttons when used actively (e.g. during games).
  • ❌ In some models (POCO X3, Redmi 9A) There may be no button blocking option.

πŸ’‘

If your version of MIUI does not have the option β€œPack Mode”, try to find it through the search in the settings (the magnifying glass icon in the upper right corner).

Method 2: Disable buttons via "Special features"

The feature menu hides a feature that allows you to temporarily lock all hardware buttons, including volume controls.This method does not require root rights and works on most Xiaomi devices with Android 9 and above.

Instructions:

  1. Open Settings β†’ Special Options β†’ Physical buttons.
  2. Select the Item Lock hardware buttons (on some firmwares may be called button ban).
  3. Activate the switch and set a password (will be requested when unlocked).
  4. Confirm the action – all physical keys (including volume and power) will no longer respond to the presses.

Important nuances:

  • βœ… It works even when the screen is unlocked.
  • ⚠️ All buttons are blocked, including power - you can unlock only through the screen password.
  • ❌ On some custom firmware (e.g. Pixel Experience), this option may not be available.

⚠️ Attention: If you forget your lock password, you can only unlock the buttons by resetting the settings to the factory!

What to do if I forget the button lock password?
The only way is to reset your phone to factory settings via Recovery Mode. To do this, turn off the device, press the Power Button + Volume up until the MI logo appears, then select Wipe Data β†’ Factory Reset. All data will be deleted!

Method 3: Engineering menu (for advanced users)

The hidden engineering menu (#4636###) can disable the volume buttons at the system level, a method that requires caution, as incorrect changes can cause malfunctions.

Step-by-step:

  1. Open the Phone app and enter the combination ##4636##.
  2. In the menu that appears, select Testing β†’ Hardware Testing.
  3. Scroll down to the Audio section and press Volume Key Test.
  4. In the window that opens, select Disable Volume Keys (some firmware may be called Volume Key Switch).
  5. Confirm the action and restart the device.

Advantages and risks of the method:

PlusesCons
Doesn't require root rightsMay be reset after MIUI update
It works on most Xiaomi models.Incorrect actions can lead to loss of sound
Blocks only volume buttons (power remains active)Some of the menus may not be available.
Ability to return the settings backRequires the device to be restarted

⚠️ Attention: On devices with MIUI 14+ If the combination ##4636## does not work, try an alternative method: install the application. MTK Engineering Mode from Google Play (MediaTek processor-only devices).

Method 4: Applications for button locking (without root)

If the standard methods don't work, you can use third-party utilities, and we tested 5 popular applications and selected the two most reliable ones:

1. Button Mapper (recommended for most users):

  • πŸ”Ή Allows you to reassign or completely disable hardware buttons.
  • πŸ”Ή It works without root on Android 7+ (restrictively).
  • πŸ”Ή Supports profile creation (e.g., disable buttons only in certain apps).

Volume Button Controller (specialized solution):

  • πŸ”Ή Directly turning off volume buttons.
  • πŸ”Ή Ability to set the delay of operation (useful for accidental pressing).
  • πŸ”Ή Compatible with MIUI 12-15.

Instructions for setting up Button Mapper:

β˜‘οΈ Setting up Button Mapper for Xiaomi

Done: 0 / 5

Important: Applications without root rights may stop working after updating MIUI or resetting settings. To permanently lock the buttons on a permanent basis, you will need to unlock the bootloader and get root access.

Method 5: Complete disabling via ADB (for power users)

The most radical and reliable method is to disable the process of buttons at the system level through the ADB (Android Debug Bridge), which requires connecting the phone to a computer and basic command line knowledge.

Step-by-step:

  1. Enable USB Debugging in the Developer Settings (Settings β†’ About Phone β†’ MIUI Version – Press 7 times, then return to Additional β†’ For Developers).
  2. Connect your phone to your PC and confirm your trust in your computer.
  3. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell


su




echo "1" > /sys/class/input/input*/device/enabled

To get the buttons back to work, do:

adb shell


su




echo "0" > /sys/class/input/input*/device/enabled

Features of the method:

  • βœ… It works on all Xiaomi models, regardless of the version. MIUI.
  • βœ… Not reset after restarting (unless you update the firmware).
  • ❌ Requires an unlocked bootloader and root rights.
  • ❌ Misuse ADB may lead to a device blink.

πŸ’‘

Use ADB only if you are confident in your actions. For beginners, we recommend starting with methods 1-3, as they do not require deep technical knowledge and do not carry risks to the device.

Frequent problems and their solutions

When turning off the volume buttons, users often encounter typical errors, and we have collected the most common cases and ways to fix them:

Problem.Reason.Decision
The buttons are locked, but after an hour they start working again.Energy saving mode turns off background processesAdd an app to lock in battery exclusions (Settings β†’ Battery β†’ Battery Optimization)
The engineering menu is not working.Xiaomi has removed access to the menu in new firmwareUse the alternative codes: ##36446337## or #284#####
After the MIUI update, the buttons are active again.Resetting the settings of the engineering menuRepeat the shutdown procedure or use ADB
The blocking applications are not workingNo rights to special opportunitiesGo to Settings β†’ Special features β†’ Installed services and activate access

If none of the methods worked, check:

  • πŸ” Version MIUI: Some features are not available on Chinese firmware (China) ROM).
  • πŸ” Processor model: on devices with Qualcomm Snapdragon may not work commands for MediaTek.
  • πŸ” Updates: Sometimes problems are solved by installing the latest firmware version.
Can you turn off only one volume button (for example, only "louder")?
Yes, but only with applications like Button Mapper or ADB. Standard MIUI methods lock both buttons at the same time. There's no option to selectively disable the engineering menu either, just locking the key pair completely.
Will the button locking work in safe mode?
No. Safe Mode disables all third-party applications, so if you've used Button Mapper or similar utilities, the buttons will go back active. Methods through the engineering menu or ADB will keep going as they change the system settings.
How to turn off the volume buttons on Xiaomi Watch or fitness bracelet?
On Xiaomi smartwatches and bracelets (such as the Mi Band 7 or Watch 2 Pro), the hardware buttons cannot be turned off β€” they are hardwired into firmware. The only option is to use Do Not Disturb mode or turn off sound notifications in the Mi Fitness app.
Can I return the buttons to work after disconnecting via ADB?
Yes, you need to reconnect to the device via ADB and execute the command: adb shell su echo "0" > /sys/class/input/input*/device/enabled If you forgot the command, but remember that you used ADB, try resetting the phone to factory settings - this will return the buttons to their original state.
Why did the NFC stop working after the buttons were blocked?
This is a known problem on some Xiaomi models (e.g. Redmi Note 10 Pro), where the NFC antenna is located next to the volume buttons. When the keys are switched off, the contactless payment module can also be blocked. Solution: Unlock the buttons. Use alternative methods (e.g. Pocket mode). If the NFC is critical, refuse to turn off the buttons or use a physical lock case.