How to install Android 12 Beta GSI

Google held another edition of Google I/O, an event that reveals the main news that will be launched by the company this year. As a result of the event, the company released for download the first Beta GSI (Generic System Image) of Android 12. Here is ow you can get it running.
GSI is a pre-built image of the system that can be run on Devices compatible with the Treble Project. Even if you don’t have a Pixel smartphone, you can install android 12 test. Installing the GSI version will require you to reset your device to factory settings, so making a backup of the device is extremely important!
You should choose the GSI version according to the architecture of your device. To see what architecture your device is, run the following command:
adb shell getprop ro.product.cpu.abi
Installing Android 12 Beta GSI
- Before you try to install Android 12 GSI, make sure you have access to a PC/Mac with adb and fastboot installed.
- Extract the file .zip and copy and paste the extracted files (system.img and vbmeta.img) into your ADB folder and fastboot on your computer.
- Turn on USB Debugging on your phone — Go to > Settings On Mobile > Click “Build Number” 7 times, (optional) between your default, PIN, or password to enable Developer Options, and go to > Developer Options > Enable “USB Debugging.”
- Connect your phone to your computer. Authorize the connection between devices when the command box appears on your phone.
- On your computer, run:
adb reboot bootloader
This will restart your computer to Fastboot mode
- As we mentioned earlier, the device boot loader must be released first.
- Next, we need to disable Android Verified Boot (AVB). To do this, run the following command:
fastboot flash vbmeta vbmeta.img
- Optional, but recommended: Enter the following code to clean the system partition:
fastboot erase system
- Start Android 12 GSI:
fastboot flash system system.img
- Allow the image to be rotated, it may take a few minutes. Once you are ready, clean the partition:
fastboot -w
- Finally, restart your device:
fastboot reboot
- Hopefully, your device should start with Android 12 Beta.
If you have an Android 11 device, you can also use the Developer Options DSU Loader to install Android 12 GSI without requiring Fastboot or ADB. Keep in mind that you will still need an unlocked bootloader.
If you do not have enough technical knowledge to perform the above procedure, we recommends that you do not do so and wait for the official release of the update. NB: YOU PARTAKE IN, AT YOU OWN RISK.