How to set the correct date and time on the photo in Xiaomi smartphones: a step-by-step guide

The wrong date in photos in the Xiaomi gallery is a common problem that occurs after resetting, changing the battery or manually changing the system time, as a result, all the pictures are sorted randomly, and the memories in applications like Google Photos are displayed incorrectly. In this article, we will discuss how to fix metadata. EXIF on Redmi smartphones, POCO Xiaomi and other Xiaomi ranges โ€“ from standard tools to third-party applications.

Many users mistakenly believe that the date in the photo is only tied to the file system, but in fact it is stored in metadata. EXIF โ€” If your Xiaomi shows the wrong time after the update MIUI If you move to a different time zone, you can fix the problem, and you need to figure out whether you need to fix the system time of the device or if you need to edit the files themselves.

In this article you will find:

  • ๐Ÿ”ง How to sync time on Xiaomi with Google servers to automatically edit the date on new photos
  • โš™๏ธ Step-by-step instructions for changing metadata through a standard gallery MIUI
  • ๐Ÿ“ฑ Review of the 3 Best Date Editing Package Apps in Hundreds of Photos
  • โš ๏ธ Frequent mistakes that cause a date to go down again (and how to avoid them)

1. Check system time on Xiaomi: why photos are saved with the wrong date

Before you edit the metadata, make sure the smartphone itself shows the current time. On Xiaomi, date and time may be lost due to:

  • ๐Ÿ”„ Manual changes in settings (for example, when testing features or saving charge)
  • ๐ŸŒ Time zone changes without automatic updates
  • ๐Ÿ”‹ Reset to factory settings (time reset to default)
  • ๐Ÿ“ก Network absence (if synchronization is disabled) NTP)

To check the current settings:

  1. Open Settings โ†’ Additional โ†’ Date and time.
  2. Make sure options are enabled: Auto-Date and Time (uses network data) Time Zone Auto-Determination (by network) GPS mobile)

If the options are disabled, activate them and wait for sync (it can take up to 1 minute).

