How to unlock Xiaomi Redmi 8: from password to Mi Account (Step-by-step with photo)

Xiaomi Redmi 8 is one of the most popular budget smartphones, but even it is not immune to lock problems. Forgot the pattern lock after the update? Phone requires a password from the Mi Account you haven't used in a long time? Or the screen is damaged and fingerprint unlock doesn't work? In this article, 5 working ways to unlock, including official and alternative methods, taking into account the features of the Redmi 8 firmware (codenamed Olivelite).

It's important to understand that not all methods will save your data, for example, a reset via Fastboot or Recovery will delete photos, messages and applications, but there are also gentle options, such as unlocking through Find Device or ADB if they were pre-configured, and we will analyze each case separately, indicating the risks and requirements for preparation.

If your Redmi 8 is locked because of a software failure (for example, after a failed update), try a soft reboot first, which solves the problem 30 percent of the time without further manipulation.

Why Xiaomi Redmi 8 could be blocked: 7 common reasons

Before you choose how to unlock, determine the reason for it, which determines whether your data will be saved and whether you need access to your computer.

  • πŸ”’ Forgotten password/pattern lock is the most common case, especially after a long phone downtime or firmware change.
  • πŸ“± Blocking Mi Account – appears after resetting settings or when buying a used phone with a tied someone else’s account.
  • πŸ”„ Failure after update - firmware MIUI It may have been damaged and the system needs to be unlocked to recover.
  • πŸ’₯ Hardware failure – damage to a memory module or screen controller (for example, after a fall in the memory).
  • πŸ›‘οΈ Activate theft protection – if the phone is stolen and the previous owner has blocked it via Find Device.
  • πŸ”§ Unsuccessful rooting or firmware - after installing custom TWRP or modified firmware.
  • ⚑ Battery discharge to zero – sometimes leads to a reset of security settings.

If the lock is due to hardware problems (paragraphs 4 and 7), software methods will not help - you will need repairs in the service center.

πŸ“Š What caused the blocking of your Xiaomi Redmi 8?
Forgot your password/pattern lock
I bought a used one with a tied Mi Account.
Failure after MIUI update
Screen/sensor damaged
Another option

Preparation for Unlocking: What to Do Before You

Before you start unlocking, follow a few critical steps that will save time and prevent data loss.

Charge your phone to at least 50% (to avoid turning off during the process)

Prepare. USB-cable (original or qualitative analogue)

Install Xiaomi and ADB drivers on PC (links in the section below)

Download the firmware for your model (olivelite for Redmi 8)

Back up your data if your phone is partially working (via Mi PC Suite or ADB backup)

-->

Drivers and tools you will need:

  • πŸ–₯️ Official firmware for Redmi 8 (select the Stable version for your region).
  • πŸ”Œ ADB Google Fastboot Tools (unpack in the root of the disk) C:\).
  • πŸ”§ Mi Flash Tool (for Fastboot firmware).
  • πŸ“± Mi PC Suite (for backup if the phone is recognized by the PC).

⚠️ Note: If the OEM unlock function was enabled on the phone in the developer settings, some methods (such as firmware via Fastboot) may not work, in which case you will need to officially unlock the bootloader through Xiaomi (it will take up to 72 hours).

Unlocking methodYou need a PC?Are the data stored?DifficultyImplementation time
Soft reset❌ No.βœ… Yes.⭐2-5 minutes
Unlocking through Find Device❌ No.βœ… Yes.⭐⭐10.30 minutes
Reset via Recovery❌ No.❌ No.⭐⭐15-20 minutes
Firmware through Fastbootβœ… Yes.❌ No.⭐⭐⭐30-60 minutes
Unlocking through ADBβœ… Yes.βœ… Yes*⭐⭐⭐⭐40-90 minutes

* When unlocked via ADB, data will only be saved if the phone was previously connected to this PC with USB debugging enabled.

Method 1: Soft reboot (if the phone responds to buttons)

This method is suitable if Redmi 8 is locked due to a temporary failure, but responds to button pressing.It does not delete data and does not require a connection to a PC.

Instructions:

  1. Press the power button for 10-15 seconds until the phone turns off.
  2. Wait 30 seconds, then turn on the phone with the power button.
  3. If the Redmi logo appears on the screen, but no further download is going - press Power + Volume up for 10 seconds for a forced reboot.

If the phone still requires a password after rebooting, move on to the next method. If the screen does not respond at all (no backlights, vibrations), the problem may be in the hardware, for example, in damage to the display plume.

πŸ’‘

If the phone vibrates when you press the buttons, but the screen remains black, try plugging it into charging for 1-2 hours. Sometimes the battery will block the on.

Method 2: Unlock with Find Device (if you have a Mi Account attached)

If you have Find Device enabled on your phone, you can unlock it remotely via your web browser, which only works if you have access to the Mi Account that was linked to the phone.

Step-by-step:

  1. Go to i.mi.com and log in to your Mi Account.
  2. From the menu, select Find Device (or Device Management).
  3. The map will show your Redmi 8. Click on it, then select Unlock.
  4. Confirm the action via SMS or email (if two-factor authentication is enabled).
  5. The phone will be unlocked within 5-10 minutes. If it was turned off, turn it on - unlock will be applied automatically.

If the phone doesn’t appear in the list of devices, check:

  • πŸ”„ Whether the Find Device function was enabled in the settings (Settings) β†’ Mi Account β†’ Find Device).
  • πŸ“Ά Is there access to a mobile network or Wi-Fi on the phone (without the Internet, geolocation does not work).
  • πŸ”‹ Is the battery enough (less than 15% can block remote commands).

