Xiaomiβs lock screen is the first thing you see when you turn on a smartphone, and displaying the time on it plays a key role in the perception of the interface. Many users face the inconvenience when the device shows the time in a 12-hour format (with AM/PM symbols) instead of the usual 24-hour format, or vice versa. This is especially relevant for those who have moved to another country, bought a used device with other settings or just want to personalize the interface.
Unlike most Android devices, where the change in the format of time occurs through the system settings of the date and time, Xiaomi, Redmi and POCO smartphones running MIUI have their own nuances. In some versions of the firmware, the option is hidden in the non-obvious menus, and in others it is not at all in the standard interface. This article will help you to understand how to change the format of time on the lock screen for any Xiaomi models, including the Mi 11, Redmi Note 12, POCO X5 and others, regardless of the version of MIUI (12 to 14) and Android (10-14).
We're going to look at all the ways we can do it, from standard settings to hidden features to even editing system files for advanced users. If you don't find the right option on the menu, don't rush to drop your phone to factory settings: there's probably a solution, it's just hidden deeper than it seems.
Why does Xiaomi not change the time format through standard settings?
The main reason why Xiaomi users can not quickly change the format of the time on the lock screen lies in the architecture of the MIUI shell. Unlike the βpureβ Android, where the date and time settings are unified, in MIUI, the display of time on the lock screen and in the status bar can be controlled by different modules of the system.
Here are the key factors complicating the process:
- π Separation of settings: The time format in the system tray (top panel) and on the lock screen can be configured separately.
- π± Model Dependence: On some devices (e.g, POCO F4 or Redmi K50) The option is hidden in the themes menu, and on others (Xiaomi 13 Ultra) β in the security settings.
- π Regional restrictions: Smartphones purchased in the US or India often have a 12-hour default format and can be blocked by firmware.
- π§ Limitations MIUI: In some versions of the shell (for example, MIUI 13 for Xiaomi 12T) The option is not available in the graphical interface and requires editing configuration files.
Another common problem is the caching of settings. Even after changing the time format in the menu, the lock screen can continue to show old values until the device is restarted or the launcher cache is cleared, and this is not a bug, but a feature of MIUI that tries to optimize performance by reducing the number of interface redraws.
Method 1: Change the format through system settings (for most models)
If your Xiaomi smartphone runs MIUI 12-14 and has no regional restrictions, try the standard method.It works for most models, including the Redmi Note 11, POCO X3 Pro, Xiaomi Mi 10T and newer devices.
Instructions:
- Open the Settings app (the gear icon on the home screen).
- Go to the section Additional settings β Date and time.
- Activate the switch Use the 24-hour format (or turn it off to switch to the 12-hour format).
- Go back to the home screen and check the lock screen, and if the changes don't apply, restart the device.
On some devices (such as the POCO M4 Pro), the path may be slightly different:
Settings β System and device β Date and time β Time formatIf you donβt have the option to use 24-hour format on your menu, it means that:
- π΅ The device uses firmware with regional restrictions (e.g., Indian or American version). MIUI).
- π Time settings are tied to the theme of design (relevant to the MIUI 14 on Xiaomi 13 and newer).
- π οΈ Manual editing of system parameters is required (see Method 3).
βοΈ Check before changing the format of time
Method 2: Change the theme (for MIUI 14 and later)
In recent versions of MIUI (starting with the 14th), displaying time on the lock screen may depend on the chosen theme, which is because Xiaomi developers have begun to integrate interface elements into themes, allowing users to flexibly customize the appearance of the device.
To change the format of the time through the topics:
- Open the Themes app (brush icon on the home screen).
- Go to the section My topics β Settings of the current theme.
- Find the Lock Screen tab and select Time Settings.
- Choose the format you want: 24 hours or 12 hours (AM/PM).
- Apply the changes and restart the device.
If the theme settings do not have an option to change the time format, try:
- π¨ Replace the topic with a standard (e.g, MIUI Default) and check for the option.
- π Update the Themes app via Google Play or App Store.
- π₯ Download an alternative theme with time customization support (e.g. Minimal Lock or Digital Clock).
Important: Some themes may reset your time settings after the update. If the format went wrong after the MIUI update, go back to the theme settings and apply the settings again.
π‘
If after changing the theme, the time on the lock screen is displayed incorrectly (for example, it gets lost when unlocking), try turning off animations in the developer settings (Settings β About Phone β MIUI version β tap 7 times to unlock the developer menu, then Settings β Additional β For developers β Animation = Off.).
Method 3: Manual editing of system parameters (for advanced users)
If standard methods donβt work and the option to change the time format is not on the menu, you can try changing the system settings manually, which is suitable for users with unlocked bootloader and root rights, as well as for those who are ready to use ADB (Android Debug Bridge).
Warning: Incorrect editing of system files can cause firmware to fail, a method recommended only for advanced users.
Instructions via ADB:
- Install ADB on your computer (you can download from the official Android website).
- Turn on USB Debugging on your smartphone (Settings β About Phone β MIUI version β tap 7 times, then go back to Settings β Additional β For Developers β Debugging by USB).
- Connect your phone to your PC and execute in the command line: adb shell settings put system time_12_24 24 For 12-Use the following: Adb shell settings put system time_12_24 12
- Reboot the device with the command: adb reboot
If ADB doesnβt help, you can try changing the parameter directly in the MIUI database:
adb shell
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
UPDATE system SET value='24' WHERE name='time_12_24';
.exit
rebootFor root-righted devices, you can use applications like BuildProp Editor and add a line:
ro.miui.use_24hour_clock=1(where 1 is 24-hour, 0 is 12-hour).
What if after editing system files, the phone stopped turning on?
Method 4: Using third-party applications (without root)
If you donβt want to risk system files, but standard settings donβt help, you can use third-party apps. They donβt require root rights, but they may have restrictions depending on the version of Android and MIUI.
Top.-3 applications for changing the format of time:
| Annex | Support for MIUI | Need root? | Reference |
|---|---|---|---|
| Lock Screen Clock Widget | MIUI 12β14 | β No. | Google Play |
| Always On Edge | MIUI 13β14 (AMOLED-screen) | β No. | Google Play |
| MIUI Clock Settings | MIUI 10β12 | β Yes (for full functionality) | XDA Developers |
How to use Lock Screen Clock Widget:
- Install the app from Google Play.
- Open it and select the watch style (e.g. Digital 24h).
- Click Apply to Lock Screen and confirm permissions.
- If the widget does not appear, restart the device.
Restrictions of third-party applications:
- β οΈ Nana MIUI 14 Some widgets may not be displayed due to Xiaomi's security policy.
- β οΈ Apps may be reset after firmware update.
- β οΈ On devices with Always-on Display (such as Xiaomi 13 Pro), widgets can conflict with the system display of time.
π‘
Third-party apps are the safest way to change the format of the time without risking system damage, but they can consume an extra battery and conflict with MIUI updates.
Frequent problems and their solutions
Even after successfully changing the time format on the lock screen, Xiaomi users often experience side effects, and here are the most common problems and ways to fix them:
Problem 1: The time on the lock screen changes, but the status bar stays the same.
β οΈ Attention: B MIUI Lock screen time settings and status bar can be managed separately. If the format has not changed in another location after changes in one place, check the settings in Settings β Notifications and status bar β The clock.
Problem 2: After rebooting, the time format is reset.
- πΉ Check if the cache cleaner app resets (such as Security or Clean Master).
- πΉ Add the time display app (like Lock Screen Clock Widget) to the battery optimization exception list.
- πΉ If you use ADB, use the flag command --user 0: adb shell settings put system time_12_24 24 --user 0
Problem 3: The lock screen displays both formats simultaneously (e.g., "13:45 PM").
This is due to a conflict of system and user settings.
- Reset the lock screen settings: Settings β Passwords and security β Lock screen settings β Reset.
- Remove all third-party time widgets.
- Apply the standard theme of design.
Problem 4: The option to change the format of the time is not in the menu.
In this case:
- πΉ Check the version. MIUI In Settings β Older versions (below 12th) may need an update.
- πΉ Install global firmware (if you have a regional version, such as Indian or Chinese).
- πΉ Use it. ADB or third-party applications (see Method 3 and Method 4).