Moto G5 Plus totally dead, stuck on AP Fastboot Flash Mode (Secure)

Kumarvicky12

Member
Mar 16, 2016
20
1
0
Hello friends,
Plz help my Moto G5 Plus xt686 is totally dead. I tried flashing stock rom via fastboot. But it's not working, phone still in fastboot stuck condition. Also tried RSD lite tool and Lenovo repair assistant both are not reading my device. Tried unlocking bootloader but getting read datablock error. Tried flashing naugat and oreo roms. Plz spare your valuable time to help me out. Regards.
 

Attachments

riyan65

Senior Member
Mar 22, 2018
797
215
0
Hello friends,
Plz help my Moto G5 Plus xt686 is totally dead. I tried flashing stock rom via fastboot. But it's not working, phone still in fastboot stuck condition. Also tried RSD lite tool and Lenovo repair assistant both are not reading my device. Tried unlocking bootloader but getting read datablock error. Tried flashing naugat and oreo roms. Plz spare your valuable time to help me out. Regards.
Did you Try flashing latest stock firmware, and did bootloader and gpt got flashed successful?
 

Kumarvicky12

Member
Mar 16, 2016
20
1
0
What error it give?
plz go through logs

C:\Minimal ADB and Fastboot>echo off
max-sparse-size: 268435456
finished. total time: 0.000s
...
FAILED (remote failure)
finished. total time: 0.016s
target reported max download size of 534773760 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) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 0.086s
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.125s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition aboot
FAILED (remote failure)
finished. total time: 0.328s
target reported max download size of 534773760 bytes
sending 'modem' (71921 KB)...
OKAY [ 1.578s]
writing 'modem'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 1.594s
target reported max download size of 534773760 bytes
sending 'fsg' (3012 KB)...
OKAY [ 0.063s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 0.078s
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.369s]
writing 'dsp'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition dsp
FAILED (remote failure)
finished. total time: 0.377s
target reported max download size of 534773760 bytes
sending 'logo' (2186 KB)...
OKAY [ 0.047s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 0.062s
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.375s]
writing 'boot'...
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.547s
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.453s]
writing 'recovery'...
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.672s
target reported max download size of 534773760 bytes
sending 'system' (258396 KB)...
OKAY [ 5.670s]
writing 'system'...
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.718s
target reported max download size of 534773760 bytes
sending 'system' (256514 KB)...
OKAY [ 5.660s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.676s
target reported max download size of 534773760 bytes
sending 'system' (246302 KB)...
OKAY [ 5.473s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.489s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 5.770s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.785s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 5.771s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.786s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 5.779s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.795s
target reported max download size of 534773760 bytes
sending 'system' (250531 KB)...
OKAY [ 5.542s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.558s
target reported max download size of 534773760 bytes
sending 'system' (262059 KB)...
OKAY [ 5.802s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.833s
target reported max download size of 534773760 bytes
sending 'system' (254142 KB)...
OKAY [ 5.614s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.629s
target reported max download size of 534773760 bytes
sending 'oem' (104608 KB)...
OKAY [ 2.315s]
writing 'oem'...
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.362s
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: -0.000s
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.016s
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.016s
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: -0.000s
erasing 'DDR'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.000s
target reported max download size of 534773760 bytes
sending 'fsg' (3012 KB)...
OKAY [ 0.063s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 0.078s
...
FAILED (remote failure)
finished. total time: 0.000s
-------------------------------------------------------------------------
please scroll up and check your flash for any errors
-------------------------------------------------------------------------
Press any key to continue . . .
 

roundaway

Senior Member
Dec 9, 2009
206
32
48
USA
You flashed stock Oreo using fastboot commands or using a zip file and TWRP recovery? Was the bootloader unlocked before flashing? You never want to downgrade the firmware for risk of bricking due to the bootloader version. From the picture it looks like you have the Oreo bootloader.

Just guessing, but if trying to unlock the bootloader then you also need access to Motorola's website...at least that's what this web article says: https://devsjournal.com/moto-g5-plus-unlocking-the-bootloader.html
 

riyan65

Senior Member
Mar 22, 2018
797
215
0
plz go through logs

C:\Minimal ADB and Fastboot>echo off
max-sparse-size: 268435456
finished. total time: 0.000s
...
FAILED (remote failure)
finished. total time: 0.016s
target reported max download size of 534773760 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) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 0.086s
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.125s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition aboot
FAILED (remote failure)
finished. total time: 0.328s
target reported max download size of 534773760 bytes
sending 'modem' (71921 KB)...
OKAY [ 1.578s]
writing 'modem'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 1.594s
target reported max download size of 534773760 bytes
sending 'fsg' (3012 KB)...
OKAY [ 0.063s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 0.078s
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.369s]
writing 'dsp'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition dsp
FAILED (remote failure)
finished. total time: 0.377s
target reported max download size of 534773760 bytes
sending 'logo' (2186 KB)...
OKAY [ 0.047s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 0.062s
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.375s]
writing 'boot'...
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.547s
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.453s]
writing 'recovery'...
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.672s
target reported max download size of 534773760 bytes
sending 'system' (258396 KB)...
OKAY [ 5.670s]
writing 'system'...
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.718s
target reported max download size of 534773760 bytes
sending 'system' (256514 KB)...
OKAY [ 5.660s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.676s
target reported max download size of 534773760 bytes
sending 'system' (246302 KB)...
OKAY [ 5.473s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.489s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 5.770s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.785s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 5.771s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.786s
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 5.779s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.795s
target reported max download size of 534773760 bytes
sending 'system' (250531 KB)...
OKAY [ 5.542s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.558s
target reported max download size of 534773760 bytes
sending 'system' (262059 KB)...
OKAY [ 5.802s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.833s
target reported max download size of 534773760 bytes
sending 'system' (254142 KB)...
OKAY [ 5.614s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.629s
target reported max download size of 534773760 bytes
sending 'oem' (104608 KB)...
OKAY [ 2.315s]
writing 'oem'...
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.362s
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: -0.000s
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.016s
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.016s
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: -0.000s
erasing 'DDR'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.000s
target reported max download size of 534773760 bytes
sending 'fsg' (3012 KB)...
OKAY [ 0.063s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 0.078s
...
FAILED (remote failure)
finished. total time: 0.000s
-------------------------------------------------------------------------
please scroll up and check your flash for any errors
-------------------------------------------------------------------------
Press any key to continue . . .
Mostly you device gpt table got corrupted or your emmc storage is failing. I suggest you to flash gpt table of different firmware ,Maybe it will help.
 

Kumarvicky12

Member
Mar 16, 2016
20
1
0
You flashed stock Oreo using fastboot commands or using a zip file and TWRP recovery? Was the bootloader unlocked before flashing? You never want to downgrade the firmware for risk of bricking due to the bootloader version. From the picture it looks like you have the Oreo bootloader.

Just guessing, but if trying to unlock the bootloader then you also need access to Motorola's website...at least that's what this web article says: https://devsjournal.com/moto-g5-plus-unlocking-the-bootloader.html
i never tried any custom ro on this mobile. it was neither unlocked. it automatically got in this condition. i didn't done anything with it.
 

Kumarvicky12

Member
Mar 16, 2016
20
1
0
I believe you have a problem with your phone internal memory.




Enviado de meu Moto G (5) Plus usando o Tapatalk
C:\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C0.92(*)
(bootloader) product: potter
(bootloader) board: potter
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 6
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG RX14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: 6839d8c1
(bootloader) cid: 0xDEAD
(bootloader) channelid: 0x00
(bootloader) uid: 4FA26E6C00000000000000000000
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: n/a
(bootloader) max-download-size: 534773760
(bootloader) reason: Last time flashing failed
(bootloader) imei: 000000000000000
(bootloader) meid:
(bootloader) date: 01-01-1970
(bootloader) sku: 000000000000000
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint:
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full:
(bootloader) ro.build.version.qcom:
(bootloader) version-baseband:
(bootloader) kernel.version:
(bootloader) sbl1.git: sbl1.git
(bootloader) rpm.git: rpm.git
(bootloader) tz.git: tz.git
(bootloader) devcfg.git: devcfg.git
(bootloader) keymaster.git: keymaster.git
(bootloader) cmnlib.git: cmnlib.git
(bootloader) cmnlib64.git: cmnlib64.git
(bootloader) prov.git: prov.git
(bootloader) aboot.git: git=MBM-NG-VC0.92-0-g3ea8df0
(bootloader) frp-state: no protection (err)
(bootloader) ro.carrier:
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
finished. total time: 0.156s
 

Kumarvicky12

Member
Mar 16, 2016
20
1
0
You flashed stock Oreo using fastboot commands or using a zip file and TWRP recovery? Was the bootloader unlocked before flashing? You never want to downgrade the firmware for risk of bricking due to the bootloader version. From the picture it looks like you have the Oreo bootloader.

Just guessing, but if trying to unlock the bootloader then you also need access to Motorola's website...at least that's what this web article says: https://devsjournal.com/moto-g5-plus-unlocking-the-bootloader.html
my device is not getting recognised as adb device, but only fastboot device, i am unable to get unlock data. plz check below
C:\Minimal ADB and Fastboot>adb device
adb: usage: unknown command device

C:\Minimal ADB and Fastboot>fastboot oem get_unlock_data
...
(bootloader) Unlock data:
(bootloader) read datablock error
(bootloader) Failed
OKAY [ 0.016s]
finished. total time: 0.016s

C:\Minimal ADB and Fastboot>fastboot devices
6839d8c1 fastboot

C:\Minimal ADB and Fastboot>
 

roundaway

Senior Member
Dec 9, 2009
206
32
48
USA
my device is not getting recognised as adb device, but only fastboot device, i am unable to get unlock data. plz check below
C:\Minimal ADB and Fastboot>adb device
adb: usage: unknown command device

C:\Minimal ADB and Fastboot>fastboot oem get_unlock_data
...
(bootloader) Unlock data:
(bootloader) read datablock error
(bootloader) Failed
OKAY [ 0.016s]
finished. total time: 0.016s

C:\Minimal ADB and Fastboot>fastboot devices
6839d8c1 fastboot

C:\Minimal ADB and Fastboot>
Here's what I recommend. Download the official Motorola G5 Plus (Potter) Oreo firmware, POTTER_RETAIL_8.1.0_OPSS28.85-17-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip from whatever site you can find it (https://mirrors.lolinet.com/firmware/moto/potter/official/RETAIL/). Extract the zip file in the same folder as fastboot.exe.
With the phone in fastboot mode execute each of the following commands one at a time:

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot

If the phone reboots and starts up then great. After it starts go to Settings and enable Developer Options. In Developer Options enable ADB and OEM Unlock.
If the phone doesn't boot properly then sorry. You will have tried to install the official retail version.
 

MaxPowell2

New member
Oct 17, 2020
1
0
0
same phone same error

I have the same phone and got these results with roundaway suggestion

C:\Users\Ema-Maby\Desktop\Programas\motoG5PPLUS\CEDRIC_RETAIL_8.1.0_OPPS28.85-16-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.002s

C:\Users\Ema-Maby\Desktop\Programas\motoG5PPLUS\CEDRIC_RETAIL_8.1.0_OPPS28.85-16-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.018s]
writing 'partition'...
(bootloader) no suitable package!
FAILED (remote failure)
finished. total time: 0.048s

the phone shows no IMEI "0000000" no baseband "blank space" and no product/variant "potter 0000000000000000" i belive it is a hardware malfunction at this point I have tried everything I could find in the forums
 

roundaway

Senior Member
Dec 9, 2009
206
32
48
USA
I have the same phone and got these results with roundaway suggestion

C:\Users\Ema-Maby\Desktop\Programas\motoG5PPLUS\CEDRIC_RETAIL_8.1.0_OPPS28.85-16-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.002s

C:\Users\Ema-Maby\Desktop\Programas\motoG5PPLUS\CEDRIC_RETAIL_8.1.0_OPPS28.85-16-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.018s]
writing 'partition'...
(bootloader) no suitable package!
FAILED (remote failure)
finished. total time: 0.048s

the phone shows no IMEI "0000000" no baseband "blank space" and no product/variant "potter 0000000000000000" i belive it is a hardware malfunction at this point I have tried everything I could find in the forums
Confirm the ROM you tried to install is the correct one for your phone:
Moto G5 Plus = potter
Moto G5 = cedric

Also, the files to be flashed should be in the same folder as the fastboot.exe files.

There are multiple problems with the phones. One is it won't accept a fastboot flash of factory firmware. Second problem might show up after/if the phone reboots and that is the infamous IMEI = 0.

The OP's getvar all command didn't reveal the (bootloader) ro.build.fingerprint information which would tell us the firmware version installed. However, the bootloader number appears to be the current Oreo version. That was one reason for flashing the latest version of the Oreo firmware.

The only other thing to try would be to download the latest version of TWRP into the same folder as fastboot.exe and try:
fastboot boot twrp.img (where twrp.img is the filename of the latest twrp)
If the phone boots into twrp then download the latest twrp flashable Oreo and copy and paste to the phone. Try and Install it. Big longshot because the bootloader is probably locked..
 
Last edited: