[Moto G5 Plus Questions & Answers] Dieterweireldt:
my wife plugged in her G5 plus into to plug last night and when she woke up it was turned off and doesn't respond to anything.. I tried using the volum - & power button to get it to recovery mode but it doesn't work. When I plug it in the white notification light blinks.. nothing has been tampered with (no custom flash or anything)

I browsed the forum and found some info at https://xdaforums.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016 but didn't get it to work since it was for a G4 plus:

- set pc to test mode

- installed Qualcomm drivers

- when phone is plugged into usb on PC I get a Qualcomm Device in COM3

- I tried using a blankflash batch file using Qboot 3.4 I found on other threads on the site but didn't work.. thread mentions a 3.85 for Oreo but can not find it

[ 0.000] Opening device: \\.\COM3
[ 0.003] Detecting device
[ 4.013] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error
[ 4.013] Check qboot_log.txt for more details
[ 4.014] Total time: 4.017s
[ 4.015]
[ 4.015] qboot version 3.40
[ 4.015]
[ 4.015] DEVICE {
[ 4.015] name = "\\.\COM3",
[ 4.015] flags = "0x64",
[ 4.015] addr = "0x61FE4C",
[ 4.015] api.bnr = "0x662F78",
[ 4.015] }
[ 4.015]
[ 4.015]
[ 4.015] Backup & Restore {
[ 4.015] num_entries = 0,
[ 4.015] restoring = "false",
[ 4.015] backup_error = "not started",
[ 4.015] restore_error = "not started",
[ 4.015] }
[ 4.015]

but when I keep running the batch (as stated in the thread, it can take some time to get a lock on the phone) I sometimes get something like this:

< waiting for device >
Motorola qboot utility version 3.40
[ 0.000] Opening device: \\.\COM3
[ 0.001] Detecting device
[ 0.004] ...cpu.id = 70 (0x46)
[ 0.004] ...cpu.sn = 2491206852 (0x947cccc4)
[ 0.005] Opening singleimage
[ 0.005] Loading package
[ 0.009] ...filename = singleimage.pkg.xml
[ 0.012] Loading programmer
[ 0.012] ...filename = programmer.mbn
[ 0.012] Sending programmer
[ 0.227] Handling things over to programmer
[ 0.227] Identifying CPU version
[ 0.229] Waiting for firehose to get ready
[ 11.348] ReadFile() failed, GetLastError()=0
[ 11.350] ReadFile() failed, GetLastError()=0
[ 21.133] ReadFile() failed, GetLastError()=0
[ 21.136] ReadFile() failed, GetLastError()=0
[ 60.543] Waiting for firehose to get ready
[ 63.543] WriteFile() failed, GetLastError()=0
[ 68.482] ReadFile() failed, GetLastError()=0
[120.661] ...MSM8953 unknown
[120.661] Determining target secure state
[120.664] Waiting for firehose to get ready
[180.865] ...secure = no
[180.891] Waiting for firehose to get ready
[240.957] Configuring device...
[240.960] Waiting for firehose to get ready
[301.630] Waiting for firehose to get ready
[360.485] ReadFile() failed, GetLastError()=0
[360.489] ReadFile() failed, GetLastError()=0
[364.229] Waiting for firehose to get ready
[424.262] Waiting for firehose to get ready
[484.384] ERROR: do_package()->do_recipe()->do_configure()->buffer_read()->devic
e_read()->IO error
[484.384] Check qboot_log.txt for more details
[484.384] Total time: 484.385s
FAILED: qb_flash_singleimage()->do_package()->do_recipe()->do_configure()->buffe
r_read()->device_read()->IO error

Anybody who can point me in the direction of the correct files to get it to work?