yashsingh1/xdaforums huggingface dataset:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
That's the first time a developer replied to my post in any of the Moto Z Play threads and I feel duly honored.

Here's my update on the battery performance of this kernel coupled with Lineage OS 15.1.

Earlier, I had posted about my 12h battery life in my previous rooted stock Nougat build and I am so much glad to mention this to everyone here that with a few tweaks in Kernel Adiutor and your settings, you can make your SOT last longer than 12h. Yes, you heard me. 12 freaking hours of magnanimous screen on time with this kernel and unofficial Lineage OS 15.1.

I had a holiday yesterday and I had to sacrifice my entire day to use the device for a battery review for this dexterous kernel. Scroll down to the screenshots below and you'd see the proof to my statements. During the 3h52m of calls I made, my screen was off and screen on time didn't increase. I had my 4G LTE mobile internet on for over 8 hours. I downloaded a movie and browsed for several hours too as you can see. Stellar battery friendly kernel. I'm so grateful that this kernel has resurrected the true potential of Snapdragon 625. Thank you Stayn.

My Kernel Adiutor settings were as follows.

CPU big governor - InteractiveX

CPU little governor - InteractiveX

GPU governor - guardian

Adreno Idler - On (In GPU settings)

I/O Scheduler - bfq

Low memory killer - As Stayn suggested in the main OP.

Launcher - Smart Launcher with AMOLED Black mode ON. (Check screenshot for how it's drawer looks)

Substratum theme engine with dark themes built and installed over all the Google apps including Dialer, Contacts, Messages etc

(Yes, the device looks like a Black Pearl but it is Amoled friendly)

Choose powersave profile in Settings > Battery > Battery Saver and Performance.

Hibernated every app after its use with Greenify.

Stayn, I'll definitely try out the Viper4Android workaround and get back to you! Peace and Thank you.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
[MENTION=220333]jst[/MENTION]

I tried the 'su -c killall audioserver' rather than the one you provided because yours gave me an error in the terminal stating an Invalid Signal. It didn't work because I suppose Magisk module is already implementing a similar function during Viper4Android installation.

[MENTION=7713645]Stayn[/MENTION]

Regarding Viper4Android, I tried several installation procedures through Magisk. Tried the lib workaround, tried putting it as a system/user app, tried installing without the killall audioserver/with the killall audioserver, tried to set Selinux switcher to permissive for one install and then enforcing for another and then disabling Selinux altogether for another installation. No success. Whatever I do, everything gets installed but 'Processing always remains a No' while playing an audio with Viper enabled. Audio FX folder is squeaky clean. Even deleting the folder, doesn't render any results. I suppose it is ROM issue then?

Regarding Xposed, I have set up the Edxposed and a bulk load of modules are already set. Thanks for kicking my head back into the rooting game by reminding me that Xposed is old now.

Update : Viper4Android android finally works! Not sure what the bug was, I dirty flashed my own rom and cleared the dalvik cache, installed Viper4Android and Voila!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
[MENTION=7713645]Stayn[/MENTION]

Here are the recommendations from my side, sorry if the list is too long. It would be perfectly alright if you shy away from adding these features because the kernel is already perfect as it is.

CPU governors

1) zzmoove (tuned to be battery efficient)

2) Impulse

3) Smartmax (popularly battery efficient)

4) Alucard (popularly battery efficient)

Kernel feature

Backlight dimmer is very much needed because compared to MI devices the lowest brightness in MZP can bring many light hungry insects to eff up my night experience with the device. Cheers and Thank you.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
Calls over LTE sometimes stops functioning altogether after a restart and I get a 'Call ended' error as soon as I try to place a call. Mobile internet is functioning well, IMEI numbers are visible alongside both sim in settings too and yet I cannot place any call at all. The screenshot shows the error that I get when I try to run one of my network codes. It isn't a network issue, since there's no issue during the other times. The people who do try to call me during these times, state that they can hear my phone ringing but I never get any notification to answer the call.

