Part I. Preparation
1. The platform tools folder should contain the GSI and the vbmeta image.
2. Run the terminal/command prompt in that folder.
3. Make sure to enable your device's USB debugging or manually reboot to the bootloader.
Check if your laptop/computer detects your device.
adb reboot bootloader
Once your phone is rebooted to the bootloader, run these commands:
bash
fastboot --disable-verification --disable-verity flash vbmeta vbmeta.img
fastboot reboot fastboot
Once your phone is rebooted to the fastbootd, we need to wipe the dynamic partitions:
fastboot erase system
fastboot delete-logical-partition product
fastboot delete-logical-partition system_ext
After this, flash the GSI by running these commands:
fastboot flash system
fastboot reboot bootloader
fastboot -w
fastboot reboot
Now, you successfully installed your GSI. The first boot might take three to five minutes upon booting.