Xiaomi’s “Session is Outdated”: How to Fix Account Sign-in Error Without Losing Data

The “Session is outdated” error when trying to log in to a Xiaomi account is one of the most common problems faced by users of Redmi, POCO and Mi smartphones. It blocks access to Mi Account, without which you can not use branded services: contact synchronization, cloud storage, store those and even some system functions. Unlike errors like Couldn’t sign in or Network error, this problem is not related to the network, but to the expired authorization token – and it is solved in very different ways.

In most cases, the message appears after a firmware update, a password change in your account or prolonged inactivity (for example, if you haven’t used your phone for several months), less often it is a failure of Xiaomi servers or a conflict with installed modifications (for example, Magisk or custom recovery). In this article, we will discuss all working methods for fixing the error, including official methods from the manufacturer and workarounds for devices with an unlocked bootloader.

Why is there a “Session is outdated” error?

The Session expired message (or its Russified version) means that the current authorization token in the system has become invalid.

  • 🔄 Update MIUI — After installing the new firmware version, the old session data is reset.
  • 🔒 Changing your Xiaomi account password through a website or other device.
  • ⏳ Prolonged inactivity – if you have not logged in for more than 30 days, the session will automatically close.
  • 📱 Resetting settings (even partial) or flashing through Fastboot.
  • 🛠️ Conflict with modifications: root rights, custom recovery (TWRP), remote system applications.

In rare cases, the problem arises from regional restrictions, such as if you bought a phone in China and then try to log in from another country, and the error may occur when using VPNs or proxy servers that are blocked by Xiaomi's security system.

📊 How often do you encounter Mi Account login errors?
Often, with almost every update
Sometimes every few months.
It used to be, but it's not now.
Never had a problem.

Official solutions (without data loss)

If the error occurs after updating or changing your password, try the standard methods recommended by Xiaomi first.They don't require a phone reset and work on most devices.

1.Reboot the device and check the network

Sometimes the problem is solved by a simple reboot.

Turn off and turn on the phone again.

Connect to a stable Wi-Fi network (not mobile internet)

Disable VPN or proxy if they are active

Check the date and time in the settings (must match the real ones)-->

If the error persists after the reboot, proceed to the next method.

Browser login (bypass)

On some devices, you can log into your account through the web interface, bypassing the system authorization window:

  1. Open a browser (such as Google Chrome or Mi Browser).
  2. Go to account.xiaomi.com.
  3. Enter the username and password from your Mi Account.
  4. After successfully logging in, go back to your phone’s settings and try to log in again through the system menu.

This method works ~60% of the time, as it updates the session token on Xiaomi servers.

3. Data reset of the application "Accounts and synchronization"

If the Mi Account system application is not working correctly, you can reset its settings:

  1. Go to Settings → Applications → Application Management.
  2. Find the Accounts and Sync app (or com.xiaomi.account).
  3. Click Warehouse → Clear the data and Clear the cache.
  4. Restart your phone and try to re-enter.

⚠️ Note: After cleaning the application data, you will need to reconfigure synchronization of contacts, notes and other data with the Xiaomi cloud. → Additionally. → Backup and reset.

Advanced methods (for experienced users)

If the official methods don’t work, you’ll have to use more complex solutions, which require access to Restore Mode or ADB, so they’re only suitable for users with Xiaomi experience.

1. Delete session files via TWRP

If you have custom recovery (TWRP) installed on your device, you can manually delete the files responsible for authorization:

  1. Download your phone to TWRP (usually Power + Vol Up) mode.
  2. Go to Advanced → File Manager.
  3. Delete the following files and folders: /data/system/users/0/accounts.db /data/data/com.xiaomi.account/ (full folder)

Restart your phone and try to re-enter.

⚠️ Warning: Incorrectly deleting system files can lead to bootloop (loop loading).If you are not sure about your actions, skip this method.

2.Use ADB to reset Mi Account

With Android Debug Bridge (ADB), you can reset your account without completely resetting your phone.

  1. Connect your phone to your PC and enable USB Debugging in Settings → About Phone → MIUI version (click 7 times to unlock the developer menu).
  2. Open the command line on PC and type in: adb shell pm clear com.xiaomi.account adb shell pm clear com.miui.cloudservice
  3. Reset the device.

Then try logging in through your phone settings, and if the error persists, you may need to re-link the device to your account.

What if the ADB does not recognize the device?
If the adb device command doesn’t show your phone, follow the following steps: 1. Install the latest Xiaomi drivers. USB Drivers from the official website. 2. Check if File Transfer is enabled (MTP) when connected USB. 3. Try another one. USB-4 Restart your PC and phone. If the problem persists, try using the Mi Flash Tool to force flashing (but this will result in data loss).

What do you do if nothing helps?

If all of these methods fail, there are two options:

  1. Reset to factory settings (complete data loss).
  2. Appeal in support of Xiaomi with the confirmation of ownership of the device.

💡

If you frequently experience login errors, back up your session token using the Swift Backup app (root required) to restore access to your account after reset without re-entering your password.

Comparison of methods of error elimination

MethodDifficultyImplementation timeLoss of dataEfficiency
Reboot + Network Check1-2 minutesNo.30%
Entry through the browser2-3 minutesNo.60%
Data reset com.xiaomi.account⭐⭐5 minutes.Partially (synchronization)70%
Delete files via TWRP⭐⭐⭐10-15 minutes.Maybe (in case of mistake)80%
Reset via ADB⭐⭐⭐10 minutes.No.75%
Complete resetting of settings⭐⭐15 minutes.Yes (all data)95%

💡

The most reliable method without losing data is to log in via a browser or reset the com.xiaomi.account application. If they do not help, use TWRP or ADB, but only if you have experience.

Frequently Asked Questions (FAQ)

Can I remove the “Session is outdated” error without resetting my phone?
Yes, in most cases, the problem is solved without a complete reset. Try: Sign in through the browser at account.xiaomi.com. Clear the data of the Accounts and Synchronization application. Use ADB to reset com.xiaomi.account. Only if these methods do not work, resort to reset.
Why does an error occur after changing the password?
When you change your password on Xiaomi servers, a new security token is generated, and the old one saved on the phone becomes invalid, and the system cannot automatically update it without re-entering, so an error occurs.
Will the method work with TWRP on a locked bootloader?
No. TWRP requires an unlocked bootloader. If it is locked, you will have to use other methods (e.g. ADB or reset via settings).
Can I recover the data after resetting due to this error?
If you have made a backup through Settings → Additionally. → Backup, yes, you can restore contacts, messages and some settings once you log in: 📁 Local files (photos, videos, documents) are not restored. 🔑 Applications and their data are permanently deleted. We recommend using Google Photos to automatically backup media files.
What if after all the manipulations the phone requires an old password?
This means that the device is still tied to the previous session. Try: Log in to account.xiaomi.com and untie the device in Device Management. Reset com.xiaomi.account via ADB (adb shell pm clear com.xiaomi.account command). If nothing helps, reset via Fastboot (but this will delete all data).