yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Banana Joe:
I see you've moved over to 15.1 ;)

I am using Skype calling and the camera on 15.1 regularly, only thing that doesn't work is In-App for WhatsApp (which doesn't really matter since you can take photos and videos and share it as an attachment in there...).

So I'd say I'm getting more out of 15.1...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] :
Yes, You are right. I could not resist to use the latest 15.1 build ?

WhatsApp is the the only thing not taking pics in app at all with the 21022018 build from vache.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
A 2/21 build?

I thought the latest was 2/14...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] :
yeah, sorry. I was wrong and the build is actually 20180214....
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
No problem :)

I'm going to ask some questions in the 15.1 thread if you wouldn't mind giving me some feedback on the ROM...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ChriMo:
I use since over two months lineage-14.1-20171210 with camera hack and I'm very satisfied overall. Having LTE active maybe 40%, WLAN and GPS off, no GApps (FDroid & Yalp Store), only WhatsApp and Conversations as background-online-messangers, I mostly get 3-6 days uptime!

I haven't updated because I originally I installed several ROMs with MultiROM and sometime two months ago 64bit ROMs ceased to work with MR. Also updating LinOS 14.1 as primary ROM seems not possible so I waited if the MR would be fixed for this and also because I fear an update could influence negatively on the battery uptime.

Will continue a little more with this very good ROM for me and see if 15.1 gets ready for daily usage or if I will clean install a current 14.1 as single ROM.

Thanks to all the devs and contributors! Also hope to see LinOS stable sometime in 2018...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] QQRaju:
Hi, could you please explain(either here or please PM) what are the camera hacks that you are using..
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Meowdib:
Yes, am also interested in camera hacks and what camera2api works on this
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Locklear308:
Just flashed this last night. Super simple and no major problems so far. Only minor issues are:

-The circle battery gauge seems to be smaller than normal and doesn't scale like expected. Strange.

-Standby drain seems oddly high. Doesn't appear to be any reason however. Not extreme by any means, but definitely higher than it should be for idling. Lol

Thanks OP for this nice rom. :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pcm0609:
For the battery drain, give it a day or more. Drain your battery to 0, then give it a full charge, then drain to 0 again, then another full charge. After that, it should be better. Another thing is the system is still "settling"all the files and data.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
+1. App caches need to be generated.

It may sound totally weird, but the ROM needs to "sit" on your phone for a while before it will start giving better performance.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Banana Joe:
sorry man, that's bad advice... waiting a day or more is ok, but discharging the battery completely would only make sense after deleting battery stats, however that's been discredited last I read, and discharging Li-Po and Li-Io batteries damages them permanently.

They don't have so much of a limited number of cycles they last, but a number of "damaging" cycles you can put them through before they're not able to hold a charge anymore. Dropping way below 50% "hurts", keeping them higher than that not really.

Putting them through 2 of those to "calibrate" battery stats isn't worth it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ChriMo:
I used this solution: MOD[Camera] Less Aggressive Sharpening | Noise Reduction

I think I used a Script posted later in the thread (have no time to look now), the file name should be Defcomg_chromatix_mod.TWRP-flash-7.1.zip.

A good comparison of before/after see Attachments (not made by me).

That it is the only "bad" presetting of the device which even by standard Custom ROMs is not changed/optimized. I use OpenCamera and for me now the device pictures are fine.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] boype:
new build up

Changes since last build

includes all LineageOS commits up to 2018-03-16

bump Android security patch level to 2018-03-05

updated kernel to Linux 3.18.99

interactive cpu governor: make frequency downscaling less aggressive (should help a little with image load lag)

Downloads are available in the OP.

There's also an optional kernel download with the SafetyNet hack available in the OP now.

Take care,

B.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Meowdib:
[MENTION=4615478]boype[/MENTION] Any way to enable camera2api? I installed this module https://github.com/zanglang/magisk-Camera2-API/ but the Google camera opens, let's me allow all 4 permissions, shows the camera logo for bit and then crashes. Does anyone have Gcam working on 14.1?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] litemaster:
Running the 20180317 build since Sunday without any issues.

