Forgot the password from Xiaomi Redmi 8 Pro or bought a used device with a tied someone elseβs Mi Account? the situation is familiar to many owners of Xiaomi smartphones β the strict security policy of the brand sometimes turns into a headache. This article will help you get back access to your device without having to use service centers.We will look at legal unlocking methods (via official Xiaomi tools), workarounds for the forgotten. PIN-codes, as well as risky but effective ways to reset via Fastboot and EDL.
Itβs important to understand that Redmi 8 Pro (codenamed olivelite) is a budget segment, but itβs equipped with a locked bootloader and Mi Cloud protection. This means that there is no magic button to unlock β every method requires preparation. If youβve never worked with an ADB or Fastboot, we recommend starting with the simplest ways.
The Redmi 8 Pro was released in 2019, but is still popular with users thanks to the reliable Snapdragon 665 and a capacious 4500 mAh battery. However, its security system is not inferior to flagships: binding to Mi Account, data encryption and reset protection through Recovery make unlocking a non-trivial task. In this article, only working methods for 2026, tested on the latest versions of MIUI.
1 Unlocking through Mi Unlock Tool (official method)
If you remember the data from the Mi Account tied to the phone, this is the safest way. Xiaomi provides the official Mi Unlock Tool, which unlocks the bootloader for firmware or reset.
First, you have to wait 72 to 360 hours (3 to 15 days) after you have your account tied to your device, and second, it only works if your phone is on and you can log in, and if the screen is locked, move on to the next partition.
Step-by-step:
- Download Mi Unlock Tool from the official website (version for Windows).
- Turn on the phone Debugging over USB (Settings β About Phone β MIUI Version (click 7 times) β Additional β For developers).
- Link Mi Account to Settings β Xiaomi Account.
- Connect Redmi 8 Pro to your PC, launch the Mi Unlock Tool, and log in to the same account.
- Follow the instructions of the program. After the check, the waiting time will start counting.
β οΈ Note: If you have not previously linked your account to your phone, Xiaomi can block the unlock with the wording "This device is locked", in which case only a request for support with proof of purchase will help.
π‘
If the Mi Unlock Tool gives you a "Couldn't unlock" error, try using a different version of the program (e.g. 5.5.224.24) or run it in Windows 7 compatibility mode.
2. resetting the pattern lock or PIN-code without loss of data
If you have forgotten the pattern lock or PIN-code, but remember the Mi Account data, you can try to reset the lock without completely resetting:
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π On the lock screen there is a button "Forgot the password?".
- π§ You remember the username and password from the Mi Account tied to the device.
Instructions:
- On the lock screen, click "Forgot Password?".
- Enter the data from Mi Account (email or phone number + password).
- Follow the instructions for resetting your password. The system will prompt you to create a new PIN or graphical key.
β οΈ Note: If the error "This device is locked by Mi Cloud" appears after entering the data from the account, then the previous owner did not untie the device, in this case only a full reset (see section 4) or contacting the seller for his account data will help.
βοΈ Preparation for password reset
3. Unlock via Fastboot (for power users)
If official methods fail, and the phone is not turned on or blocked by Mi Account, you will be left unlocking via Fastboot, which deletes all data and requires ADB/Fastboot skills.
- π₯οΈ Computer with Windows/Linux and installed Xiaomi drivers.
- π Cable USB (preferably original).
- π± Phone with a charge of at least 50%.
Step-by-step:
- Download and install Android SDK Platform Tools.
- Turn off the Redmi 8 Pro and press the Power button + Volume down to enter the Fastboot.
- Connect your phone to your PC and check the connection with the command: fastboot devices must display the serial number of the device.
- Run the command to unlock the bootloader: fastboot oem unlock On Redmi 8 Pro after this command, the phone will automatically reset to factory settings.
- If the command fails, try an alternative method: fastboot flashing unlock.
β οΈ Attention: On some firmware MIUI When the bootloader is unlocked, the error "This device is corrupted" may appear, in which case you will need to flash the phone through the Mi Flash Tool (instruction in section 5).
What if fastboot doesnβt see the device?
4. bypassing the Mi Account lock (risky methods)
If the Redmi 8 Pro is tied to someone elseβs Mi Account (for example, after buying a used one) and the previous owner hasnβt untied the device, the official ways wonβt help, leaving informal methods that may violate Xiaomiβs rules, but sometimes save the situation.
Method 1: Through EDL-mode (emergency firmware)
- π§ Special cable is required EDL (circuitry).
- π Need firmware for Redmi 8 Pro (Olisolelite code) in.tgz format.
- β οΈ The risk of βbrickingβ the phone with a firmware error.
Instructions:
- Download the firmware for olivelite (select the Global Stable version).
- Install Mi Flash Pro.
- Transfer the phone to EDL mode: adb reboot edl If ADB is not available, you will need to disassemble the phone and close the EDL contacts on the board (instructions are available on 4PDA).
- In Mi Flash Pro, select the downloaded firmware and press Flash.
Method 2: Through exploit in Recovery
Some versions of MIUI (up to 12.5) were affected by a vulnerability that allows you to reset your Mi Account via Recovery:
- Enter the Recovery (Food + Volume Up).
- Choose Wipe Data β Wipe All Data.
- After resetting when you first turn on, skip the account binding via Skip (if the menu is in English).
β οΈ Attention: MIUI 13/14 Xiaomi has closed the vulnerability, and an attempt to reset via Recovery can result in a lock on "This device is locked".
5. firmware via Mi Flash Tool (full reset)
If all the previous methods didn't work, you'll have to completely flash the phone through the Mi Flash Tool, which will delete all the data, but it will bring the device back to work.
- π Fastboot for Redmi 8 Pro (olivelite).
- π₯οΈ Computer with Mi Flash Tool installed.
- π Cable USB and access to Fastboot mode.
Table: Firmware versions for Redmi 8 Pro
| MIUI version | Type of firmware | Download link | Notes |
|---|---|---|---|
| MIUI 14 (Android 12) | Global Stable | Download | The latest official version |
| MIUI 12.5 (Android 11) | EEA Stable | Download | For the European region |
| MIUI 11 (Android 10) | China Stable | Download | Demands Russification |
Firmware instructions:
- Download and unpack the firmware in a folder without Cyrillic symbols.
- Install the Mi Flash Tool.
- Transfer your phone to Fastboot (Power + Volume Down).
- In the Mi Flash Tool, click Select, specify the firmware folder, then Refresh (the device should appear).
- Select Clean All mode and press Flash.
- Wait for the end (5-10 minutes). The phone will reboot.
β οΈ Warning: If the phone is stuck on the Redmi logo after firmware, try repeating the process with another version MIUI Run Wipe Data through Recovery.
π‘
Firmware via the Mi Flash Tool is the most reliable way to bring a phone back to life, but requires strict adherence to instructions. Mistaking firmware (for example, for another model) can turn a device into a brick.
6. Alternative methods (for advanced users)
If the standard methods didn't work, you can try informal solutions, but they require deep knowledge and carry risks.
Method 1: Using Custom Recovery (TWRP)
- π§ Allows you to bypass the Mi Account lock and flash custom firmware.
- β οΈ The Redmi 8 Pro is not officially available. TWRP β You will have to use unstable assemblies.
- π₯ Download TWRP For olivelite (check relevance!).
Instructions:
- Unlock the bootloader through the Mi Unlock Tool (see Section 1).
- Download. twrp-3.6.0_9-0-olivelite.img and put it in a folder with platform-tools.
- Please. TWRP Team: Fastboot Flash Recovery twrp-3.6.0_9-0-olivelite.img
- Download to TWRP (Nutrition + Volume Up) and run Wipe β Format Data.
Method 2: Bypassing ADB (for forgotten password)
If the phone is on but locked, you can try to delete password files via ADB:
- Connect your phone to your PC and check the availability of ADB: Adb devices
- Delete password files: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb shell rm /data/system/locksettings.db
- Reset the phone. Once turned on, the password should reset.
β οΈ Attention: MIUI 12+ This method often fails due to the changed password storage structure, and Mi Account data may be required to be entered after a reboot.
7 What should I do if nothing helps?
If all of these methods fail, you have three options:
- Contact Xiaomi Service Center with proof of purchase (check, box) and they can unlock the device officially, but it will take up to 30 days.
- Buy the unlock code on specialized forums (for example, 4PDA or Xiaomi.eu).The cost is from 500 to 2000 rubles, but there is a risk of running into scammers.
- Use the phone as a "brick" - if it does not turn on even after firmware, it remains only to sell for spare parts (display, battery, Redmi 8 Pro cameras are in demand).
π‘
Before contacting the service center, try to contact the previous owner (if you bought used) β sometimes people agree to untie the device remotely through Mi Account.
Table: Cost of unlocking services (2026)
| Service | Term | Cost (β½) | Guarantee |
|---|---|---|---|
| Official Xiaomi service | 10β30 days | Free (if you have a check) | Yes. |
| Private master (by code) | 1-3 days | 800β1500 | No. |
| Firmware via EDL (disassembled) | 1 day | 1500β3000 | Depends on the master. |
| Replacement of motherboard | 3-5 days | 5000β8000 | 6 months |