yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Don't thank me, I like helping others
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
? I so no one knows why the UK doesn't get update for Moto g5? It's a bit weird!? Oh also if I install the august or November security patch will that wipe my data? Or does it keep it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
I tested that last night with both updates since I had all my data set up, and it didn't wipe my data, all that I got was first boot up time was longer and the Android is starting upgrading apps for a few seconds
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Brilliant thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Edit: I was also thinking about why the UK doesn't have any updates and can't think of any reason apart from maybe Moto G5 is selling more over in the EU so they would rather release updates for the EU to keep people from switching from another phone than spend time focusing on the UK ( long shot but only thing I can think of from a companies view )
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Thank you so much! OMG your the best! Works like it should! Brilliant! ??

---------- Post added at 04:53 PM ---------- Previous post was at 04:27 PM ----------

Do you think that we'll get Oreo through OTA? If not will their be a zip that we can get it to install the update like the august and November security patch? Thanks in advance!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
That's another confirmed working :) , just remember if anything ever goes wrong, re-flash the 1st January 2017 and relock bootloader to be on safe side with Motorola

I can't find anything about unlocking bootloader disabling OTA so we should get it through OTA if not I will provide a fastboot and twrp install method
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Another confirmed working :)

Just remember to re-flash 1st Jan 2017 zip and re-lock bootloader to be on safe side with Motorola

I can't find any info that says OTA gets disabled for models that have or had a unlocked bootloader so as far as I'm aware we should get Oreo through OTA when/if released

If not I will provide a fastboot method and twrp install method
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Brilliant thank you!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Update

Little update

I will be working on a TWRP version later on tonight ( GMT time )

I choose to do it at night when everyone is asleep so I don't end up ignoring someone on messenger, snapchat, etc ( mainly snapchat as there is no windows app or internet version available ) whilst experimenting on my phone for you guys.

The TWRP versions for every update will either be available also tonight, sometime tomorrow ( GMT time ) or Monday depending on how many attempts i'll need to go through to get the TWRP flash-able versions ready and working,
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] basem bebarse:
can i flash it directory via twrp like any custom ROM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
No! DO NOT DO THAT! the TWRP flashable version isn't available yet

the instructions are there on how to use fastboot and your phone's bootloader
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Update

Just found out that a friend of mine is in Hospital, not just for an x-ray of something little like that, she's had problems for ages but kept telling me she was fine, she messaged me around 2 this morning to tell me that she started coughing up blood and throwing up her food and she's now in hospital with machines hooked up so unfortunately I am halting the TWRP method until I can concentrate and stop worrying my head of about her.

Sorry
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
Hope she's ok. This is just a phone. Family and friends take priority. Take care of yourselves. Hope all goes well
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
She went in this morning, just as i was checking visiting hours she messaged me to say she was home
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
I did try to create a flashable twrp version

Unfortunately even though the system flashes onto the phone

The official boot images stop working and the flashable zip versions will only boot from a modified boot image such as a custom one created by a xda user or even magisk modifying the boot image

Edit:

I have found that it is not the problem with the boot image but something to do with the way the system files are extracted and setup during installation as restoring just a system back up without restoring a boot backup will successfully boot the system

When backing up the system twrp creates two files

1 called system and 1 called system image ( they both make up the whole system folder just split in two ), it is something to do with the system image file that prevents an official boot image from working, now that I know where the problem is located I am going to look into it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
What would happen if someone did that? Hardbrick thier phone?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
If you tried to flash fastboot files through twrp, twrp wouldn't recognize the file and most likely will cause a hard brick if twrp does succeed with flashing the img files
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Let's hope he didn't do it! ??
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
If so he might be able to use fastboot to re-flash

If I did that but could still get into bootloader I'd use fastboot flash partition gpt.bin ( then look up rest or instructions online as my instructions are if you've got more important files already on the phone )
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
No TWRP version

There will be no twrp version for now as I can't seem to find what's causing modified boot img files to work but not official signed boot img files when converted into a flashable zip

