[Xiaomi Mi A2 Lite Guides, News, & Discussion] Pierre_C:
Hi all,

The main advantage of unlocking the bootloader on Android is rooting. If you want your Android is rooted or if you want a custom ROM to install the unlocking bootloader is an initial step.

/!\ This will erase all of your data !!

You are using Windows ?

Simple but unofficial method :

1) On your device, enable developer options by going to Settings > About Phone, scroll down to Build number and tap 5-7 times to enable developer option.

2) Once you enabled the Developer Options. Returned back to Settings > Developer Options > USB Debugging and OEM Unlock. Just Enable there options.

3) Proceed to put your Xiaomi Mi A2 Lite into Fastboot mode by powering it on while holding Volume Down and Power buttons simultaneously. Hold until you see your phone is booted into Fastboot mode, now connect your phone to your computer.

4) Download Minimal ADB and Fastboot here : https://androidfilehost.com/?fid=962187416754459552

5) Now it’s time to unlock your phone,

Open in operator mode Minimal ADB and Fastboot and enter this command :

fastboot oem unlock

Your phone will reboot and your data will be erased but your bootloader is now unlocked !

Long but official method :

This method require some days because you have to ask xiaomi to send you an unlock code.

You need Windows it doesn't work on Linux.

1) On your device, enable developer options by going to Settings > About Phone, scroll down to Build number and tap 5-7 times to enable developer option.

2) Once you enabled the Developer Options. Returned back to Settings > Developer Options > USB Debugging and OEM Unlock. Just Enable there options.

3) Proceed to put your Xiaomi Mi A2 Lite into Fastboot mode by powering it on while holding Volume Down and Power buttons simultaneously. Hold until you see your phone is booted into Fastboot mode, now connect your phone to your computer.

4) Go to http://en.miui.com/unlock, click on Unlock button on the webpage now you have to login and then proceed to tap on Download Mi Unlock from the resulting page.

5) After the successful login, the validation process will start on your phone, and for the first time, you will get a message that “You don’t have the permission to Unlock the device”

4) Now click on the “Go” button or use Go to MIUI Unlock page to receive the unlocking permission.

5) Now click on the Unlock Now and log in with your Mi account details and fill all details.

6) You will get a password for confirmation use it to complete the process.

7) Now wait until your application gets approved, you will receive the password on your phone number once it’s approved.

8) Now Open the Mi Flash tool click on unlock and pass the two pop-up.

Your phone will reboot and your data will be erased but your bootloader is now unlocked !

You are using Linux*?

Simple and unofficial methods, official methods doesn't work on linux :

1) On your device, enable developer options by going to Settings > About Phone, scroll down to Build number and tap 5-7 times to enable developer option.

2) Once you enabled the Developer Options. Returned back to Settings > Developer Options > USB Debugging and OEM Unlock. Just Enable there options.

3) Proceed to put your Xiaomi Mi A2 Lite into Fastboot mode by powering it on while holding Volume Down and Power buttons simultaneously. Hold until you see your phone is booted into Fastboot mode, now connect your phone to your computer.

4) Enter these commands in the Terminal :

sudo apt-get install fastboot

sudo apt-get install adb

5) Now it’s time to unlock your phone,

In terminal enter this command :

fastboot oem unlock

Your phone will reboot and your data will be erased but your bootloader is now unlocked !

PS: Sorry for my bad English

Pierre

If I help you, drop a thanks:)