The exact time on Xiaomi is not only a matter of convenience, but also the correct operation of many functions, from alarm clocks to sync with cloud services. However, users often face problems: the clock is in a hurry, lags or gets lost after a reboot. In this article, we will discuss all the ways to adjust the time on Xiaomi devices (including the Redmi, POCO and Black Shark models), and explain why automatic settings sometimes fail and how to fix it.
The MIUI firmware feature is the flexibility of the time settings: you can use both automatic synchronization with NTP servers (Network Time Protocol) and manual adjustment. We will look at both options, as well as hidden features for advanced users - for example, how to change the time server or reset the cache of the system clock. Separately, we will focus on typical errors, such as a constant time lag of 3-5 minutes or a date reset after a firmware update.
Important: instructions are relevant for MIUI 12, 13 and 14 (including global and Chinese versions).If your phone runs Android One (like Xiaomi Mi A3), some menu items may differ, as weβll mention.
1. Automatic time synchronization over the network
The easiest way to set the exact time is to enable automatic synchronization with NTP servers. By default, this feature is active, but sometimes it turns off after resetting settings or updating the firmware. Here's how to check and configure it:
Go to Settings β Additional β Date and time. Here you will see three key switches:
- β° Date and time autodetermination β Includes synchronization with the network.
- π Time zone autodetermination β defines the belt from the data of the cellular network or GPS.
- π Use 24-hour format β switches the time display between 12- and 24-hour format.
If automatic synchronization is enabled, but time is still confused, the problem may be:
- Unstable Internet connection (especially when switching between Wi-Fi and mobile network)
- Blocking access to NTP servers with a firewall or VPN.
- Failure of the system application com.android.server.telecom (responsible for synchronization).
π‘
If you travel frequently, turn off automatic time zone determination and set it manually, which will prevent accidental roaming failures.
2. Manual setting of time and date
If automatic sync doesnβt work or you want to set the time manually (for example, to test apps), do the following:
- Open Settings β Additional β Date and time.
- Turn off the switches Autodetermining Date and Time Zone Autodetermining.
- Click on the Set a date and Set a time to manually enter values.
- To save the changes, you may need to restart the device.
Note that when you manually set up the time will not sync with the servers, so over time there may be a discrepancy of several seconds or minutes, this is due to the fact that the quartz generator in the smartphone is not perfectly accurate and has an error.
Is "Airplane" mode off"|Is there any internet access (to check the exact time)|Is the time zone chosen correctly?|Are important reminders (alarm clocks, calendar events) saved)-->
3.Why Xiaomiβs Time is Stuck: 7 Reasons and Solutions
If your Xiaomi is constantly getting lost, the reasons may be both software and hardware.
| Problem. | Possible cause | Decision |
|---|---|---|
| Time is 3-5 minutes behind. | Failure of the NTP service or blocking by a firewall | Reset network settings or disable VPN |
| Dates reset after reset | Damaged firmware or failure of the RTC (Real-Time Clock) module | Update the firmware or perform a reset to factory settings |
| The clock is 10+ minutes fast. | Hardware timer malfunction (rarely) | Contact the service center for diagnosis |
| Time goes down when you turn on "In the plane" mode | System services conflict | Turn off automatic synchronization before activating the mode |
One of the hidden causes of failures may be a conflict with battery-saving applications such as Security or Battery Saver, which sometimes block background activity of system services responsible for time synchronization. To check this, temporarily turn off battery optimization for the Settings application.
Never lost it.|Rarely (once every few months)|Frequently (once a week)|Constantly (daily)-->
Change of time server (for experienced users)
Xiaomi uses Google's NTP servers by default (time.google.com) or Xiaomi (time1.cloud.miui.com), if you suspect that the problem is server-related, you can change them manually, and this requires access to the developer's hidden settings:
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Return to the main settings menu and open Additional β for developers.
- Find NTP Servers (could be called Network Time Server) and enter an alternative address, such as pool.ntp.org en.pool.ntp.org time.windows.com
- Save the changes and restart the device.
If the servers point NTP It is not in the developer menu, which means that your version is not available. MIUI It doesn't support manual server change, so you can try setting the time through the server. ADB-We will discuss this in the next section).
What is NTP and how does it work?
5. Setting time through ADB (for advanced)
If standard methods don't work, you can set the time via Android Debug Bridge (ADB), which is suitable for users who are familiar with the command line.
- π₯οΈ Computer with drivers installed ADB and Fastboot.
- π± Initiated Debugging Mode USB smartphone.
- π USB-cable (preferably original).
Instructions for setting time through ADB:
- Connect the phone to your computer and confirm the debugging permission.
- Open the command line (or Terminal) macOS/Linux) Enter adb shell su date -s YYYYMMDD.HHMMSS where YYYYMMDD.HHMMSS β The desired date and time in the format of one month-day. hour-minutes. 15 may 2026 year-end, 14:30:00, team will be: date -s 20260515.143000
- Reboot the device with the reboot command.
β οΈ Attention: Use ADB If your phone is not rooted, the su command will not work, so you can try an alternative method using settings put, but it is less reliable.
To reset the system clock to factory settings via ADB, use the command:
adb shell settings delete global auto_time6. Hardware timer (RTC) verification
If time is lost even after resetting settings and updating the firmware, the problem may lie in the hardware module. RTC (Real-Time Clock -- this chip is responsible for counting down time even when the phone is off. RTC:
- β±οΈ Time is reset to January 1, 1970 after the battery is completely discharged.
- π Watches start to rush or lag after battery replacement.
- π Date and time are lost when rebooting in Fastboot.
You can check the work of RTC using the engineering menu:
- Type the code ##4636## on your phone keyboard.
- Select the Battery Information item.
- Check the RTC time setting β if it is very different from the current time, the module is faulty.
β οΈ Attention: Malfunction RTC Sometimes the problem is solved by replacing the battery (if it is swelling and pressing on the motherboard) or flashing the module through the motherboard. EDL-However, most of the time, repairs are required at the service center.
7. Frequent questions and errors
Letβs look at the typical situations that Xiaomi users face when setting up their time:
Why did the MIUI update take 3 hours off?
Can you set the time to within milliseconds?
Why does the alarm go off on time, even though the time is right?
How to sync time on Xiaomi with Windows 10/11?
If none of these methods worked, we recommend you to reset your settings completely (Settings β About Phone β Reset) or contact a Xiaomi authorized service center. In rare cases, the problem may be due to a hardware failure of the board, and its elimination will require professional diagnosis.
π‘
Before resetting your settings, save important data: time, alarm clocks, and calendar events are not restored from a MIUI backup!