I have heard that this is call barring issue and I tried to resolve it by searching for the 'Call Barring' option in my default dialer app and in the network. I cannot find any option like that anywhere and the only way I can solve this issue is by removing my Sim and reinserting the sim back when my device is powered off. The reboot after that has no calling issues since LTE works. But I don't understand this issue and it has been bugging me for a while. I messaged the ROM forum about this issue but that thread has been inactive for a while. Still unclear whether this is a ROM or a kernel issue though. Sorry for my long messages in this thread, I am a writer and I tend to write long paragraphs for everything.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
Xda app didn't allow me to upload this pic in the previous post and neither did I find a delete post option there. So here's the picture of the Dialer throwing an error at me.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
No such problems for me - at all . Try to make logs for dev , also write what is your configuration - mainly rom which you use with that kerenel . From my experience if rom has any problems with connectivity - non stock kernel doesn't help .
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
I am running Lineage OS 15.1 with ArtxKernel. The rom doesn't have any LTE issues according to the main thread. Here's the system log while I tried to establish a call. It showed 'Call ended' as soon as I dialed it. 4G Internet is working fine but calls aren't getting patched through. I had to take system log rather than dialer app log because dialer showed everything green. I hope this log brings me the answers to the problem.

I'll have to eject the sd card in settings and manually remove the card/slim slot and reinsert for the connection to be established again. This is how I fix it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
[MENTION=7713645]Stayn[/MENTION] --- >> ArtX 2.0 - on XPE build 06/03 - non treble config - goes crazy , made phone unusable at all. Also I suspect that it makes problem with newer builds gsi from mid-may ... phone just sometimes freeze cant take logs :/

Tested last Descendant 3.0 - on stock vendor Cosmic kernel it is working fine. Imedietly after boot on ArtX 1.2 or 2.0 there are problem apps don't run [emoji848][emoji102][emoji22].
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
That's happened to me as well.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
So U use stock Cosmic kernel yes? With what parameters?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
I'm not using Cosmic as a vendor, I use xpe 12.1 and use ArtxPlay kernel with it.

It's OK battery-wise but performance-wise sometime there is a little bit of lagging.

When I tried the new kernel with xpe 13 there is much more lagging so I can not use it with xpe 13 as a vendor.

I'm using parameters a few posts back with that amazing battery enhancement parameters. I'm using my phone now for 12 hours on screen!!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Does this kernel support exFAT for microSD cards?

EDIT: It does.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mitchu:
Does this kernel supports Kali nethunter 802.11 injector? If don't, could you add it?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Will this still get updated?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
I updated the Lineage OS 15.1 July update and after it's update ArtxKernel was not present as its kernel. I checked and rechecked my 'Call ended' issues and they were solved. No matter how many times I restarted the device, I could perform a normal LTE call without issues.

I just flashed ArtxKernel in my TWRP and checked my calls again and I have started getting the 'Call ended' issue again. If anyone calls me he can hear me ringing but I don't get any calling notification or miss call notification. So it is a kernel centric issue. Specifically happening only after flashing ArtxKernel. I had uploaded the logs before in this thread but there wasn't any reply to it. : ( No idea why no one else faced the issue here before.

The only temporary solution is removing and reinserting sim card and everything is back to normal.

Here's another post with detailed logs of the same issue by me.

https://xdaforums.com/moto-z-play/help/lte-issues-oreo-t3943282
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] ThurMac:
Is there a way to unistall it?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Re-flash your ROM, it will replace the kernel.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] ThurMac:
Much appreciated!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Bug: No internet connection when using the 1.1.1.1 app as VPN with this kernel. Tried with LineageOS stock kernel and it works.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] thechloroform:
Any Lte issues for you? Like the one I mentioned.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jatiyanon:
Sorry, how I know the flash is work correctly. what build version is shown in the info?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Settings -> About Phone-> Android Version -> Kernel Version
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Did you tried that kernel in gsi config already ? In past days it produced a lot of lags -but maybe now it is fixed ? :D ... it is more battery friendly I suppose.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Yes it's. I faced some lags also when I used it in GSI configuration but with Oreo vendor. I will try it with our new Pie vendor ;)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
I tried it mate for the last 3 hours and performance is the same no lags, but I feel it's better in using battery I will monitor the battery for the next 2 days.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Good news !!! . Try interactiveX governor for battery life . With this kernel hotspot my not work .

Well hotspot don't work on both kernels - stock xpe13 and artx 2.0... Tomorrow I add log for [MENTION=4403780]TeamMex[/MENTION].
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
after installing the kernel I charged my phone 16 hours ago and I've got 7 and 45 minutes on screen and still have 35%. That's without changing to interactiveX governor or changing anything.

