yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
fastboot error

i'm sorry can someone help me with the error below please ?

fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

error: cannot load 'gpt.bin': No such file or directory

I saw on the Internet this but I don't know if this is right for me :

If you are downgrading your Moto G’s firmware, do not flash gpt.bin and bootloader.img/motoboot.img files.

can someone confirm please ?

i'm on android 7.1.2

14.1 LineageOS

erik

running Linux
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
all done with the right links :

https://androidfilehost.com/?w=files&flid=284824

thanks Fedray for all the work

erik
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] colonho:
the bug of sound was fixed? tks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] richi9711:
***********************************************

password please
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
Take this one, no password: https://androidfilehost.com/?fid=1395089523397905941
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dalgona57:
The Google Drive download links aren't working. Could you please update them? And does flashing the stock nougat require unlocking bootloader?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] VD171:
Download link is not working.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nikkerston:
DEAD LINK

can you re-upload the moto g5 android 8.1.0 OTA stock I really need it for my moto g5, please
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
All official stock firmware can be found

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

Note these are entire firmwares - much better than mismatching an ota
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Hello can someone help me please ?

I was on LineageOS (I think 8.1.0) , after that I tried a move to /e/ with succes. But now I want back to LineageOS but always an error: this package requires firmware from an Android 8.1 based stock ROM build

I don't now what the right steps are . And if possible a working link .

regards

Erik
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Flash latest stock retail firmware - specifically the modem

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors-obs-2.lolinet.com
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] KeithSJS:
Okay, to stop myself going round in circles can someone please clarify / confirm the following:

1. Do I HAVE TO flash stock Oreo before using any of the later Lineage releases (16.0, 18.1)?

2. If I do how do I do that? I am after straightforward and complete instructions (I have read about backing up the IMEI and passing safetynet - it's unclear to me whether these are necessary considerations).

3. What is the difference between 16.0 and 18.1 in terms of security? I see 18.1 is 'official' and 16.1 'unofficial', what does this mean?

4. It may be easier (I just want something straightforward) to go back to Lineage 14.1 (which I had been using for ages) but it seems that if I do this after flashing LOS 18.1 there may be issues. What issues?

What I did was:

• My phone was running Lineage 14.1 unofficial.

• I flashed LOS 18.1 using an old version of TWRP (non-64 bit I think).

• There are however problems with system time; GPS (it works but not with certain apps); and system speed i.e. it seems slow.

• I would like to look at alternatives but want to do it properly.

Any help much appreciated, thanks.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] frituurvet:
All the links in here are 404'd and the rar file on mega has a password. Does anyone know where to get the right stock rom for a retail g5 model XT1676?

EDIT: There's Android 7.0 in this thread but not 8.1

ED2T: I think I got it: https://mirrors-obs-2.lolinet.com/firmware/motorola/2017/cedric/official/RETAIL/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] randomguy3356:
Can someone upload the OTA i prefer that.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tolam:
obs2.lolinet is ok; I installed /e/ last week; works FIIIIINE:

Info about Motorola Moto G5 - cedric
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] randomguy3356:
yeah, but i am not on the latest version and all download links are dead
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] randomguy3356:
oh wait
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tolam:
lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors-obs-2.lolinet.com
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] abhimanyuk:
My device is xt1677 amzin version I have clean flashed the stock rom provided in op and followed the procedure and now I am on Oreo without any issues
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zeassumpcao:
To install stock rom, did you wipe your phone first or something?

And did you have the bootloader unlocked?

I'm asking because I want to do It too :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Everything gets wiped, except sd card, when you are installing stock with fastboot commands.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] salsaelpato:
Works great, thanks Fedray!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sonisudhanshu:
I am an amazing user. I followed your step.

The room is not varient specific. The varient will remain same as it was as new

---------- Post added at 06:09 AM ---------- Previous post was at 06:06 AM ----------

Fedrey pls update link if a new version of Oreo comes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] SidKodkany:
So do I need an unlocked bootloader or is it fine without it? and I'm on the latest may patch! will there be any problem with downgrading it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] abhimanyuk:
I am not sure whether it will work on locked bootloader mine was already unlocked & after the Oreo update software channel remains the same as amzin but no Amazon boltware. And you can check the current bootloader version before flashing any stock rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
Noob please be aware of the warning statement. Some key things are still at risk :

Hardbrick-If you stupidly don't follow the commands word by word

