yashsingh1/xdaforums huggingface dataset:
[Moto G5 Guides, News, & Discussion] riyan65:
I have Connected to charger, now also I it didn't boot up, you can see here:-https://drive.google.com/file/d/1eSZ5AkU9BiBDcg4rV6ytYVn5VrSBXOod/view?usp=drivesdk
[Moto G5 Guides, News, & Discussion] TheFixItMan:
I did say remove any connection to the phone - don't have it plugged into anything until you have access to bootloader (assuming you have fully charged the phone)

If you can't access the bootloader menu you will need to use a different sd card of 64gb

This is assuming it's a bootloader issue and you don't have a motherboard fault in which case you will need to replace the motherboard
[Moto G5 Guides, News, & Discussion] mtthws01:
I followed all steps using a 64gb sd (changing only the letter of usb port) and i have this

https://prnt.sc/n4d3qp (i THINK that was a sucess)

but, when i put the sd at phone, nothing happen... it only blink the led when i put the charger
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Charge the phone up fully

Remove the charger

Put sdcard card in phone

Hold Vol down and power button

If successful your phone will now be in bootloader mode

If not try a different sdcard

If you can't get it working your only option maybe a motherboard replacement

I can't help you any other way
[Moto G5 Guides, News, & Discussion] mtthws01:
One doubt: the screen of charging appears normally?

Because my phone only blink the led
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Nothing on your phone will work until you entered bootloader mode and reflashed the firmware correctly

Obviously this will only work if your phone has a fault with the bootloader due to incorrect flashing of firmware - if it has any kind of motherboard fault this will not help you
[Moto G5 Guides, News, & Discussion] rokolaxo:
I did something wrong...

Hi friend, I'm trying to do all the steps but trying to boot linux on my pc (by putting the commands) linux freezes and the mouse and keyboard do not respond, is the second time that happens to me, The worst thing is that the internal hard drive had new and several strange hard drives. . Will I be copying something wrong? sorry google translator

My phone is an XT 1670
[Moto G5 Guides, News, & Discussion] TheFixItMan:
I've no idea what you are doing