โš ๏ธ Attention: On some firmware MIUI (Automatic synchronization is unstable. If time is lost after reset, try manually selecting a time zone or updating it. MIUI last-minute.

If the system time is correct, but the photos are still stored with the wrong date, the problem is:

  • ๐Ÿ“ธ Camera settings (for example, Manual Date mode is enabled in professional mode)
  • ๐Ÿ—ƒ๏ธ metadata EXIF (They could have been modified by third-party applications)
  • ๐Ÿ”„ App conflict (e.g. Google Photos and Xiaomi's standard gallery argue over priority)
๐Ÿ“Š What is your Xiaomi model?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Redmi 9/9A/9C
Another model

The standard Gallery app on Xiaomi allows you to edit metadata only for individual photos, but does not support batch processing, which is suitable if you need to correct the date for 5-10 pictures.

Instructions:

  1. Open the Gallery app and select a photo with the wrong date.
  2. Put the button on it. โ‹ฎ (three points) in upper right corner โ†’ Details.
  3. Scroll down to the Date and Time block and click Edit.
  4. Enter the correct values and save the changes.

โš ๏ธ Note: After editing metadata through the gallery MIUI This can be shifted to the end of the album or duplicated, because the system perceives it as a "new" file. To avoid chaos, reboot the gallery after editing (close it in multitasking).

Limitations of the method:

  • โŒ It does not work for video (video metadata is edited only via PC).
  • โŒ It does not support batch change (you will have to edit each photo manually).
  • โŒ On some firmware, the edit option may not be available (depending on version). MIUI).

Make a backup photo|Check the version. MIUI (update if necessary)|Close the background apps (especially Google Photos)|Disable battery optimization for gallery-->

3. Package date change in hundreds of photos: top-3 apps

If you need to fix the date on dozens or hundreds of shots, standard tools MIUI In this case, one of the specialized applications will help. We tested 7 programs and selected the 3 best for Xiaomi:

AnnexPlusesConsReference
EXIF EditorPackage processing (up to 500 photos at a time) Support for formats JPEG, PNG, WEBP RussianAdvertising in the free version No video editingGoogle Play
Photo Exif EditorModifying geotags and other metadata Preview changes before saving Export to a separate folderPaid version for batch processing Complex interface for beginnersGoogle Play
Metadata RemoverRemoval or Replacement of Metadata Support RAW-Files no advertisingNo Russian Language Restriction on 20 photos in the free versionGoogle Play

Recommendations for use:

  1. Before mass editing, back up your photos (e.g., copy them to your PC or cloud).
  2. In the application settings, select the option Save to a new folder so as not to overwrite the originals.
  3. For convenience, sort the photo by the date of shooting (even if it is incorrect) - so it is easier to allocate groups for batch editing.

Example of work in EXIF Editor:

  1. Open the application and allow access to the files.
  2. Select a folder with a photo (for example, DCIM/Camera).
  3. Slip on the calendar icon โ†’ Please indicate the correct date and time.
  4. Click Apply to All and confirm the changes.

๐Ÿ’ก

If you've lost your photos after batch editing, don't panic! Just update your media base: go to Settings. โ†’ Annexes โ†’ gallery โ†’ Warehouse โ†’ Clear the cache.

4. Manual editing EXIF via PC: for experienced users

If your smartphone doesnโ€™t have enough power to handle thousands of photos, or you prefer to work on a large screen, use desktop software, which is suitable for professional photographers or Xiaomi owners with large photo archives.

Tools required:

  • ๐Ÿ–ฅ๏ธ ExifTool (free, cross-platform) or FastStone Image Viewer (for Windows).
  • ๐Ÿ”Œ USB-Type C Cable to Connect Xiaomi to PC.
  • ๐Ÿ“ Backup photo (required!).

Instructions for ExifTool (via command line):

  1. Download ExifTool and unpack it in a folder with a photo.
  2. Open the Command Prompt (Win + R โ†’ enter cmd).
  3. Go to the folder with the photo command: cd C:\path\folder\f/f/photo
  4. Change the date for all JPEG-Files in the folder use the command: exiftool -AllDates="2023:10:15 14:30:00" -overwrite_original *.jpg 2023:10:15 14:30:00 โ€” the necessary date and time in the format of GYYYYY:MM:DD CH:MM:SS.

For FastStone Image Viewer:

  1. Select a photo in the program โ†’ Tools โ†’ Change date/time.
  2. Select the Install option for all selected and enter the correct values.
  3. Save the changes (originals will be rewritten!).

โš ๏ธ Note: When editing via PC, Xiaomi may not immediately display changes to the gallery.To speed up the process, restart your smartphone or use a file manager (such as Mi File Manager) to update the media base manually: Settings โ†’ Update media files.

5. Sync with Google Photos: Automatic Date Editing

If you use Google Photos, the service can automatically correct the date on the photo based on:

  • ๐Ÿ“ Geotechs (if stored in metadata).
  • ๐Ÿ‘ฅ Facial recognition (if Group of People function is enabled).
  • ๐Ÿ“… Data from other Google services (such as Google Maps or Google Keep).

How to enable automatic editing:

  1. Open Google Photos and go to Settings โ†’ Backup and Sync.
  2. Make sure that the backup option is enabled.
  3. Upload your photos to the cloud (if they are not synced).
  4. Wait for processing (may take from a few minutes to a day).
  5. After processing, check the date in the web version of Google Photos (photos.google.com). If it is corrected, download the photo back to Xiaomi.

Limitations of the method:

  • โŒ Not for all photos (depending on the availability of additional metadata).
  • โŒ Can correct the date inaccurately (for example, with a margin of error of several hours).
  • โŒ It requires a stable internet and a place in the cloud.
What if Google Photos doesnโ€™t fix the date?
If the automatic editing didnโ€™t work, try: 1. Add a photo to an album with the correct date in the title (e.g., โ€œVacation 2023.10โ€). 2. Manually edit the date in the web version of Google Photos (emphasize the photo) โ†’"Change date and time. 3. Use third-party services like VerExif for mass editing before uploading to the cloud.

6. Frequent mistakes and how to avoid them

Even after successful editing, the date in the photo can get lost again.

Problem.Reason.Decision
Date is lost after Xiaomi rebootBattery Failure (smartphone forgets time)Replace the battery or calibrate it with Engineer Mode (#4636##)
Photos in the gallery are displayed in a chaotic orderConflict between date in EXIF and the date of creation of the fileUse it. EXIF Editor to synchronize both parameters
Editing applications do not save changesFiles are protected from writing (e.g. copied from the SD-map)Transfer the photo to internal memory or give the application the right to file
Date fixed, but Google Photos displays oldApp cache not updatedClear the Google Photos cache in the app settings

Additional advice:

  • ๐Ÿ”„ If you travel frequently, turn off automatic time zone determination and set it manually.
  • ๐Ÿ“ธ Before important shootings (wedding, vacation) check the date in the camera settings (camera settings) โ†’ Additionally. โ†’ Watermark โ€“ the current date is displayed there).
  • ๐Ÿ”‹ If the problem occurs after a battery replacement, reset Xiaomiโ€™s settings to factory settings (but back up first!).

๐Ÿ’ก

The most common cause of date failure in Xiaomi photos is a faulty battery. If time is reset after your smartphone is turned off, check the battery using the AccuBattery app or at a service center.

7. Alternative methods: watermarks and file renaming

If you can't fix the metadata, you can go around:

Method 1: Adding a watermark with a date

Many photo editing apps (like Snapseed or Lightroom) allow you to tag text. You can add the correct date as a watermark:

  1. Open the photo in Snapseed.
  2. Select the Text tool.
  3. Enter the date in the format DD.MM.YYYY And put it in the corner.
  4. Keep a copy (donโ€™t overwrite the original!)

Method 2: Rename files

If the date is EXIF not critical, you can rename files by template YYYY-MM-DD_HH-MM-SS.jpg. For that:

  • Use a file manager with batch renaming (e.g. Solid Explorer).
  • In Xiaomi, the standard Files application will suit this: Highlight the photo โ†’ Rename. Select Add date and specify the desired format.

Cons of alternative methods:

  • โŒ Watermarks spoil the appearance of the photo.
  • โŒ Renaming does not affect sorting in some galleries (they use the same name). EXIF, Not the file name).