Loss of IMEI Permantly -If you are coming from a 64bit rom downgrade to 32bit rom via flashing in 32bit twrp. If you can't do this wipe all system partitions in 32twrp don't bother flashing a rom.To be on the safe side BACKUP EFS .
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] takoa:
Official ota or soak ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] deathrevenge:
Do you mean that if we start the process from a 64bit ROM and following the steps the IMEI will be lost? Or it's also coming back when upgrading to Oreo?

Enviado desde mi XT1676 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I have said in the main post that I have lost imei flashing stock, but after updating to Oreo it was back and working.

Soak is official... But yes, it is the soak
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] WH33LSONFiRE:
I'm on stock nougat build number NPPS25.137-93-14 (Europe / Belgium)

Kernel version: 3.18.31-perf-g4a0c859-00025-g7f05384hudsoncm@ilclbld69 #1 Tue Jun 19 06:51:25 CDT 2018 (stock rom)

Smallband version: M8937_22.29.02.56.01R CEDRIC_EMEADSDS_CUST (stock)

Can I just use Method 2 - SD card in your description to update from nougat to Oreo?

Will it get future updates after upgrading?

I'm a newbie on this but if I just need to do method 2, I'll handle perfectly

Thanks for your feedback.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zeassumpcao:
You probably won't be able to update, cause you have NPPS25.137-93-14 just like me. It seems this version can't be updated using these methods :(

We have to wait for OTA for our version, or reflash stock version from this thread and then update.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
Going from 64bit to stock is causing the loss of IMEI . Their are spesfic procedures u need to take if u don't wanna loose it

---------- Post added at 06:40 PM ---------- Previous post was at 06:38 PM ----------

That's your experience , IMEI will still be lossed if you go from 64bit to 32bit stock
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mayyouf:
Now on Oreo !!!

Hello brothers,

I was on the firmware with build number NPPS25.137-93-14

I downgraded to NPPS25.137-93-2-5

Then I upgraded to Oreo

I didn't lose my IMEi when downgraded to nougat I don't know why? And I didn't lose it on Oreo so everything went ok.

The Oreo upgrade is good with a lot of feature, but the speaker sound is not that good, but I'm happy with that:o

So, thank you fedray

(I'm new here and this is first time I comment here. Sorry for my poor English)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] WH33LSONFiRE:
I'm on the same build NPPS25.137-93-14, I guess I'll wait a little bit longer if the speaker sound is not optimal ;) Thanks for your feedback! Appreciated!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] saldor:
Is this something new with the new firmware?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] BrianDavid16:
Succesfully booted un my XT1671 with Tigco software channel. Truly amazing
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mayyouf:
No, not new, we all know that the sound in Moto g5 not impressive,but the sound in nougat is a little bit good with more loud. I think it should be optimized for the official upgrade.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] baldyy:
For those not originally on NPPS25.137-93-2-5, will doing this mean no more OTAs (other than doing it manually)?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tolam:
I mean you find the old ones in the obs-2 = obsoletes from lolinet
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Apprehensive:
I've not managed to find a single working link to a CEDRIC 8.1 image. lolinet gives me 404 not found for everything; archive.org has a solitary copy but the download won't complete; the google drive links all either state the download limit has been reached, or crap out after a few tens of MB. Is there anywhere I can go? Particularly interested in a RETGB.

Edit: I've finally found some. They have moved to directory "lenomola" on the lolinet obsolete archive...

https://mirrors-obs-2.lolinet.com/firmware/lenomola/2017/cedric/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zeassumpcao:
No, it just means we have to wait until the upgrade is released
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] echo92:
Probably not - since you've switched to a Nougat build not for your software channel, the OTA servers may not recognise your device. Only way to get OTA updates would be to flash the correct stock ROM for your device and software channel. You may have to clean flash if there are differences in the /oem partitions between the stock ROMs.

Furthermore, flashing the soak test may mean you get no updates anyway - if you're not part of the soak test, Motorola won't push OTA updates to your device (as you're on a private, beta build, which they control the updates to via your serial and IMEI number if you're an active soak tester). If Motorola decides that this soak test build becomes the final test build and general release, then you may be lucky and be back onto official OTA updates. However, if there are subsequent soak tests, you must flash all of them to be back on official OTA updates. Else, you are stuck unless you downgrade back to Nougat or wait for the Oreo fastboot ROM.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] baldyy:
I hope this is the case.

I imagine this is the more likely case.

