Xiaomiโs lock screen is not just a random tap protection, but also a convenient space for quick access to key features. However, a standard set of widgets (lightlightlight, camera, Google Assistant) often does not cover everyday needs. The lock screen calculator is one of the most popular solutions for those who regularly count costs, convert currencies or solve math problems without unlocking the phone.
Unlike Samsung or Huawei, where you can add a calculator in a couple of clicks, Xiaomi hides this feature deeper. Depending on the version of MIUI (12, 13 or 14) and the smartphone model (Redmi Note 12, POCO X5, Xiaomi 13T, etc.), the installation methods vary. In this article, we will discuss all the current methods of 2026, including hidden settings, circumventing the limitations of MIUI and alternative solutions for devices without official widget support.
Why doesnโt Xiaomi have a default lock screen calculator?
Xiaomi deliberately limits the set of widgets on the lock screen, arguing for safety and performance.
- ๐ Data protection: The calculator can store a computation history that contains sensitive information (for example, transfer amounts or Wi-Fi passwords recorded as numbers).
- โก Saving resources: Widgets on the lock screen consume RAM, and MIUI Optimized for maximum energy efficiency.
- ๐ฑ Fragmentation of devices: On budget models (Redmi) A2, POCO C50) Hardware limitations do not allow you to add arbitrary widgets.
However, there are at least three ways to circumvent these limitations, and then we'll look at each of them, taking into account the features of the different versions of MIUI.
Method 1: Standard calculator widget (MIUI 14 and later)
Starting with MIUI 14, Xiaomi has added support for advanced widgets on the lock screen, but the feature is not available on all devices.
- Unlock your phone and go to Settings โ Lock screen.
- Select the lock screen widgets (on some models โ Quick tools).
- Scroll through the list of available widgets. If you see the calculator icon (๐งฎ), Then, put it on the back and confirm the addition.
If the calculator is not on the list, then your model does not support this method, in which case you go to Method 2 or Method 3.
Check the MIUI version in Settings โ About Phone โ MIUI version
Update your firmware to the latest stable version
Make sure there is free space for the widget on the lock screen (maximum 5 pieces)
Disable third-party launchers (Nova, Apex) that can block system settings-->
| Xiaomi model | Support for the standard widget | Alternative method |
|---|---|---|
| Xiaomi 13/13 Pro | โ Yes (MIUI 14+) | Method 2 (if it doesn't work) |
| Redmi Note 12 Pro+ | โ Yes, after the update) | Method 3 (for older versions of MIUI) |
| POCO F5 | โ No. | Method 2 or 4 |
| Redmi A2 | โ No. | Method 4 (requires root) |
โ ๏ธ Note: On some firmware (Xiaomi.EU, customized) ROM) The standard calculator widget may not be available even on supported models. In this case, use Method 4 with modification of system files.
Method 2: Widget with One-Hand Mode (powered by MIUI 12-14)
This method is suitable for devices where the standard widget is not available, but there is a function of One-Hand Mode, the idea is to add a calculator to the quick toolbar, and then "transfer" it to the lock screen through gestures.
Instructions:
- Activate One-Hand Mode in Settings โ Additional Features โ One-Hand Mode.
- Turn on the option to show the toolbar.
- Press and hold the Calculator icon in the toolbar, then drag it to the lock screen (if the system allows).
- If drag and drop doesnโt work, use the swipe gesture down diagonally from the bottom corner of the screen โ this will open the panel with the calculator.
The downside is that the calculator won't be displayed all the time, but it will appear after you make a gesture, and it's convenient for rare use.
๐ก
If the toolbar doesnโt appear, check to see if the developer mode is disabled. Go to Settings โ About Phone and tap the MIUI version 7 times. Then go back to Additional Features โ For Developers and enable USB Debugging (sometimes this will unlock hidden options).
Method 3: Third-party launchers with widget support
If the system methods didn't work, you can use third-party launchers that allow you to add widgets to the lock screen.
- ๐ Microsoft Launcher: Supports widgets on the lock screen, including a calculator from Google or Xiaomi.Requires installation as a main launcher.
- ๐ Nova Launcher + Sesame Shortcuts: Allows you to create custom shortcuts, including for the calculator, and place them on the lock.
- ๐ฑ Action Launcher: Has a built-in Quickpage function where you can add a calculator widget and open it with a swipe.
Instructions for Microsoft Launcher:
- Install a launcher from Google Play.
- Launch it and select as the default launcher.
- Go to the launcher settings โ Lock screen โ Widgets.
- Add the calculator widget (you can choose between the system and Google calculator).
โ ๏ธ Note: Third-party launchers may conflict with Xiaomi system gestures (e.g. swipe up to return to the home screen). โ System settings โ Gestures.
How to return the standard launcher Xiaomi?
Method 4: Modification of system files (for advanced users)
If you didn't get the benefit of the previous methods, the most radical one is editing system files, which requires root rights or unlocked bootloaders, and ADB knowledge.
Warning: Mistakes may result in data loss or device blink.
Instructions:
- Install the Lockscreen Widgets Enabler mod (available on the XDA forum).
- Download. APK-calculator file (e.g, MIUI Calculator) and put it in /system/priv-app/Calculator/.
- Edit the file. /system/csc/others.xml, line: <CscFeature_LockScreen_EnableCalculatorWidget>true</CscFeature_LockScreen_EnableCalculatorWidget>
- Reboot the device. The calculator should appear in the list of lock screen widgets.
Alternative to Rootless Devices: Use ADB-command to activate hidden function:
adb shell settings put global lock_screen_show_calculator 1๐ก
Editing system files voids Xiaomiโs warranty and can cause problems with OTA updates. Use this method only if other options have not worked.
Method 5: Quick Access through Google Assistant
If you donโt need a permanent widget, but only quick access to the calculator, you can use Google Assistant:
- Add the Google widget (search bar) to the lock screen (if supported by your model).
- Say, "OK, Google, open the calculator."
- Or type in the search box: =2+2 โ this will open the built-in calculator.
Advantage: works on all devices with Google Services, does not require root or modifications. disadvantage: you need to unlock the phone for voice input (unless you configure Smart Lock).
Frequent problems and their solutions
When you add a calculator to the lock screen, you're going to see some common errors.
| Problem. | Reason. | Decision |
|---|---|---|
| The calculator widget is not displayed in the settings | Outdated version of MIUI or model limitation | Update the firmware or use the 2/3 method |
| The calculator opens but does not work. | Conflict with other widgets or launcher | Remove the extra widgets, reset the launcher settings |
| After the reboot, the widget disappears | System cache error | Clear the cache in Settings โ Applications โ System โ Lock screen |
| ADB-team doesn't work | No rights or incorrect syntax | Check the ADB connection and repeat the command with superuser rights (su) |
If none of the methods worked, check:
- ๐ Availability of updates MIUI In Settings โ Updating the system.
- ๐ต No restrictions on corporate policy (if the phone was issued by the employer).
- ๐ ๏ธ System File Integrity (Maybe Reflashing Needs).