Imagine if I changed all recommended power saving settings, how long I will get :) impressive. Really thanks [MENTION=7713645]Stayn[/MENTION] for your great job.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TeamMex:
Hotspot works in xpe 13 and in gsi caf based :(
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
He meant that if I installed a custom kernel hotspot will not be working :)

---------- Post added at 01:17 AM ---------- Previous post was at 01:14 AM ----------

Note: hotspot didn't work with me in any GSI configuration whatever vendor I use, even the vendor I use has a working hotspot I don't know why. Of course without any custom kernel :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Is development for this project still ongoing?

(Legitimately just asking, not implying anything else)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
And all that without performance hit [emoji781][emoji106]

Well efficency of this kernel is amazing (in GSI config =xpe13 + havoc) - around 30% less battery usage .( OC like stock xpe13 kernel)

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TeamMex:
I misunderstood an apology.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Development is still ongoing, theres a lot of things I've adressed and fixed (Including signal, charging and other problems...), removed useless "optimizations" and other things, I'm currently using this new kernel as my daily driver and testing everything before releasing an update.

There still some other things to cover, but I have like zero time, I want to make sure that the next release will have no issues at all so it's going to be probably the final update (At least for Pie...)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
That is good to hear! Thanks for your work.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Finally you're back, I hope you are alright mate. Welcome back
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Thanks, everything is fine! Just like I said I have no time, but I've been doing some progress little by little all this time :fingers-crossed:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
As you wish bro but please don't forget your new rom as well, we are waiting for your next build. Welcome back again :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dawidrejowski:
I can't use this kernel with xpe or gsi, because then usb host don't work ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Yes you are right, it's really annoying issue.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] M4KR0V:
Does it work at experience13? what's the difference? [MENTION=4403780]TeamMex[/MENTION]
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TeamMex:
of what thing?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Quick info:

I'm aware that there are problems with this kernel on Treble or GSI ROM's, those problems are going to be fixed in the next release (Artx3.0), also, the next release will come with separated variants for each target (arm, arm64, arm64 treble, etc...) to avoid some issues.

Also, I developed another variant for the next release, with EAS (Energy Aware Scheduling) energy model. I made a separed branch in github where you can see the source, its fully working and will come only for arm64.

I've updated the download link in the OP to the root of my development folder for this device, there you can see everything I've built for this device, I added a folder named "Oreo-Pie[BETA]" inside the ArtxKernel folder where you can access to my pre-release builds, they are for testing purposes but it doesn't mean that they are unstable, just builds with missing features listed in the OP, one of those builds is the EAS Kernel, remember its only arm64. I updated the device tree for arm64, so, from now on ALL my custom ROM's builds will be arm64 (Check the download link in the OP) :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Good move to go to arm 64bit [emoji41][emoji106]

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Thanks Stayn for new development in kernel and Happy to know that you made 64bit ROM Pixel Experience.

But are the previous ROMs will be abandoned? They were wonderful specially Bootleggers just SIM issue to be fixed and hopefully if it converted to 64bit.

Anyway thanks for your effort to keep our phone alive ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] M4KR0V:
change something about performance or battery?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
In Pixel experience I have no issues, in my other ROMs you got the Sim issue? If so can you test Pixel Experience and tell me if sim is working? Based on that I will decide if update my previous ROMs or not :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Ok I'll test it next weekend and let you know the results. Thanks
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] avirupz:
Sim and everything is working perfectly in pixel experience
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
NICE!! Thanks, I'll then update Carbon and Bootleggers to arm64, probably this week :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Anyone tried new beta kernels on gsi? [MENTION=7713645]Stayn[/MENTION] did you tested beta kernels in gsi config?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] FelTell13:
First, thanks for continuing developing ROMs for the Z Play.

I just had a few hours with Pixel Experience and almost everything is working so far. With CarbonROM I had SIM problem and constant reboot, both is fixed. The only missing thing was Night Light, I have the option, but it isn't working. Unfortunately the performance is poor like every other ROM I’ve tried (with the exception of [MENTION=2722542]BtbN[/MENTION]'s LineageOS 15.1), my phone has already froze two times since installing 3 hours ago, the only thing that fixed was a reboot, sure, I was downloading something, while listening to Spotify and using another app, but this never happened with LOS 15 or Stock. I don’t know if I’m very rigorous or my phone has some type of difference because I see most users are fine with the performance. Once again thanks for maintaining Addison up to date.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
I'm pretty sure that problem is RAM management, I've been testing various configs by myself. Thanks for letting me know about that, I'll give it more priority for the next builds and include it in my kernel init script if everything works good :good:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mariakos:
Where i find new pixel experience rom how made stayn?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Can anyone link me to the Pixel Experience ROM that people are talking about? I can't seem to find it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] avirupz:
https://mega.nz/#F!DpRllKAZ!KA-R1sglnLCgP1s9YzJ3Ew!K5pnlCDa
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] daniell007:
Hello Stayn,

