yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
February 2019 security patch release out - OPSS28.85-17-6

New build available now with the February security patches. This is from the retus software channel, but as always, we're pretty safe if we're on other regions too.

Android File Host - potter-twrp-flashable-OPSS28.85-17-6-aroma.zip

Dropbox - potter-twrp-flashable-OPSS28.85-17-6-aroma.zip

In case some of you have missed it, I had finally worked out what the underlying issue is regarding the touchscreen not working after flashing one of these Oreo builds. Head over to post #3 for the full details.

Happy flashing, and hit thanks if you appreciate my work!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] diegomartinezlovey:
can you share to flash via fasboot?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
I do not have the fastboot zip for this update, it has been built using the OTA.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
So after installing OPSS28.85-17-6 I had the issue below and followed the steps from earlier in the post:

On soak test 2 or later, I have my IMEI but no signal. What can I do?

In all cases where this has happened, the user's phone has relied upon an EFS backup for IMEI, due to flashing another persist. In these cases, it appears that the only way to get a signal is to use the firmware (i.e. modem, fsg, dsp - refer previous FAQ) from soak test 1. We're probably seeing here that the EFS does in fact need to be recreated to be valid. Unfortunately for these users, by not having their own persist, they are stuck with an old EFS and the newer firmwares appear to not work.

To do this

if you are already on Soak Test 2 or later, download the Soak Test 1 firmware download at either of these links:

Android File Host - oreo-soak1-firmware.zip

Dropbox - oreo-soak1-firmware.zip

If you are on Soak Test 1, install Soak Test 2 or later / official aroma installer and de-select firmware

Everything seems to be working OK at this point but will I be able to install future updates? How will this affect me going forward? Also, if I just want to go back to completely stock with OTA updates can I do that?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
You won't be able to go back to full stock unfortunately. Any future updates (if any) will still require Soak test 1 firmware.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Robert1339:
Helloo

Hello could you install this update on potter retail
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NeoPreacher:
Yes you can install it on retail potter. (Hope i got the question right...). I'm with a potter retail gb.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
That really sucks... if I would have known about this potential problem I wouldn't have moved to Oreo. The only builds that have been installed on this phone were the [Nougat][Stock][Rom] TWRP Flashable Stock Builds. Any idea what happened here? I used the persist / modem backup function from this Oreo installer, is it possible to go back to Nougat if I wanted to?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Were you ever on a custom rom? Most people who have had issues of this sort were on custom ROMs. The stock builds shouldn't have caused you any problems. Only other possibility is an app with root access has caused the problem.

You can go back to most using the TWRP flashable nougat builds.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
I was never on any custom roms, only the Nougat builds mentioned previously . I did have xposed framework installed but only used ad away and boot manager. Also had rom manager installed but that was because I purchased it previously on a different phone and installed it but never used it on this phone. I really don't use many apps. I wish I had went back to stock and had OTA updates. I hate the update notification that I had to deal with on the Nougat TWRP build, but now opening apps is actually slower with Oreo than it was with Nougat. Seems like my phone is slower in general. :(

I just got an update notification ... looks like i actually flashed a zip I had downloaded earlier in the month, OPS28.85-17-4-aroma.zip rather than -6..... So I need to flash -6 and then reflash the soak1 firmware again I guess?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
You can install the latest build, and just deselect the firmware option. That will keep whatever firmware you have currently, in your case soak test 1.

Also, if you don't mind, can you send me a private message with a link to the backup of your persist that the aroma installer made? I'd be interested in seeing if there is a particular issue with yours. You can refer to my pinned thread on fixing persist in the guides Forum for more info there.

https://xdaforums.com/g5-plus/how-to/fix-persist-resolve-imei0-explanation-t3825147
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
Sent you the message. Flashed the newest build with firmware unchecked and even with the soak 1 firmware I have no signal bar now. It says Sim not allowed MM3. I'll try flashing the build with the newest firmware. Am I supposed to enable the erase EFS?

UPDATE: Flashed the latest build including the firmware and everything appears good to go now, I have signal again.... wtf?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Could it have been an issue with the sim card, or your network provider? In any case, if it is working with the latest firmware, then you probably don't have an issue with your persist.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
It is indeed working fine now. I don't know if it could have been the sim or provider but I doubt it. Here's the chain of events:

