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.
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:
- Open a browser (such as Google Chrome or Mi Browser).
- Go to account.xiaomi.com.
- Enter the username and password from your Mi Account.
- 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:
- Go to Settings → Applications → Application Management.
- Find the Accounts and Sync app (or com.xiaomi.account).
- Click Warehouse → Clear the data and Clear the cache.
- 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:
- Download your phone to TWRP (usually Power + Vol Up) mode.
- Go to Advanced → File Manager.
- 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.
- Connect your phone to your PC and enable USB Debugging in Settings → About Phone → MIUI version (click 7 times to unlock the developer menu).
- Open the command line on PC and type in: adb shell pm clear com.xiaomi.account adb shell pm clear com.miui.cloudservice
- 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?
What do you do if nothing helps?
If all of these methods fail, there are two options:
- Reset to factory settings (complete data loss).
- 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
| Method | Difficulty | Implementation time | Loss of data | Efficiency |
|---|---|---|---|---|
| Reboot + Network Check | ⭐ | 1-2 minutes | No. | 30% |
| Entry through the browser | ⭐ | 2-3 minutes | No. | 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.