Using this guide, you could install Android 10 on your Xiaomi Mi A2 device. Do note that this is not the official update released by Xiaomi/Google but rather a custom ROM which is to be flashed on your device. Follow the instructions given below to know more about it. If you are curious about the official Android 10 rollout for Xiaomi phones, don’t miss this Xiaomi MIUI 11 update schedule.
LineageOS, among the most popular player in the Custom ROM environment, has released LineageOS 17 for Mi A2. This version of ROM is based on Android 10 and is nearly pure AOSP ROM. That means you will only get all the basic and stock features of the latest released Android OS. But there will be no extra functionalities or features within it. Screenshots are also attached at the end of this guide for your reference. So, let us begin with the installation part. Also, once Android 10 gets successfully installed on your device, don’t forget to check out our article on 10 new Android 10 features to get excited About.
LineageOS 17 for Mi A2 is currently in the alpha stage, the first stage of its release, so expect it to be highly unstable. In no way should it be used as your daily driver. Even the developer says that don’t except that everything is working smooth and perfect. Moreover, this ROM is only for Mi A2, and it won’t work on even Mi 6X or Mi A2 Lite. Also, installing this requires an unlocked bootloader, doing which will wipe all your data. So make a backup beforehand. Under no circumstances whatsoever, DroidViews or any of its members would be held responsible if anything happens to your device while installing this ROM.
At any stage, if you wish to go back to Android 9.0 Pie, then your WiFi signals would be lost. To rectify this issue, you need to boot your device to TWRP Recovery (instructions are given in the next section), before installing LineageOS 17. From the recovery, go to Backup and select Persist. Swipe to create its backup. Now, whenever you install any Android 9.0 ROM, just restore the Persist file as well. For that, under TWRP, go to Restore, select the backed up folder and finally tap on the Persist file.
- Your device’s bootloader should be unlocked.
- Create a complete backup of your Android device. This is because unlocking the bootloader will wipe all of your data present on Internal Storage. Even if it is unlocked, there is no harm in having a backup. Go to Settings > System > Advanced > Backup > Backup Now.
- Enable USB Debugging on your device. Go to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > Developer Options > Toggle on the USB Debugging switch. You may also have a look at our detailed guide on how to enable USB Debugging on Android devices.
- Download Android SDK and platform tools.
- Also, download the following files based on Android 10 for your Mi A2:
- LineageOS 17 (GApps included): lineage-17.0-20190920-UNOFFICIAL-jasmine_sprout .zip
- TWRP Recovery: twrp-3.3.1-jasmine_sprout.img
- Google Camera (optional): Gcam_6.2.apk
- Magisk Installer zip (optional, if you want root): Magisk-v19.4.zip
Install Android 10 on Xiaomi Mi A2
The guide on how to install Android 10 on Mi A2 is broken down into two steps for your convenience. The first step talks about booting your device to TWRP Recovery. Whereas, in the second step, instructions regarding installing the LineageOS 17 is given. Before beginning with the installation, make sure you move the Magisk zip file to your device’s internal storage.
STEP 1: Boot your device to TWRP
- Install the Android SDK and Platform Tools on your PC.
- Download the TWRP Recovery and rename it to twrp. Move it to the platform-tools folder.
- Inside the same folder, enter cmd in the address bar. This will open the Command Prompt.
- Connect your device to PC via USB Cable.
- Enter the below code to boot your device to fastboot mode:
adb reboot bootloader
- Finally, boot your device to TWRP Recovery using the below code:
fastboot boot twrp.img
STEP 2: Install LineageOS 17 on Mi A2
- Under TWRP, go to Wipe and select Advanced Wipe.
- Next, select Dalvik/ART Cache, System, Vendor and Data. Do NOT select Internal Storage.
- Perform a right swipe to wipe the selected partitions.
- Now we will be installing Android 10 on Mi A2. For that, go to Install, select the LineageOS 17 zip file and install it on your device.
- Next, you need to change your current slot. For that, go to Reboot and tap on the reverse slot. For example, if your slot is A, then tap on B and vice versa.
- Reboot your device to Recovery for the changes to take place.
- Once your device gets booted to TWRP Recovery you could root your device if you prefer. It is completely optional. Just go to Install and select the Magisk-v19.4.zip file. Perform a right swipe to flash it.
- Finally, you may now reboot your device. Go to Reboot and tap on System. Your device will now boot into Android OS.
That’s it. You have successfully installed Android 10 on your Xiaomi Mi A2. The first boot will take more time than usual, it is completely normal. Also attached below are some of the screenshots, do have a look (click on them to enlarge).