[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] PSMDRT:
Hi [MENTION=7843165]siddhesh9146[/MENTION]

I tried flashing https://xdaforums.com/g5-plus/how-to/stock-firmware-npn25-137-67-5-fastboot-t3694738 once again. This time I have used this command fastboot -w just to see if this makes any difference.

Here is the output I got. Of course, the response was same. My didn't boot up this time as well. But, could you please see the following output and suggest any changes to be done in the process to bring back my phone.

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot -w

erasing 'userdata'...

OKAY [ 0.047s]

formatting 'userdata' partition...

Erase successful, but not automatically formatting.

File system type raw not supported.

OKAY [ 0.015s]

erasing 'cache'...

OKAY [ 0.013s]

formatting 'cache' partition...

Erase successful, but not automatically formatting.

File system type raw not supported.

OKAY [ 0.013s]

finished. total time: 0.088s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot devices

ZY223Z7XPX fastboot

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot -w

erasing 'userdata'...

OKAY [ 0.048s]

formatting 'userdata' partition...

Erase successful, but not automatically formatting.

File system type raw not supported.

OKAY [ 0.015s]

erasing 'cache'...

OKAY [ 0.013s]

formatting 'cache' partition...

Erase successful, but not automatically formatting.

File system type raw not supported.

OKAY [ 0.013s]

finished. total time: 0.089s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock

...

(bootloader) WARNING: This command erases all user data.

(bootloader) Please re-run this command to continue.

OKAY [ -0.000s]

finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock

...

(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer

(bootloader) Options

OKAY [ 0.000s]

finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (94831 KB)...

OKAY [ 3.030s]

writing 'oem'...

OKAY [ 0.786s]

finished. total time: 3.816s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (517379 KB)...

OKAY [ 16.514s]

writing 'system'...

OKAY [ 4.117s]

finished. total time: 20.631s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (500979 KB)...

OKAY [ 15.997s]

writing 'system'...

OKAY [ 4.070s]

finished. total time: 20.068s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (523539 KB)...

OKAY [ 16.688s]

writing 'system'...

OKAY [ 3.681s]

finished. total time: 20.369s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (506655 KB)...

OKAY [ 16.147s]

writing 'system'...

OKAY [ 3.819s]

finished. total time: 19.967s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (444811 KB)...

OKAY [ 14.188s]

writing 'system'...

OKAY [ 3.460s]

finished. total time: 17.649s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.549s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.333s]

finished. total time: 0.882s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock

...

(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer

(bootloader) Options

OKAY [ -0.000s]

finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem fb_mode_set

...

OKAY [ -0.000s]

finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (45 KB)...

OKAY [ -0.000s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Committing 'gpt.default.xml'

(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

OKAY [ 0.156s]

finished. total time: 0.156s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash bootloader bootloader.img

target reported max download size of 536870912 bytes

sending 'bootloader' (5115 KB)...

OKAY [ 0.172s]

writing 'bootloader'...

(bootloader) Validating 'bootloader.default.xml'

(bootloader) Security version downgrade

(bootloader) Image tz failed validation

(bootloader) Preflash validation failed

(bootloader) Security version downgrade

(bootloader) Image devcfg failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'bootloader.default.xml'

FAILED (remote failure)

finished. total time: 0.453s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash logo logo.bin

target reported max download size of 536870912 bytes

sending 'logo' (2186 KB)...

OKAY [ 0.078s]

writing 'logo'...

OKAY [ 0.071s]

finished. total time: 0.149s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.560s]

writing 'boot'...

(bootloader) Image signed with key bad key

OKAY [ 0.318s]

finished. total time: 0.878s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash recovery recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (20580 KB)...

OKAY [ 0.688s]

writing 'recovery'...

(bootloader) Image signed with key bad key

OKAY [ 0.380s]

finished. total time: 1.068s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash dsp adspso.bin

target reported max download size of 536870912 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.529s]

writing 'dsp'...

OKAY [ 0.167s]

finished. total time: 0.696s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (94831 KB)...

OKAY [ 3.018s]

writing 'oem'...

OKAY [ 0.767s]

finished. total time: 3.785s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (517379 KB)...

OKAY [ 16.498s]

writing 'system'...

OKAY [ 4.160s]

finished. total time: 20.658s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (500979 KB)...

OKAY [ 15.996s]

writing 'system'...

OKAY [ 4.062s]

finished. total time: 20.058s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (523539 KB)...

OKAY [ 16.674s]

writing 'system'...

OKAY [ 3.694s]

finished. total time: 20.368s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (506655 KB)...

OKAY [ 16.151s]

writing 'system'...

OKAY [ 3.819s]

finished. total time: 19.970s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (444811 KB)...

OKAY [ 14.175s]

writing 'system'...

OKAY [ 3.467s]

finished. total time: 17.642s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4

target reported max download size of 536870912 bytes

sending 'system' (444811 KB)...

OKAY [ 14.188s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 14.219s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash modem NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (75160 KB)...

OKAY [ 2.407s]

writing 'modem'...

OKAY [ 0.631s]

finished. total time: 3.039s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.027s]

finished. total time: 0.027s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.016s]

finished. total time: 0.031s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash fsg fsg.mbn

target reported max download size of 536870912 bytes

sending 'fsg' (2500 KB)...

OKAY [ 0.078s]

writing 'fsg'...

OKAY [ 0.086s]

finished. total time: 0.164s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase cache

erasing 'cache'...

OKAY [ -0.000s]

finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase userdata

erasing 'userdata'...

OKAY [ 0.040s]

finished. total time: 0.040s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase customize

erasing 'customize'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase clogo

erasing 'clogo'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem fb_mode_clear

...

OKAY [ 0.000s]

finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot reboot

rebooting...

finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools> [/COLOR]