Thank you very much [MENTION=4615478]boype[/MENTION] :good:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
I could be wrong about this but I believe the new Gcam requires 64bit libraries to run. I'm not a 100 percent certain but I know the old gcam works fine except auto-focus is broken
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Meowdib:
so, do you know which one works on this?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
Snap camera that comes with the rom is always my go to, but you can also use the OEM moto camera from the play store. I believe everything works on that except for 1080 60fps video recording and maybe save to sd card option is missing. Here's a link to a motocamera for custom roms as well that maybe of some help since as of right now moto camera only works on nougat roms https://xdaforums.com/g5-plus/themes/motocamera-custom-roms-t3604745/page5 i believe save to sd works on this one. Seems to be some talk about magisk modules to get 60fps working but I've never personally tested it

https://xdaforums.com/g5-plus/themes/motocamera-custom-roms-t3604745/page2 This the one by GTR with working save to SD
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Seems like battery profiles have disappeared in the latest build... This may have been taken out earlier and I didn't notice.

[MENTION=4615478]boype[/MENTION] Was this on purpose or some code bug? I really like battery profiles so...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
Talking about these??
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
No, the battery profiles... Power save, efficient, balanced, performance, etc
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
Gotcha, I think I vaguely remember those. Basically settings that control CPU and GPU scaling

I know it's not the same but you can manually set CPU governor to these with something like kernel auditor
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Precisely.

I miss those options a lot
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Meowdib:
Do they really do much though?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
I have always been curious of this myself. Basically of how well they are intergrated at a kernel level. On would think that one couldn't just pick a hardware setting without having some sort of root privilege, but if they do work I could see how they would be helpful and nice to have.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
In my experience they have provided better battery life when I needed it, and better performance when I wanted it. :cowboy:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] itek:
Ty for your builds. Much appreciated. Regarding the SafetyNet hack, currently I use the Magisk module. Is one better or worse than the other? Which do you recommend?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mikesal57:
Does Tap-To-Wake work on 14.1?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] p-try:
No, tap-to-wake does not work for me on 14.1.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Darkguy:
Is there a build with the April security fixes forthcoming?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Boype has told us that he is maintaining the ROM, and has been actively updating it since February.

You tell me ;)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] boype:
Hey guys, just wanted to let you know: I recently made the transition to the 15.1 builds and they're working really fine. No comparison with what I experienced when I tested the earlier 15.1 builds.

That said, I'm going to discontinue providing builds in this thread. I hope you understand.

Thanks and best,

B.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
Glad to hear that and best of luck with the upcoming builds but I've seen quite a few if not a lot of guys complaining about Bluetooth calling not working, could you please take a look into that now that you've stepped on to Oreo builds?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Yeah, there are more issues too:

-Not deodexed yet (no MicroG without Xposed)

-In-app camera is hit or miss

-Recents bug (just cosmetic, but a bug nonetheless)

-No 3x3 quick settings

I would have loved to wait for the official Oreo update before moving to Oreo, since most bugs would be fixed by official kernel source... Oh well. I guess I'll just stick to the 0225 build until 15.1 is ready :) :fingers-crossed:

Thanks for your work Boype!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] boype:
New build up

For those still interested: Despite my earlier announcement, I found some free time before my desperately needed vacation and uploaded a new build.

Changes since last build

includes all LineageOS commits up to 2018-04-15

bump Android security patch level to 2018-04-05

updated kernel to Linux 3.18.102

Downloads are available in the OP.

Take care,

B.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] karl0272:
Hi Boype,

Thanks for all your work on the G5+. Can you comment on the encryption status for 15.1? If encryption is fixed, I'm quite OK with moving forward. Unfortunately, encryption is a showstopper for my situation.

Many Thanks...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Heck yeah for the new build! Thanks for the parting gift, boype.

Can anyone confirm if battery profiles are present? Settings>Battery>Battery Saver and performance>device performance.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
Battery profiles are not present in the April release. I did some digging and didn't see them really changing much on a kernel level but maybe they are changing certian background processes. Either way the new version is smooth running and no issues as of yet.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] iBART:
ok, thanks. I am installing los15.1 :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] litemaster:
You are awesome! :highfive:

Enjoy your vacation! :cool:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Kinteshi:
Will I lose imei if I flash this after using an oreo rom?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Rejoice! Yet another maintainer has taken over 14.1 at this thread: https://xdaforums.com/g5-plus/development/unofficial-advanced-lineageos-14-1-t3784260

These new builds include OMS commits and various other optimizations, courtesy of [MENTION=6223940]king.ska[/MENTION]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] JameyS:
Safetynet

