The mistime on Xiaomi Mi 5 is a problem that even power users face. A smartphone can lag, rush, or even freeze on an irrelevant date after resetting, changing the battery, or updating the firmware. In 80% of cases, the fault is disabled automatic synchronization with NTP servers, but sometimes the culprits are malfunctions in the com.android.server.DateTimeService module or conflicts with applications to save power.
In this article, we will discuss all the working ways to change the time on the Mi 5 β from the basic settings through the menu to manually fixing through ADB (for advanced users), and find out why time is lost after a reboot and how to fix it without resetting to factory settings.
If your smartphone is Β±12 hours error time, it is likely the problem is in the wrong time zone (for example, instead of Moscow, GMT+3 is Los Angeles, GMT-8).
1. Method 1: Automatic time synchronization through settings
The easiest and recommended method is to enable automatic updates of network time. Xiaomi Mi 5 supports the NTP (Network Time Protocol), which synchronizes data with servers of Google or Xiaomi.
- Open the Settings app (the gear icon on the desktop).
- Go to the section Additional settings β Date and time.
- Activate the switches: π Autodetermining Date and Time (using network data) π Time zone autodetermination (important for travel)
Wait 10-20 seconds, the time should be updated automatically.
If the time has not changed after the synchronization is turned on, try:
- πΆ Switch from Wi-Fi to mobile internet (or vice versa) β sometimes servers NTP blocked by the provider.
- βοΈ Manually choose another time zone (for example, Yekaterinburg, GMT+5 Moscow, GMT+3, then back).
- π Reboot your smartphone β it will reset the cache of time services.
Autodetermining date and time included|Time zone autodetermination is actively|Smartphone connected to the Internet|Reboot completed after changes-->
β οΈ Attention: On some firmware MIUI (especially custom servers NTP If time is not synchronized, check the file. /etc/gps.conf β The current server must be specified (e.g. pool.ntp.org).
Method 2: Manually setting time and date
If automatic synchronization doesn't work (e.g., without internet), you can set the time manually, which is also useful if you're using your smartphone in airplane mode or with your mobile data turned off.
Instructions:
- Go to Settings β Additional settings β Date and time.
- Turn off the βDate and Time Auto-Detectionβ and βTime Zone Auto-Detectionβ switches.
- Click on the βDateβ and βTimeβ fields to open the calendar and dial.
- Set the current values and click "Ready."
When manually adjusting, consider:
- β° Time format: in MIUI choose 12-clockwork (AM/PM) or 24-Time mode in the language and input section β Date and time format.
- π Date: If the smartphone is used for banking transactions (for example, Sberbank Online), an incorrect date may block access.
- π Charge savings: Manual time is not updated when restarting if synchronization is disabled.
What to do if manual time is lost after switching off?
3. Method 3: Resetting time settings through the engineering menu
If standard methods don't work, you can reset your time settings through the engineering menu (#4636###).
- β Time is lost after each switch on the smartphone.
- βοΈ Date and time settings are not saved in the menu.
- π Automatic synchronization works, but shows incorrect data.
Step-by-step:
- Open the Phone app and enter the code ##4636##.
- In the engineering menu, select the tab βPhone Informationβ.
- Scroll down to the Time Service (or Time Service) block.
- Click on Reset Time (or Reset Time).
- Reboot your smartphone.
After reset, switch on automatic synchronization again (see Method 1). If the problem persists, proceed to the next method.
Never gone down |Rarely (once a month) |Often (once a week) |After each reboot |I don't know, I didn't pay attention-->
Method 4: Time Correction through ADB (for Advanced)
If all previous methods failed, you can manually set the time through Android Debug Bridge (ADB), which requires a computer and basic command line knowledge.
What you need:
- π₯οΈ Computer with drivers installed ADB and platform-tools utility.
- π USB-cable (preferably original).
- π± On the smartphone enabled the developer mode and debugging USB.
Instructions:
- Connect the Mi 5 to your computer and confirm the debugging permission.
- Open the command line (Windows) or terminal (macOS/Linux) in the folder with the platform-tools.
- Enter the command to check the connection: adb devices Wait for the serial number of the device to appear.
- Set the current time (example for 15:30 on December 25, 2026): adb shell date -s 20261225.153000
- Reboot your smartphone: adb reboot
Important: After manually setting the time through ADB, automatic synchronization may not work until the next reboot. To avoid this, after executing the commands, turn on synchronization in the settings (see Method 1).
1. Reconnect. USB-cable.
2. Enable the option of debugging over USB (safe mode) in the developer settings.
3. Update drivers via Mi PC Suite.-->
5.Why time on Xiaomi Mi 5 is lost: 5 main reasons
If time on your smartphone is constantly βgoing awayβ or resetting, one of these issues could be the culprit:
| Reason. | Signs. | Decision |
|---|---|---|
| Discharged CMOS battery | Time is lost after switching off, even if the battery is charged | Battery replacement or core firmware with RTC fix |
| Conflict with applications for saving charge | Time freezes when activating the mode of energy saving | Add Google Play Settings and Services to exceptions |
| Wrong time zone | Time varies by Β±3, Β±6 or Β±9 hours | Select a time zone manually (e.g. Moscow, GMT+3) |
| Failure of Google services | Autosynchronization does not work despite the option enabled | Clear the cache of Google Play Services in the application settings |
| Blast firmware with errors | Time is lost after firmware or update | Install the official version MIUI flattened RTC-module |
If none of the solutions worked, check your smartphone for hardware problems, such as damage to your PMIC (power management) chip can cause real-time clock (RTC) failures.
π‘
In 90% of cases, the time problem on the Xiaomi Mi 5 is solved by turning on automatic synchronization or changing the time zone. If the smartphone is older than 5 years, the culprit is often a discharged CMOS battery - in this case, only a battery replacement will help.
6. Frequent mistakes and how to avoid them
When changing the time on Xiaomi Mi 5 users often make these mistakes:
- β Time zone ignoring: even if the time is set correctly, the wrong belt will crash after the reset.
- β Disconnecting synchronization βforeverβ: manual time is not updated when switching to winter/summer time or changing region.
- β Using time change applications: programs like Fake GPS Time Shifts may conflict with system services.
- β Resetting settings without backup: when you return to factory settings, time will reset, but with it other data will be deleted (contacts, SMS).
β οΈ Note: On some versions MIUI (for example, MIUI 10 for Mi 5) after manual time change, notifications in messengers (WhatsApp, Telegram) or banking applications may stop working. This is due to checking certificates by time. To fix, turn on automatic synchronization or restart your smartphone.
7. Additional Tips for Working With Time on Xiaomi
To avoid future problems with time, follow these guidelines:
- π Regularly update the firmware: in new versions MIUI Time synchronization errors are corrected. Check the updates in Settings β The phone. β Updating the system.
- π΅ Do not use energy saving modes aggressively: disabling background processes may block the time update.Add Google Settings and Services to exceptions.
- β‘ Watch the battery: if the battery is under 10%, RTC-The module may be reset. Keep the charge level above 20%.
- π Check the network settings: if the smartphone is connected to VPN or proxy, servers NTP They may not be available. VPN pre-synchronization.
If you travel frequently, turn on the βTime Zone Auto-Detectionβ option to eliminate the need for manual adjustments when crossing borders. However, in some countries (e.g. China), NTP servers may be blocked β in this case, use manual adjustment.