#!/usr/bin/env -S bash -xe
# pmbootstrap initfs hook_add debug-shell
# pmbootstrap install --no-recommends --password pw

# pmbootstrap flasher flash_kernel

# pmbootstrap flasher --no-reboot flash_kernel
# pmbootstrap flasher --resume flash_vbmeta

# pmbootstrap flasher --no-reboot flash_kernel
# pmbootstrap flasher --resume flash_rootfs

# pmbootstrap install --no-recommends --password pw --android-recovery-zip --recovery-install-partition super
# pmbootstrap flasher --method adb sideload

pmbootstrap flasher --method fastboot flash_kernel
# pmbootstrap flasher --method fastboot flash_rootfs --partition userdata
fastboot reboot