And anyway - as the guide suggests all you need is Linux Live which can be run off a USB stick or dvd - no hard drives are required
[Moto G5 Guides, News, & Discussion] rokolaxo:
Thank you for responding, I still here trying to solve, I have a problem when flashing gtp.bin I get error :(

---------- Post added at 07:29 PM ---------- Previous post was at 07:28 PM ----------

Thank you for responding, I still here trying to solve, I have a problem when flashing gtp.bin I get error :(
[Moto G5 Guides, News, & Discussion] TheFixItMan:
If it says security downgrade error the firmware you are trying to flash is too old

Firmware must be the same or newer than what is currently on your phone

Firmware is available from

https://mirrors.lolinet.com/firmware/moto/cedric/official/
[Moto G5 Guides, News, & Discussion] rokolaxo:
Oreo?

To install oreo, I put the same commands on page 1? my cell phone is brick by going from 7 to 8.1 and after 8.1 to 7

---------- Post added at 08:19 PM ---------- Previous post was at 07:41 PM ----------

Thanks, I was able to relive my Moto g5 xt1040! :D
[Moto G5 Guides, News, & Discussion] TheFixItMan:
You will need to flash what ever gpt and bootloader that is the same or newer than the 8.1 you flashed

You cannot downgrade the bootloader hence why you bricked

Flash the latest firmware for your region from the link I previously gave

If you want 7 firmware after that flash everything from that firmware except gpt and bootloader however you may find some things like fingerprint will not work
[Moto G5 Guides, News, & Discussion] rokolaxo:
I put 8.1 in it and everything's okay but see that I am without signal nor 4g :(
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Flash a custom rom - try a 7.1 8 and 9

If you find one that gives you signal backup the efs partition

Flash stock again and then restore that efs partition

Use this twrp to backup efs partition if you don't know terminal commands - backup like any other partition in twrp

https://xdaforums.com/g5/help/help-testing-build-twrp-arm64-t3874472
[Moto G5 Guides, News, & Discussion] rokolaxo:
I have no idea what custom room I can put to repair the IMEI, if you could help me would be very kind as my cell phone is my work tool :/
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Try reading this

https://xdaforums.com/g5/how-to/guide-recover-imei-detailed-t3818034

I've not tried or tested any method - you will have to find what works for your device
[Moto G5 Guides, News, & Discussion] pedrolaoch:
I'm with the same problem, did you solve it?
[Moto G5 Guides, News, & Discussion] douglasndm:
How did you do it?

I'm trying with same model and it doesn't work. Which buttons did u press for the boot?

Estou tentando com o mesmo modelo e não funcionou. Quais botões você apertou para fazer o boot?
[Moto G5 Guides, News, & Discussion] pedrolaoch:
volume - together with the power button

volume - junto com o botão ligar

volume - junto com o power o meu tbm nao responde
[Moto G5 Guides, News, & Discussion] grosobart:
hello friend thank you very much I managed to revive my motorcycle xt1670, now I have to leave the memory card placed not start without it right? Can not I use it as storage again? Thank you very much for your work

also disappeared my number of imei as I recover it? thank you
[Moto G5 Guides, News, & Discussion] TheFixItMan:
If you have successfully flashed gpt and bootloader you no longer need the sdcard

If you remove the sd card and your phone turns on and boots normally then you have successfully flashed gpt and bootloader & the rest of the firmware

You can then format the sd card or do what ever you like with it

Imei may be gone due to flashing of certain custom roms - I suggest flashing those customs rom again and see if you get network - if you do backup your efs partition in twrp (64bit versions allows this) and then flash stock again and restore your efs partition

You will have to work out how to restore this yourself if you can't work it out
[Moto G5 Guides, News, & Discussion] Big-Schrotty:
So, now i bricked my Phone.

Moto G5 Cedric, XT1676, 2/16GB RETEU Version, Bootloader 8.25

I was on Pixel Experience ROM, wanted to reset it for a friend.

Relocked successfully the bootloader with Oreo Image from lollinet, Phone started normally, i did a configuration to test and update the software, Moto Assistant downloaded the last official OTA Update and did a reboot to install it, installation starts and then the phone reboots to...black screen and blink LED.

Just downloaded the mmcblk0 image and flashed with Mint Live USB Stick to 3 different SD cards, 64GB San Disk, 64GB San Disk Extreme and Treckstore 64GB SD card with no luck, Phone dosn't boot. Try to flash a Samsung 64GB Evo Pro SD Card...will see if it works.
[Moto G5 Guides, News, & Discussion] riyan65:
It seems you need a latest mmcblk0 image as you are on latest bootloader.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Shouldn't make any difference as the bootloader is loaded from sd card

Long as the path to the sd card is correct and the command done as root

You then just have to hold Vol down and power button to enter the bootloader
[Moto G5 Guides, News, & Discussion] riyan65:
Does it work if the bootloader is old also???
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Yes
[Moto G5 Guides, News, & Discussion] Palenske:
I'm with a moto g5 cedric XT1672 (BRA) with brick a few days ago. I tried to recover it in several ways and still did not succeed, I used the procedure with the SD card (64gb) to emulate mmcblk0.img and the procedure with the Qfil application to reprogram the loader, both done in several different ways (linux, rufus 2.18, Win32DiskImager, minitools, etc ...) and none worked.

I think by posting some features of my device, how it came to behave in the attempts and how it was before that, I can help with the study for a solution.

-Unlocked and Root Bootloader

-I was with TWRP, but after a system restore I had to reinstall the stock room, returning to the original recovery of the device. After that, the upgrade to oreo 8.1 was made. And then came the state of Brick.

-The SD method with mmcblk0, both done in rufus and Linux, the cell phone responds in the same way: It does not connect, and when it starts to load it keeps flashing continuously, almost all procedures were like this.

There was an attempt with a different mmcblk0 and the same version (1672), and another attempt with an img of another version. And both answered in the same way: No call, but when put to charge it only blinks once and stops. But it does not respond to any command.

-On the computer it is recognized as "Qualcomm HS-USB QDLoader 9008", and only that, does not appear the "Qualcomm MMC Storage USB Device" storage device. Detail: After a time connected to the pc, usually when I use Qfil, the cell stops blinking (without the SD card).

I think of two things:

It is not recognizing the systems I am trying to emulate, but it reacts when I change the image version (mmcblk0). So it is dialoguing with SD, but it is not recognizing the system that is in it and starting the bootloader.

For this first reason, at the device settings, I think that an alternative to be tried is: Extract the loader.img (with TWRP and etc) from a g5 xt1672 bike running with oreo 8.1 with root and such, and mount a mmcblk0.img that the bricked device recognizes once it has attempted to upgrade to oreo 8.1 in conditions similar to those I have described. (is it possible to rename the xxx.img after the upgrade?). And then do the procedure with the SD card to start the bootloader...

Could this work? Or at least one direction for some solution?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Please read the guide fully! At no point do I mention to use rufus or any other method! Why? Because it won't work!

Why do you think I wrote the guide on first post? If you don't follow it or post you have tried xyz method which is not related to the first post you won't get any help from me

Follow the guide on the first post - and then once the sdcard is created using the method and only the method on the first post can you then use it in your phone and then press and hold Vol down & power button to enter bootloader mode and flash the firmware

If you use images that are not from the first post you will need to ask the creator their commands to flash the image to your sdcard
[Moto G5 Guides, News, & Discussion] Palenske:
I did the procedure in the first post and it still did not work. The only step that I had doubts about was the battery of the cell phone. How do I know my moto g5 is charging? Does the led blinking have anything to do with the charging?

Thanks

Log of SD make:

root@mint:/media/mint/DE828BF9828BD505/Users/Usuário/Downloads# sudo dd bs=4M if=mmcblk0.img of=/dev/sdc status=progress oflag=sync

31268536320 bytes (31 GB, 29 GiB) copied, 2371 s, 13.2 MB/s

7455+0 records in

7455+0 records out

31268536320 bytes (31 GB, 29 GiB) copied, 2371.24 s, 13.2 MB/s

root@mint:/media/mint/DE828BF9828BD505/Users/Usuário/Downloads#
[Moto G5 Guides, News, & Discussion] TheFixItMan:
You may need to use a different sdcard, JTAG (repair shop) or a motherboard replacement

If you want a different image please create a separate thread

See the below thread for guide

https://xdaforums.com/moto-g5s/how-to/guide-how-to-create-mmcblk0-img-device-t3803176
[Moto G5 Guides, News, & Discussion] Palenske:
Do not yet have a mmcblk0 of cedric XT1672 updated with oreo 8.1?

)=
[Moto G5 Guides, News, & Discussion] TheFixItMan:
The image on the first post should work

If not as I've already told you if someone with a rooted working device wants to provide see the guide in post above

Please do not spam this thread asking
[Moto G5 Guides, News, & Discussion] Ssd1:
Moto g5 cedric xt1677

Hello thefixltman

I done all the procedure u listed on ur hardbrick moto g5 post...

But i had suffering a problem that my phone dont work or get bricked again when i remove the sd card ....and the imei is lost and no networks are in work on the device...???!!!

Plz help
[Moto G5 Guides, News, & Discussion] TheFixItMan:
As stated - you must flash gpt and bootloader in order to boot without sd card

This can only be done with firmware that is equal to or newer than what you have already on your device

If you get a security downgrade error when trying to flash these parts then your firmware is too old
[Moto G5 Guides, News, & Discussion] Ssd1:
Yes im trying and it shows the security downgrade error...

But i have the same version npp25.137-93 (1 November 2017 update)

It is the same but why it dont applying on this device..

???

And did u had any newer version of this device plz send a link to me!!!

Plz man

And thanks alot for this post...:good:
[Moto G5 Guides, News, & Discussion] TheFixItMan:
All firmware is

https://mirrors.lolinet.com/firmware/moto/cedric/official/

You obviously need a newer firmware as you either flashed a newer firmware or tried to update it via ota
[Moto G5 Guides, News, & Discussion] Ssd1:
Thanx bro?

U've helped me pretty well...thanx again for this

And i found the same link as u sent to me now... And then i flashed it via adb fastboot and it works well...

And cellular networks and bootloader is also works without the sd card ...

And now its running on Android 8.1 as it was earlier....

Thanks for helping me to get rid out of this hard bricking...
[Moto G5 Guides, News, & Discussion] RishabhDhiman:
Can i use a pendrive to do this process.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
The mmcblk0 image must be on a sdcard as a pendrive would not be mounted before boot

You can run Linux to create the sdcard card from a pendrive
[Moto G5 Guides, News, & Discussion] RishabhDhiman:
I was able to revive my moto XT1677 today. Contact me for help any linux would be fine not just LinuxMint i used manjaro Gnome.
[Moto G5 Guides, News, & Discussion] juanma2911:
I´m kinda lost, I have an XT 1671, which one is the newest firmware for my device??

There are so many folders, sorry but I´m new at this.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Just try latest retail

https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
[Moto G5 Guides, News, & Discussion] HukUchiha:
Reupload the .img file from mega to drive please

Can someone please reupload the .img file from mega to drive? I've been trying some similar .img files that claimed to work but just got a black screen, so it would be really helpful as I can't download 5.28G from mega thanks to the restriction. If that's not possible I'd like at least some advice I have a moto g5 XT1675, it's a european phone.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
What restriction? You can't download this file on a mobile device unless you have the free mega app (or set browser to pc/desktop mode) but I'd advise downloading on a computer - If you have a mega account just import it into your account and download it (it's free)

If your country blocks it (I don't know any European country that does) use a vpn

I don't use drive but if anyone else wants to mirror it feel free to
[Moto G5 Guides, News, & Discussion] HukUchiha:
The thing is that even if you have a mega account the bandwidth limit is arround 5GB, after downloading that amount of data mega forces you to wait or just pay them, even if you add it to your mega storage and try to sync the amount of data you can sync is arroud 5GB, that's the restriction I was talking about.
[Moto G5 Guides, News, & Discussion] rahimali:
You can download from AFH. No restrictions there.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Never had that issue with mega - I don't use the sync

Just add it to your mega account and then save to device using the mega app or on pc logged into your account via a web browser

Anyway - someone has posted link via android file host - I presume its the same file
[Moto G5 Guides, News, & Discussion] HukUchiha:
Thanks for the link!
[Moto G5 Guides, News, & Discussion] patrick10K:
well this method works on the motorcycle g7 power?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
If you had an mmcblk0 image from your device then it should

Note you may have to change the block size in the command to match your device image
[Moto G5 Guides, News, & Discussion] GrotStompa:
Just wanted to give a big THANK YOU!!! for the guide :) I was close to throwing my bricked Moto G5 away. Thanks to your guide, I've got a fully functioning smartphone again :good:
[Moto G5 Guides, News, & Discussion] brunotri1:
Guys i dont know if my microsd slot is ok (i'm the second owner of the g5 and not have used microsd when its alive) somebody plz can send a photo of the sd card slot (internally) so i can see if the pins is ok?

i tried with 2 microsd of 64gb (kingston and sandisk ultra) and not worked for me (followed step by step with a cedric g5 xt1672 on linux mint)
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Don't have this device anymore but a simple Google search found this image

https://www.google.co.uk/search?q=m...AhUrQxUIHduUA7AQ_AUIEigC#imgrc=uLLjZtMEpCwt_M

- you won't get anyone taking a pic of the inside because they will damage their phone

You could searching for a sdcard/sim tray replacement guide on YouTube as that might show inside

This guide is only for people who can't access bootloader mode - if you can access the bootloader just flash firmware via fastboot
[Moto G5 Guides, News, & Discussion] brunotri1:
Oh yeah i dont want somebody diassembly their phone tô do that, Just a pic of the entrance like the one i take from above (and cant post here, New member :/), i dont found any image of the slot sadly

And the phone is bricked after an ota update with unlocked bootloader, Just white led blinking on charge :/, the last Hope is this Guide or pay alot here for a jtag work
[Moto G5 Guides, News, & Discussion] grosobart:
Hello, thank you very much for your work, I managed to revive my device, I ask you if I flash your Oreo stock via adb and it does not start normally, this method is used for oreo too or is only for nougat, thank you very much
[Moto G5 Guides, News, & Discussion] TheFixItMan:
It should work regardless of what firmware is on your device
[Moto G5 Guides, News, & Discussion] grosobart:
thank you very much friend, I will try then because I want to flash oreo to recover the imei
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Just don't update your device via ota and you shouldn't hard brick it again

If you want to update you will need to flash full firmware via fastboot
[Moto G5 Guides, News, & Discussion] grosobart:
if I have the complete oreo firmware downloaded, thanks
[Moto G5 Guides, News, & Discussion] grosobart:
everything went great, thank you very much
[Moto G5 Guides, News, & Discussion] mimox:
Mother's G5 XT1676 boots into a somewhat broken fastboot (upper half does not show the android and text like start, reboot etc are using the same font as bottom half and are drawn on top of each other when using vol +/-...). I cannot flash anything from this fastboot.

Should it be possible to boot into a proper fastboot from SD? I prepared a card just as described in the OP but it does not seem to boot from it. Tried a 32 and a 128 GB card.

Do I have to press vol when booting from SD? Do I need to have USB cable connected or not?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
No - this will not help you

Sounds more like a faulty screen

This will boot the bootloader off the sdcard - if your bootloader is not missing or otherwise wouldn't boot into normally there's no way of knowing if it's booting the bootloader normally or off sdcard

Either way it's not going to make any difference and I would look at the screen or other hardware components

To answer other questions

Once sdcard is inserted you press and hold Vol down and power button to enter bootloader mode like you normally would

No USB cable or anything else should be connected to your device when entering bootloader mode as your phone needs to powered off before entering bootloader mode

Even if it is a faulty screen you should still be able to flash firmware

What error do you get when trying to flash the firmware

Note as written on first post gpt & bootloader must be the same or newer version else you will get a security downgrade error
[Moto G5 Guides, News, & Discussion] mimox:
Errors I get when trying to flash latest stock (8.1) firmware include:

(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed

FAILED (remote: '')

(bootloader) Failed to erase partition

I will catch a few photos of the bootloader which will also show that the screen is not really broken.

---------- Post added at 06:54 AM ---------- Previous post was at 06:45 AM ----------

[IMG="Device after boot"]https://imagebin.ca/v/4wQBIt74Zy1u[/IMG]: 4wQBIt74Zy1u on imagebin.ca

[IMG="Device after pressing vol +/- a few times"]https://imagebin.ca/v/4wQBQNh3pgaM[/IMG]: 4wQBQNh3pgaM on imagebin.ca

[IMG="The "menu""]https://imagebin.ca/v/4wQBVglsyEu6[/IMG]: 4wQBVglsyEu6 on imagebin.ca

Sorry no idea why links to images are not shown...
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Pre--flash validation errors normally occur if your bootloader is locked because the firmware isn't signed by Motorola

Also you do not need to flash gpt or bootloader as long as you are flashing an android version which is the same as what is already installed (eg flash nougat firmware if android 7 was on your device or oreo firmware if android 8 was on your device) so I would just skip these two and carry on with the rest of the firmware (the same maybe true for boot.img assuming you haven't changed the kernel but your images show you have an issue with kernel validation so you may have an issue with this)

If you want to flash the entire firmware you could try the following options although I'd try the above first

You can try using the Lenovo Moto Smart Assistant or try with mfastboot

Lenovo Smart Assistant

https://xdaforums.com/g5/how-to/guide-how-download-official-fastboot-t3916778

Mfastboot

http://xdaforums.com/attachment.php?attachmentid=3476163&stc=1&d=1442444179

Mfastboot works the same way fastboot does but instead of putting

fastboot flash xyz

Put

mfastboot flash xyz
[Moto G5 Guides, News, & Discussion] mimox:
Lenovo Smart Assistant does not seem to detect the phone, it fails with "Failed to match connected device". Mfastboot produces the same errors as regular fastboot.

I think there is some hardware failure involved here. The strange thing however is that there is at least one person on the Lenovo forums with exactly the same problem and he seems to know one other person...