restoring a TWRP backup of the system and boot works perfectly for me though so I could release my TWRP backups for January, August and November

flashing magisk to find my boot partition block number caused my software status to go from official to modified and I can't seem to reverse it back to official ( unless anyone else knows a way ) so currently I would like someone to test the TWRP backups to see if the bootloader software status stays on official or if the backups also changes it to modified
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
The only img files twrp can flash are boot.img and recovery.img

It will ask you which partition you want to flash the img to

It will not hard brick your device - if you flash a wrong file to these partitions either your phone won't boot or you will have no recovery - both of which can be fixed by flashing the correct img

TWRP cannot flash any other img file
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Thank you for the information

Ryan
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
After installing the November security patch are you sure that it'll be safe to downgrade to January security patch? Thanks in advance!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
I actually went back to January from November this morning through fast boot trying to get my software status to change from modified to official after flashing magisk ( when flashing magisk it tells you what partition the boot file is at, I removed magisk after but still software status: modified )

I actually flashed the November bootloader ( fastboot flash bootloader bootloader.img ( not recommended ) ) as well and it worked with no problems going back to January ( November bootloader )
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] urbanstyle:
works well in the xt1670 Latin America?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Thanks for confirming!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aashaydesh:
What about XT1677 Indian Amazon variant
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
you can try this and use the instructions on here and see if it works

no files i use are specific to one device so this should work on all Moto G5's

click me
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
i'm not sure i need someone to test on other models

( even if it doesn't work on your device you'll be perfectly okay because my instructions don't say about the bootloader )

test one of them and let me know if it works or not ( I say test out the August update as that is the latest update for XT1670 )

try this file with my instructions

NPP25.137-33-10
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
I've looked everywhere and it seems that if you unlock your bootloader and lock it again. Your phone will still get OTA updates! So now it:s just a waiting game!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
My mother's Moto g4 just got updated to December security patch. I'm guessing it's not going to go to the Moto g5 coz it has the November at the moment? Any ideas?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leonreis:
Working fine on XT1672!

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Hi, sorry for late reply

Which update?

January

August

November

All
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leonreis:
The only I tried was the November.

Will try with the January and tell you.

---------- Post added at 06:54 PM ---------- Previous post was at 06:51 PM ----------

I just realized that November is the most recent :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Okay thank you

Yes November 2017 is the most recent update for all Moto G5 Cedric models apart from maybe the xT1675 ( I don't have any confirmation that the XT1675 got the November update )
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] basem bebarse:
When will u upload TWRP backup ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
If you looked on the page a bit more! He said that he run into some problems stopping him from doing it!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
Ite no need to act like a big man. You're not that clever
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
I say it how it is
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] stueymc:
My bootloader is still locked, and on page 1 there are instructions to flash the updates with a locked bootloader.

Do I need to flash each update in order, or are the updates cumulative, ie by flashing the November update I get all the other updates as well?

Will I lose all my data on my phone during this process?

After reading through the messages it seems if my bootloader was originally locked, after this process it will still be locked. Is that correct?

Thanks for answering the few questions......
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
1) no need to flash it in order, can go straight to November

2) Only if you unlock your bootloader or lock your bootloader

3) this process can be down with both unlocked or locked bootloader it does not matter
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Martin Clayton:
thanks for this

:) Many thanks for this mate ,much appreciated
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] stueymc:
I've just flashed the Bootloader locked version. Very straight forward except for one error I got:

C:\platform-tools>fastboot flash logo logo.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:logo: not found

error: cannot load 'logo.img': No such file or directory

Do I need to worry about this?

And first reboot takes longer than a normal restart.

Thanks for your help.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
is the logo.img file present with the other files??

the first startup and possibly first reboot will take longer as it's a fresh install

you don't need to worry about logo.img unless you flashed a custom one ( logo.img is the file responsible for the first screen with the blue background and M logo with the powered by android at bottom ( before the actual animation starts playing ) and the battery screen you get when you plug your phone in whilst it is powered off )
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Unfortunately i ran into only one problem

when I turned my backup into an installer/flashable zip