I was on the TWRP flashable stock Nougat latest build. I clean flashed the 2nd newest Oreo build (I meant to flash the newest) and backed up modem/persist with the aroma installer, (not sure if I erased EFS but I did the full backup in the installer) and flashed magisk. After booting I had no cell signal. Flashed the Soak1 firmware and got a signal. I used it for 4-5 days or so with no problems that I observed other than just generally being less snappy that Nougat. Today I flashed the latest Oreo build without erasing EFS or installing firmware and after restart I had no signal again. I flashed the latest build again with EFS unselected but installed the firmware and everything is now OK. Weird wild stuff.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] omkar2309:
is it the official oreo 8.1 in a flashable zip, or build over the stock oreo firmware

I originally updated to official oreo 8.1, which i have uninstalled and due to a failed attempt in installing custom rom, i wish to rollback to stock oreo firmware.

If i flash the aforementioned oreo firmware (non aroma version), will it pose an issue with my system? mentioned in the notes was loss of efs and /persist directory. Will it hamper with the described data, partitions? if so, what is the best way to get around this issue? my device has obviously the bootloader unlocked as well as twrp recovery installed via which i'm able to access system and also external sd card and otg thumb drive.

any help will be appreciated.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
Any idea why the latest Xposed framework would cause a boot loop with this build?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
The bit underlined was the problem. You cannot use the Oreo firmware on Nougat.

Nope, and not something that I or any other Rom developer would look into. Xposed questions should go into an Xposed thread.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
If you want to stay rooted on stock, then just flash the latest full version of this. If you want to lock the bootloader and go back to stock completely with no root or TWRP etc, then fastboot zips are the way to go. There are a few other threads on this. Have a search of the forums.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
Whoops, that was incorrect, it was supposed to say Oreo, not Nougat. I will edit and change it. I have not flashed Nougat since the most recent Nougat build was released.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Ah, thought that was a little bit inconsistent with what you'd said before. I really have no idea then. Best to just keep watch and see if things stay working as they should.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
Will do, thanks for your help and contributions!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] omkar2309:
I just want to install stock rom. unlocked bootloader will only benefit me in case something goes wrong.

Another question. Will it work for moto g5s plus too or just the g5 plus?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
G5S+ has its own Fastboot zips, and someone would need to create TWRP flashable zips for it if you wanted them. You can't use G5+ ROMs on another device.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] stark1296:
Don't even bother for looking into Xposed issue, it is a problem in Motorola's kernel sources. Xposed only works with Elemental-X kernel but really unstable.

---------- Post added at 03:11 PM ---------- Previous post was at 03:10 PM ----------

My above post
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tomlogan1:
Cast missing after dirty flash

I was on the December variant, rooted and was able to use the cast function.

I did a dirty flash in order to get the February security update. I did root the updated copy. I am now unable to use the cast function. The three dots that would allow you to select a device such as a ROKU etc do not display.

There is a modification to the build prop that was necessary to achieve this but since I have updated to this release, every time I attempt to edit the build prop and save it I am unable to save the file..

I can restore the previous build and cast funcctions normally.

Any ideas appreciated.

Thanks.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Tianhe:
Or you could use the taichi magisk module to load some xposed modules without bootloop or breaking safety net. I am using XPrivacyLua without xposed with this method. Admittedly I am running Elemental-X kernel but that shouldn't make a difference.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] stark1296:
Actually, some users have reported that Xposed works only with elemental x. But, for taichi magisk, I don't think that this should matter.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spandy992:
Any news about February security patch?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Tianhe:
You could have checked OP's last build post, he has mentioned Feb security patch. It is Retus but doesn't make a difference even if you are running Retin
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Okay, I am totally stumped. I decided to switch back to the full version of this ROM from the debloated version. I did a full wipe of all partitions and the flashed the latest TWRP flashable (OPSS28.85-17-6) everything installed perfectly until I tried to root it. NOTHING works. I tried Magisk last 3 versions to no avail. I even rolled the dice and tried SuperSU and it didn't work either. Not sure what the heck happened so I tried to restore my TWRP backup of the debloated version and all it did was lock up at the logo screen, so I reinstalled the TWRP flashable full version.

I have searched these forums all day long looking for a solution without success. Any suggestions? :p

Update - I finally installed Magisk Manager and patched my boot image then flashed it via fastboot. That did the trick and I again have root and access to my apps that require it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Prowy333:
Hi, i know this is not related to the original post but i need to find the original firmware for the build 93-16. for retus because i need to go back to stock.

