Whereas it’s also worth mentioning that flashing the Android GSI package on your handset will perform a factory reset of your device completely.
So, you may lose your important data if you don’t back up your device before flashing it. Now, without further ado, let’s jump into it.
Known Issues:
As mentioned on the official Android Developers website, Android 12 GSI binaries have the following GSI-specific known issues that you should keep in mind:
- Phone Audio: While using the stock phone dialer app, you may not be able to hear any audio on the device. It’s because of a change in the telephony service installation location in Android 10.
- Power Cycle: Restarting the GSI binary might fail on some devices. So, you may need to reboot the device into the recovery mode > erase user data and perform a factory reset. Once done, make sure to reboot the device.
- System partition size: GSI + GMS file size (images named gsi_gms_arm64-*) might be bigger than your device’s default dynamic system partition size. So, you may need to delete some of the non-essential dynamic partitions such as the product partition, and then re-flash the GSI again to fix this problem.
Download Android 12 GSI (Generic System Image)
Here we’ve shared all the download links regarding your device architecture.
Android 12 Stable GSI:
Unofficial GSI from phhusson
| AOSP 12.0 v400.e Pre-release |
Link |
| AOSP 12.0 v400.b Pre-release |
Link |
Beta 5 GSI:
Beta 3.1 GSI:
Not available yet!
Beta 3 GSI:
Beta 2 GSI:
Note: Make sure to grab the specific GSI package according to your device’s architecture. In order to check which architecture your device has, you can run the following command on your Windows computer after connecting your handset to it using the USB cable.
adb shell getprop ro.product.cpu.abi
Once you’re aware of your device’s architecture, download the particular GSI package from the link above.
Steps to Install Android 12 Beta 2/3 GSI
Before heading over to the GSI flashing steps, follow all the requirements properly for a successful flashing process.
Must Read: How to Downgrade Android 11 R From Android 12
Pre-Requirements:
Installation Steps
- First, you’ll need to perform a factory reset on your phone. [You can also reboot to Recovery mode and perform factory reset]
- Keep in mind that OEM Unlock and USB Debugging are already enabled on your phone. If not, do that too.
- We assume you’ve already installed the ADB & Fastboot Tool on your PC.
- Transfer the downloaded Android 11 R GSI file to your computer and extract it. Make sure to copy and paste the system.img and vbmeta.img files into the ADB & Fastboot folder for ease.
- Simply connect your Android device to the PC/Laptop by using the USB cable and authorize the device (if prompted).
- Now, launch a command prompt on your PC from the extracted GSI folder by typing cmd in the address bar and pressing the Enter button on your keyboard.
- Restart your device into bootloader mode or fastboot mode by typing the following command in the command prompt and press the Enter key:
adb reboot bootloader
- This will reboot your phone into Fastboot mode.
- Then you’ll have to disable Android Verified Boot (AVB) by running the command below:
fastboot flash vbmeta vbmeta.img
- Next, type in the following command and hit the Enter button to delete the existing system partition on your device:
fastboot erase system
- Use the following command to install the Android 12 GSI package:
fastboot flash system system.img
- The installation process will start and will take some time. So, wait for it.
- Once the installation process is done, you will need to enter the following command to wipe the user data partition:
fastboot -w
- Finally, restart your device by executing the command below:
fastboot reboot
- Enjoy! The first boot may take some time after the OS upgrade. Your device should boot into the Android 12 Beta 2/3 system successfully.
Although we won’t recommend you to flash the initial build of Android 12 right now as it may contain multiple bugs or stability issues, it fully depends on you whether you’ll wait for the stable release or not.
That’s it, guys. We assume this guide was helpful to you. Feel free to ask in the comment below for further queries.
How to know whether my device support’s project treble?