It's not a big deal, I was getting errors on my latest OTA anyway (NPPS25.137-93-12 to NPPS25.137-93-14, most likely from unsuccessfully trying to re-lock my bootloader and making a change somewhere), so I went ahead and flashed the full NPPS25.137-93-2-5 firmware and successfully re-locked the bootloader. I'm actually still on Nougat, we'll see what the future brings with the next OTA, this phone will only get so many more official updates anyway at which point we can all just use the latest if we want to stick to stock.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
So we can't get ota if our bootloader is unlocked, what steps did you take to relock it apart from flashing 93-2-5 ? Cause I'm on 93-14 too but rooted and twrp installed.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
OTA is working with unlocked bootloader, but Your stock system has to be clean: no root (magisk changes kernel/boot.img) and no twrp (stock recovery is needed for installing ota)

I'm on unlocked bootloader with stock only and installed from NPPS25.137-93-12 to NPPS25.137-93-14 successfully coming from fastboot flash (CEDRIC_NPPS25.137-93-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
Cool that's good to know :) for my part all I have to do is restore my 93-14 twrp backup and unroot, then flash stock recovery. Right now I'm on debloated stock rom but build number says 25.137-93.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
build number is an information for settings given from /system/build.prop

If this debloated stock Rom is a custom Rom for twrp, then maybe the build.prop was edited by Rom maker

Mine is NPPS25.137-93-14 on regular stock rom with working ota
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
Yeah I was on that regular rom too (I have a twrp backup of this one) right before I flashed that debloated one

https://xdaforums.com/g5/development/rom-debloated-optimized-t3722396

Like I was saying I can probably revert to the regular rom just by restoring my twrp backup if ever I eventually want to update to oreo via OTA.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
should work that way :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kutlay1653:
Any idea about official stable Oreo in OTA? When?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
Anyone else's display looking very very vibrant/too bright/too colourful using Oreo OTA?

Mine is very very bright and vibrant
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] BrianDavid16:
The update also seems to fix the "ghost screen" issue.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jason13v8:
Your debloated stock 7.0 was vital in helping me get my IMEI and 4G back up and running the other day, I'm going to donate now! Which is the best method so that you get the donation direct? I have often used it when I get tired or flashing custom roms. Also would love to get stock 8.1 in flashable zip as others have asked, again I'd be happy to make a donation towards that work too. Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] B0rr:
LOL.... a "ghost screen" is a hardware problem and it cannot be fixed by an update. :good: PS: I do not have this problem and that means that your phone is defective.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I can't make Oreo flashable because full firmware still doesn't exist, the only thing we have is the ota file, and is not possible to make a flashable with that, I surely will make it when I get my hands on the full Oreo firmware
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Maybe the full white ui makes you think that
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] BrianDavid16:
Trust me, I also thought that, I sent it back to Motorola six months ago, they changed the whole display, but the issue was still there. Idk how or why, but the issue finally disappeared with this update.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Livi-Tech:
I thought it was just me as my moto g5 is my emergency phone as I've been using a Huawei P smart ( stock firmware but with magisk/root so I could remove default apps and make it more pixel like without changing firmware )

but my mum's Moto g5 did not have a issue, what I mean is the chrome browser icon, red was bright red, yellow was bright yellow ( very piercing to my eyes ) and green was also very light green, where as on my mum's phone there was no issue at all, I did a factory reset and it fixed my issue and put the rgb colours at normal value.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mayyouf:
I'm fully agree with you. First I bought the phone I thought it would be a hardware problem, but after a research I found some people facing same problem in Moto g5 in the nougat, but now it has gone with Oreo. Maybe only for me, but I'm happy with this result.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fabmont:
Thanks for bring to us this update, Fedray.

I've updated my device (XT1672) today and everything went ok. When I flashed the stock 7.0 to start the update I've lost my IMEI but after the update the signal returned to me (with 4g! Yeaaaah).

I have just one question, future updates will appear to us through OTA ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] echo92:
Regarding your update question, you may not receive OTA updates. As this is currently a soak test, the build OPP28.85-3 doesn't exist on the official OTA servers, so your device wouldn't get updates. If Motorola decides that OPP28.85-3 is the final soak test build and releases it to the official update channels, you may get updates again. However, if Motorola decides on releasing more soak test updates, then you must flash those yourself and in sequence - since you're likely not part of the Motorola Feedback Network, Motorola won't push future soak test updates as they don't know you've got a soak test. By flashing all the soak tests, you should be back onto the official OTA path (since the final soak build generally becomes the official release).

