Dear Mi fans,As you know Mi A1 is the latest device launched by Xiaomi here in India running on stock Android. Here is a detailed guide for unlocking and flashing of Mi A1. Please read carefully before unlocking or flashing your Device.There are two Methods to unlock the Bootloader of Mi A1.
Mi A1 can be unlocked through CMD.Download the Adb files from here
2017-09-14 09:46:02 UploadClick on the file to download the attachment
Extract the ADB files in Desktop and press and Hold shift button and Right click on the mouse to get the Options Open Command window here.
Then a Command Box will appear on your screen.
Type fastboot devices to check if your device is being recognised by your PC.
Here You can see the device is properly detected.
Type fastboot oem device-info and you can see the device status.Here My Bootloader is Locked.
Type fastboot oem unlock to Unlock the bootloader of your device.You will get a message as Finished once the process completes
Again Type fastboot oem device-info to check if the bootloader got unlocked or not.Here our Bootloader is unlocked now
If you want to Lock your Bootloader again Simply type fastboot oem lock.
Type fastboot oem device-info and you can see the device status.Now the Bootloader is locked again.
Type fastboot reboot to reboot your device.
A PC/laptop is needed for flashing. Make sure that your device is having more than 50% charge. All user data will be lost while flashing. Please back up your data.
Now you are ready to flash.Click on flash to start the flashing
once the progress bar is green the process is completed you will get a success message and your device will reboot automatically.The first boot will take some time don't get panic :P
Thanks to Faisalfor Providing me with Necessary Images
If you have any Doubts let us know in comments we will try our best yo help you.
WARNING !!! You're doing all of the above at your responsibility!!! No one here will be responsible if you haven't read the guide completely and then you have damaged your phone beyond repair!!! You have been warned!!!