How to open Xiaomi Mi 9A: unlock the bootloader, reset password and bypass the Mi Account

Xiaomi Mi 9A is a budget smartphone with good specs, but sometimes users are faced with the need to β€œopen” it. By this means different scenarios: unlocking the bootloader to install custom firmware, resetting the pattern lock, bypassing the Mi Account after a reset or restoring access when you lose your password. In this article, we will analyze all the current ways for 2026, taking into account changes in Xiaomi policy and model features.

It is important to understand that unlock procedures may vary depending on the version of MIUI (global, Chinese, European) and the state of the device (whether it works, whether there is access to a Mi Account). Some methods require a computer and special tools, others can be performed directly on the phone. We will look at options from the simplest to the most complex, taking into account the risks and consequences for warranty.

If you're looking for a way to get around protection after you've bought a used phone or you've forgotten your password, you'll find workable solutions here. If you want to install TWRP or custom firmware, we'll go into detail about unlocking the bootloader through the official Mi Unlock tool, starting with the most common case: resetting the pattern lock or password.

Resetting a graphical key or password on the Xiaomi Mi 9A

If the phone is on but you have forgotten the pattern lock or PIN-Xiaomi provides several ways to reset your password without losing data – but only if the device is tied to your Mi Account and connected to the Internet.

The easiest way is to use the "Forgot Password?" function on the lock screen. After 5 failed attempts, the button Forgot Password? will appear.

  • πŸ”‘ Enter the email address or phone number associated with your Mi Account.
  • πŸ“§ Postal or SMS The confirmation code will come.
  • πŸ”“ Enter the code in the appropriate field and set a new password.

If this method doesn’t work (for example, there is no access to linked mail), try logging in via Mi Cloud on another device:

  1. Go to account.xiaomi.com from your computer or other smartphone.
  2. Log in to your Mi Account.
  3. In the Devices section, find your Mi 9A and click Find the Device.
  4. Select the Unlock screen option (if available for your model).

⚠️ Note: Remote screen unlocking via Mi Cloud does not work on all versions MIUI. If it is not, move on to the next method.

If your phone is not connected to the Internet or you don't remember your Mi Account details, you just have to hard reset, which will delete all the data from the device, but it will return access. How to do that, read the next section.

πŸ“Š You forgot your password or bought a used Xiaomi Mi 9A?
Forgot my password.
I bought a phone from someone else's account.
We need to unlock the bootloader.
Other

Hard Reset Xiaomi Mi 9A with Recovery Mode

Hard reset is a universal way to unlock if other methods have failed. It erases all data, including apps, photos and settings, but returns access to the phone. On the Xiaomi Mi 9A, this can be done through Recovery Mode even without a password.

Resetting instructions:

  1. Turn off the phone with a long press on the power button.
  2. Press Volume Up + Power Button at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. Release the buttons and you will be taken to the Recovery Mode menu (may be in Chinese or English).
  4. Use volume buttons for navigation and power button to select the item.
  5. Select Wipe Data β†’ Wipe All Data (or similar).
  6. Confirm the action and wait for the process to be completed.
  7. Reboot your phone with Reboot β†’ Reboot to System.

Once reset, the phone will start as new. You will need to go through the initial setup, including linking to the Mi Account. If the device was tied to someone else's account (for example, when buying used), after the reset, you may need to enter the data of the previous owner, in which case you go to the section on the bypass of the Mi Account.

⚠️ Note: On some versions MIUI If you're a hard reset, you're going to have Anti-Theft, and if you're tied to your Mi Account, you can't activate your device without your data, and that's designed to protect you from theft, but it's a problem when you buy used phones.

If after resetting the phone requires entering the login and password of the former owner, and it is impossible to contact him - read the next section about bypassing the Mi Account.

Charge your phone at least 50 times%|Download drivers for Xiaomi on PC (if required)|Prepare your Mi Account details (if your phone is yours)|Make sure important data is saved (resetting it will delete it)|Have it on hand SIM-post-reset activation card-->

Bypassing your Mi Account after reset (FRP bypass)

If after a hard reset Xiaomi Mi 9A requires the entry of the account Mi of the previous owner, you will need to bypass FRP-This is a complicated procedure, as Xiaomi regularly closes vulnerabilities in new versions. MIUI. Below are the current ways for 2026.

