As we all know, the Android 12 Beta 1 is now live for the eligible Pixel devices during the much-awaited Google I/O 2021 Developer Conference. In the meantime, Google has also released the Android 12 Beta GSI (Generic System Image) packages for non-Pixel & OEM Android devices that support Project Treble. So if you’re one of the early tests who want to try Android 12 then this guide is for you. Google has initially released the Android 12 Developer Preview 1 for its eligible Pixel devices in February 2021, followed by DP2, and DP3 respectively.
Before we begin to our guide, let’s take a brief idea about GSI below.
What is GSI in Android?
A GSI package is a system image with suitable adjustments for Android Devices that’s compatible with Project Treble support. It allows the non-Pixel Android users to flash the GSI Package according to the device architecture and enjoy the latest Android OS version.
To check the support of Project Treble in your device, use this app.
That means if your device doesn’t support the latest Android OS officially, your device is still eligible for it.
Note: it is required to have the bootloader of the device unlocked, irrespective of the Device Model.
Flashing the Android GSI Package will factory reset your device completely, so don’t forget to take a backup of your device.
Download Android 12 Beta GSI (Generic System Image)
Note: Make sure you downloaded the GSI Package according to your device architecture.
In order to check your device architecture use this app.
Once you’re aware of your device’s architecture, just download the particular GSI package from the link above.
Step to Install Android 12 Beta GSI
Before heading over to the GSI flashing steps, let’s ensure that your device satisfy all the requirements properly for a successful flashing process.
- This guide and GSI File is only applicable for devices supported by Project Treble. So, make sure to check whether your device is supported by Project Treble or not.
- Charge your Android device to at least 80% of battery power.
- Take a full data backup of your device without #Root before doing anything stupid.
- Your device bootloader should be unlocked. [Most Important]
- Enable OEM Unlocking and USB Debugging on your device.
- For Fastboot Mode
- A Laptop/PC with the latest Android USB drivers installed.
- A USB cable to connect your device with your Laptop.
Installing Android 12 Beta GSI in Your Device
- Perform a clean factory reset of your device.
- Assuming you’ve already downloaded Android 12 GSI Files in your computer, extract them into the Fastboot & ADB folder for ease of usage. Two files extracted from the archive will be “system.img” and “vbmeta.img”.
- Connect your device to your Laptop/PC using using USB cable, and authorize the device if prompted.
- Now, launch Command Prompt from the ADB & Fastboot folder.
- Restart your device into bootloader mode by typing the following command followed by the Enter key:
adb reboot bootloader
- After the successful reboot, you’ll have to disable Android Verified Boot (AVB) by running the following command:
fastboot flash vbmeta vbmeta.img
- Next, we’ll erase the current system partition on your device:
fastboot erase system
- Now, we’ll flash the Android 12 GSI package into the device:
fastboot flash system system.img
- The installation process will start now. Once the process is done, you’ll need to enter the following command to wipe the user data partition:
- Finally restart the device by executing the following command:
Hopefully, your device will boot into Android 12 Beta.
It is not recommended to install the initial release of Android 12 Beta because it comes will several instability issues and bugs.
That’s all for today.
Google I/O 2021