A broken power button or a broken sensor is a situation that many users face on Xiaomi, especially when the phone is โhang-upโ or needs to be rebooted urgently, and standard methods are not available. In this article, we will discuss all possible methods of disabling a device without physical access to the buttons, including hidden Android functions, service commands and hardware solutions.
Compounding the problem, most Xiaomi models (from the Redmi Note 10 to the Mi 11 Ultra) lack a removable battery, and forced battery extraction can damage the plumes. Fortunately, the manufacturer has provided several โspare exitsโ โ from software tools to engineering modes, the main thing is to act carefully so as not to aggravate the breakdown.
If your smartphone is responding to charging or connecting to a PC, the chances of successfully shutting down without disassembling the case are much higher, otherwise you will have to resort to radical measures - but there are nuances, which we will discuss below.
1.Switch off via ADB (Android Debug Bridge)
The method is suitable if the smartphone previously had USB debugging enabled (Settings โ About Phone โ MIUI Version โ 7 taps by build number โ For developers โ USB debugging). This is the only way to programmatically manage the device without physical access to the buttons.
To turn off via ADB, follow the following steps:
- Connect your smartphone to your computer through USB-cable (preferably original).
- Open the command line (Win + R โ enter cmd โ Enter).
- Check the connection of the device by the command: Adb devices The list should appear serial number of your Xiaomi.
- Execute the shutdown command: adb shell reboot -p
If the team doesnโt work, try an alternative:
adb shell input keyevent 26Keyevent 26
MIUI
Install Xiaomi drivers on PC|Enable debugging on USB phone-on|Use the original USB-cable|Check the connection of the adb device team-->
โ ๏ธ Attention: If debugging is on USB If you didn't activate it in advance, it won't work.
2. Forced reboot via Recovery Mode
Recovery is available on all Xiaomi smartphones, even if the power button is not working, the main thing is that the device at least somehow reacts to charging or connecting to the PC.
How to log in to Recovery without the power button:
- ๐ Connect your smartphone to the charger.
- ๐ฑ๏ธ If the screen reacts to touch even slightly, try holding the Volume up combination. + Power (even if the power button is broken, sometimes software emulation works).
- ๐ป Connect your phone to your PC and use the command ADB: adb reboot recovery
In the Recovery menu (navigation is done by volume buttons, the choice is by the power button or the sensor, if it is partially working), select Reboot โ Power Off. On some models (Redmi 9A, Poco X3), the path may be different: Shutdown โ Confirm.
If the sensor is completely dead and the power button is not working, try the hardware reset:
- ๐ง Turn off the phone from charging.
- ๐ At the same time, press the volume up. + Volume down and connect the cable USB On some models, this will reboot to Fastboot, where you can go to Recovery with the command: fastboot reboot recovery.
What happens if Recovery does not open?
3. Use of USSD service codes
On some Xiaomi models (mostly on older ones like Redmi) 4X or Mi A1) work-in USSD-This is a method suitable if the sensor is partially functional (e.g., it responds to swipes but not taps).
Try the following combinations:
- ๐ Enter the dialer: ##7780## (reset to factory settings with reboot).
- ๐ Alternative code: *2767*3855# (Full reset, deletes all data!).
- ๐ To turn off without reset: ##4636## โ Battery information โ Hold Power Off (if menu is available).
โ ๏ธ Attention: Codes *2767*3855# and ##7780## This results in the complete deletion of data from internal memory, including photos and applications!
On newer models (Xiaomi 12, Redmi Note 11) these codes are usually locked, but you can try an alternative way:
- Open the Phone app.
- Enter ##4636##.
- Go to Usage statistics โ Force Stop for the system (may cause a reboot).
Yes, code ##4636##|Yes, but only with a data reset |No, it doesn't work |I haven't tried-->
4. Discharge of the battery until completely disconnected
If no software method works, you can wait passively until the battery is depleted to zero, which takes a long time (from a few hours to a day), but is guaranteed to turn off the device without risking data damage.
How to speed up the discharge:
- ๐ฎ Run a resource-intensive application (such as a Genshin Impact game or a performance test) 3DMark).
- ๐ Turn on music at maximum volume through speakers.
- ๐ถ Activate all communication modules: Wi-Fi, Bluetooth, GPS, mobile.
- ๐ฆ Turn on the flashlight and donโt turn off the screen (if possible).
To avoid automatic activation when connected to charging, after discharging, remove the cable and wait for a full shutdown. On some models (Poco F3, Mi 10T), you will then need to force charging (holding the power button + connecting the cable) to re-energize.
| Xiaomi model | Time of discharge (note) | Risk to the battery |
|---|---|---|
| Redmi Note 10 Pro | 8:12 hours | Low (modern Li-Po batteries) |
| Xiaomi Mi 11 | 6-10 hours | Medium (fast discharge can reduce the resource) |
| Poco X3 NFC | 10:14 hours | Low (capacious battery 5160 mAh) |
| Xiaomi Mi A3 | 5-8 hours | High (Old Power Controller) |
๐ก
If your smartphone starts vibrating or shows a low charge warning but doesnโt turn off, wait another 30 to 60 minutes. Some Xiaomi models block the shutdown at 1-2% charge to save data.
Physical battery shutdown (last resort)
If all the previous methods failed, you're left with the disassembly of the case and the forced shutdown of the battery, and it's a risky method, which is you can damage the plumes, lose the warranty, or even disable the phone, and only use it if you:
- ๐ง You have experience in disassembling electronics.
- ๐ ๏ธ There are plastic blades and a Torx screwdriver on hand T3/T4.
- ๐ฑ Your phone is not guaranteed (or you are willing to lose it).
Step-by-step:
- Turn off the phone (if possible) and remove it. SIM-memory-card.
- Heat the back cover with a hairdryer (temperature not higher than 60ยฐC) to soften the glue.
- Carefully tuck the lid with a plastic spatula, starting at the corners.
- Unscrew the screws that hold the metal plate over the battery.
- Disconnect the battery plume (usually under a black insulation tape).
- Wait 30 seconds and plug the plume back in.
โ ๏ธ Note: On Xiaomi models with built-in L-shaped battery (e.g. Mi 9 or Redmi) K20 Pro) the power plume can be hidden under extra boards. Don't pull the wires - use tweezers!
After the battery is turned off, the phone will completely shut down. Re-energizing may require a charger connection with the power button holding (even if it is broken โ sometimes the contact is triggered).
๐ก
Disassembly of the Xiaomi case voids the warranty and can damage the waterproof seal (on models with IP53/IP68 protection).
6. Contact the Xiaomi Service Center
If none of these methods worked, or you are afraid of damaging the device yourself, the best option is to contact an authorized service center.
- ๐ง DC Power Supply - a device for forced supply of voltage to the board, allowing you to bypass the faulty power button.
- ๐ JTAG-interface โ low-level access to the phoneโs memory for software shutdown.
- ๐ ๏ธ Ultrasonic bath - to clean oxidized contacts of the power button.
The cost of repairing the power button in the service:
| Model | The price of the button replacement (note) | Duration of repairs |
|---|---|---|
| Redmi Note 8/9 | 1 200โ1 800 โฝ | 1-2 days |
| Xiaomi Mi 11/12 | 2 500โ3 500 โฝ | 2-3 days |
| Poco F3/4 | 1 500โ2 200 โฝ | 1 day |
Before the service visit:
- ๐ Backup your data (if your phone is responding in any way).
- ๐ Check if the center has the status of Mi Authorized Service Partner (list on the official website of Xiaomi).
- ๐ฐ Ask about the cost of diagnosis โ sometimes it is included in the price of repairs.