The methods of circumvention depend on the version of MIUI:

  • πŸ“± For MIUI 12-14: Uses a method with a connection to a PC and special tools like Mi Account Unlock Tool or Xiaomi Tool V2.
  • πŸ”§ For older versions (MIUI 10-11): You can try the rounds with TalkBack or Emergency Call.
  • πŸ’» For all versions: Official bypass through proof of ownership (requires a check or box).

Consider the most reliable way - through a PC using the Mi Flash Unlock Tool:

  1. Download and install the official unlock tool from Xiaomi.
  2. Connect your phone to your PC in Fastboot mode (clip Volume Down + Power when your phone is off).
  3. Start Mi Flash Unlock and log in to your Mi Account (important: account must be over 30 days!).
  4. If the phone requires proof of ownership, upload a scan of the check or a picture of the IMEI box.

In 2026, Xiaomi tightened the FRP bypass checks, requiring video with the phone’s IMEI and the owner’s passport, and without that data, circumvention is virtually impossible on new versions of MIUI.

If the official method didn’t work, you can try alternative methods through ADB or Fastboot, but they require technical skills.

fastboot oem unlock-go


fastboot flashing unlock

These commands can work on older versions of the bootloader, but on newer ones Xiaomi blocks them. For more detailed instructions, look for profile forums like 4PDA or XDA Developers, as the methods quickly become obsolete.

What happens if you can’t get around FRP?
If all the methods of bypassing failed, the phone will remain locked. In this case, two options remain: 1. Contact the Xiaomi service center with proof of purchase (check, box, warranty card). 2. Use the phone as a "brick" - some functions (for example, calls) may work, but access to the system will be limited. Forums sometimes sell FRP bypass services, but it is risky: you can run into scammers or get a phone with unstable firmware.

Unlock the bootloader on Xiaomi Mi 9A

If your goal is to install custom firmware (LineageOS, Pixel Experience), root rights or TWRP, you first need to unlock the bootloader. Xiaomi officially allows this, but the process has become more complicated than before.

In 2026, unlocking the bootloader on the Mi 9A requires:

  • πŸ“… Mi Account Over 30 Days (required!).
  • πŸ“± Phone with a tied Mi Account.
  • πŸ’» Computer with Xiaomi drivers installed and Mi Unlock Tool.
  • πŸ”Œ Cable USB Type-C (preferably original).

Step-by-step:

  1. Turn on the phone Developer Mode: go to Settings β†’ About Phone and 7 times click on the MIUI version.
  2. Back to Settings β†’ Additionally. β†’ For developers and include OEM-unlocking and debugging USB.
  3. Connect the phone to the PC and confirm the debugging permission.
  4. Download Mi Unlock Tool, log in to your Mi Account and follow the program instructions.
  5. Transfer the phone to Fastboot mode (Loudness down + Power) and connect to the PC.
  6. In Mi Unlock Tool, press Unlock and wait until it is completed (usually takes 1-3 minutes).

Once the bootloader is successfully unlocked, all the data from the phone will be erased, so you can now install TWRP or custom firmware.

  • ⚠️ Unlocking the bootloader resets the warranty.
  • ⚠️ Some banking applications (for example, Sberbank Online) may stop working due to the SafetyNet trigger.
  • ⚠️ The wrong firmware can turn your phone into a brick".

πŸ’‘

Before unlocking the bootloader, back up your data via Mi Cloud or ADB backup. Once unlocked, the phone will be completely cleared, including internal memory.

Installation of TWRP and root rights on Xiaomi Mi 9A

Once the bootloader is unlocked, you can install custom TWRP recavators and get root rights through Magisk, which will open up opportunities for deep customization of the system, but requires caution.

For Xiaomi Mi 9A (codename cc9) suitable unofficial build TWRP. download it on the official website or on the forum 4PDA. Installation occurs through Fastboot:

fastboot flash recovery twrp-3.7.0_9-0-cc9.img


fastboot boot twrp-3.7.0_9-0-cc9.img

After installing TWRP, you can flash Magisk to obtain root rights:

  1. Download the latest Magisk.zip from GitHub.
  2. Reboot to TWRP (Loudness Up + Power).
  3. Click Install and select the downloaded Magisk.zip.
  4. After installation, reboot to the system.

