For: Android Enthusiasts Who Want to Install a GSI
This guide assumes your device bootloader is already unlocked, you have a PC, USB cable, and basic knowledge of ADB & Fastboot.
- Download Treble Info app from Play Store.
- Open it and confirm:
- Is your device Treble compatible? → Should say Yes.
- Partition type: → Should be A/B or A-only.
Connect your device and run:
adb shell getprop ro.treble.enabled
- If it returns true → Device supports Treble & GSIs.
- If false → GSI installation is NOT supported.
- Download a GSI image of your choice (e.g., Phh-Treble, LineageOS GSI).
- Match the GSI architecture (
arm,arm64,aonly,ab) with your device’s partition type.
{arm|a64|arm64}_{a|b}{v|g}{N|S}-{vndklite|secure|personal}
| | | | |
| | | | vndklite: For VNDKLite devices,
| | | | or for read-writeable /system on regular devices
| | | | secure: Superuser removed and system props spoofed,
| | | | for better chances of passing SafetyNet
| | | | personal: With personal mods, for reference
| | | |
| | | N: No Superuser
| | | S: *Built* with PHH Superuser (app needed)
| | | (Z): *Built* with eremitein's Dynamic Superuser (not offered here)
| | |
| | v: Vanilla, i.e. no GAPPS
| | g: With regular GAPPS
| | o: With Android Go GAPPS
| | (f): With built-in MicroG and FLOSS replacements of GAPPS (not offered here)
| |
| a: "A-only", i.e. system-as-system (deprecated since Android 12)
| b: "AB", i.e. system-as-root
|
arm: ARM 32-bit (deprecated since Android 12)
a64: ARM 32-bit with 64-bit binder
arm64: ARM 64-bit
adb reboot bootloader
fastboot erase system
fastboot erase userdata
-
If your GSI is zipped, unzip it first to get the
.imgfile. -
Flash the system image:
fastboot flash system .img
-
For A/B devices, flash vbmeta with verity and verification disabled (if required):
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
--
- The first boot after flashing a GSI can take several minutes — be patient!
- If you encounter bootloops:
- Verify you are flashing the correct GSI for your device’s architecture and slot configuration.
- Consider reflashing your stock ROM and trying again.
- Treble Info app
- Phh’s GSI Wiki
- XDA Developers Treble Forums
Guide https://github.com/Swastik369/How_to_use_DSU_sideloader