Online the latest i can find is the 93-14 firmware but since mine was once in original 93-16 (or 17-6 i don't really know the difference, anyways the last with february secuirty patch) when i unlocked the booloader now i can't go back to stock because of security downgrade. Can anyone help me? :(
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rmajc007:
I've tried both (October security patch if I'm correct), they both work for me (originally on reteu channel), but retus seemed a bit more rough around the edges (camera needed a bit longer to open, everything seemed a bit less smoth). When I reverted to a bit later released reteu version, everything worked buttery smooth.

That's the reason I'm also waiting for reteu February security patch, if it arrives...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spandy992:
I have a locked bootloader, but i didnt got feb security patch :(

I am on retin.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] stark1296:
Not out for retin yet (officially). TWRP flashable by NZedPred can be flashed safely.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] MegaTronics:
I have the same, updating to the latest version and all of a sudden Magisk failed to work. When I use your method, root access is back, but only for a limited time. I can use su in adb shell and change the filesystem to rw, but a minute or so later it's back to ro and not able to remount to rw.

Every root checker says it's rooted, but file access for them are ro.

:confused:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
I think that the entire issue of no signal was due to AdAway. I had installed and uninstalled at one point. I installed it today and as soon as I rebooted I had no signal. Uninstalled and rebooted, got a signal. Tried it again, exact same thing happened. I will post in the AdAway thread and let them know about this.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Not sure what to tell you. I have RW access to everything. :confused:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spandy992:
Can i have camera 2api enabled on complete stock rom(signed image) so that i can use gcam?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gdalsnes:
i see potter-twrp-flashable-OPSS28.85-17-6-aroma.zip contains signed boot-stock.img. it is possible to get the signed stock oem.img, system.img and recovery.img from this version too?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
Well suddenly my phone lost signal, I restarted and couldn't make calls. Tried to reflash the oreo zip and got an error saying it could not mount system, invalid argument. Now my phone is stuck in boot loop to twrp and is useless. Can't flash the ROM.... I really need this phone for work, any help would be appreciated.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
I can only suggest that you try the fastboot zips. I wonder if you are experiencing a hardware fault of some sort.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
I will give that a shot. I can't even wipe system from advance wipe in twrp, it gives the same " failed to mount /system" error.

---------- Post added at 02:26 AM ---------- Previous post was at 02:07 AM ----------

BTW where are the fastboot zips?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
I found the fastboot zip but I just don't understand the process to flash it and can't get adb to work.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Have a look at this thread

https://xdaforums.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
On completely stock (i.e. no root, no TWRP), you cannot. If you use these, then you can select the option in the aroma installer, or you can also use some magisk modules to do the same. However, you will only be able to use the 32 bit versions of gcam, not the 64 bit versions which have the fancy features like night sight.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
If your intention is to get fully signed images that can be used to flash through fastboot and / or lock the bootloader, then the answer is no. I believe it is the actual fastboot zip file that is signed (if you unzip a fastboot zip on a command line, it will say that it has been signed), and not the individual files within (let alone these ones).
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Kinda signing off...

Just a note to say that I no longer own this device, and therefore will be unable to provide much in the way of support going forward. It does indeed seem that there will be no further updates, but in the off-chance that the 85-13 series does see a February security release, I will put together a zip for that, but that will be the final, final release. For those that haven't yet read, potter is now outside of its software support cycle.

For those that have been supportive of my work, I'd like to thank you all. I really appreciate all of those who have hit the thanks button, helped with providing support to other users (so that I haven't had to all the time :D), and who have provided the OTA files which has helped get the latest versions of stock out to a wider audience sooner. Special mention to 'the little birdie' who provided the Oreo soak test OTAs - you have truly helped everyone who flashed someone else's persist :cyclops:.

I've learned a lot doing this, firstly by continuing the original work on Nougat, making the updates for Oreo, learning how to use the aroma installer, how to build the debloated stock roms, and all the other little things that I've done. The persist / IMEI 0 issue was a particularly rewarding issue to finally understand with the help of rachitrawat.

If you're interested, I've got myself a second hand Google Pixel (the original one), which in many ways feels like an upgrade except for battery life, even though it is an older device. Strangely enough, I have no intention of rooting it or doing any development for the time being.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spandy992:
Using your lineage os 15 build. Thanks.

---------- Post added at 08:09 AM ---------- Previous post was at 08:02 AM ----------

Thank you so much for your work.

You really helped many individuals who had unlocked bootloader but wanted to try stock firmwares (stock rom and custom roms, like a pendulum :p).

