Skip to content

Instantly share code, notes, and snippets.

@mohancm
Last active April 14, 2024 16:00
Show Gist options
  • Save mohancm/85768d3cf266e197cbe84e42c57e6aa4 to your computer and use it in GitHub Desktop.
Save mohancm/85768d3cf266e197cbe84e42c57e6aa4 to your computer and use it in GitHub Desktop.

disbale dm-verity verification to pass through dm-verity corruption.

boot into bootloader

adb reboot bootloader

flash vbmeta.img

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

extract xz file

sudo apt-get install xz-utils

unxz file.xz

Flashing GSI on Pixel devices

1. reboot device to bootloader

adb reboot bootloader

2. boot into fastboot mode

fastboot reboot fastboot

3. erase the old system image

fastboot erase system

4. flash the new system image

fastboot flash system system_Android13_gsi.img

5. clear userdata

fastboot -w

6. reboot the device

fastboot reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment