apk Mi A2 Tutorials

How to Lock the Bootloader the Mi A2?

Xiaomi Mi A2 Lock Bootloader

In order to maintain the consumer protected Android units have what they name a bootloader. In a locked state, it’s liable for ensuring the software program put in is authentically signed by the OEM. If your gadget is unlocked then this information will present you ways to lock (or relock) the bootloader of the Xiaomi Mi A2.

So final week I confirmed you ways to unlock the bootloader of the Xiaomi Mi A2. I did this as a result of lots of people need to set up software program on their telephone that isn’t signed by the OEM. Without doing that, we will’t set up issues similar to TWRP, Magisk, customized ROMs and extra. Some individuals don’t need to do any of that although.

In these instances, you want to be sure that the bootloader is locked. When you purchase any Android telephone model new the bootloader is locked by default. But you’ll have bought a used Xiaomi Mi A2 and observed that the bootloader is unlocked thanks to the warning display.

Or perhaps you unlocked the bootloader your self. Many individuals see these mods and need to experiment with a customized ROM or a customized kernel. That requires you to unlock the bootloader however perhaps you’re accomplished experimenting and would moderately simply return to the approach issues have been.

This is why I’ve created this tutorial. To present you ways we will return to the method issues are.

Warning – Not solely will relocking the bootloader of the Mi A2 erase all of the knowledge out of your smartphone (apps, video games, footage, movies, app settings, and so on.), nevertheless it can be harmful to do in case you have modded software program in your telephone. I personally advocate following an ‘unbrick’ or ‘return to stock’ information earlier than locking the bootloader of the Xiaomi Mi A2.


In order to full the tutorial under, you are going to want some issues arrange forward of time. Please comply with the how to set up ADB and Fastboot instruments information if you have not accomplished so already. Then you will want to comply with the how to allow Developer Mode information, in addition to the tutorial that exhibits you how to allow USB Debugging Mode.

You will then want to open a command immediate inside the inside the similar folder as your ADB and Fastboot instruments and execute the “adb devices” command (with out quotes) to begin the ADB service. Then join the gadget to the PC with a USB cable and you need to see the immediate to grant USB Debugging Mode entry from the PC the telephone is related to.

Once granted, you possibly can then check this by operating the command “adb devices” once more (with out quotes) in a command immediate or PowerShell to be certain that the pc acknowledges the system.


How to Relock the Bootloader the of the Mi A2

  1. Boot the Xiaomi Mi A2 into Fastboot Mode

    Xiaomi Mi A2 Fastboot Mode Splash Screen

  2. Connect the Mi A2 to the PC with a USB cable
  3. Open a Command Prompt or Windows PowerShell in the similar folder as your ADB/Fastboot instruments
  4. And then sort in the following command. . .

    fastboot flashing lock

    Xiaomi Mi A2 Lock Bootloader

  5. Then press the Volume Down button twice to spotlight the Lock the Bootloader choice
  6. Press the Power button to choose this feature

    Xiaomi Mi A2 Lock Bootloader Prompt

  7. Watch as the Xiaomi Mi A2 reboots by itself and wait

    This first boot cycle will take some time because it performs a manufacturing unit reset after which has to set every thing again up once more. So be affected person and/or comply with together with the video under.


So as I discussed above, there shall be two sort of people that will discover this information helpful. If you’re the one who did the bootloader unlock stuff by yourself then this complete course of ought to really feel acquainted. If that’s the case then simply ensure you comply with by means of with the similar steps.

The solely distinction right here is that the course of is definitely a lot shorter. The unlock tutorial was 16 steps and this one is simply 6. That’s as a result of we don’t have to undergo the OEM unlock toggle course of. Speaking off, upon getting relocked the bootloader of the Mi A2, you can return into Developer Options and disable the OEM Unlocking choice should you needed to.

Just ensure you sort in fastboot flashing lock as an alternative of fastboot flashing unlock and also you’ll be advantageous. You’ll see an identical warning display seem in your Mi A2 and you’ll nonetheless want to use the Volume Up, Volume Down and energy buttons to navigate via the menu.

How to Relock the Mi A2 Bootloader?

Now, in case you bought a Mi A2 from a good friend or used from some on-line market then issues could possibly be totally different. Firstly, you possibly can be acquainted with this course of generally and simply wanted this information to be sure to knew the relock command. However, this can be overseas to you and that may be worrisome.

The course of is straightforward although (once more, keep in mind the precise tutorial is just 6 steps). However, you could not have ADB and Fastboot instruments put in in your pc. You might not even have the correct USB drivers put in (though these ought to set up routinely whenever you join the telephone to the PC).

If you’re on this phase then I like to recommend wanting above the tutorial and putting in the Minimal ADB and Fastboot instruments that I’ve linked over on XDA. Not solely will this get you the up to date instruments that you simply want put in, nevertheless it additionally comes with a handy icon shortcut that you could placed on the desktop.

This approach, once I say ‘open a command prompt in the same folder as your ADB and Fastboot tools’, you’ll be able to simply double click on that shortcut that the program created for you. It will open up a Command Prompt in the similar folder as your Fastboot.exe file and you may proceed with the tutorial.

You might additionally navigate to the place your ADB and Fastboot instruments are situated in by way of Windows Explorer although. Then maintain the Shift key on the keyboard and proper click on on an empty spot of the folder. Doing it will make a brand new choice seem in the context menu labeled Open PowerShell Window Here.

And this can successfully offer you the similar outcomes (simply with Windows PowerShell as an alternative of the Command Prompt).


If this tutorial helped you in any means, please contemplate donating by way of PayPal, Patreon, Cryptocurrency, or GoFundMe. If you possibly can’t afford to donate then sharing this on social networks corresponding to Facebook, Twitter, XDA, boards, and so forth. may even assist rather a lot.