I have to say that this tutorial only aplies on the Moto G5 XT1670 with the firmware version NPP25.137-33. I don't know if it aplies to other model.
First you have to do is Download This Blankflash: https://forum.xda-developers.com/att...2&d=1527402415
You Can see the link of the thread of the blankflash owner here: https://forum.xda-developers.com/sho...23&postcount=5
Connect The Phone and Run the Blankflash as administrator.
the phone is going to reboot to fastboot (with black screen) you have to go to the device manager to see if the phone is connected as a Motorola ADB Interface. If everything goes well, you have to follow the next step...
Download This Firmware: https://forum.xda-developers.com/dev...t/dl/?id=28099
(If you have another firmware version search in the thread of the owner of the firmware file that I use to unbrick my phone here: https://forum.xda-developers.com/g5/...mware-t3733897 and see if it is available)
after downloading the firmware extract it, and using fastboot commands flash this FIRST
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash boot boot.img
then you have to flash this in order.
fastboot oem fb_mode_set
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash recovery recovery.img
fastboot flash logo logo.bin
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 oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
after that your phone should reboot to system normally, obviously you have to have the Motorola and qualcomm drivers installed, and android plataform-tools downloaded on your pc.
1. Andrej_SK https://forum.xda-developers.com/member.php?u=8851607 for the blankflash file
2. Livi-Tech https://forum.xda-developers.com/member.php?u=6402269 for the stock firmware files.
If you UNBRICK your phone using this Guide and want to thank me, Donate with Paypal Here: [email protected]