• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[STOCK] Official Moto G5 Cedric firmwares [FASTBOOT]

Search This thread

itsawesome123

New member
Nov 9, 2018
2
0
Moto g5 Cedric Hard Bricked

Does anyone have a Blankflash for the Moto g5 Cedric variant (XT1671).? I accidentally hard bricked my device while trying to revert back to stock and get safetyNet to pass. Currently the only thing i have is access to the QDLoader but I can't find a blankflash anywhere.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,833
4,027
London
Does anyone have a Blankflash for the Moto g5 Cedric variant (XT1671).? I accidentally hard bricked my device while trying to revert back to stock and get safetyNet to pass. Currently the only thing i have is access to the QDLoader but I can't find a blankflash anywhere.

You can't find it because it doesn't exist

The only known method (other than a JTAG) is the method I've wrote about

https://forum.xda-developers.com/g5/how-to/rooted-moto-g5-run-morning-post-image-t3776012

Just follow the guide
 

KoenP

Member
Oct 8, 2018
7
2

mr-br

Senior Member
Apr 3, 2012
70
12
Hi I've just got a G5 XT1675 for my son and wanted to update it from the NPP25.137-15 Jan-17 patch release to the latest release (either 7.x or 8.x).

I've flashed multiple phones before (usually with Odin & TWRP) but despite reading lots of threads I keep going round in circles, amidst risky sounding things like IMEI being erased, hardbricking and relocking bootloaders etc. Some info seems to conflict e..g about the need to be on a certain Nougat release before updating to 8.0.

So can anyone confirm whether it is possible to safely update this phone?
 

Livi-Tech

Senior Member
Feb 9, 2015
830
515
23
Swansea
Hi I've just got a G5 XT1675 for my son and wanted to update it from the NPP25.137-15 Jan-17 patch release to the latest release (either 7.x or 8.x).

I've flashed multiple phones before (usually with Odin & TWRP) but despite reading lots of threads I keep going round in circles, amidst risky sounding things like IMEI being erased, hardbricking and relocking bootloaders etc. Some info seems to conflict e..g about the need to be on a certain Nougat release before updating to 8.0.

So can anyone confirm whether it is possible to safely update this phone?

The risk of losing EMEI number is circled around custom roms and this was ages back before Motorola released Android 8x for the Moto G5 so custom Rom's at that time didn't have the full code and files to go off of

There is a guide to update the phone to Official 8.x from Motorola themselves but the furthest the security will go up to is August or September going by what I am seeing

The other option is custom ROM's but no idea if losing EMEI is still a risk or not
 
  • Like
Reactions: arvindgr
Sep 22, 2019
5
0
Tried to downgrade no success

I tried to go back to nougat (my phone update to oreo 8.1) but when I tried the commands it sends errors:

