Home » How to » How To : Xiaomi Mi A2 Android 9.0 Pie (GSI)

How To : Xiaomi Mi A2 Android 9.0 Pie (GSI)

How To : Xiaomi Mi A2 Android 9.0 Pie (GSI)

Are you looking to install Android 9.0 Pie on your Xiaomi Mi A2? Well, you have come to the right place. In this post we are going to show you how to install Android 9.0 Pie on the Xiaomi Mi A2. Make sure to check out the video at the end of the tutorial as well.

Xiaomi Mi A2 Android 9.0 Pie (GSI)

How To : Xiaomi Mi A2 Android 9.0 Pie (GSI)


We are not responsible for any bricked devices. You are doing this at your own risk.

You will loose all your data. Make sure to backup. 

Make sure your Xiaomi Mi A2 is charged 70-80 percent.


Make sure you have Unlocked the bootloader on your Xiaomi Mi A2. If not, click the link below. Please note unlocking the bootloader will wipe all your data, so make sure you have a backup.

Xiaomi Mi A2 Bootloader Unlock Guide

Make sure adb and fastboot are setup on your computer (Windows, Mac or Linux) and working. Click the link below to learn how to setup adb and fastboot on Windows, Mac and Linux.

How to Setup ADB and Fastboot

How To : Xiaomi Mi A2 Android 9.0 Pie (GSI)



MiUnlock Tool – http://xiaomi-miui-ota-3rdrom.ks3-cn…3.3.525.23.zip
Latest ADB & Fastboot :- https://developer.android.com/studio…platform-tools
Setup ADB and Fastboot (if above adb & fastboot do not work) – https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/ 
Android 9.0 Pie GSI Thread :- https://forum.xda-developers.com/project-treble/trebleenabled-device-development/9-0-pixelexperience-p-t3833294
Android 9.0 Pie GSI Download Links (Download ARM64 with gapps):- https://github.com/EnesSastim/Downloads/releases
Winrar (Windows) :- https://www.rarlab.com/
The Unarchiver (Mac):- https://theunarchiver.com/

Video Guide

How To : Xiaomi Mi A2 Android 9.0 Pie (GSI)

Text Guide

1. Download AB Arm64 GSI from link in downloads section. Unzip it. Windows users can use Winrar. Mac users can use the Unarchiver.
2. Download and unzip adb & fastboot linked in downloads section.
3. Place the extracted system image (step 1) in platform-tools folder. Rename it to system-arm64.img.
4. Power off phone.
5. Press and hold volume down and power button at the same time. You will now boot into fastboot boot.
6. Connect phone to computer.

7. Windows users open command prompt. Mac/Linux users open Terminal. Navigate to the folder where you unzipped adb & fastboot.


fastboot devices

Mac & Linux

./fastboot devices

If your device shows up, drivers were installed correctly. If not, then drivers were not installed and you need to install them.

8. Erase System


fastboot erase system

Mac & Linux

./fastboot erase system

9. Flash Android Pie GSI

fastboot flash system system-arm64.img

Mac & Linux

./fastboot flash system system-arm64.img

10. Wipe/Factory Reset


fastboot -w

Mac & Linux

./fastboot -w

11. Reboot

fastboot reboot

Mac & Linux

./fastboot reboot

11. Profit. Android 9.0 Pie. Rooting might result in broken Wi-fi. So, flash back stock boot.img if your wifi is broken after rooting.