How to open Xiaomi Mi 6: unlock the screen, account Mi and bootloader

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:

  1. Go to i.mi.com and log in to your Mi Account.
  2. Select the Mi 6 locked in the device list.
  3. Click โ€œUnlock the deviceโ€ and confirm the action.
  4. 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.

๐Ÿ“Š What Unlocking Method Have You Tried Before?
Official (Mi Account/Find Device)
Through Recovery.
ADB-team
Custom firmware
I've tried nothing.

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:

  1. Turn off the phone with a long press on the power button.
  2. Press Volume Up + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select the language (volume buttons) and click "Wipe Data" (or "Erase Data").
  4. Confirm the action by choosing "Wipe All Data".
  5. 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

Done: 0 / 4

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:

  1. Download and install Android SDK Platform-Tools (or Minimal ADB and Fastboot).
  2. Connect the Mi 6 to the PC via USB-cable (original!).
  3. 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
  4. 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)

  1. On the account entry screen, click โ€œAdditional Settingsโ€ (or โ€œEmergency Callโ€).
  2. Enter the code ##3646633## and the engineering menu will open.
  3. Go to Connectivity โ†’ Wi-Fi and connect to the network.
  4. Return to the lock screen and try skipping account binding through setting up a new device.

FRP bypass methodWorks for MIUI.Required.Risks.
Account recoveryAny versionAccess to email/SMSNo.
Engineering menuTo MIUI 11IMEI devicesPossible IMEI blocking
Fastboot flashing through FastbootAny versionUnlocked bootloaderLoss of data
Specialized servicesAny versionPayment (~500โ€“1500 โ‚ฝ)Can block the device
What to do if IMEI is blocked after bypassing FRP?
If, after using the engineering menu or third-party tools, Mi 6 lost the network (IMEI null, and will need to be restored through QCN-This can be done in a service center or by yourself using the QPST and the original backup IMEI. Find detailed instructions on the forums 4PDA or XDA Developers in Mi 6 themes (Sagit models).

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:

  1. Download the Mi Unlock Tool and install it on PC.
  2. Sign in to your Mi Account (should be linked to your phone!).
  3. On Mi 6, go to Settings โ†’ About Phone โ†’ MIUI version and tap 7 times to activate Developer Mode.
  4. 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:

  1. Download the latest version of TWRP for Sagit from twrp.me.
  2. Rename the file to twrp.img and place it in a folder with fastboot.
  3. Connect the Mi 6 in Fastboot mode and execute the command: fastboot flash recovery twrp.img fastboot boot twrp.img
  4. In TWRP, select โ€œWipeโ€ โ†’ โ€œFormat Dataโ€ (this will delete all data, including password).
  5. 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:

FirmwareAndroid versionFeaturesReference
LineageOS11โ€“12Clean Android, regular updateslineageos.org
Pixel Experience12The interface is like Google Pixelpixelexperience.org
Havoc-OS11Maximum customizationhavoc-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.

FAQ: Frequent questions about unlocking Xiaomi Mi 6

โ“ Can I unlock the Mi 6 without losing data?
Yes, but only if USB debugging is enabled and ADB is available. Otherwise (Recovery reset, flashing) the data will be deleted. If the phone has important information, try retrieving it via ADB backup before reset: adb backup -apk -obb -shared -all -f backup.ab Backup.ab file can be restored via adb restore.
โ“ Why Mi Unlock Tool doesn't see Mi 6?
Causes and solutions: ๐Ÿ”Œ Incorrect drivers โ€“ install Mi PC Suite. ๐Ÿ”„ Download Mi Unlock Tool 5.5.224.24 or later. ๐Ÿ“ฑ Developer mode is not activated - check the debugging enabled USB unlock OEM. โณ It has not been 72 hours since the account was linked.
โ“ How to know if the bootloader is unlocked on the Mi 6?
Turn off your phone and turn it on in Fastboot mode (click Volume Down + Power). If the bottom of the screen says "Unlocked", the bootloader is unlocked. If "Locked" is locked. You can also check with the command: fastboot oem device-info Look for the line Device unlocked: true.
โ“ Can I unlock the Mi 6 through the EDL-regimen (9008)?
Technically, yes, but it is a risky method, as it requires an authorized Xiaomi account to be firmwareed through the Mi Flash Tool. Unofficial tools (such as EDL Bypass) can block IMEI or brick the device. Use only if there are no other options and you are prepared for the consequences.
โ“ Where to download the original firmware for Mi 6?
Official firmware (Fastboot and Recovery) are available on the sites: Xiaomi Official Archive (choose the sagit model); Xiaomi Firmware Updater (an unofficial but reliable source); 4PDA Forum (the Mi 6 theme with custom firmware); Use the Mi Flash Tool with the "Clean All" option to run through Fastboot.