yashsingh1/xdaforums huggingface dataset:
[X Play Original Android Development] mike_ob:
Battery life is so much better with this kernel but i am getting random reboots while gaming (mobile legends). First time when i was using stock MM 6.0.1 a month ago and yesterday with AOSP extended with Android N. Of course i have tested before and after (kernel), 20+ days with no problems using AOSP. No logs, i am just going to flash again...
[X Play Original Android Development] Lavesh05:
led still not working. replaced those 2 files n changed their permissions too.. any help??
[X Play Original Android Development] dokingo:
Hi all. Here someone with the same problem! Any help please? Thank's in advance!
[X Play Original Android Development] kingar67:
thank you very much

Already zipped , but how will I know if is it installed right?

thanks again.
[X Play Original Android Development] Ebrahim Ali:
Check in about phone.it will tell you the kernel version.Or just download kernel audiotor
[X Play Original Android Development] Semero:
Hi, i'm new to this forum and motorola devices names, can I use this kernel on XT1563 on MM? Does lux mean all Moto X Play device variants?
[X Play Original Android Development] portox:
yes and yes
[X Play Original Android Development] Semero:
Thanks!
[X Play Original Android Development] Pipsname:
Am I able to use this Android application with this kernel?

- USB Keyboard – Android Apps on Google Play - https://play.google.com/store/apps/details?id=remote.hid.keyboard.client
[X Play Original Android Development] kpamkar:
Of course, you cab
[X Play Original Android Development] Pipsname:
It seems to not be working for me. I will
[X Play Original Android Development] shardulsingh22:
Will this work on pure Nexus rom
[X Play Original Android Development] nezebilo:
Is it possible to remove the battery dependent settings. Like when my phone gets below about 20% battery, it really slows down and I don't want that feature as the gain in battery life is almost non-existent.
[X Play Original Android Development] squid2:
Squid Kernel r20

After a long break, I've prepared a new version of this kernel. This is mainly a maintenance release to get up to speed on security patches, as well as bring in various upstream bug fixes. This kernel is probably the best patched kernel available for this device family as of today - there are hundreds of security-relevant patches here that haven't yet made it to the LineageOS kernel. This is partly a matter of patching policy - for LineageOS, apart from ASB patches, we carefully assess necessity and impact of each change prior to inclusion, whereas here, if I see a security patch that looks relevant, I cherry-pick it without much further analysis. Backporting all these changes to to the LineageOS kernel will be a very time consuming undertaking.

As before, the kernel should work on both Marshmallow and Nougat ROMs, and both stock and custom ROMs. The download is on the downloads tab.
[X Play Original Android Development] leonardoroza:
Great, excellent, thank you!

---------- Post added at 03:02 PM ---------- Previous post was at 02:59 PM ----------

Squid, why your r19 now has same date of r20?
[X Play Original Android Development] shardulsingh22:
After flashing this kernel, I figured out that only 3 cores are online by default in kernel auditor and I'm not able to turn on the fourth core. It automatically turns off.

The rest are working fine.

What should I do??
[X Play Original Android Development] mw1man:
All cores working okay hereView attachment 4230561
[X Play Original Android Development] KHEMS91:
Wow, Amazing !!

Asphalt 8 running like liquid.

---------- Post added at 07:27 PM ---------- Previous post was at 07:22 PM ----------

Don't think about it frnd, just use it.

All 8 cores will be active if system need it.
[X Play Original Android Development] EvoWizz:
Hello :)

The last update has problems with WiFi.. I'm not able to connect anymore because of an authentification error.

Note that the password was correct. I'm using Paranoid Android (Android 7.1.2).

Thanks :)
[X Play Original Android Development] Ebrahim Ali:
No problems with WiFi on my device but I'm using the stock ROM.Did you do a nandroid before flashing?Flash the previous build and see if the issue persists
[X Play Original Android Development] EvoWizz:
Hello :)

