[Moto G7 Power Questions & Answers] bondu546:
Hi all,

I need help with my phone being stuck in fastboot...

Today i tried to flash Lineage OS using this guide. I did this from scratch with a stock phone, not rooted or unlocked or anything.

Everything went fine until Step 4 under ROM Installation. My phone refused to start into TWRP. It didn't even start the lineage rom, it always just warned me about my phone being a risk because it is unlocked and then proceeded to start the stock Rom. So i tried the whole thing over and over again a couple of times, always with the same result. Then i read someone writing about how he first had to use wipe > format data before flashing the Rom in TWRP in the Guide Thread (Page 3). So i tried that too. But i must have done something wrong because it now led to my phone restarting into a fastboot mode, which didn't look like the fastboot screen it booted into before e.g. different font style, black background without the little android thingy on the top, and it now says "oem_locked" again.

When i try to boot the system it says:

No bootable A/B slot

Failed to boot Linux, falling back to fastboot

Boot up failed

I tried to unlock the phone again using "fastboot oem unlock MYKEY" on my computer it says:

(bootloader) feature disabled

OKAY [ 0.003s]

finished. total time: 0.004s

So i tried to flash back to the stock image as described here.

But i get a "remote failure" error after every command.

Here is the output from Powershell:

PS D:\Minimal ADB and Fastboot> ./fastboot oem fb_mode_set

...

FAILED (remote failure)

finished. total time: 0.002s

PS D:\Minimal ADB and Fastboot> ./fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (45 KB)...

OKAY [ 0.005s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'gpt.default.xml'

FAILED (remote failure)

finished. total time: 0.055s

PS D:\Minimal ADB and Fastboot> ./fastboot flash bootloader bootloader.img

target reported max download size of 536870912 bytes

sending 'bootloader' (7419 KB)...

OKAY [ 0.249s]

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 failure)

finished. total time: 0.437s

PS D:\Minimal ADB and Fastboot> ./fastboot flash modem_a NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem_a' (65396 KB)...

OKAY [ 2.147s]

writing 'modem_a'...

(bootloader) Invalid partition name modem_a

FAILED (remote failure)

finished. total time: 2.158s

PS D:\Minimal ADB and Fastboot> ./fastboot flash fsg_a fsg.mbn

target reported max download size of 536870912 bytes

sending 'fsg_a' (11684 KB)...

OKAY [ 0.379s]

writing 'fsg_a'...

(bootloader) Invalid partition name fsg_a

FAILED (remote failure)

finished. total time: 0.392s

PS D:\Minimal ADB and Fastboot> ./fastboot erase modemst1

erasing 'modemst1'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.010s

PS D:\Minimal ADB and Fastboot> ./fastboot erase modemst2

erasing 'modemst2'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.027s

PS D:\Minimal ADB and Fastboot> ./fastboot flash dsp_a adspso.bin

target reported max download size of 536870912 bytes

sending 'dsp_a' (16384 KB)...

OKAY [ 0.531s]

writing 'dsp_a'...

(bootloader) Invalid partition name dsp_a

FAILED (remote failure)

finished. total time: 0.538s

PS D:\Minimal ADB and Fastboot> ./fastboot flash logo_a logo.bin

target reported max download size of 536870912 bytes

sending 'logo_a' (1285 KB)...

OKAY [ 0.046s]

writing 'logo_a'...

(bootloader) Invalid partition name logo_a

FAILED (remote failure)

finished. total time: 0.057s

PS D:\Minimal ADB and Fastboot> ./fastboot flash boot_a boot.img

target reported max download size of 536870912 bytes

sending 'boot_a' (32768 KB)...

OKAY [ 1.085s]

writing 'boot_a'...

(bootloader) Invalid partition name boot_a

FAILED (remote failure)

finished. total time: 1.093s

PS D:\Minimal ADB and Fastboot> ./fastboot flash dtbo_a dtbo.img

target reported max download size of 536870912 bytes

sending 'dtbo_a' (1760 KB)...

