Xiaomi Mi 6, released in 2017, still remains popular among users thanks to the powerful โironโ (Snapdragon 835 processor, 6 GB of RAM) and current support for custom firmware. However, owners often face the problem of unlocking the device โ whether itโs a forgotten pattern lock, PIN-code, associated Mi Account or locked bootloader after a failed firmware. In this article, we will analyze all the current ways to unlock the Mi 6, taking into account its features: the lack of a slot for the device. SD-Maps, fastboot support and specifics of working with Mi Unlock Tool.
It is important to understand that the methods of unlocking depend on the type of lock:
- ๐ Screen lock (PIN, Password, pattern lock โ solved through Recovery or ADB.
- ๐ฑ Mi Account โ requires confirmation through official Xiaomi services or workarounds.
- ๐ง Bootloader โ unlocked only through the Mi Unlock Tool with an account binding.
If you are not sure about the type of lock, try entering any password 5 times in a row - the system will show a notification with a reason (for example, "Device is blocked by Mi Account").
1. unlock the screen through Find Device (official method)
The safest method is if the Mi 6 has enabled Find Device and the device is connected to the Internet, and it works even without linking to the Mi Account, if you previously configured sync with Google.
Instructions:
- Go to i.mi.com and log in to your Mi Account.
- Select the Mi 6 locked in the device list.
- Click โUnlock the deviceโ and confirm the action.
- Wait for sync (can take up to 5 minutes) and the phone unlocks automatically.
โ ๏ธ Note: If the Mi 6 has mobile internet and Wi-Fi disabled, this method will not work, and it is also not available if the device has been reset to factory settings - you will need to enter Mi Account data when you first turn on.
Alternatively, use Google Find My Device (if enabled):
- ๐ Go to the google.com/android/find.
- ๐ Select Mi 6 in the list and click โBlock the deviceยป.
- ๐ Set a new temporary password โ it will replace the old one on the lock screen.
2. Recovery Mode reset (data loss)
If the official methods didn't work, and access to the device is critical, there's a hard reset through recovery mode, which will delete all the data, including photos, apps and settings, but will restore access to the phone.
Step-by-step instructions for Xiaomi Mi 6:
- Turn off the phone with a long press on the power button.
- Press Volume Up + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select the language (volume buttons) and click "Wipe Data" (or "Erase Data").
- Confirm the action by choosing "Wipe All Data".
- After resetting, restart the phone ("Reboot").
โ ๏ธ Note: Mi 6 with a locked bootloader may require you to enter your Mi Account data associated with the device after reset. If you do not remember your username / password, go to the section about unlocking your account.
If the Recovery menu is in Chinese, focus on the location of the items:
- ๐ฑ The first item is reboot (Reboot).
- ๐๏ธ The third item is reset (Wipe Data).
- ๐ง The last point is the connection with the PC (Connect with MIAssistant).
โ๏ธ Preparing for resetting through Recovery
3. Unlock through ADB (without data loss)
If the Mi 6 has USB debugging enabled and you have access to your computer, you can delete the password file via ADB. The method only works when you connect your phone in an unlocked state (at least once after you enable debugging).
Instructions:
- Download and install Android SDK Platform-Tools (or Minimal ADB and Fastboot).
- Connect the Mi 6 to the PC via USB-cable (original!).
- Open the command prompt (cmd) in the folder with ADB and type: 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
- After rebooting, the lock screen will be reset.
If the su command doesnโt work (no root rights), try an alternative method:
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
rebootโ ๏ธ Attention: On Mi 6s MIUI 12+ This method may not work because of the changed password storage structure, and then only resetting through Recovery or flashing it will help.
๐ก
If ADB doesnโt see the device, try updating the driver for Mi 6 in Windows Device Manager by manually selecting the Android ADB Interface driver from the platform-tools folder.
4. Unblocking Mi Account (bypassing FRP)
If you need to enter Mi Account data after resetting the Mi 6 and you donโt remember it, you will need to bypass FRP (Factory Reset Protection), which is implemented on Xiaomi through binding to the companyโs servers, so there are no universal ways to do this โ only official or semi-official.
Method 1: Restore access to your account
- ๐ Go to account.xiaomi.com and click โForgot your password?ยป.
- ๐ง Enter the email or phone number associated with your account.
- ๐ Follow the instructions for recovery (confirmation code will be sent to the mail or SMS).
If your account is not restored, try contacting Xiaomi support via the feedback form, providing proof of device ownership (checks, IMEI).
Method 2: Test mode bypass (for firmware up to MIUI 11)
- On the account entry screen, click โAdditional Settingsโ (or โEmergency Callโ).
- Enter the code ##3646633## and the engineering menu will open.
- Go to Connectivity โ Wi-Fi and connect to the network.
- Return to the lock screen and try skipping account binding through setting up a new device.
| FRP bypass method | Works for MIUI. | Required. | Risks. |
|---|---|---|---|
| Account recovery | Any version | Access to email/SMS | No. |
| Engineering menu | To MIUI 11 | IMEI devices | Possible IMEI blocking |
| Fastboot flashing through Fastboot | Any version | Unlocked bootloader | Loss of data |
| Specialized services | Any version | Payment (~500โ1500 โฝ) | Can block the device |
What to do if IMEI is blocked after bypassing FRP?
5. Unlock bootloader on Xiaomi Mi 6
Xiaomi blocks the bootloader on all devices, including the Mi 6 (codename sagit). To install custom firmware (LineageOS, Pixel Experience) or modified Recovery (TWRP), it must be unlocked through the official Mi Unlock Tool.
Step-by-step:
- Download the Mi Unlock Tool and install it on PC.
- Sign in to your Mi Account (should be linked to your phone!).
- On Mi 6, go to Settings โ About Phone โ MIUI version and tap 7 times to activate Developer Mode.
- Back to Settings โ Additionally. โ For developers and include: ๐ Debugging by USB ๐ Unlocking OEM (crucial!)
Fastboot
Loudness down + Nutrition
Mi Unlock Tool
Unlock
Wait until it is completed (usually takes 3-5 minutes).
โ ๏ธ Note: Xiaomi has restrictions on unlocking bootloader for older devices. If the Mi Unlock Tool gives you a "Couldn't unlock" or "Device not supported" error, try it: ๐ Use a different version of the tool (e.g. 3.5.1118.43 instead of the last one). ๐ Wait 72โ168 hours after linking your account to your device. ๐ฑ Switch the device to an older version MIUI (for example, MIUI 10).
On the Mi 6 with firmware newer than MIUI 12.5, unlocking the bootloader may require confirmation via SMS or additional authorization. If the phone is purchased from hand, the previous owner must remove the device from his Mi Account on i.mi.com.
๐ก
Unlocking the bootloader on the Xiaomi Mi 6 will void the warranty and may result in the device being locked if you do not act correctly. Use this method only if you plan to install custom firmware or TWRP.
6. Alternative methods: TWRP and custom firmware
If the standard methods didn't work, and the bootloader is already unlocked, you can install TWRP Recovery and reset your password or flash clean firmware through it, which is suitable for power users.
Instructions for installing TWRP on Mi 6:
- Download the latest version of TWRP for Sagit from twrp.me.
- Rename the file to twrp.img and place it in a folder with fastboot.
- Connect the Mi 6 in Fastboot mode and execute the command: fastboot flash recovery twrp.img fastboot boot twrp.img
- In TWRP, select โWipeโ โ โFormat Dataโ (this will delete all data, including password).
- Reboot the phone.
For custom OS firmware (e.g. LineageOS 18.1):
- ๐ฅ Download firmware and GApps (if you need Google services).
- ๐ Move files to the phone through MTP into TWRP.
- ๐ง V TWRP Select โInstallโ and run the firmware first, then GApps.
- ๐ Do "Wipe" Cache/Dalvikยป and reboot.
The following are the Mi 6 (sagit) firmware:
| Firmware | Android version | Features | Reference |
|---|---|---|---|
| LineageOS | 11โ12 | Clean Android, regular updates | lineageos.org |
| Pixel Experience | 12 | The interface is like Google Pixel | pixelexperience.org |
| Havoc-OS | 11 | Maximum customization | havoc-os.com |
7.If nothing helps: contacting the service center
If all of the above methods did not work, you can contact the official Xiaomi service center or an authorized workshop. The cost of unlocking varies from 500 to 2000 rubles depending on the type of lock:
- ๐ Screen lock โ usually reset free of charge when confirming possession (checks, box).
- ๐ฑ Mi Account โ may require payment (~1000โ1500 โฝ) and expectations (up to 3 days).
- ๐ง Bootloader/FRP โ complex cases, the cost up to 2000 โฝ.
Before the service visit:
- ๐ Prepare documents for the phone (guarantee card, check).
- ๐ฑ Find out. IMEI devices (on a box or under a battery).
- ๐ Check the service center on the site mi.com/ru/service โ Official partners are listed here.
โ ๏ธ Warning: Unofficial workshops may offer โ5-minute unlockโ through questionable methods (e.g., modified firmware). EDL-It's fraught with blocking. IMEI Xiaomi Mi 6 on the Snapdragon 835 processor is particularly vulnerable to such manipulation.