Well no need, I won't flash it anyway now since some other users have reported some other issues. But thanks anyway :)
[X Play Original Android Development] rcdcoder:
I am currently using the squid kernel and noticed that the wifi disconnects and reconnects randomly.
[X Play Original Android Development] nezebilo:
Please can you link me to the thread for paranoid android
[X Play Original Android Development] aadityaraj1:
Here's the Paranoid Android link-( https://www.androidfilehost.com/?fid=889764386195920850 ) and here's the link for RIL fix-( https://www.androidfilehost.com/?fid=889764386195920947 )

Then Install opengapps of your choice and remember for video recording use google camera and set video resolution to 720p ( http://www.apkmirror.com/apk/google...amera-4-1-006-135988111-android-apk-download/ ) you can also use moto z camera apk for photo capturing but video recording is not working on it.
[X Play Original Android Development] yeeahnick:
Is the RIL fix for any rom like Lineage or just for PA?
[X Play Original Android Development] aadityaraj1:
Lineage os don't need any ril fix.

Ril fix is a couple of lines which automatically add into build.prop after flashing.
[X Play Original Android Development] tracejijo:
Turbo charger is not working after root my MOTO X PLAY. The charging is getting very slow
[X Play Original Android Development] nileshlog:
I recently switched to Squid Kernel. Now I am experiencing shutdowns at 35-40% battery. Anyone else experiencing it. I thought it was due to Lineage S 24/08/2017 update but now I am on 31/08/2017 and same issue persists. Is there a way to return to stock kernel?
[X Play Original Android Development] Setialpha:
Flashing LOS again will give you stock kernel. On AOSPEx I can't reprodice that issue, woeking fine since ages:
[X Play Original Android Development] nileshlog:
By flashing LOS you mean clean flag via recovery or simple ota update?
[X Play Original Android Development] Setialpha:
OTA is enough.
[X Play Original Android Development] nileshlog:
Thanks for that.... Anyway...Moto X Play exchanged with Oneplus3T. Got 6100 rs. For the Moto. Plus discounts on their 1000 days in India. All in all, got it for 17500 rs:victory:
[X Play Original Android Development] anks095:
hey
[X Play Original Android Development] portox:
i'm having issues with camera too.

stock nougat
[X Play Original Android Development] zeldalink27:
the kernel is not yet adapted to android nougat stock so that has errors in the camera waits for it to livere the source kernel code and that squid get an update of its kernel that is compatible with android nougat stock
[X Play Original Android Development] meets4u77:
Can i use this for nougat ?
[X Play Original Android Development] leonardoroza:
Guess what?
[X Play Original Android Development] yeeahnick:
Nougat kernel sources have been released!

https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-NPD26.48-24-1
[X Play Original Android Development] lukrangelu:
update?
[X Play Original Android Development] live4speed:
Is this kernel compatible with stock nougat Rom?
[X Play Original Android Development] squid2:
Not yet, and r21 which I'm about to release will not be either. However, r22, which I'll hopefully release by the end of the year, will be.
[X Play Original Android Development] live4speed:
Thanks mate. Patiently waiting for your kernel.. Missing on led light notification & OC.
[X Play Original Android Development] squid2:
Squid Kernel r21

This is mainly a maintenance release with security updates. I also cherry picked commits needed for Oreo support, so it may work on Oreo ROMs, but I have not tested it on Oreo. I only tested on CM14.1. This should also support the stock Marshmallow ROM, but if you had camera issues with your ROM version on r20, you'll still have them on r21. I have not yet added support for stock Nougat on harpia or lux - that will come with the next build.
[X Play Original Android Development] spiritflare01:
This kernel is very good. With stock and lineage 14.1, honestly my battery was depleting quick, even when idle, losing 10% per hour. Since applying this kernel, it seems to slow the battery consumption even when idle. (Now 3% hour). Has anyone noticed this ? Fantastic anyhow.
[X Play Original Android Development] Ev0luti0n_:
Nice to know! Thank you for still working on this [MENTION=6485916]squid2[/MENTION]
[X Play Original Android Development] Toni5830:
I flashed this kernel over stock Nougat 7.1.1 and now camera doesn't work. Phone "can't connect to camera". What did I do wrong?

Edit: looks like I'm not the only one with this problem, my bad for posting without reading, sorry
[X Play Original Android Development] spiritflare01:
Does anyone know why in 8 core moto X play, cpuZ and other apps always showing Core 5-8 as idle, not running. In Lineage 14.1 with squid, i noticed even changing battery setting to Performance ( i assume changes governor) it seems only CPU 1-4 are active, never 5-8. I would like to leverage all 8 if possible for performance, i don't see why they are always idle.
[X Play Original Android Development] smyaknti:
The Camera stopped working. Any fixes or do I need to go back to the stock Image?

X Play on Nougat 7.1.1 Stock ROM

Edit: I was a fool skipping the bugs section of the newest build. When can we expect the nougat camera compatibility? This kernel is too fluid to leave! :|
[X Play Original Android Development] Sr.Jagger:
This is called ClusterPlug. 4 cores are for performance and the others 4 are for powersaving. Lineage and almost all custom ROM uses this for our device. To disable it follow this link https://xdaforums.com/moto-x-play/general/cluster-plug-enable-disable-stock-cm-t3422345/page1
[X Play Original Android Development] spiritflare01:
Thank you
[X Play Original Android Development] dheerajz:
The ROM+Kernel+Gapps doesn't work phone goes into bootloop but when i tried it without gapps the ROM was working fine and after installing Google Play Services it again start bootlooping. where i am wrong?
[X Play Original Android Development] IceQX2:
Does it work for the ViperOS ROM?
[X Play Original Android Development] aadityaraj1:
[MENTION=6485916]squid2[/MENTION] Please update the kernel to Android Oreo 8.1 there are Android Oreo 8.1 builds available for lux but not booting correctly and having bugs because of the lack of kernel. So please make one kernel for Oreo that will help in booting Oreo roms and fixing bugs. Your kernels dec'17 update not booted Android 8.1.0 so please update it to support properly. Tried on LineageOS 15.1 and AEX 5.1
[X Play Original Android Development] OctaVive:
Camera not working with this kernel.

I recently flashed the newest LineageOS rom, but for some reason the camera does not seem to work after flashing this kernel. Which is unfortunate :(.
[X Play Original Android Development] squid2:
Squid Kernel r22

This update brings a large serving of security updates. I finished it ten days ago on New Year's, but I only found time to release it today. Despite the branch name, I'm not formally supporting Oreo based ROMs at the moment. I've tested this on LineageOS 14.1, but it should also work on similar ROMs and on stock Nougat.

This release also brings updates to camera drivers, with support for newer userspace drivers found on Nougat ROMs for harpia and lux. Be aware that ROMs with old camera drivers will not work on this new release.
[X Play Original Android Development] dheerajz:
Gapps Working?
[X Play Original Android Development] otavioricciotti:
Camera not working on Lineage 14.1 (28.12.17 build).

Edit1: Just read we got new blobs on 04.01.18 build - time to download and test.

Edit2: Updated to latest build and it works! Thx [MENTION=6485916]squid2[/MENTION]
[X Play Original Android Development] Jmlanner:
Hi There

Love and appreciate your work.Right now I am running DotOS Rom. When I update kernel to r22 I lose WiFi access- I can't enable WiFi and no IP address available. Also camera stopped working- camera does work the kernel provided with ROM.

Regards

Geoff
[X Play Original Android Development] otavioricciotti:
As squid2 said, there are many changes in r22 version. Please try updating your ROM to the latest build available (it will work only if it got the new blobs from LineageOS sources) or keep using r21.
[X Play Original Android Development] NicoMG:
Camera now is working on stock 7.1.1 but not LED for notifications. Any solution?
[X Play Original Android Development] OctaVive:
If I'm being honest with you I would get rid of Motorola's stock ROM and flash LineageOS on it. Its a game changer. Love it on my X Play and its working great in terms of performance. Notofication LED works too
[X Play Original Android Development] aadityaraj1:
Can you confirm that calls on speaker is working on latest build as it not working for me I can hear sound from other side but they can't hear me on calling via speaker.

[MENTION=6485916]squid2[/MENTION] I have noticed this bug on 04/01/2018 build.
[X Play Original Android Development] siarp:
I have the same speakerphone mic bug on 04/01/18 build of LOS, with both standard and r22 of this kernel. I can hear the other caller but they can't hear me.
[X Play Original Android Development] sourimr:
yup...iam also having the same problem
[X Play Original Android Development] dheerajz:
I didn't face any of those. Try a clean flash.
[X Play Original Android Development] squid2:
Squid Kernel r22b

This is a minor release with bug fixes related to the audio drivers. It should fix the ACDB loader. It also has some audio driver related security fixes. As usual, the download is on the downloads tab.

EDIT: I still need to do more for the lux speakerphone. That fix will be coming soon.
[X Play Original Android Development] squid2:
Squid Kernel r22c

Yet another build, just hours after the last one. This one should fix the speakerphone on modern ROM versions. I've tested it on the latest version of LineageOS 14.1 and on the Nougat stock ROM. Older ROMs will have issues on the r22 series kernels. The download is on the downloads tab as usual.
[X Play Original Android Development] siarp:
Can confirm that the speakerphone mic now works on latest LOS 14.1. Thanks for your work Squid2!
[X Play Original Android Development] sourimr:
after the update speakerphone works... but still notification led is still not working after the 4th jan lineage os update, even after installing the updated kernel...
[X Play Original Android Development] dheerajz:
Why my phome again started bootlooping after flashing r22c? Was working fine with r22. Anyway back to LOS kernel.
[X Play Original Android Development] squid2:
Are you on LineageOS 14.1 or a derivative? Sounds like you had switched back to stock at some point in history, updating the sensor hub firmware to a version that disables the LED. The updates stml0xx binary in the new blobs doesn't support downgrading the sensor hub firmware, and this is probably causing your issue. In the mean time, you can mount system as writable, replace /system/bin/stml0xx with this version, then reboot: https://github.com/TheMuppets/propr...7146a1/msm8916-common/proprietary/bin/stml0xx
[X Play Original Android Development] sourimr:
Yes!!..this solved the problem :victory:
[X Play Original Android Development] dheerajz:
Finally booted. I didn't wipe cache this time.
[X Play Original Android Development] smyaknti:
R22c seems more stable than R22b after the first boot!

I came here to complain about random stuttering and idle wifi disconnections while on R22b which wasn't present in R21! But R22c seems stable after the first boot. Almost everything works till now! Will report bugs if any!

And what about the Linux Kernel? Like its on 3.10.xxx since long back and Nougat uses up-to 4.4.1 . :confused: Just asking! Anyone can enlighten me on this please? :o

EDIT: Moto X play uses a 32 Bit Instruction set -.- Probably no hope for a better linux!
[X Play Original Android Development] OctaVive:
after you wipe dalvik cache and other cache your phone will reconfigure the apps on boot which will take a very long time. That's why it looks like a bootloop.
[X Play Original Android Development] smyaknti:
[/COLOR]

During a bootloop I've noticed the display brightness doesn't decrease during the boot animation. But in case of a normal boot it does! whats the reason behind it?
[X Play Original Android Development] segdan:
Hey guys, I'm having some stutter and lags problems on my x play, will this kernel reduce them..? And maybe a stupid question (but I'm new in the Motorola world): is it possible to restore the warranty after unlocking the bootloader or not..?

Inviato dal mio XT1562 utilizzando Tapatalk
[X Play Original Android Development] skdubg:
No. You cant get back your waranty.

After relock the bootloader shows a "modified" message
[X Play Original Android Development] Nico3d3:
Yes, the kernel is perfectly stable and I can't find any bug but, there's something puzzling. Battery life seem to be random. Sometimes, I get the battery life I expect from a phone with a 3600 mAH battery and sometimes, I have a hard time getting more than one day of use. As an experiment, I decided to go back to OEM kernel to see if I would get more battery life.
[X Play Original Android Development] raj wedhikar:
hello sir

Can u add double tap to wake feature in this kernel?
[X Play Original Android Development] leonardoroza:
How did you went back? I tried restoring boot partition but WiFi doesn't work after that.

Thanks

Moto X Play Nice
[X Play Original Android Development] squid2:
That would be due to the WiFi kernel module which is outside the boot image (located at /system/lib/modules/wlan/pronto_wlan.ko). You'll need to restore a system backup, or at least replace it with a module that matches your kernel exactly.
[X Play Original Android Development] Nico3d3:
Yes, that's because there's one file which need to be restored to its default state. It is "pronto_wlan.ko" and it's located in /system/lib/modules/pronto. I extracted it from this Official stock firmware zip (I googled before to find a way to extract file from the official firmware) and then I used SolidExplorer to copy it inside pronto folder, replacing the file that was already there. I uploaded it on Dropbox here in case you wanted it.
[X Play Original Android Development] Abravanelsenor:
Hello developers! This is the only existing custom kernel for the Moto x Play! Progress! Greetings from Brazil!
[X Play Original Android Development] Leon_Citron:
Hi guys,

If I understand correctly, the kernel is inside the boot.img image ?

If I have a nandroid backup and only restore the boot.img, then I restore my original kernel, good way ?

Thx
[X Play Original Android Development] Nico3d3:
Don't know if it's caused by the WiFi sleep issue but there's definitely a wakelock at work here, even with the stock kernel. Sometimes, battery barely drop by 2% while I'm sleeping and sometimes I loose more than 10%. Could also be related to Google Play Service, this app is known to often cause wakelock. Maybe I should use Wakelock detector.

---------- Post added at 04:43 PM ---------- Previous post was at 04:39 PM ----------

You are right but, make sure to follow my instructions on post 167 afterward, otherwise you will loose WiFi.
[X Play Original Android Development] Nico3d3:
I reinstalled Squid2 kernel and now, I think I found a way to avoid the WiFi wakelock. Open the WiFi settings, then touch the three dots on top right corner. Go to Advanced, you will see an option called "Keep WiFi on during sleep". You have to set this option to never. Also, there's a toggle for "Scanning always available", I disabled this option.
[X Play Original Android Development] MyDarkThrone:
I think if you deactivate that option the connection will be closed when you turn off the screen.

My oneplus suffered that problem with the WiFi and my solution was turn off the WiFi always before connecting data. If I turn on data with WiFi enabled then WiFi was always on all day.

Enviado desde mi XT1562 mediante Tapatalk
[X Play Original Android Development] Nico3d3:
Yes the connection is closed when the screen is off but it doesn't matter. Wi-fi reconnect itself within 1 or 2 seconds once I reopen the phone.
[X Play Original Android Development] ludaloskpo:
I tried this kernel but I feel more lag when using the "Little cores", more than stock kernel, gaming and general performance is the same, battery life I think it's the same but good job, I keep trying this

PD: after I back to stock kernel gpu governor now is msm_adreno_tz, I think this is the default gpu governor from Qualcomm, but now the gpu is always at 550mhz, if I change the governor it still on 550mhz, before I flash this kernel the gpu runs on general iu at 400mhz, if you know how I can back to really stock gpu drivers and governors I really appreciate that, thanks!

Enviado desde mi XT1562 mediante Tapatalk
[X Play Original Android Development] mishko:
Nvm, delete.
[X Play Original Android Development] squid2:
Squid Kernel r10c

I've posted a new minor release with fixes for encryption support and support Android 6.0. We don't have any 6.0 ROMs yet ready for you to try, but work is being done behind the scenes ;)

A bigger release with hotplug and more governors and other improvements is planned, but I've been a bit busy lately (both with other Android related things and life in general), so it may be a couple more weeks before I get around to it.
[X Play Original Android Development] Higgsy:
r10c won't detect my SIM card - anyone else having this problem? Flashing back to r10b resolves.
[X Play Original Android Development] squid2:
Hmm, the mobile radio is working fine on my device, and I didn't really change anything that should affect the mobile radio between r10b and r10c. Your device is a bit different from mine, so maybe it's a regional thing, but try flashing it with my newest recovery build and seeing if it works then.
[X Play Original Android Development] LuizHenrique91:
Which is yours and which is his?

Enviado de meu XT1563 usando Tapatalk
[X Play Original Android Development] squid2:
I have a Canadian (single sim) XT1563. I presume [MENTION=2091785]Higgsy[/MENTION] has an English (single sim) XT1562.
[X Play Original Android Development] OctaVive:
Make sure you're on newest LOS. r22 has updated drivers which may be incompatible with older LOS builds.

I'm using R22C and it works w/o issues for me.
[X Play Original Android Development] anks095:
does this r22c enable led on stock android 7.1.1?
[X Play Original Android Development] OctaVive:
Honestly no idea.

I also have no idea why people with TWRP capabilities still use a slow stock ROM, instead of a much faster ROM like LineageOS.

I remember when I got my X Play, android 5.1.1, ran like dog **** to be honest. Android 6 fixed some animations but still alot of lag. After flashing LineageOS without a custom kernel it still was thousand times better than stock. With custom kernel it made the experience even better.

I'm not bashing motorola here, but how could an operating system, thats pretty much AOSP, run like utter crap?
[X Play Original Android Development] anks095:
Stock is much smoother and stable comparative to aosp builds which i have used and lineageOS is still in nightly mode,I want a stable rom.
[X Play Original Android Development] OctaVive:
Nightly isn't like the days of cyanogenmod. I am using LineageOS for over 4 months now and haven't seen a single bug. Infact, I installed LineageOS on my mum's phone and she got no issues aswell. All Lineage builds are nightlies. I had the same thought as you before I switched to LineageOS.

I remember on my old Moto G, during the CM11 days, a snapchot was hella buggy at that time.