OKAY [ 0.058s]

writing 'dtbo_a'...

(bootloader) Invalid partition name dtbo_a

FAILED (remote failure)

finished. total time: 0.066s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system_a' (258873 KB)...

OKAY [ 8.397s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.409s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system_a' (249260 KB)...

OKAY [ 8.139s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.153s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system_a' (262081 KB)...

OKAY [ 8.677s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.693s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system_a' (262141 KB)...

OKAY [ 8.533s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.540s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system_a' (257008 KB)...

OKAY [ 8.366s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.374s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.5

target reported max download size of 536870912 bytes

sending 'system_a' (242308 KB)...

OKAY [ 7.906s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 7.912s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.6

target reported max download size of 536870912 bytes

sending 'system_a' (262060 KB)...

OKAY [ 8.585s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.596s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.7

target reported max download size of 536870912 bytes

sending 'system_a' (255940 KB)...

OKAY [ 8.420s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.436s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.8

target reported max download size of 536870912 bytes

sending 'system_a' (261918 KB)...

OKAY [ 8.584s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 8.594s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_a system.img_sparsechunk.9

target reported max download size of 536870912 bytes

sending 'system_a' (83808 KB)...

OKAY [ 2.728s]

writing 'system_a'...

(bootloader) Invalid partition name system_a

FAILED (remote failure)

finished. total time: 2.738s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_b system_b.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system_b' (262140 KB)...

OKAY [ 8.349s]

writing 'system_b'...

(bootloader) Invalid partition name system_b

FAILED (remote failure)

finished. total time: 8.357s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_b system_b.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system_b' (262024 KB)...

OKAY [ 8.368s]

writing 'system_b'...

(bootloader) Invalid partition name system_b

FAILED (remote failure)

finished. total time: 8.376s

PS D:\Minimal ADB and Fastboot> ./fastboot flash system_b system_b.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system_b' (43968 KB)...

OKAY [ 1.414s]

writing 'system_b'...

(bootloader) Invalid partition name system_b

FAILED (remote failure)

finished. total time: 1.423s

PS D:\Minimal ADB and Fastboot> ./fastboot flash vendor_a vendor.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'vendor_a' (259120 KB)...

OKAY [ 8.524s]

writing 'vendor_a'...

(bootloader) Invalid partition name vendor_a

FAILED (remote failure)

finished. total time: 8.531s

PS D:\Minimal ADB and Fastboot> ./fastboot flash vendor_a vendor.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'vendor_a' (147628 KB)...

OKAY [ 4.843s]

writing 'vendor_a'...

(bootloader) Invalid partition name vendor_a

FAILED (remote failure)

finished. total time: 4.850s

PS D:\Minimal ADB and Fastboot> ./fastboot flash oem_a oem.img

target reported max download size of 536870912 bytes

sending 'oem_a' (103040 KB)...

OKAY [ 3.370s]

writing 'oem_a'...

(bootloader) Invalid partition name oem_a

FAILED (remote failure)

finished. total time: 3.377s

PS D:\Minimal ADB and Fastboot> ./fastboot flash oem_b oem_other.img

target reported max download size of 536870912 bytes

sending 'oem_b' (185456 KB)...

OKAY [ 6.032s]

writing 'oem_b'...

(bootloader) Invalid partition name oem_b

FAILED (remote failure)

finished. total time: 6.044s

PS D:\Minimal ADB and Fastboot> ./fastboot erase userdata

erasing 'userdata'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.016s

PS D:\Minimal ADB and Fastboot> ./fastboot erase DDR

erasing 'DDR'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.005s

PS D:\Minimal ADB and Fastboot> ./fastboot oem fb_mode_clear

...

OKAY [ 0.001s]

finished. total time: 0.005s

PS D:\Minimal ADB and Fastboot> ./fastboot reboot

rebooting...

finished. total time: 0.001s

And now i'm pretty lost and don't really know how to proceed. It would be great if somebody hat some advice :D