Yeah life of this device is almost over now. Thinking of buying a new one.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ctwftp:
Thanks for your help, I managed to get it working via fastboot and documented it in this thread for anyone who needs assistance :

https://xdaforums.com/g5-plus/help/flash-via-twrp-failed-mount-twrp-t3918028
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] seed_87:
Just came here to thank [MENTION=7346927]NZedPred[/MENTION] again for his awesome work. Updating my phone to the latest potter-twrp-flashable-OPSS28.85-17-6-aroma.

Awesome job!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spandy992:
Is it possible to flash stock nougat on my device (Downgrading) without messing things up?? Currently on Stock oreo (RETIN - December 2018 Security Patch)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
If you clean flash the TWRP nougat builds yes you will be fine. I had done that a few times myself.

Just make sure to flash the latest versions that have the aroma installer. They fix the persist permissions (otherwise you may end up with IMEI 0).
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
Bro a new firmware is available for potter.

https://rsdsecure-cloud.motorola.co...075078&Signature=Q1QQIkGPkosL9JhZY3rz5B+uxno=
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Judging by the filename that's the US February build, which I've already made into a TWRP flashable zip.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
Ohk bro ...but is was posted today only I thought it was Feb build for other channels
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spandy992:
Sir sorry a little bit off topic but wanted to ask you about your experience with pixel because it is very affordable now (1st gen) and i was thinking of buying one.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Good question, I've been quite happy with mine. Running stock Pie (unrooted) at the moment, and it is getting a Q beta test as well. So yes, it's going to be on Q at some stage this year!

Generally speaking, it's been better performing, the screen is more responsive and brighter, but this has come at a cost of battery life. The best SoT I get is about 3.5 hours, compared to about 5 that I got with the G5+. Also, running things like Bluetooth and GPS together (e.g. using a fitbit or other fitness tracker) drains the battery really, really fast. The stock GCam is breathtaking with Night Sight (far better than the modified ones we had for potter), and the modified GCam has recently had more updates that have added things in like additional configuration options and what were previously Pixel 3 exclusive capabilities. However, again these great camera abilities come at the expense of battery.

So yes, very happy making the change, but it won't be for everyone if really good SoT and battery life are essential. You'd also want to be mindful that the device is now 3 years or so old. When I first got one, the battery was absolute crap and wouldn't even give me 2 hours SoT. I was able to return it, and I'm much happier with the replacement.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spandy992:
Thank you.. i am thinking of buying one. I dont want notch cities and giant displays. Yeah device is old thats main concern but if it can outperform Snapdragon 625 then it would be a good idea.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Yash2203:
I'm on 9.0 Pixel experience my only problem is VoLTE is not working & in the the past i already hard bricked my device so how to install Stock oreo rom or Nougat rom i only wants VoLTE fix can anyone guide me
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lpulido:
Magisk No SIM

I'm having trouble rooting after flashing this rom.

I've tried several times and everytime I flash Magisk the phone stops recognising the SIM card.

It doesn't matter if magisk is flashed right after rom, or after first reboot, or after a few reboots; SIM is lost anyway.

Has anyone faced this issue?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] shoe64:
Had the same prob.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Fedray:
Try with older versions of magisk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rmajc007:
Well...

I'm on OPSS28.85-13-5 and I just received the OPS28. 85-17-6-2 update. I don't know how much it differs from the last update.

OTA update (file holds the name of my current android version)

[IMG="Screenshot"]https://dl.xda-developers.com/4/7/5/9/4/9/7/Screenshot_20190515-220001.jpg?key=Bhzq4_UphP3cK0csR4Q2IQ&ts=1557954033[/IMG]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Another release out - OPSS28.85-17-6-2

Big thanks to [MENTION=8552021]rmajc007[/MENTION] for the OTA. Here's links to the latest build.

Android File Host - potter-twrp-flashable-OPSS28.85-17-6-2-aroma.zip

Dropbox - potter-twrp-flashable-OPSS28.85-17-6-2-aroma.zip

Would appreciate it if someone is able to test and let the rest of the group know that all is OK. Keep in mind, it's been a while since I've done one of these, and I no longer have this device myself to do any testing.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Just tested and works perfectly
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rmajc007:
Another dirty flash, another perfect build, so far works flawlessly. Big thanks for that.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Shonilchi:
Is this the debloated? And whats with the aroma.zip - can we uncheck any items upon flashing of this build?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Fedray:
No, it's full. Yes, it's aroma, you can change some stuff before installing
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rgnicholas:
Thank you bro.