Sorry, moved to 15.1 thread
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
I'm trying to build LOS14.1 myself. I think the biggest problem is working out which Vendor tree to use. I managed to get it all to compile with the following extra packages (local manifest):

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project path="device/motorola/potter" name="boulzordev/android_device_motorola_potter" remote="github" revision="cm-14.1"/>

<project path="kernel/motorola/msm8953" name="boulzordev/android_kernel_motorola_msm8953" remote="github" revision="cm-14.1"/>

<project path="vendor/motorola/potter" name="boype/android_vendor_motorola_potter" remote="github" revision="cm-14.1"/>

<project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" revision="cm-14.1"/>

</manifest>

As you can see, I was using BoulZorDev for the kernel and device trees, but I couldn't find a cm-14.1 revision in those repos, so had to pull one in from boype. It compiles, and that's a good start, but found that Cameras just won't work.

Can anyone tell me which vendor tree that I can use? [MENTION=4615478]boype[/MENTION] - can you assist? I'd also be happy to provide builds if I could get things working. I can't develop, but am able to sync updates and do builds.

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

Just had a closer look, and I see the boype has separate kernel and device repos. I'll give them a try, but if you're watching, would be good to know that I'm doing the right thing.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
And I think I have it - found something earlier in the thread that talked about other repos needed. For anyone trying this themselves, I've ended up creating a file .repo/local_manifests/potter.xml with the following content.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- potter device, kernel, vendor -->
<project path="device/motorola/potter" name="boype/android_device_motorola_potter" remote="github" revision="cm-14.1"/>
<project path="kernel/motorola/msm8953" name="boype/android_kernel_motorola_potter" remote="github" revision="cm-14.1"/>
<project path="vendor/motorola/potter" name="boype/android_vendor_motorola_potter" remote="github" revision="cm-14.1"/>

<!-- other need projects -->
<project path="device/qcom/common" name="LineageOS/android_device_qcom_common" remote="github" />
<project path="external/bson" name="LineageOS/android_external_bson" remote="github" />
<project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" revision="cm-14.1"/>
</manifest>

Sorry for the spammy replies, but hope this is useful for someone else trying to build their own. Hoping that Lineage gets the May security patch soon, and will try building that.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lRemainl:
Nope. It's safe.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] JameyS:
I'm not an expert... but no. However, if you go back to stock, you most likely will loose IMIE.

It took a week of digging around to figure out how to restore it.

---------- Post added at 12:12 PM ---------- Previous post was at 12:10 PM ----------

Have a small problem with audio... Phone plays audio, but sounds like LOW bitrate. Is there a setting in lineage to fix this?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
He didn't ask about stock. He asked about this ROM.

[MENTION=8871996]Kinteshi[/MENTION] - I can confirm you don't lose IMEI if you go.to this ROM from Oreo.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Lineage just updated their source for the May 2018 security patch. As I've managed to build it myself, here's a link:

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

I updated the kernel to 3.18.108, and hoping I merged all of that correctly.

If you're interested in trying, keep in mind that I am just capable of building, so cannot really do any fixing. Also, given that boype has been maintaining this for some time previously, if he posts a build, you should use that. Also, if he or vache asks me to remove this link for any reason, I will.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
Looking good so far:good::good:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gothicVI:
May I ask for build instructions. Specifically how did you merge the device specific code linked in op into the lineage sources?

Thanks.

Gesendet von meinem Moto G (5) Plus mit Tapatalk

---------- Post added at 20:41 ---------- Previous post was at 20:37 ----------

May I ask how you included the device specific code linked in op into the lineage sources?

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Refer to my previous post here https://xdaforums.com/showpost.php?p=76504064&postcount=1467. This does assume that you can follow the instructions for pulling the lineage source. I used Lineage's standard guide, and it was just the local manifest that I have changed.

The local manifest file I described contains links to the device, kernel, and binary blobs (which is usually the missing piece to getting the compilation done - no need to use 'extract-files.sh', which usually doesn't work anyway). Additionally there are a couple of additional projects that are needed.

Also, as I have made updates to the kernel, you can use my project for the kernel - just replace boype with NZedPred in the manifest file.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] p-try:
Thank you very much, [MENTION=7346927]NZedPred[/MENTION], for your efforts. I have installed your build and it is working fine so far.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] boype:
New build up

Old habits die hard: New version is available from the OP.

Best,

