yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Cronoss:
[MENTION=7346927]NZedPred[/MENTION] you da bomb, homie.

I did a clean flash coming Nougat and everything works perfectly. I'm on Retus.

The only strange thing that happened was that after formatting and wiping the phone in TWRP (all partitions except for the sdcard), flashing Oreo and when installing some apps I had before on Nougat from the Play Store it gave me an error "This app is already installed" with an error code (-1 I think).

App actually "installed" fine as I then had the app working, so not sure what happened.

This happened specifically with Telegram and another one which I can't remember.

Obviously this is no big deal but just wanted to tell you my experience.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
For some there is a problem going from Oreo back to Nougat with the Play Store. Not sure if this is a similar issue, but if you continue to have problems, you can try wiping your internal storage (/sdcard). The issue (certainly Oreo to Nougat) is that certain stuff that play store uses gets placed into internal storage, and of course even on a 'clean flash', it's still there.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] FiddlePop:
So I have flashed this ROM a number of times, (switching to and from Pixel EXperience ROM)

But today when I flashed this, it is no longer detecting my SIM card

My IMEI numbers are intact (shows them in System> Hardware information and when I dial *#06#)

I also tried restoring EFS and persists TWRP backup I made before

What should I do?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Look at this post

https://xdaforums.com/g5-plus/devel...lds-coming-t3830482/post77814930#post77814930
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] atrain2324:
I think I have waffled on this long enough and it appears that issues I am getting on Pie roms can resolved by flashing Oreo stock. I already have my persist and EFS backed up. Follow the OP instructions and everything will be good?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] atrain2324:
After flashing this originally from a custom 9.0 ROM (went clean flash), lost my touchscreen. I have tried fastboot stock Oreo ROM and still no touchscreen. How do I get my touchscreen back?

Update: No idea what happened, but reflashed via fastboot the first commands before all that system stuff from a Stock Oreo image. Rebooted and got my touchscreen back but since I sent that erase userdata command, well lost everything in my internal storage. Luckily I have a backup from March 13 on my computer but sooooo slow to copy back into my TWRP folder so I can have my core stuff back, copy it again and then wipe my internal storage again for decryption purposes.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] FiddlePop:
Turns out there was no problem, removing and inserting the card numerous times scratched it a bit, a little rub solved the problem

(I confirmed it was the SIM card)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gemor:
Hello,

I am on stock Nougat (XT1687, bootloader unlocked, TWRP, Magisk (default, no plugins), rooted, ElementalX kernel, encryption enabled, security patch June 1, 2018, retus). What is the safest method to flash Oreo ROM steps wise + retain TWRP, root, ElementalX? Don't want to break anything in the process.

Thank you!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Whilst you should be able to dirty flash OK (take a backup first to be safe...), you will not be able to keep Magisk and your custom kernel installed - they need to be reinstalled, and you need to install versions that are suitable for Oreo. If your phone is encrypted already, it will stay encrypted.

So the order is pretty much:

Backup

Flash Stock Oreo (you should be OK with the default options in the installer, provided you haven't gotten into trouble with your persist partition in the past)

Flash Magisk

Flash custom kernel

One thing I'm not sure of, is whether or not there is an ElementalX kernel for stock. Check the forums to be sure, but there is definitely another kernel for stock Oreo - Extended Kernel.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gemor:
Thank you for a quick reply + info + steps! BTW ElementalX for stock Oreo is out at: https://elementalx.org/devices/moto-g5-plus/
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] xijaw:
how can i get latest security patches?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
Wait, there has been none released.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] elmisio_:
So, what are the steps to downgrade?

I'm supposed to clean flash oreo, and then just flash f.e pie from arrowos ?

...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Vivek Tiwari9874:
What precautions should I take while flashing stock Oreo ROM? And how to install aroma installer? Is it necessary? Please help me out I've lost volte but haven't flashed some else's persist and have a back up of mine

---------- Post added at 08:22 PM ---------- Previous post was at 08:06 PM ----------