Decision:

  • In the editing app settings, select the option to Rewrite the original (if available).
  • Use the file manager to remove duplicates.
How to fix the date on the video shot on Xiaomi?
Video metadata is harder to edit than photos: ๐Ÿ–ฅ๏ธ On PC: Use FFmpeg with the command: ffmpeg -i input.mp4 -metadata creation_time="2023-10-15T14:30:00" -c copy output.mp4 ๐Ÿ“ฑ On your smartphone: Video Metadata Editor app (available on Google Play).Please note: video transcoding (without flag) -c copy) may impair quality!
Will the date fix work if photos are moved from iPhone to Xiaomi?
Yes, but: Photos from iPhones often have metadata in format UTC, Xiaomi can display them locally. Use this. EXIF Editor to bring to a single format: If the photos were transmitted via messengers (WhatsApp, Telegram), the metadata could be deleted, in which case you can only manually restore the date.
Can you automate date correction for new photos?
Yes, with help: ๐Ÿค– Tasker: Create a task that when you add a photo to your folder DCIM/Camera will run a script for editing EXIF (root rights will be required). ๐Ÿ“ Syncthing: Set up synchronization of photos from PC, where the script will work for automatic date editing. โ˜๏ธ Google Photos: Enable backup โ€“ the service will gradually correct the date based on context (geotecas, facial recognition).For most Xiaomi users, it is easier to periodically check the date manually or use it. EXIF Editor for batch editing.