The only other ways to receive Oreo OTA updates is to downgrade back to the correct build of Nougat for your device, or wait for the Oreo fastboot ROM if that is leaked.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ShadowHyper:
when installing the NPPS25.137-93-2-5 my Moto G5 is formatted?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kadorna1:
So, if I flash NPPS25.137-93-2-5 over my current custom rom setup (through fastboot as described in the OP) then I'll be able to flash the OTA right away or do I have to relock the bootloader in order to do so? Also, is there a way to obtain root in stock oreo?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] arvindverma1992:
I have stock npns25.137-92-14 did it work for me or not
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Yes, everything will be wiped

No need to relock bootloader. For root after you are on Oreo you can flash twrp and then magisk

If it is not the version mentioned in the op then nope.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] arvindverma1992:
I think now i should go for official release.....
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cris_webb:
Well, everything fine here. I have the Xt1671 Dual SIM model with the software channel from Movistar Mexico.

Also, I didn't have any problems with the IMEI

Thanks for the guide.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AhmedtSadek:
I followed the steps word by word but I lost IMEI and signal is not stable at all any help please
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kadorna1:
Sweet! Twrp 64 bit will work?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
Too many stories of people losing their imei's.. I'm definitely going to wait for official ota this is too scary :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m.ayaz1148:
How is the sound [MENTION=6252172]Fedray[/MENTION]
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
you updated to oreo too? or you only flashed nougat then booted?

I don't know, better use 32 bits twrp.

I have no idea, I only tested if it was booting and working then went back to Nougat 7.0
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sxmple:
Do I need to have the bootloader unlocked? I have never touched the phone, neither root, nor roms nor anything, I need to unblock the bootloader to return to that version of nougat and install oreo?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kadorna1:
Reporting back, works FLAWLESSLY. After the initial 7.0 installation my IMEI did zeroed out but after applying the OTA both IMEIs came back (since it flashes own motorola modem and erases modemst afterwards. Installed TWRP, installed magisk, root works ok. Installing xposed now. Thanks a lot!

PD: si en algun momento andas por el centro avisame que te invito una birra ;)

EDIT: magisk xposed causes bootloops, DO NOT INSTALL! Gonna try normal xposed next

EDIT 2: regular xposed also causes bootloops, I genuinely don't know if the framework is causing these or if it's gravitybox

EDIT 3: disabled gravitybox and reinstalled xposed, bootloop again. Definitely DO NOT install xposed
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m.ayaz1148:
How is the sound quality please help me
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] diegoeo99:
Sound quality is "ok", but definitely needs a more work
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
yup, one of the reasons i went back to nougat, i use xposed a lot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] FarhanAlisolangi:
i lost my imei with stock reflashed plzz help

........................................................

Now here many posts but anyone post not work for

Me plzz when i going to unlock my bootloader it,s failed not unlocking

I also tried pixel experience rom 8.1.0 with 34 bit twrp to 64bit twrp

I also used that commands fastboot erase modemst1 and modemst2

But not working i,m worried because i bought my mobile 4days ago

It,s possible i use another mobile efs backup and change imei plzz real help xda owner

One thing i don,t install gapps in pixel rom it need are not to back imei

Sorry for bad english because my english is not good
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Flash nougat then update to Oreo. If imei is back flash nougat again but don't erase modemst1 and 2
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] FarhanAlisolangi:
Give me xt1670 firmware oreo plzz
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kadorna1:
It's in the first post
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AhmedtSadek:
I flashed nougat then booted then flashed the oreo and booted
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sxmple:
How can i go back to nougat? I thought that updating to Oreo I will get signal, but it still the same, and I'd rather to go back to nougat and wait to the official ota if that is possible

(Sorry for my poor English)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] manoloyloles:
OFF TOPIC - Looooooooooooooool :laugh:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nicohs103:
Works great, thanks you fellow countryman!!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spasik:
Yeah im on the same boat, is there a way of returning to stable stock nougat ? On oreo sound is muffled and when i flashed back with fastboot rom i lost imei. Only thing that restored my imei was going back to oreo... Im on XT1675 with locked bootloader
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
If imei is back on Oreo flash nougat again but don't erase modemst1 and modemst2. Next time try searching your answer on the thread.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kadorna1:
Sound quality on speaker is horrid, on bluetooth it's ok. Is there a way to fix it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Oshecy777:
I have a question dude, is works on xt1670? :eek:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Should work on every variant
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chuyin13:
Chek

https://xdaforums.com/g5/how-to/how-to-recovery-4g-moto-g5-t3787208