it installed succesfully but would only boot from a modified boot.img

the official boot.img caused the phone to stay at the Motorola ( blue background with Red M ) screen

where as something as simple as modfying the boot.img through magisk worked

my bootloader says software status: modified, I can't get it back to official and I created the backups after my software status changed to modified, I can upload my backup but I would rather someone who has software staus: official who doesn't mind if their software status changes to modified to test my backup first as I do not want people restoring the backups i created then noticing that their software status in the bootloader changed from official to modified.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] stueymc:
Mine shows modified as well. But it showed modified before I started this process, and I've done nothing to my phone except turn on Developer mode in settings!!!! Lots of other threads here on XDA are saying the same thing. Some people are suggesting an OTA cures this problem. And from what I understand, as long as everything is Stock, and locked, the phone should receive any OTA's that are released.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] plastic_green_head:
XT1687 owner here. If retus hasn't gotten the November security update by the end of February, and if no one else has tried it yet... I will give this a go at that time. :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MAXIMUM_TECH:
Working on xt1670.

Hello dear , the firmware is working perfectly in my XT 1670 , Good job.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Thank you, I would like as many Moto G5 Cedric models tested so I know which ones work and which ones don't ( it is recommended to make a backup of your current phone state in twrp and move it to your sd card or usb on the go device before attempting I have put up as I might not be able to find the stock image files after )
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Yes only a ota will cure it ( something weird for me )

I turned on developer mode

I enabled the OEM unlock

Unlocked my bootloader

Flashed TWRP

Wiped phone

Flashed resurrection remix

Software status became modified

Flashed magisk

Tried out multiple custom ROMs

Removed magisk

Wiped phone

Went back to official software

Locked bootloader

Software status went back to official

Unlocked bootloader

Flashed TWRP ( well used fastboot boot twrp.img so I could use TWRP without actually flashing )

Flashed magisk co I could find boot partition ( it says found boot at BLK whatever )

Removed magisk using official uninstaller

Software status became modified

I wiped phone

Flashed official software back on

Locked bootloader

Software status still modified

I don't get how when I removed magisk, wiped phone ( twrp ), went back to Motorola official software from resurrection remix and locked bootloader, my software status went back to official

But after i flashed magisk on official software

Removed magisk

Wiped my phone ( twrp ), re-flashed official software and recovery, locked bootloader, my software status was still modified and didn't go back to official like it did when I went back to official from custom software even though I did the same exact steps of wiping phone, removing magisk and flashing official software and locking bootloader
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] exo-thermic:
Hey there. I got stuck with the first part of your instructions.

Im trying to install the google usb drivers but I get this error message when I "right-click -> install" on the android_winusb INF file.

"The INF file you have selected does not support this method of installation"

Running Win 7 Pro 64 bit.

Are there other pre-requisites for this or am I just doing this wrong?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Dubbs_42:
Thanks!!! Only image working for bootloader relock, tested on XT1672
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
I am running Windows 10 Pro 64 bit

I will personally install Windows 7 onto a spare hard drive when I am home and try to correct this issue for you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
TWRP version

Whilst on stock firmware I unlocked my bootloader

and went to flash twrp through fastboot but when I rebooted to start my phone up, my phone halted at device can't be trusted screen

after some testing I found that the official signed boot.img ( boot image ) does not like TWRP but if you modify the boot image for example by installing magisk ( which modifies the boot img file ) the phone boots.

I don't think there was any issue with how my twrp flashable version got installed because it did boot up with a modified boot image

I have a feeling the Motorola original boot img just doesn't like twrp