I'm currently on pixel experience 9,with everything working fine except volte. Someone suggested me to go back to stock oreo.i was previously on stock Oreo(soak test version I guess),but to install Oreo custom ROMs I downgraded to nougat and then installed pixel experience 8.1 and had the same problem. Now 4g works fine but volte doesn't,this is a problem I'm facing on all ROMs. What precautions should I take to flash stock Oreo ROM? And what's the procedure for some at my point? Please help and probably I'll go back to PE 9 once volte is fixed
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Yeshu_bablu:
RETEU got the October patch. Can anyone tell if RETIN got the update? If yes, please give link.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
RETIN has got the update already but have no idea about the OTA link if it has been posted anywhere.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] blaze004:
Is there any fix for WiFi drops?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] erkme73:
I installed this last night as a dirty over my 7.0. After booting up and applying magisk, it works 100%. It was so simple and easy, I talked my dad into doing it on his identically configured phone. I walked him through the process (he's 700 miles away) and all appeared to work just fine, except his wifi.

His phone is connecting to his AP w/o issue, and I can see his phone on his router. The phone indicates strong signal, but no app is able to access the web (everything is off line). it works if he turns off wifi and switches to LTE (Tmobile).

Can anyone think of something I'm missing that would explain why the wifi connects but data isn't flowing?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lilbud2:
New update:

October 2018 Security Patches OTA update

OPS_Package_OPS28.25-17.zip

Link: https://drive.google.com/file/d/1h5ASvTrN3t33cC1NiePBLkU58vkOSvqW/view?usp=drivesdk

Retus channel
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Vivek Tiwari9874:
How to flash stock rom using fastboot?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rgnicholas:
Hi there... this zip is designed to be flashed through TWRP recovery, not via fastboot. There are other versions out there of you google or search through XDA a bit.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] erkme73:
Anyone? My next step is to wipe the phone and have him rebuild from scratch - but he's in his mid-80's and I'm sure if he'd known this was part of the upgrade requirements, he would have passed on it. Really looking for a solution!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Just try some basic things like deleting the AP and adding again, couple of reboots to be sure. Try disabling Bluetooth and or GPS leaving just WiFi enabled.

Not sure if this is similar or related to reports other people have made of the WiFi disconnecting.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
Where did this come from? There has been no october security update to RETUS for the Motorola G5 Plus.

There has however been an update for the G5S Plus.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Thanks for that, getting into building it now. If not ready today, will be tomorrow (assuming all goes well :))
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lilbud2:
I got this update yesterday morning (November 20) It said October security patches and it came through the official motorola updater.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Scarecrow.:
What's the build number?..September patch was 85-17..

Thanks

Cheers!:laugh:

PS:@NZedPred

Hey,I was wondering if installing the 85-13-3 update OTA over 85-17 would work?(cause I imstalled the 85-17 update to my RETIN chanel device a day before moto rolled out the 13-3 patch for October security)

Thanks?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] erkme73:
Well, I'm a bit embarrassed to admit clearing the dalvik cache/cache fixed the problem. We absolutely ran that routine immediately after applying the update, but apparently it did not do what it was supposed to do. I guessing that's because we wiped before booting for the first time? Either way, I had him do a nandroid full backup, and then using the advanced/wipe/(dalvik & cache), it worked. He is thrilled - an me, even more so as it means I don't have to hold his hand to get his phone set up from scratch.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Nope, that won't work. You can however downgrade to 85-13 safely, then capture the OTA (refer to first post) and share it :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] motog5plus+:
I'm trying to flash this file through TWRP on my moto g5 plus which has no OS installed ( is that what a clean flash is?), Whenever I start the flashing process the installation is fine until it gets to writing the system, it gets stuck here, sometimes it get stuck early on (6%-12%) and other times later on (70% - 100%). I'm not sure if I'm being impatient or if it is crashing. I wait around 20 to 30 minutes before restarting the phone. Any help at all would be appreciated as it is my first time doing something like this. Thank you.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
Interesting, wonder why no one else has?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rgnicholas:
I have been bugged by the update notice for the last 2 or 3 days... today it has been very persistent ;)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
I wasn't saying it wasn't true, just haven't seen it mentioned elsewhere.

I believe I know why I haven't received it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
October 2018 patches:

https://www.androidfilehost.com/?fid=11410963190603855696

https://www.dropbox.com/s/nziazzn7q47zmn5/potter-twrp-flashable-OPS28.85-17-2-aroma.zip?dl=0

Did a quick test with these, and safety net failed. So, in the Aroma installer, select the option to change the device fingerprint to pass Safety Net with Magisk.

Don't forget to hit thanks if you want me to continue doing these builds.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jirrick:
Thank you very much! Your work is awesome!

Which partitions are essential to backup? I have a full backup from month ago and I don't think much has changed since.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Robert1339:
hello can you flash above the previous patch?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rmajc007:
I've said it before and I'll say it again - man, you rock!

Another dirty flash over previous ones, everything seems to work OK.