First of all, thank you so much for all your efforts and hard work on this kernel and to the community. Any updates on the Oreo stock variant?

Thanks!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
How about the XDA thread?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
No thread, that's just a personal build :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Any plans to make it public? :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Not for the moment...

Nope, I don't use GSI (I just compile and use whatever rom I want to :cool:)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Your are lucky you have that skills [emoji106]. But I suppose that 3.0 beta kernels don't work with GSI. They stuck even before rom boot screen. Kernel 2.0 works without problems in gsi's. If you have time for fixing that it would be great.

About your beta Pixel experience rom - clean install, there is no keyboard app so set up is hard. I couldn't also flash data backup via twrp error 7. Now I am on it with data restored from older twrp backup... Testing.. [emoji846]

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
[MENTION=7713645]Stayn[/MENTION] pls take a look at EvolutionX if it is possible to make it for MZP as not GSI version.? [emoji39]

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Oh well, I was thinking of making another personal build, gotta try EvolutionX then :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Take a look also in xpe sources how to fix green tint in Google Camera enabled hal3.. It is present. [MENTION=8473380]Juniiim[/MENTION] patch for that don't work [emoji58]. Thx for EvolutionX

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
Which gcam version you have?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
What do you mean, Juniiim path doesnt work? I mean, that's the only fix in XPerience device tree I can see, if that doesn't fixes it I don't know how to then...
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
One named P3 6.2

Wysłane z mojego XT1635-02 przy użyciu Tapatalka

---------- Post added at 11:22 PM ---------- Previous post was at 10:26 PM ----------

Juniiim has also flashable patches for green tint in gcam - made for xpe, they don't work on your pixel experience. I can send links to them for you. Also maybe I could found another gcam version, which work. Probably in those flashable patches you can see what copy where.

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
send them hehe

Edit: [MENTION=2134415]sebx_g1[/MENTION] checkout my MEGA development folder, dropped EvolutionX there, I'm using it right now :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Damn!! You are fast [emoji846], gapps are needed for it or not?

Maybe in your Pixel Experience rom there is no keyboard because I use nano gapps?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Pixel experience and EvolutionX already include gapps, theres no need to flash opengapps xD

Edit: gib flasheable patches
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
That was my mistake [emoji16]

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Bruh share the patches for gcam I'm still trying to get rid of the greenish effect
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
That is non treble Juniiim fix :

https://mega.nz/#!95xFXQRJ!KzB3cOnl7slKIt5oYs3D3ZQgXVTONi572xGZ9jVwbiQ

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Stayn:
Thanks! Also, do you know about an issue I'm getting, when focusing the colors like washes away repeatedly?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
On preview screen? No solution for it as far as I know. Some gcam mods flashes more some less. Even with that photos would be nice without green tint.

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
[MENTION=7713645]Stayn[/MENTION] - Your EvolutionX rom build look very very promissing !!! :D If you will have problems with green tint try to ask [MENTION=8473380]Juniiim[/MENTION] (but he disappeared now for long time) . Green tint I get only when I use HDR mode on gcam : /

Even without gcam - stock camera work and open camera - I can live with it till green tint problem will be fixed . For me problem is fixed .:cowboy:

I found that Juniiim's magisk module for removing green tint works :D (at last in your EvolutionX even HDR and HDR+ with flash ) - file attached -- I enabled HAL3 also via Magisk module C2API+GcamSlowmo_enabler_v1500.zip (attached) . I use gcam ver. -> P3v12.2_GoogleCamera_6.2.030.apk (127,72 mb :( - testing newer version 12.6) . All worked for me on clean installed rom EvolutionX by [MENTION=7713645]Stayn[/MENTION]

[MENTION=7713645]Stayn[/MENTION] - if you will have free time in future and free resorces try build Havoc :D - it is top of custom roms - but you need about 60-70% of its features :D
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] avirupz:
Evolution is working like charm and also Moto gesture are there . Thank you