Generic System Image or GSI is a System image based on unmodified Android Open Source Project (AOSP) code. A Pure GSI ROM works on Almost all GSI supported Devices, you can Install it on your Motorola Moto X40 by following below Instructions.
Requirement’s:
- vbmeta.img (from firmware)
- Platform tools: Download
- Partition backup Restore: Download
- GSI ROM Download as per your Requirement here is AOSP
Instructions:
- backup all Partition using Provided tool
- Extract GSI ROM in Platform tools folder
- open CMD in Platform tool folder
- connect phone in fastboot mod
- Now Send below code
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img fastboot delete-logical-partition product_a fastboot delete-logical-partition product_b fastboot reboot fastboot fastboot flash system system.img fastboot -w fastboot reboot