Code:
(bootloader) is-logical:boot: not found
Sending 'boot' (16384 KB)                          OKAY [  0.734s]
Writing 'boot'                                     (bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed

On all these commands:
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img

Then the phone restarted as new, but now the finger sensor doesn't work.

Need some advice. I really want to get back to nougat, but if it's not possible, how could I fix the finger sensor?

Thank you!

---------- Post added at 03:01 PM ---------- Previous post was at 02:09 PM ----------

I tried to go back to nougat (my phone update to oreo 8.1) but when I tried the commands it sends errors:

Code:
(bootloader) is-logical:boot: not found
Sending 'boot' (16384 KB)                          OKAY [  0.734s]
Writing 'boot'                                     (bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed

On all these commands:
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img

Then the phone restarted as new, but now the finger sensor doesn't work.

Need some advice. I really want to get back to nougat, but if it's not possible, how could I fix the finger sensor?

Thank you!

Ok, I needed to unlock fastboot with the motorola page. Once done that, I could downgrade the phone, and now all works great.
Thank you!!!
 

riyan65

Senior Member
Mar 22, 2018
807
225
I tried to go back to nougat (my phone update to oreo 8.1) but when I tried the commands it sends errors:



On all these commands:
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img

Then the phone restarted as new, but now the finger sensor doesn't work.

Need some advice. I really want to get back to nougat, but if it's not possible, how could I fix the finger sensor?

Thank you!

---------- Post added at 03:01 PM ---------- Previous post was at 02:09 PM ----------

I tried to go back to nougat (my phone update to oreo 8.1) but when I tried the commands it sends errors:



Ok, I needed to unlock fastboot with the motorola page. Once done that, I could downgrade the phone, and now all works great.
Thank you!!!
Don't downgrade you device as it will hard brick your device, so just don't downgrade. If like to go back to nougat, install twrp and flash the flash nougat firmware.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,833
4,027
London
Don't downgrade you device as it will hard brick your device, so just don't downgrade. If like to go back to nougat, install twrp and flash the flash nougat firmware.

It won't brick your device
You won't be able to flash gpt or bootloader due to security downgrade error so there's no risk of hard bricking

You can flash everything else and the device will boot but you will loose fingerprint due to kernel/bootloader differences (there is a zip available if you search to correct this) and you may face other issues but it is possible
 
Sep 22, 2019
5
0
hard bricked

Well, my phone died :(
For a stupid reason, the phone started to update to a new version, but now it don't start... when I plug it to charge it, a white led starts blinking, but nothing happens...
 

TheFixItMan

Senior Member
Jul 8, 2012
7,833
4,027
London
Well, my phone died :(
For a stupid reason, the phone started to update to a new version, but now it don't start... when I plug it to charge it, a white led starts blinking, but nothing happens...

Never do stock OTAs if you have unlocked the bootloader or rooted phone etc - you can block or remove the ota app if on stock rom

Anyway solution is here
https://forum.xda-developers.com/g5/how-to/rooted-moto-g5-run-morning-post-image-t3776012
 

eboelens

Senior Member
Jul 17, 2013
101
4
lier
Hi , I'm not sure.
I want back to stock.
XT1676 Qualcomm cedric lineage 16 android 9 (rooted and 64bit twrp)

Is it possible to flash firmware with QFIL so I'm back to the orginal situation?
Are the installing instructions here give me the same result?
Erik
 
Last edited:

kamien8

Member
Sep 9, 2021
39
0
Inverness
--Setting up--
connect a usb to micro usb cable to your pc/laptop or any windows device
power off your Moto G5
hold volume down button and hold power button till screen comes on
let go
connect the other end of the usb cable to the Moto G5
open up device manager
look for fastboot Cedric S
right click on it and click update driver
click browse my computer for driver software
click let me pick a list of available drivers on my computer
click android device
click next
click Android Bootloader interface
click next
click yes
click close
open up command prompt
type cd C:\\platform-tools
type fastboot devices
you should get
( some random numbers and letters ) fastboot
if so then success everything set up
Hi, I'm trying to unlock bootloader in my Moto G5. I followed the description above. The driver is installed.

First thing, fastboot doesn't work (picture fastboot1.png)
I've found different fastboot (picture fastboot2.png). Unfortunately the command "fastboot devices" shows nothing.
I work on AMD processor.
What could be wrong?
 

Attachments

  • cedricS.png
    cedricS.png
    9.8 KB · Views: 16
  • fastboot1.png
    fastboot1.png
    87.8 KB · Views: 14
  • fastboot2.png
    fastboot2.png
    49.7 KB · Views: 16

TheFixItMan

Senior Member
Jul 8, 2012
7,833
4,027
London
Hi, I'm trying to unlock bootloader in my Moto G5. I followed the description above. The driver is installed.

First thing, fastboot doesn't work (picture fastboot1.png)
I've found different fastboot (picture fastboot2.png). Unfortunately the command "fastboot devices" shows nothing.
I work on AMD processor.
What could be wrong?
Download platform tools (contains fastboot.exe)


Either

1 - open cmd at the fastboot.exe location
2 - manually navigate cmd to the fastboot location
3 - add the path to fastboot.exe to windows environmental values to be able to run fastboot from anywhere in cmd

Note - if doing either 1 or 2 from above then your firmware or what ever you want to flash needs to be in the same location as fastboot.exe

If doing 3 & fastboot is in Windows environmental values then the firmware or what ever you are flashing can be at any location as fastboot will run from anywhere


Fastboot usb driver

Restart after installing USB driver
Use original USB cable or compatible USB cable (change if you have issues)


Enable USB debugging from the developer options in settings on your device before you begin to unlock the bootloader
 
Last edited:
  • Like
Reactions: kamien8

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    XDA:DevDB Information
    [STOCK] Official Moto G5 Cedric firmwares [FASTBOOT], ROM for the Moto G5

    Contributors
    Livi-Tech
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x
    Based On: Stock

    Version Information
    Status: Stable

    Created 2018-01-12
    Last Updated 2018-02-03

    --Downloads part one: setup--

    Fastboot/ADB
    Google Android USB Drivers

    --Instructions Fastboot--
    go to download location
    right click platform-tools-lates-windows.zip
    highlight mouse over open with and click windows explorer
    right click the platform tools folder
    click copy
    go to Local DIsk (C: )
    right click
    click paste

    --Instructions Google fastboot driver--
    go to download location
    right click latest_usb_driver_windows.zip
    highlight mouse over open with and click windows explorer
    right click the usb_driver folder
    click copy
    go to a location like the desktop or documents folder
    right click
    click paste
    open up the usb_driver folder
    right click android_usbdriver.inf
    click install
    click open
    click yes if a admin box pops up ( if your not admin you will need admin password )
    click okay on the operation completed successfully box

    --Setting up--
    connect a usb to micro usb cable to your pc/laptop or any windows device
    power off your Moto G5
    hold volume down button and hold power button till screen comes on
    let go
    connect the other end of the usb cable to the Moto G5
    open up device manager
    look for fastboot Cedric S
    right click on it and click update driver
    click browse my computer for driver software
    click let me pick a list of available drivers on my computer
    click android device
    click next
    click Android Bootloader interface
    click next
    click yes
    click close
    open up command prompt
    type cd C:\\platform-tools
    type fastboot devices
    you should get
    ( some random numbers and letters ) fastboot
    if so then success everything set up

    --Download part two: firmware--
    Moto G5 - Jan 2017 firmware NPP25.137-15
    Moto G5 - Aug 2017 firmware NPP25.137-33/NPP25.137.33-10
    Moto G5 - Nov 2017 firmware NPP25.137-93

    after you've downloaded one of the 3 update firmwares
    go to the download location
    right click the zip file
    highlight mouse over open with
    click windows explorer
    drag everything over into the platform-tools folder

    --Installing--
    open up command prompt
    type cd C:\\platform-tools
    type fastboot devices
    you should get
    ( some random numbers and letters ) fastboot
    if so then your device is recognized
    type the following commands
    fastboot oem fb_mode_set
    fastboot flash modem NON-HLOS.bin
    fastboot flash fsg fsg.mbn
    fastboot flash dsp adspso.bin
    fastboot flash boot boot.img
    fastboot flash recovery recovery.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 oem oem.img
    fastboot erase cache
    fastboot erase userdata
    fastboot oem fb_mode_clear
    fastboot reboot
    2
    I found a link for the 2018/03/01 firmware and i wanna shere with you all
    file name: CEDRIC_NPPS25.137-93-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
    Link: https://drive.google.com/uc?id=1hlNzlFhLCEj6xigfKrYcvnwH9jy3f5j3&export=download
    2
    But I don't see AMZIN mentioned in different versions

    I don't have any Amazon versions on here, I was helping someone helping someone else use a version on a different site

    My computer is down until further notice and I now work half 6 till 5 Monday to Friday so I am sorry that I can not help further and look into this much right now but as soon as my computer is back up and running and I have time I will.
    1
    yes OTA is included ( also some other things )

    Okay brilliant! I have the xt1675 and want the stock ROM! This will have ota update right?

    yes it is official stock firmware, I was also able to re-lock my bootloader as well, something which others have said isn't possible right now, unfortunately Moto aren't providing updates to this model anymore so OTA update service is kind of pointless, NPP25-337.15 is the last update for this model of the G5, other models of the G5 did get a NPP25-337.33 update with a newer security patch which does work on the XT1675 model but someone from Motorola would know the system was tampered with if an update that's not available for this model was installed, that's why for the past 3 days looking for the XT1675 stock software and eventually found it
    1
    Hi, I'm trying to unlock bootloader in my Moto G5. I followed the description above. The driver is installed.

    First thing, fastboot doesn't work (picture fastboot1.png)
    I've found different fastboot (picture fastboot2.png). Unfortunately the command "fastboot devices" shows nothing.
    I work on AMD processor.
    What could be wrong?
    Download platform tools (contains fastboot.exe)


    Either

    1 - open cmd at the fastboot.exe location
    2 - manually navigate cmd to the fastboot location
    3 - add the path to fastboot.exe to windows environmental values to be able to run fastboot from anywhere in cmd

    Note - if doing either 1 or 2 from above then your firmware or what ever you want to flash needs to be in the same location as fastboot.exe

    If doing 3 & fastboot is in Windows environmental values then the firmware or what ever you are flashing can be at any location as fastboot will run from anywhere


    Fastboot usb driver

    Restart after installing USB driver
    Use original USB cable or compatible USB cable (change if you have issues)


    Enable USB debugging from the developer options in settings on your device before you begin to unlock the bootloader