[Android Q&A, Help & Troubleshooting] Tweeet:
I wanted to flash my Infinix Hot 10 Play with a GSI ROM after several failed tries of getting it to use a functioning SIM card (functions in other phones, but the Infinix one can use a different SIM) and saw a tutorial that involved using TWRP. It took me a while to get USB debugging and the USB driver working, but after some commands the phone does not properly boot at all. Can't even get it to fastboot or recovery.

Wanted to use a different OS in hopes of not having to use two phones. I'm not sure how bad things are but I am sure I messed up. Is there any way to get the phone working again?

Below is an excerpt of what command prompt looked like (left out a huge chunk that is just attempting to reboot the phone into fastboot but no dice).

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

* daemon not running; starting now at tcp:5037

* daemon started successfully

error: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

< waiting for any device >

^C

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fasto

'fasto' is not recognized as an internal or external command,

operable program or batch file.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

error: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb kill-server

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

* daemon not running; starting now at tcp:5037

* daemon started successfully

error: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb kill-server

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb start-server

* daemon not running; starting now at tcp:5037

* daemon started successfully

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.007s]

< waiting for any device >

fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'unknown command')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.007s]

< waiting for any device >

^C

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

< waiting for any device >

Rebooting into fastboot OKAY [ 0.006s]

< waiting for any device >

fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.007s]

< waiting for any device >

^C

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.007s]

< waiting for any device >

Finished. Total time: 274.213s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'Command not available on locked devices')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'Command not available on locked devices')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.002s]

< waiting for any device >

^C

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.001s]

< waiting for any device >

Finished. Total time: 14.336s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'Command not available on locked devices')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools> ./fastboot reboot fastboot

'.' is not recognized as an internal or external command,

operable program or batch file.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>./fastboot reboot fastboot

'.' is not recognized as an internal or external command,

operable program or batch file.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>/fastboot reboot fastboot

'/fastboot' is not recognized as an internal or external command,

operable program or batch file.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>./fastboot reboot fastboot

'.' is not recognized as an internal or external command,

operable program or batch file.

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.001s]

< waiting for any device >

Finished. Total time: 14.340s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'Command not available on locked devices')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'unknown command')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'unknown command')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.006s]

< waiting for any device >

Finished. Total time: 13.922s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot delete-logical-partition product

Deleting 'product' FAILED (remote: 'Command not available on locked devices')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot flashing unlock

FAILED (remote: 'Unrecognized command flashing unlock')

fastboot: error: Command failed

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot flash unlock

unknown partition 'unlock'

fastboot: error: cannot determine image filename for 'unlock'

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb devices

List of devices attached

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

error: no devices/emulators found

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

error: no devices/emulators found

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

error: no devices/emulators found

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot flashing unlock

(bootloader) Start unlock flow

OKAY [ 14.143s]

Finished. Total time: 14.144s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot erase userdata

******** Did you mean to fastboot format this f2fs partition?

Erasing 'userdata' OKAY [ 7.651s]

Finished. Total time: 7.663s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot flash vbmeta vbmeta.img

Sending 'vbmeta' (4 KB) OKAY [ 0.026s]

Writing 'vbmeta' OKAY [ 0.013s]

Finished. Total time: 0.074s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot flash recovery recovery.img

fastboot: error: cannot load 'recovery.img': No such file or directory

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot flash recovery recovery.img

Sending 'recovery' (39936 KB) OKAY [ 1.209s]

Writing 'recovery' OKAY [ 0.533s]

Finished. Total time: 1.761s

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.006s]

< waiting for any device >

^C

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

F:\Docs\Downloads\platform-tools_r31.0.2-windows\platform-tools>adb reboot bootloader

error: no devices/emulators found