B.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tuxattack80:
Thanks for the new build, maybe you can put my mind to rest but do these battery profiles actually do anything? At times it seems like it "may" lower clock frequencies but I still find them reaching max every once in awhile when set to power save and efficiency. I tried my best to make sense of the 8937 power hal since the 8953 uses that and not really sure what I'm looking at or ways to implement them at kernel level if needed.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] iBART:
Los 15 is stable but drains battery a lot, like 25% more than this build.. I regret the switching.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] miribus:
Just what the G5 Plus 32/2 Version needed

I cannot stress enough how much of a difference this rom makes to my 2GB RAM G5 Plus potter.

The stock, updated, unlocked ROM I had on sprint was garbage when it came to any web browsing, although generally speaking apps and games were fine. Some games a little slow but expected with the lower range snapdragon.

Chrome/Google browser dragged the phone to a slide-show even when in the background and that effect would hinder the opening of any app, a terrible experience.

This rom barely stutters and browsing has been a pleasure, thank you for your hard work, you saved me the time, and cost of dealing with a new phone for a while.:good::good::good:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Don't know if anyone's been having issues with the Camera2 API enabler Magisk module on here, but apparently it wasn't compatible with the lastest Magisk version. I updated it and it is attached to this post.

Working on boype's 0526 build.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Darkguy:
Thx - which APK of the Google Cam do you use?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] boype:
To be honest, I'm not sure. Would be worth checking the interactive governor's frequency settings...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
You can find it hosted at https://potterroms.me/Mods/GCam_Nougat_3.2.045.apk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
June Security Update

Hey all, I've done a build with the June security patches. Not sure if boype is intending to do a build again (after all, he did surprise us by putting together another one a couple of times). So here is a link for those that want to try. One disclaimer - I'm temporarily back to stock, and won't be trying this release. So please make doubly sure to back up before flashing

https://www.androidfilehost.com/?fid=674106145207493958
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] boype:
New build up

Hey guys,

an updated build with June Security updates is available in the OP.

Take care,

B.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] htsmi:
I completed a build a while back with microG -- https://lineage.microg.org/, signed with test keys. Been running for a couple weeks and totally stable. With devs' permission, I will post it here. Could also build another with June security patch.

On another note, I'm sticking with this branch because I have had no luck with VoLTE on 15.1 64. USA on Verizon. Even tried the scary recovery method that wipes IMEI then restores it. Much rather stay here till 15.1 can at least draw from Motorola's Oreo release.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sinchan_nohara:
Same for me i am also sticking with amdroid n based ROMs because i have volte issue in Oreo roms. Guess we have to wait till oreo offcial release.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
You could probably start your own thread - it's not exactly stock Lineage like this ROM, so it can have its own thread as far as I know.

I, for one, will totally use it - I've been meaning to go back to MicroG as I've become increasingly disgusted with Google. And it'll be nice not to have to mess with the Nanodroid patcher.

How often do you plan on updating it?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] htsmi:
Good idea. New thread posted here. We'll have to see how often I get around to updating it, but it is my daily driver.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] alessandro-villa:
Hi, I'm new user of Potter, I want to know if the roms nougat are in arm64 or only the roms oreo ....

I'm still in stock rom
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Nougat ROMs are just arm, the 64-bit hack wasn't discovered until Oreo ROMs had been popularized. [MENTION=7864014]sjrmac[/MENTION] said that a lot of git cherry-picking would be required to get arm64 Nougat - I don't know the whole story, I'm no dev.

If I were you, I wouldn't flash any Oreo ROM's since they are responsible for creating an issue where you IMEI becomes 0, there is no signal, and you lose all VoLTE capabilities.

I highly recommend you unlock your bootloader, boot TWRP, and back up every partition on your device if you really, really want to try Oreo. I have a small guide on it here: https://xdaforums.com/g5-plus/how-to/psa-efs-persist-t3807240/page5
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] alessandro-villa:
I'm still in stock, waiting to see if you launch the Oreo stock, I will not unlock for now
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] samuelcacella:
Could someone compile a Los 14.1 with the July patch please?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
The July security patch has not been merged into the 14.1 repositories yet.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] samuelcacella:
Okay, when possible can you compile LineageOs 14 .1 please?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
When they merge it into the repos. There's no set date for that unfortunately, we just have to wait on the Lineage team members
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Unofficial unofficial July patch build :)

Until boype gets around to doing a build, here's one for the 2018-07-05 security patch.

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