Thanks to you and your awesome work my phone is up to date and in top condition with absolutely no need to look for a new one.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rhamej:
Dirty flashed over original. No problems other than I had to toggle preferred data LTE on and off to get LTE back. But other than that, all good!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] atrain2324:
here's a likely dumb question. I flashed this before and it killed my touchscreen, even in TWRP. I had to do 2 or 3 fastboots of Fastboot Oreo before the touchscreen worked again. Booted into it successfully, then went back to Pie.

If for any reason I'd like to come back to Stock Oreo, can I simply wipe my phone like a new ROM and flash the latest one you posted and we're all systems go?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] jefferzombie:
Dude, my touch was killed after flash this too. How do you put back to work? I'm afraid to mess with something and brick my device. Mine is Potter Brazilian.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rgnicholas:
I have flashed lots of ROMS from this forum, I have US version x1687 (if that matters) and for me, I found that to make sure you still have the fingerprint sensor working, I did the following... but I would suggest re-reading the full OP even though it is a lot to digest for some. As always, do any of this with research and at your own risk.

be sure you are using the latest TWRP

do full wipe on your phone (for me, I wipe everything but the external SD card)

flash the latest Nougat stock build (mentioned in the OP)

immediately flash the latest stock Oreo build

wipe dalvick cache & cache

boot, settle, enjoy

This has worked for me smoothly... also - and this is just my preference - I flash flar2's ElementalX 3.0 stock Oreo kernel and get 2 days battery life on normal use. I also flash Magisk for root.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] jefferzombie:
Bring back touchscreen

After my touchscreen was killed i bring back to life with this

ok, here we go!

First i flash this and messed up my touchscreen,

So i download the stock fastboot file from this post by LLegion https://xdaforums.com/g5-plus/how-to/safe-stock-oreo-fastboot-flash-t3851515 but i don't use the fastboot files from there because my bootloader is slightly different from that, once i flashed the TWRP Stock that ****ed everyting and updated some partitions, i think bootloader was one. This is a AIO packed files, stock rom, some utilities and most important, the bat script that i used, more info below.

So i download this https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip because the base of de messed TWRP zip is based on OPS28.85-13 if i'm not wrong, so i update to a higher version to avoid possible error (or brick) if a lower version possible can do. Flash a equal or a higher version. This is the fastboot files that worked for me, i don't use the provided AIO stock rom inside the previously mention files, i just use the bat script.

So i used "OREO G5 PLUS DE CERO.bat" with the "POTTER_RETAIL_8.1.0_OPS28.85-17_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" files. There are 3 scripts in the AIO pack, one to full flash and to lock the bootloader, one to just flash everything and NOT lock the bootloader e another to flash everything and not wipe the internal storage. First i try to use that one not wipe the internal storge but don't work for me. It flash the rom but the touchscreen don't came back to work, so i used that one can flash everything and NOT lock the bootloader, after that the touchscreen work but after the first boot came a message "the device cannot be decripted" or something like that, you must to wipe to factory reset in stock recovery and after that i bootup again and good to go.

Flash TWRP, Wipe all, flash rom, gapps, magisk and i'm on AEX Pie.

My device is a XT1683 brazilian version with 2gb ram, NFC and DTV.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] karthik432:
need october patch Stock firmware file to relock bootloader .

please help me out.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
I've seen now that there have been a few more instances of people losing their touch screen functionality after flashing this. This has happened to me once, but it was with an old version of Nougat that I never made public.

Given that it seems to be quite intermittent, I am interested in getting some more details from those that have experienced it. Can those who had this issue please tell me the following details:

What rom and version were you previously on?

Did you do a clean flash or a dirty flash?

Did your device have any bootloops after installing?

Was anything else flashed at the same time, e.g. Magisk?

Cheers
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Sorry that you experienced that issue, but glad you could get it resolved. This is already included in the FAQ (post 2), that you need to flash a fastboot rom to resolve (well - we know that works, exactly what within the fastboot flash that fixes it, is somewhat unknown).

You'll see in my post above, that I have asked for some information for those who have experienced this. Would appreciate it if you can provide these details, which will hopefully help identify any common circumstances that lead to this.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kdt09:
How could i install Gcam in this rom. Anybody knows?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] atrain2324:
If you are referring to the mods, no. Those mods require 64-bit. Oreo stock is 32-bit.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
Can someone please upload stock FMRadio.apk file?

Thanks.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] jefferzombie:
There is nothing to excuse man. You try to help people here and this is great! Sometimes things get wrong and we all know this.

Thanks for your help!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Armando Lopez:
https://mega.nz/#!oqwXzSjT!6dNS5diX5Nhow6m3sRNsVGIQ0hKw0NYv9QYwlvGzKtU

