TechBuzzPro

Android 15 GSI: How to Install It Step by Step

· 5 min read · Phones & Tablets

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Installing an Android 15 GSI (Generic System Image) lets you run a clean, near-stock build of Android 15 on a Project Treble-compatible device, even if the manufacturer has not released an official update. It is a system image, not a full ROM, so it replaces the system partition while leaving your vendor partition and bootloader intact. Before you start, you must unlock the bootloader, enable USB debugging, and back up all data — unlocking wipes the device. The steps below assume a Windows PC and a device that supports Treble (most phones launched with Android 8.0 or later).

What You'll Need

  • A Project Treble-compatible Android device with an unlockable bootloader. Check compatibility with the Treble Check app from the Play Store.
  • A Windows PC with platform-tools (adb and fastboot) installed from the official Android developer site.
  • The correct Android 15 GSI file for your device's CPU architecture (arm64, arm32, or x86) and partition type (A-only or A/B). Download only from the official Android developer GSI page or a trusted source like the AOSP releases.
  • A USB cable that supports data transfer.
  • A backup of all important data — unlocking the bootloader erases everything.
  • At least 60% battery and a stable internet connection for the initial download.

Step-by-Step

  1. Enable Developer Options and USB debugging. Go to Settings > About phone and tap Build number seven times. Then go to Settings > System > Developer options and turn on USB debugging. Menu labels can differ slightly by manufacturer and Android version.
  2. Unlock the bootloader. This step varies by manufacturer. On Pixel devices, connect to the PC, run adb reboot bootloader, then fastboot flashing unlock and confirm on the device. On other brands, you may need to request an unlock code from the manufacturer's official site. Warning: unlocking erases all data and may void your warranty.
  3. Check your device's Treble support and partition type. Install the Treble Check app from the Play Store. It tells you whether your device is A-only or A/B and whether it supports arm64 or arm32. Download the matching Android 15 GSI image (usually a .img file, sometimes compressed as .xz).
  4. Extract the GSI image. If the file is compressed, extract it with 7-Zip or a similar tool. You should end up with a file like system-arm64-ab.img.
  5. Reboot to fastboot mode. Connect the device to the PC, open a command prompt in the platform-tools folder, and run adb reboot bootloader. The device should show the fastboot screen.
  6. Flash the GSI to the system partition. For A-only devices, run fastboot flash system system-arm64-a.img (replace the filename with your actual file). For A/B devices, you may need to flash to system_a or use fastboot flash system — check your device's fastboot output. If you get a "partition not found" error, try fastboot flash system_a and fastboot flash system_b as appropriate.
  7. Wipe user data (required). Run fastboot -w to erase userdata and metadata. This is mandatory when switching from a manufacturer ROM to a GSI; skipping it causes boot loops. This erases all data, so ensure your backup is complete.
  8. Reboot the device. Run fastboot reboot. The first boot may take 5–10 minutes as the system initializes. Do not interrupt it.
  9. Complete setup. Once Android 15 boots, go through the setup wizard. If you see a "System UI isn't responding" message, wait a minute and tap Wait.

Common Mistakes

  • Flashing the wrong GSI variant. Using an arm32 image on an arm64 device or an A/B image on an A-only device will cause a boot loop or a soft brick. Always verify with Treble Check first.
  • Skipping the data wipe. Not running fastboot -w after flashing a GSI almost always results in a boot loop or encryption errors.
  • Using a USB cable that only charges. Data transfer must work; otherwise fastboot commands fail silently.
  • Forgetting to unlock the bootloader. Fastboot will refuse to flash with a "remote: not allowed" error.
  • Downloading from unofficial sources. Only use the official Android developer GSI page or trusted AOSP builds. Unofficial images may contain malware or be corrupted.

Tips

  • Keep a copy of your device's stock boot image and vendor image so you can restore if needed.
  • Use a USB 2.0 port on your PC if fastboot is unreliable; some USB 3.0 ports cause detection issues.
  • After flashing, if the device boots but has no mobile data or Wi-Fi, you may need to flash the correct vendor image or use a GSI that matches your vendor's security patch level.
  • For daily use, consider a GSI with Google Mobile Services (GMS) if you rely on Play Store apps; pure AOSP images lack Google apps.

Troubleshooting

Device stuck in boot loop: Reboot to fastboot and re-flash the correct GSI, then run fastboot -w again. If it persists, flash your stock boot image and vendor image to restore.

Fastboot does not detect the device: Install the official Google USB driver (Windows) or check adb devices first. Try a different USB cable or port.

"Invalid sparse file format" error: The image may be corrupted. Re-download and verify the checksum if provided.

No network or SIM not detected: This usually means the GSI's vendor mismatch. Flash the vendor image from your stock ROM or try a different GSI build.

System UI crashes constantly: Boot to recovery (if available) and factory reset, or re-flash the GSI with a full data wipe.

Frequently Asked Questions

Will installing an Android 15 GSI void my warranty?

Unlocking the bootloader typically voids the warranty on most devices. Check your manufacturer's policy before proceeding.

Can I install a GSI on any Android phone?

Only on Project Treble-compatible devices. Most phones launched with Android 8.0 or later support Treble, but some manufacturers disable it. Use the Treble Check app to confirm.

Do I need root to install a GSI?

No. Root is not required. You only need an unlocked bootloader and fastboot access.

Will I lose my data?

Yes. Unlocking the bootloader and flashing a GSI both erase all user data. Back up everything first.

Can I go back to my original ROM?

Yes, by flashing your device's stock firmware using fastboot or the manufacturer's official flashing tool. Keep a copy of the stock images.

Does the GSI include Google apps?

Pure AOSP GSIs do not include Google apps. You can flash a GSI variant with GMS if you need the Play Store, but only from trusted sources.