instead of creating a twrp flashable file with a modified boot image though ( because obviously the boot file wouldn't be official ) i'm going to instead include some code to remove twrp and install the official recovery in hopes that it will boot up with twrp removed.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
i'm testing a twrp version tonight.

My tests were failing before and I thought it was the way TWRP was installing and placing all the files but after some testing and a personal problem it looks like Motorola software does not like TWRP and the phone halts at the boot screen, but i'm including some code in a new flashable version which will install everything but will also replace TWRP with the official recovery and hopefully the phone will recognize the recovery is official and boot up.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] peter9811:
I want install ´CEDRIC_RETAIL_7.0_NPPS25.137-33-10_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip´, but I don't want lost any app or files.

How I can?

I think that I can skip:

"fastboot erase cache

fastboot erase userdata"

or how?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ayushmantiwari95:
Is this work for Cedric model xt1677 Amazon exclusive india or not ??
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Skip fastboot erase userdata and you will be all good to go

I had to wipe everything on my mum's phone last night, flashed a new partition table, flashed new bootloader, new system, you name it but her data didn't get erased because I skipped fastboot erase userdata
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Not sure, don't have that model to test unfortunately

Only devices that others have confirmed is

XT1675

XT1670

XT1672
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mstombs:
Anyone tried on UK Amazon retgb XT1676 ? dual sim and 3/16 GB, currently stuck on original firmware no OTA security patch 1 January 2017, NPP25.137-15
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
No updates for the UK as of yet for any model!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
The United kingdom variants ( RETGB channel ) hasn't received any updates since Jan 2017

the only difference between a "Normal" version and an amazon version of a device is that the Amazon models do not have any bootloader unlock method.

Since the files I provide do not require a unlocked bootloader, the firmware's on here should work on your device so you are welcome to download and flash over NPP25.137-33-10 ( August 2017 ) or NPP25.137-93 ( November 2017 ) if you'd like.

Either the files will flash successfully or the bootloader will prevent it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
Can I flash. It on xt1677? Relock the bootloader. If the bootloader is new and try to install a previous stock bootloader will it work? My bootloader version is b8.23 .

Could you please upload the signed version with August security patch for xt1677 amzin india

I got the latest update in November. It was the August security patch
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
once bootloader is upgraded you can't downgrade because of a security check error

I don't upload firmwares that are made for one specific model, this thread is for firmwares that don't have a list of models it works and doesn't work on

you can try to flash one of my files but since you have an amazon model, your bootloader may not allow it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
Thanks ..

What if I try to install nougat firmware NPP25.137-33 when my device has updated to a later firmware version
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
if your bootloader is newer than NPP25.137-33 firmwares bootloader version you will not be able to downgrade with a locked bootloader
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
My bootloader is currently unlocked. What should I do

Anyway I am running on pixel experience 8.1 rom. It's pretty good. But Motorola has just announced the rollout of 8.0 Oreo to this phone in Australia and New Zealand. So I wish to install the stock ROM. The Oreo official firmware will be safe to install but I can't wait.

Skipping the 'fastboot flash bootloader' is it safe?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
okay well if i was you, I wouldn't go back to the Amazon version, skipping the bootloader step is perfectly safe as the bootloader never gets deleted or anything + even fastboot erase bootloader gets denied

what was the stock firmware you last had a locked bootloader with?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
I don't remember the version info but I had installed the August security patch. It was available in October I think. If I flash the previous firmware with a newer bootloader can I relock it? Will I get the new OTA updates?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
you can flash any firmware but to relock you will need August or newer ( well if your bootloader is older than august then you will be able go to January security patch and relock, pretty much you can't go to any firmware which is older than the bootloader )

as soon as Oreo is released i'm uploading the firmware straight to here anyway
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
I think I will take no risks. Will go for Oreo firmware when it is released. I hope it comes in a week or two.

I will get OTA update if I lock the bootloader right?

---------- Post added at 03:43 PM ---------- Previous post was at 02:57 PM ----------

Can I get this version please...CEDRIC_AMZIN_NPPS25.137-73-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

This is the latest version I think ...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Yeah go for it, the AMZIN ( AMAZON version may get Oreo much slower ) if your bootloader says status: modified you may not get an OTA, I'm still looking into whether Motorola disable OTA for modified bootloaders
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sharon262529:
I didn't get the firmware it was asking for money for the version. Can you please get it?

I was looking for this version for a long time
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Will do, you might not get OTA if your bootloader says status:modified
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Also did you mean NPP25.137-72-4 because that's the only one I can find