[Moto G7 Questions & Answers] mattmsr82:
I need to re-format my phone somehow

I have a g7 amz variety river. i had the bootloader unlocked and the system rooted with twrp and Magisk. and then somehow all of my partitions vanished. it stays in fastboot mode when its on and i get the following results when I attempt to flash it...

C:\platform-tools>fastboot oem fb_mode_set

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash partition gpt.bin

(bootloader) is-logical:partition: not found

Sending 'partition' (45 KB) OKAY [ 0.172s]

Writing 'partition' (bootloader) Validating 'gpt.default.xml'

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'gpt.default.xml'

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash bootloader bootloader.img

(bootloader) is-logical:bootloader: not found

Sending 'bootloader' (7419 KB) OKAY [ 0.430s]

Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'

(bootloader) Invalid partition name aboot

(bootloader) Invalid partition name rpm

(bootloader) Invalid partition name tz

(bootloader) Invalid partition name devcfg

(bootloader) Invalid partition name cmnlib

(bootloader) Invalid partition name cmnlib64

(bootloader) Invalid partition name keymaster

(bootloader) Invalid partition name prov

(bootloader) Invalid partition name sbl1

(bootloader) Cancelling 'bootloader.default.xml'

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash modem_a NON-HLOS.bin

(bootloader) is-logical:modem_a: not found

Sending 'modem_a' (65900 KB) OKAY [ 2.279s]

Writing 'modem_a' (bootloader) Invalid partition name modem_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash fsg_a fsg.mbn

(bootloader) is-logical:fsg_a: not found

Sending 'fsg_a' (11612 KB) OKAY [ 0.564s]

Writing 'fsg_a' (bootloader) Invalid partition name fsg_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot erase modemst1

Erasing 'modemst1' (bootloader) Permission denied

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot erase modemst2

Erasing 'modemst2' (bootloader) Permission denied

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash dsp_a adspso.bin

(bootloader) is-logical:dsp_a: not found

Sending 'dsp_a' (16384 KB) OKAY [ 0.718s]

Writing 'dsp_a' (bootloader) Invalid partition name dsp_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash logo_a logo.bin

(bootloader) is-logical:logo_a: not found

Sending 'logo_a' (2115 KB) OKAY [ 0.251s]

Writing 'logo_a' (bootloader) Invalid partition name logo_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash boot_a boot.img

(bootloader) is-logical:boot_a: not found

Sending 'boot_a' (32768 KB) OKAY [ 1.307s]

Writing 'boot_a' (bootloader) Invalid partition name boot_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash dtbo_a dtbo.img

(bootloader) is-logical:dtbo_a: not found

Sending 'dtbo_a' (564 KB) OKAY [ 0.188s]

Writing 'dtbo_a' (bootloader) Invalid partition name dtbo_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash system_a system.img_sparsechunk.0

(bootloader) is-logical:system_a: not found

Sending 'system_a' (261765 KB) OKAY [ 8.479s]

Writing 'system_a' (bootloader) Invalid partition name system_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash system_a system.img_sparsechunk.1

(bootloader) is-logical:system_a: not found

Sending 'system_a' (257944 KB) OKAY [ 8.380s]

Writing 'system_a' (bootloader) Invalid partition name system_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash system_a system.img_sparsechunk.2

(bootloader) is-logical:system_a: not found

Sending 'system_a' (262141 KB) OKAY [ 8.528s]

Writing 'system_a' (bootloader) Invalid partition name system_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash system_a system.img_sparsechunk.3

(bootloader) is-logical:system_a: not found

Sending 'system_a' (243601 KB) OKAY [ 7.722s]

Writing 'system_a' (bootloader) Invalid partition name system_a

FAILED (remote: '')

fastboot: error: Command failed

C:\platform-tools>fastboot flash system_a system.img_sparsechunk.4

(bootloader) is-logical:system_a: not found

Sending 'system_a' (258140 KB)

Please any help would be greatly appreciated!!!!