Moto g5 boot loop

paquitoes

Member
Jul 6, 2018
5
0
0
Hello
I a moto g5 that does bot have a system ,when turn on it , stay in fastboot mode



I tried to flash but i get these errors

 
Last edited:

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Hello
I a moto g5 that does bot have a system ,when turn on it , stay in fastboot mode



I tried to flash but i get these errors


Looks like you have a locked bootloader

You need to flash the exact same version of the firmware that is currently on your device

If you have previously unlocked the bootloader and locked it again the chances are you will not be able to flash firmware (especially if it locked incorrectly causing the phone to be bricked) - this is why you should never lock the bootloader again after unlock

You can try and flash the rest of the firmware without gpt and bootloader and these aren't needed if you are flashing the same android version

You will just have to try firmware until you find one that works or take it to a repair shop where they can use specialist hardware

Firmware can be found
https://mirrors.lolinet.com/firmware/moto/cedric/official/
 
Last edited:

paquitoes

Member
Jul 6, 2018
5
0
0
what's wrong? I don't understand these lines (bootloader) slot-count: not found (bootloader) slot-suffixes: not found (bootloader) slot-suffixes: not found (bootloader) has-slot:partition: not found

Code:
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
Code:
fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [  0.013s]
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.122s
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
what's wrong? I don't understand these lines (bootloader) slot-count: not found (bootloader) slot-suffixes: not found (bootloader) slot-suffixes: not found (bootloader) has-slot:partition: not found

Code:
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
Code:
fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [  0.013s]
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.122s
They are normal

The line that causing your error is
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed

Reasons why are in my previous post but it's because your device has a locked bootloader and is looking for a specific signature from the firmware you are flashing.

To me I would guess the device was previously unlocked as it states system modified but you have relocked the bootloader as it states oem-locked
If this is the case the chances are you will never get gpt & bootloader to validate especially if the re-locking process wasn't done correctly
You can try different firmware as stated in my previous post or take to a repair shop
 
Last edited: