
Method 1: Flashing Generic System Images (GSI) via TWRP recovery
Make sure you have Unlocked the Bootloader and flashed the latest TWRP recovery onto your device.
- Download and transfer the latest Android 11 GSI to phone storage.
- Extract the zip to get Android 11 GSI image file.
- Reboot to TWRP recovery.
- Take a full Nandroid backup.
- Wipe everything except internal storage. You can also factory reset.
- Tap on install.
- Change the type from “zip” to “image.”
- Choose to flash to the system partition.
- You can also flash the Open Gapps if you need Google apps.
- Reboot to system.
Method 2: Flashing Generic System Images (GSI) via Fastboot mode
- Perform a factory reset on your device. To do so, go to settings app and look for the factory reset option. Alternatively, reboot into recovery mode and choose factory reset option.
- Enable OEM Unlock, and USB Debugging from Developer Options on your device. To do so, go to Settings > Developer Options > enable USB Debugging from there.
- Setup ADB and Fastboot on Windows, Mac OS, Linux or Chrome OS.
- Download the Android 11 GSI image from above. Transfer files to PC, Mac Book, or Linux machine and extract to get image file.
- Connect Android phone to PC.
- Open a command prompt or terminal window on your PC where the GSI image is present. To do so, type cmd in address bar and hit Enter key.
- Reboot your Android phone into bootloader mode or fastboot mode. To do so, issue the following command through cmd or terminal.
adb reboot bootloader
- While your device is still connected to your PC, enter the following command to erase the system.
fastboot erase system
- Enter the following format to flash the Android Q system image
fastboot -u flash system <name_of_system.img>
- Once installation completes, reboot your device manually or enter the following command
fastboot reboot