Here it is man
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
Deleted. :crying:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rhamej:
https://drive.google.com/file/d/1NkCYyRxMkGnvkAZu-UNmnpA6QlHmZyZx/view?usp=drivesdk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] atrain2324:
I see that the October patches have been built for flashing? I deployed the fastboot Oreo rom (with the 9/1 patch). Now I get a notification for the 17-2 update. I can flash the 17-2 update created here safely?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dglenn1957:
Thanks for your work and providing all the info here!

I hope this is not a stupid question. I've done some searching and haven't been able to find a definitive answer. I recently (when my warranty expired) unlocked my bootloader, rooted with Magisk, installed ElementalX kernel, did the camera Chromatix mods and enabled camera2 API.

I thought I could do this: https://xdaforums.com/g5-plus/how-to/guide-complex-ota-update-magisk-rooted-t3688175 to apply the October update. However, I don't have a backup of oem.img and don't even know how it would have been possible to create one.

Could I use this patch to apply the update? In case something goes wrong, would restoring a TWRP backup bail me out?

Thanks again!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] EzSqueezeCheese:
Is it possible to lock my bootloader and go 100% stock?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
The are full ROMs in their own right, as opposed to patches. You can install them, and install Magisk etc as well.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
No, not with these builds. You have to use fastboot, the are other threads that deal with that.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] CaptPetrenko:
Oreo OPS28.85-13-3 OTA for reteu https://drive.google.com/file/d/1FBsR88vvyOVEbzeU_udZOoJDV6eYrpHe/view?usp=drivesdk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Thanks, will do a build for that in the weekend.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rmajc007:
The last build version was OPS28.85-17-2 (my phone even says OPS

S

28.85-17-2).

This OPS28.85-13-3 a kind of doesn't fit in, "numerically" speaking, of course...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dglenn1957:
Thanks for the prompt reply! Dirty-flashed your latest ROM and all seems perfect! Also, the Moto system update nag is gone!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
It's because Moto have two branches again. The 85-17 branch is for retus, and the 85-13 branch is for everyone else. It's a bit like how the 92- branch from nougat was for return, retla, retbr, and the 93- branch was for retapac, reteu, etc.

It doesn't really matter though, they're both compatible with all phones. The may be some differences, and if people are worried just stick to the branch for your software channel.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rmajc007:
OK, got it. I am reteu channel, but I have flashed 85-17 Oreo version. So I should stick to this one, right?

Although your builds are complete images. What would happen if I flashed mine 85-17 with 85-13? Would it just overwrite everything and work fine? Theoretically speaking only, of course.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
You'll be fine, I've gone from 85-17 to 85-13 with a dirty flash several times.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Hhhhhuul:
My touchscreen is dead too. I can't reflash the rom because I'm getting a "preflash validation failed" even though my bootlader is unlocked. What should I do?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Look a few posts back, someone else had the issue recently and linked to a guide on how to fastboot. See if there's anything in that that you haven't tried yet.

Another option, if you have a USB OTG cable, is to plug in a mouse to the phone and use that within TWRP. Then try flashing this ROM again.

Also, a few posts back, I asked if people who experience this issue could answer a few questions. Please can you reply to that and provide this information. It's really hard to try and troubleshoot what's happening if no one provides any information...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Hhhhhuul:
So this appears to be the solution. Couple of questions because I'm a newb.

If I understand correctly, the stock rom has to be flashed. But a specific script within the rom. How does one run a specific script? I usually just flash the zip.

I'm assuming "preflash validation failed" won't show in this case, because we're using stock? Update: still getting this error. How to get around?

The final step requires wipe to factory reset, but for this, the touchscreen must be active. How was this restored?

Many thanks guys...

---------- Post added at 12:57 PM ---------- Previous post was at 12:26 PM ----------

Not sure which version, but I think 7.0 and an unofficial lineage port

Flash was clean

No bootloops I think

Did not flash magisk or anything else at the same time
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
OPS25.85-13-3 build available

The OPS25.85-13-3 build is now available. Note that due to limited time, I haven't been able to test it. Would be good if someone can do a backup and test it, then let everyone know if all is OK.

Android File Host - potter-twrp-flashable-OPS28.85-13-3-aroma.zip

Dropbox - potter-twrp-flashable-OPS28.85-13-3-aroma.zip
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Works perfectly, thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Robert1339:
hi what level of patch is and for what channel, thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Scarecrow.:
October security patch for RetEU and RetIN...Not sure if it's for RETBR...

Cheers:laugh:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] agustinsaavedra1:
Are you going to make the debloated rom for this build?