⚠️ Note: If the phone was bought from hand and tied to someone else's Mi Account, this method will not work, in which case you will need to firmware through Fastboot or contact the service center with proof of purchase.

Method 3: Recovery Mode (without PC but with data loss)

If the soft reboot and Find Device didn’t work and Mi Account access is not available, you’ll be reset via Restore mode, which will remove all data from your phone, including photos, contacts and apps, but will return access to the system.

How to Sign In to Recovery Mode on Redmi 8:

  1. Turn off the phone (squeeze the power for 10 seconds).
  2. Press Power + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. Release the buttons and you will see the Recovery menu in English or Chinese.

Further action:

  • πŸ”„ Use volume buttons for navigation and power to select.
  • πŸ“› Choose Wipe Data β†’ Wipe All Data (complete reset).
  • πŸ”„ Confirm the action by choosing Confirm.
  • πŸ”„ After reset, select Reboot β†’ Reboot to System.

If the phone reboots and offers to configure it as new, if the error "This device is locked" appears after the reset, then the phone has activated anti-theft protection, you will need to enter the data of the Mi Account, which was previously linked.

What if there is no Wipe Data in Recovery Mode?
If the Recovery menu does not have Wipe Data, it means that the custom firmware is installed or the recovery partition is damaged, in which case only the firmware through Fastboot (method 5) will help.

Method 4: Unlocking through ADB (Save Data)

This method is suitable if the phone has previously been enabled debugging over USB and it has at least once connected to this PC, in which case you can delete the file with the password without completely resetting.

Requirements:

  • πŸ–₯️ Computer with installed ADB and Xiaomi drivers.
  • πŸ”Œ Original. USB-cable (not all cables support data transmission).
  • πŸ“± Phone with a charge of at least 30%.

Instructions:

  1. Connect your phone to your PC via USB.
  2. Open the command line (Win + R β†’ enter cmd β†’ Enter).
  3. Enter the command to check the connection: adb devices If the phone appears in the list, go further. If not, install drivers or try another cable.
  4. Enter the commands in turn: adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot

Once the phone is restarted, it doesn't have to require a password, so if you have an "adbd cannot run as root" error, it means that the phone doesn't have root permissions, and that won't work.

⚠️ Note: On some versions MIUI (12+) Password files may be stored elsewhere or protected by SELinux. ADB-This method will not help and you will need to reset via Recovery or Fastboot.

Method 5: Fastboot Firmware (extreme case)

If none of the previous methods worked, it leaves the firmware in Fastboot mode, which will completely delete all data, but return the phone to working condition, which requires a PC and official firmware.

Step-by-step:

  1. Download the firmware for Redmi 8 (olivelite) from Xiaomi (select the Fastboot version).
  2. Unpack the archive in the folder C:\MiFlash.
  3. Turn off your phone and log in to Fastboot: Press Power + Volume Down for 10 seconds.
  4. Connect the phone to the PC.
  5. Launch the Mi Flash Tool, press Select and specify the path to the firmware folder.
  6. Press Refresh – your device (olivelite) should appear in the list.
  7. Select Clean All (Full Clean) and press Flash.
  8. Wait for the end (10-15 minutes) and the phone will reboot automatically.

If the Mi Flash Tool is not done, try:

  • πŸ”„ Reinstall Xiaomi drivers manually through Device Manager.
  • πŸ”Œ Use the other USB-port (preferably) USB 2.0 on the back of the PC).
  • πŸ“₯ Download the firmware again (possibly the archive is damaged).

πŸ’‘

Fastboot firmware is the only official way to unlock if the phone is tied to someone else’s Mi Account and other methods don’t work.

Frequently asked questions

Can I unlock Redmi 8 without losing data if USB debugging wasn’t enabled?
No. Without pre-setting ADB or linking to a Mi Account, all methods that store data are not available. The only option is to contact the Xiaomi service center with proof of purchase (check, box). In 60% of cases, they help unlock the phone without resetting, but this is a paid service (from 1500 rubles).
The phone after the reset asks for an old Mi Account. How to get around it?
This is FRP (Factory Reset Protection) protection, which is not legally circumventable, you need to enter the account that was tied to the phone. If the phone is bought with your hands, try contacting the previous owner. The alternative is a Fastboot firmware with full cleanup, but this will only work on older versions of MIUI (up to 12.5).
What if the phone doesn’t turn on after firmware (black screen, logo flashes)?
This means that the firmware was installed incorrectly or the boot partition was damaged. Try: Repeat the firmware through Fastboot with another version of MIUI (for example, an older version); Use the Mi Flash Tool in Clean all and lock mode (locks the bootloader, but sometimes helps); Swipe the phone through EDL (emergency mode), but you need an authorized Xiaomi account or a box for service centers. If nothing helps, contact the service - memory may be damaged (EMMC).
How to avoid blocking in the future?
So that you don't have to face the problem again: πŸ” Use Smart Lock in security settings (location unlock or Bluetooth device). πŸ“ Write passwords to a trusted manager (e.g. Google Password Manager or KeePass). πŸ”„ Regularly back up your files through Mi PC Suite or Google Drive. πŸ“± Link your phone to your Mi Account and turn on Find Device. πŸ”§ Put the debugging on. USB (Settings β†’ The phone. β†’ Version. MIUI (press 7 times) β†’ Developer settings β†’ Debugging by USB).
Can I unlock Redmi 8 with service codes (##)?
No. Service codes (e.g. ##7780##) on Xiaomi don't work for password resets; they're only for hardware testing; any site that offers "secret unlock codes" is a scam.