The main advantage of Xiaomi Mi A1 AIO Toolkit is that, you do not need to go through the command line to unlock/relock bootloader, install TWRP recovery or root Mi A1. The toolkit guide you all these through its GUI. This is a Windows application, but does not require installation. Below is how to use this toolkit.
Developed by an XDA a member ghpranav, the tool kit is really simple to use. All you need to run it on your PC and then select a desired option from its GUI and follow the instruction. Also Read: How to install stock firmware on Xiaomi Mi A1 Note: The current version of Mi A1 AIO Toolkit (v.2.0) offers unlock/relock bootloader, root and install ADB and Fastboot drivers. The developer claims that flashing TWRP recovery and unroot options will attach in the coming update. Also Read: Install Xiaomi Mi A1 Ported ROM on Xiaomi Mi 5X Warning: Keep in mind that the below procedures will void device warranty and wipe out all data. Do NOT perform it, unless you have specific reasons.
How to use Mi A1 AIO Toolkit
- Install proper driver file on your computer
- Enable USB debugging in your device [see guide] and then connect it to your computer.
- Download Mi A1 AIO Toolkit zip file from development page [here], unzip it and then run the exe file.
- Navigate through the menu, and choose the option you want to execute. Note: To root your Mi A1, using this tool, follow below guide. Before, proceeding, unlock the bootloader using the tool.
- Download patched boot.img [here] and save the contents to image folder of AIO Tool.
- Run the Toolkit, select Root option from menu and follow the instructions.
- When your phone boots up, use FlashFire app to install SuperSU. Select the latest SuperSu zip in Flashfire, then go to EverRoot tab, enable Inject SuperSU option and then flash. (Source – XDA)