Question Booting GSI's

Search This thread

stevendeb25

Senior Member
May 27, 2010
2,511
2,099
england
pnht.org
hey been out of the android modding scene for quite a few years now, been playing around with some GSI's, all bootloop at bootanimation... (Stock/Kirisakura patched via magisk) boot to animation, non patched kernels bootloops at google screen, cant flash permissiver, any other tricks i can try? adb aint active neither in any kernel

Cheers
 
  • Like
Reactions: TrustAugustus

Lughnasadh

Senior Member
Mar 23, 2015
3,327
3,294
Google Nexus 5
Huawei Nexus 6P
hey been out of the android modding scene for quite a few years now, been playing around with some GSI's, all bootloop at bootanimation... (Stock/Kirisakura patched via magisk) boot to animation, non patched kernels bootloops at google screen, cant flash permissiver, any other tricks i can try? adb aint active neither in any kernel

Cheers
I really don't know much about GSI's, but don't you have to disable AVB before flashing one? Basically disabling vbmeta verification and verity (which would require a factory reset afterwards)? Not sure if you've done or tried this, so just throwing it out there.

Screenshot 2022-01-26 190339.png

 

Morgrain

Senior Member
Aug 4, 2015
893
965
Some more information would be helpful. What did you do exactly? Best tell us every step, every file you used and when.

You say that ADB isn't active. Does that mean that you can neither boot into recovery/your PC does not recognize the phone/ you can't use fastboot? You say that your device bootloops, that means it boots up at least, so your bootloader is still intact/working?

These two websites here are your first go to in that case:


&
 
  • Like
Reactions: roirraW "edor" ehT

matze19999

Senior Member
Some more information would be helpful. What did you do exactly? Best tell us every step, every file you used and when.

You say that ADB isn't active. Does that mean that you can neither boot into recovery/your PC does not recognize the phone/ you can't use fastboot? You say that your device bootloops, that means it boots up at least, so your bootloader is still intact/working?

These two websites here are your first go to in that case:


&
The bootloader has nothing to do with the bootanimation. If you see the bootanimation, the bootloader has done it's work ages before.
 
  • Like
Reactions: lebigmac

stevendeb25

Senior Member
May 27, 2010
2,511
2,099
england
pnht.org
From stock
Fastboot reboot bootloader
Fastboot reboot fastboot
Fastboot erase system
Fastboot flash system gsi.img
Fastboot reboot

Nothing data corrupted

Rebooted back to bootloader
Fastboot reboot recovery
Data reset

=Google logo

Fastboot reboot bootloader
Fastboot flash boot magisk_patched.img
Fastboot reboot

=Bootanimation

ADB ain't enabled in boot.imgs so can't pull logcats to try to see why no boot.

Tried lineage, octativeos, LeOS, phusson, same with all GSI's

P.s phone is intact and easily put back to stock
 

DanielF50

Senior Member
Jul 22, 2010
543
332
Hampshire, England
Google Pixel 6 Pro
From stock
Fastboot reboot bootloader
Fastboot reboot fastboot
Fastboot erase system
Fastboot flash system gsi.img
Fastboot reboot

As @Lughnasadh said, it looks like you're missing the disabling of AVB by flashing Google's custom vbmeta.img before installing the GSI image.

Note: If your device has adopted Android Verified Boot (AVB), download and flash the following image to disable AVB before flashing a GSI: vbmeta.img

As above, see here: https://developer.android.com/topic/generic-system-image#flash-gsi (blue box).
 

stevendeb25

Senior Member
May 27, 2010
2,511
2,099
england
pnht.org
hi thanks for that, flash vbmeta
still stuck on bootanimation.

i have tried a number of gsi's does this error matter when flashing gsi? "Invalid sparse file format at header magic" still installs fine
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    hey been out of the android modding scene for quite a few years now, been playing around with some GSI's, all bootloop at bootanimation... (Stock/Kirisakura patched via magisk) boot to animation, non patched kernels bootloops at google screen, cant flash permissiver, any other tricks i can try? adb aint active neither in any kernel

    Cheers
    I really don't know much about GSI's, but don't you have to disable AVB before flashing one? Basically disabling vbmeta verification and verity (which would require a factory reset afterwards)? Not sure if you've done or tried this, so just throwing it out there.

    Screenshot 2022-01-26 190339.png

    2
    From stock
    Fastboot reboot bootloader
    Fastboot reboot fastboot
    Fastboot erase system
    Fastboot flash system gsi.img
    Fastboot reboot

    As @Lughnasadh said, it looks like you're missing the disabling of AVB by flashing Google's custom vbmeta.img before installing the GSI image.

    Note: If your device has adopted Android Verified Boot (AVB), download and flash the following image to disable AVB before flashing a GSI: vbmeta.img

    As above, see here: https://developer.android.com/topic/generic-system-image#flash-gsi (blue box).
    1
    hey been out of the android modding scene for quite a few years now, been playing around with some GSI's, all bootloop at bootanimation... (Stock/Kirisakura patched via magisk) boot to animation, non patched kernels bootloops at google screen, cant flash permissiver, any other tricks i can try? adb aint active neither in any kernel

    Cheers
    1
    Some more information would be helpful. What did you do exactly? Best tell us every step, every file you used and when.

    You say that ADB isn't active. Does that mean that you can neither boot into recovery/your PC does not recognize the phone/ you can't use fastboot? You say that your device bootloops, that means it boots up at least, so your bootloader is still intact/working?

    These two websites here are your first go to in that case:


    &
    1
    Some more information would be helpful. What did you do exactly? Best tell us every step, every file you used and when.

    You say that ADB isn't active. Does that mean that you can neither boot into recovery/your PC does not recognize the phone/ you can't use fastboot? You say that your device bootloops, that means it boots up at least, so your bootloader is still intact/working?

    These two websites here are your first go to in that case:


    &
    The bootloader has nothing to do with the bootanimation. If you see the bootanimation, the bootloader has done it's work ages before.