[Moto G6 Questions & Answers] josno:
Hello everyone, I own a Moto g6 xt1925-4 and I decided to root the device. First thing I unlocked the bootloader, it worked (with bad key logo). Second, I flashed TWRP, which I downloaded the IMG of from the official thread here on XDA. Third, I flashed the no-verity modified image: now I think I made a mistake because I flashed a OPS image which I should suppose is Oreo but the device was already updated to PIE.

Then the troubles started. I couldn't flash magisk, so I tricked too much on the MOUNT page on TWRP, perhaps I have mounted system or storage, then I also pulled out the USB cable without safe ejection and in the end, when I rebooted the phone in Bootloader mode and pushed Start, nothing happened at all.

I thought then: I have to restore to stock. I followed the procedure on the thread here on XDA, and I should say, something happened, but strange.

Now the phone boots up, but goes in a kind of a strange bootloop, because sometimes it says the "hello moto", sometimes not, sometimes it even starts the initial configuration, but the screen flashes on and off at random, and a few centimeters of the bottom screen are black. This happened also on TWRP recovery, the bottom part of the screen appeared cut by 2/3 centimeters.

Now I surely made mistakes, but I can't get what's wrong, and most of all this in going to get me crazy. I'm near to desperation, so I pray you to help me, please!

This is the result of the stock firmware flash I tried twice. I can see a couple of "failed" and "no such files"

Microsoft Windows XP [Versione 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\Programmi\Minimal ADB and Fastboot>fastboot flash partition gpt.bin

target reported max download size of 534773760 bytes

sending 'partition' (45 KB)...

OKAY [ 0.020s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'gpt.default.xml'

FAILED (remote failure)

finished. total time: 0.090s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash bootloader bootloader.img

target reported max download size of 534773760 bytes

sending 'bootloader' (7419 KB)...

OKAY [ 0.250s]

writing 'bootloader'...

(bootloader) Validating 'bootloader.default.xml'

(bootloader) Security version downgrade

(bootloader) Image aboot failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'bootloader.default.xml'

FAILED (remote failure)

finished. total time: 0.461s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin

target reported max download size of 534773760 bytes

sending 'modem' (71577 KB)...

OKAY [ 10.255s]

writing 'modem'...

OKAY [ 0.571s]

finished. total time: 10.836s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn

target reported max download size of 534773760 bytes

sending 'fsg' (6780 KB)...

OKAY [ 2.464s]

writing 'fsg'...

OKAY [ 0.100s]

finished. total time: 2.564s

C:\Programmi\Minimal ADB and Fastboot>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.020s]

finished. total time: 0.020s

C:\Programmi\Minimal ADB and Fastboot>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.020s]

finished. total time: 0.020s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash bluetooth BTFM.bin

error: cannot load 'BTFM.bin': No such file or directory

C:\Programmi\Minimal ADB and Fastboot>fastboot flash dsp dspso.bin

error: cannot load 'dspso.bin': No such file or directory

C:\Programmi\Minimal ADB and Fastboot>fastboot flash boot boot.img

target reported max download size of 534773760 bytes

sending 'boot' (22528 KB)...

OKAY [ 3.515s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.300s]

finished. total time: 3.815s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.0

target reported max download size of 534773760 bytes

sending 'system' (259756 KB)...

OKAY [ 65.294s]

writing 'system'...

OKAY [ 2.293s]

finished. total time: 67.587s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.1

target reported max download size of 534773760 bytes

sending 'system' (253441 KB)...

OKAY [ 27.379s]

writing 'system'...

OKAY [ 1.763s]

finished. total time: 29.142s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.2

target reported max download size of 534773760 bytes

sending 'system' (254074 KB)...

OKAY [ 32.957s]

writing 'system'...

OKAY [ 1.773s]

finished. total time: 34.730s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.3

target reported max download size of 534773760 bytes

sending 'system' (260545 KB)...

OKAY [ 44.554s]

writing 'system'...

OKAY [ 1.803s]

finished. total time: 46.357s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.4

target reported max download size of 534773760 bytes

sending 'system' (259733 KB)...

OKAY [ 28.171s]

writing 'system'...

OKAY [ 1.813s]

finished. total time: 29.983s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.5

target reported max download size of 534773760 bytes

sending 'system' (246724 KB)...

OKAY [ 36.092s]

writing 'system'...

OKAY [ 1.682s]

finished. total time: 37.794s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.6

target reported max download size of 534773760 bytes

sending 'system' (246141 KB)...

OKAY [ 24.425s]

writing 'system'...

OKAY [ 1.702s]

finished. total time: 26.148s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.7

target reported max download size of 534773760 bytes

sending 'system' (262029 KB)...

OKAY [ 26.448s]

writing 'system'...

OKAY [ 1.933s]

finished. total time: 28.391s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.8

target reported max download size of 534773760 bytes

sending 'system' (262001 KB)...

OKAY [ 26.198s]

writing 'system'...

OKAY [ 1.803s]

finished. total time: 28.010s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu

nk.9

target reported max download size of 534773760 bytes

sending 'system' (25072 KB)...

OKAY [ 2.654s]

writing 'system'...

OKAY [ 0.170s]

finished. total time: 2.824s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash vendor vendor.img_sparsechu

nk.0

target reported max download size of 534773760 bytes

sending 'vendor' (260148 KB)...

OKAY [ 35.711s]

writing 'vendor'...

OKAY [ 2.023s]

finished. total time: 37.744s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash vendor vendor.img_sparsechu

nk.1

target reported max download size of 534773760 bytes

sending 'vendor' (178315 KB)...

OKAY [ 16.644s]

writing 'vendor'...

OKAY [ 1.412s]

finished. total time: 18.056s

C:\Programmi\Minimal ADB and Fastboot>fastboot erase carrier

erasing 'carrier'...

OKAY [ 0.040s]

finished. total time: 0.040s

C:\Programmi\Minimal ADB and Fastboot>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.080s]

finished. total time: 0.080s

C:\Programmi\Minimal ADB and Fastboot>fastboot erase DDR

erasing 'DDR'...

OKAY [ 0.010s]

finished. total time: 0.010s

C:\Programmi\Minimal ADB and Fastboot>fastboot flash logo logo.bin

target reported max download size of 534773760 bytes

sending 'logo' (2182 KB)...

OKAY [ 0.681s]

writing 'logo'...

OKAY [ 0.060s]

finished. total time: 0.751s

C:\Programmi\Minimal ADB and Fastboot>fastboot reboot

EDIT:

Good news, at least for me. I solved by flashing the PIE STOCK ROM, despite I liked OREO the most, I find this PIE slower and less smooth but anyways, that's it, I have my phone back.

But still..... I can't get the root, but that's fine, I'm still enjoying the feel of victory... maybe I'll try, some day...