Check for root rights using the Magisk Manager app or the command in the terminal:

su

If the command returns #, the root is successfully received.

⚠️ Note: Root rights can disrupt some applications (banking, Google Pay, security games).To hide the root, use the MagiskHide module or Universal SafetyNet Fix module.

Frequent mistakes and their solutions

When unlocking the Xiaomi Mi 9A, users often face typical problems, and let’s look at the most common and ways to solve them.

Mistake.Reason.Decision
Couldn't unlock the Mi Unlock ToolMi Account under 30 days or phone not tiedWait 30 days from the moment you create an account or link your phone in advance
Phone is not defined in FastbootLack of drivers or faulty cableInstall the official drivers and try another cable
After the reset requires an old account MiFRP protection activatedBypass Mi Flash Unlock or contact the service center with a check
Anti-rollback error in firmwareTrying to stitch the old version of MIUI over the newUse only firmware with the same or newer version of Anti-rollback
The phone does not turn on after the firmwareIncorrect firmware or interrupted processSweep through the official firmware through the Mi Flash Tool in Clean All mode

If you encounter an error not described in the table, check the error log and search the forums for a solution. Often, flashing the official MIUI version through Fastboot helps:

fastboot flash all [name firmware].tgz

Download official firmware for Mi 9A on the Xiaomi website (choose the version for cc9).

πŸ’‘

If the phone stops turning on after manipulation, don't panic. In 90% of cases, it can be restored through Fastboot and official firmware, the main thing is not to interrupt the firmware process and use verified files.

Alternative ways to unlock

If standard methods don't work, alternative approaches can be tried, which are less reliable and can be costly, but sometimes help in desperate situations.

1. Contact the Xiaomi Service Center

If the phone is blocked on the account of the former owner, and it is impossible to contact him, the official service center can help if there are:

  • πŸ“„ Check or guarantee card.
  • πŸ“¦ The original box with IMEI.
  • πŸ†” Passports (for proof of identity).

The cost of the service is from 1000 to 3000 rubles, depending on the region.

2. Specialized workshop services

Some workshops offer to unlock FRP or Mi Account for a fee (from 500 to 2000 rubles).

  • ⚠️ An informal firmware may be installed.
  • ⚠️ Possible loss of warranty.
  • ⚠️ There is no guarantee of success on new versions. MIUI.

3. Purchase of the unlock code

Some sites (such as UnlockJunky, DoctorSIM) sell unlock codes for Xiaomi, priced between $5 and $20. Check reviews before buying, as there is a risk of fraud.

4. Use of exploits (for advanced users)

Forums sometimes publish exploits to bypass FRP through ADB or Fastboot, such as:

adb shell am start -n com.android.settings/.Settings

These methods do not work on all versions and can cause system failure, and only use them if you understand the risks.

FAQ: Answers to Frequent Questions

Can I unlock the Xiaomi Mi 9A without losing data?
If you forget your password, but remember your Mi Account, you can try resetting through Mi Cloud (Find your device section). This doesn't always work, but the data will remain intact. In all other cases (hard reset, unlock the bootloader), the data will be erased.
How long does it take to unlock the bootloader?
Officially unlocking through the Mi Unlock Tool takes 1-3 minutes, but requires pre-preparedness: the Mi Account must be over 30 days old and the phone is tied to it in advance.The unlocking process itself is fast, but the wait (if the account is new) can take up to a month.
What if the phone does not turn on after unlocking the bootloader?
There was probably a firmware error. Try: Load to Fastboot (Loud down + Power), Swipe the official firmware through the Mi Flash Tool in Clean All mode. If it doesn't work, check if the phone is out during the firmware (possibly the battery has gone down or the cable has gone off).
Can I bypass my Mi Account without a computer?
On older versions, MIUI (up to 12) sometimes worked bypassing TalkBack or Emergency Call, but in 2026 these methods are practically not working.
Is it true that after unlocking the bootloader, banking applications do not work?
Yes, many banking applications (e.g. Sberbank Online, Tinkoff) check SafetyNet status. Once the bootloader is unlocked, it will trigger and applications can block work. Solutions: Use MagiskHide (built into Magisk); Install Universal SafetyNet Fix; try alternative versions of applications (e.g., via NiceLock); the guarantee that this will work is not, it all depends on the policy of the particular bank.