yashsingh1/xdaforums huggingface dataset:
[X Play Original Android Development] puremind:
I confirm I have the same issue. I also posted on your CM thread and I went back to stock rom because of this issue. The 10b Kernel did not fix my issue on CM but it did on stock.

I will wait for updated CM version before I flash again as I am on vacation in Japan and really do need working network for navigation, or I would completely lost.
[X Play Original Android Development] squid2:
Your issue on CM is not related to the kernel but it's related to recognizing your variant. I need to know the ro.boot.carrier value for your device so that I can add it to the list of reteu-type devices in the init code.
[X Play Original Android Development] droider007:
hey squid...u think adding governers and hotplugs will bring improvements in the performance in x play......?
[X Play Original Android Development] Higgsy:
Hi [MENTION=6485916]squid2[/MENTION]

Tested and results as follows:

ef4aacf - OK

88193b3 - OK

55e751d - SIM Problem present

Hope this helps!
[X Play Original Android Development] squid2:
Perfect, thanks!

I've attached three more in between ef4aacf and 55e751d to try. These are the commits that are plausibly involved.

On a version that doesn't work, could you also share a radio logcat? You can capture this by running "adb logcat -b radio".
[X Play Original Android Development] Higgsy:
no probs happy to help

22b98b5 = OK

804ec3f = OK

f78779a = OK

They all worked fine

Edit - FYI when the SIM is not detected the Wifi also will not switch on.
[X Play Original Android Development] paugustin:
Hi, tested r10c on my dual SIM XT1562. When booting I'm requested to enter my unlock pin (system, not SIM) and when I validate the desktop flashed briefly and the screen goes black. I need to press power to get the screen back and I'll be required to enter the unlock pin and... It never boots.

I rebooted into fastboot and saw that baseband was "not found" anymore. I was running r10b on stock ROM before.

Flash r10b and it went back to normal except for the background that reverted back to a stock Motorola !
[X Play Original Android Development] squid2:
Interesting, I had initially guessed that mobile radio related breakage would be caused by the rmnnet changes between those revisions, but it seems that SELinux changes are to blame, as they are all that remain between the known good and known bad revisions. I'll post three more builds to bisect the SELinux changes.

One other thing: for people having issues that are new to r10c, which ROM are you running?
[X Play Original Android Development] Higgsy:
Stock 5.1.1 - 23.21.10.lux_reteu.en.EU retgb - LPD23.118-10
[X Play Original Android Development] squid2:
Thanks. I've only been testing on CM lately, so maybe I'll be able to reproduce the issue if I just tried the stock ROM.

P.S. Do you see any SELinux denials in dmesg when you are running r10c? On a linux system, you can check by running "adb shell dmesg | grep avc". On a windows system, you can try to capture the dmesg and search for denials with an alternate tool.
[X Play Original Android Development] Higgsy:
Heres the dmesg http://pastebin.com/eePAK1Ph

I haven't had chance to look through it as I'm at work, but hopefully it helps :laugh:
[X Play Original Android Development] squid2:
Thanks for your continuing efforts. I see a boatload of SELinux denials in there. I'll need to figure out what's normal and what's not, but it's definitely a helpful log.
[X Play Original Android Development] Higgsy:
No probs, let me know if you need anything else.
[X Play Original Android Development] squid2:
Squid Kernel r10d

I've uploaded a new build to fix all the (selinux related) issues r10c caused on the stock ROM. Thanks for your help [MENTION=2091785]Higgsy[/MENTION]
[X Play Original Android Development] paugustin:
Seems you got it working. So far so good on r10d... I'll let you know if anything goes wrong.
[X Play Original Android Development] Higgsy:
Good job dude you got it fixed, feel free to message me to test any new builds on xt1562 before you release
[X Play Original Android Development] manan001:
will this kernel work on Motorola Moto X Play XT1562 dual sim?
[X Play Original Android Development] lennis:
Yes

Enviado desde mi XT1562 mediante Tapatalk
[X Play Original Android Development] paugustin:
Wow man it's even hard to find your actual message above the signature... and too many links too... If you take a few minutes to read the thread you'll get the (positive) answer !
[X Play Original Android Development] madcat1990:
Man, I'm using this kernel on Stock FW, and I must say, phone feels a lot smoother.

Probably my imagination, but that, and the Notification LED is nice! Thank you for your hard work! :D
[X Play Original Android Development] drsubhash81:
How to get led notification to work? Any special app we have to use or it works automatically? I am using latest build of kernel and xposed gravity box.
[X Play Original Android Development] madcat1990:
I'm using this : https://play.google.com/store/apps/details?id=com.koo.lightmanager&hl=en

It's a temporary measure until cyano works 100%. Because this uses 100Mb of ram, and I don't like that.
[X Play Original Android Development] squid2:
It would just start working automatically on the stock ROM, but there are no LED controls on the stock ROM to customise behaviour. For more conteol of the LED on the the stock ROM, you'd need some this party software.
[X Play Original Android Development] manan001:
I could not find any LED notification. on Moto X play XT 1562. can you please tell me where it is located and how can it be activated.
[X Play Original Android Development] AnoopKumar:
See the attachment.. Facing this on both stock and custom kernel. What's is this? Unknown clock speed View attachment 3523146
[X Play Original Android Development] LuizHenrique91:
It happens when battery is low (under 20%, I think). It may be a measure for saving battery, implemented on kernel.
[X Play Original Android Development] manan001:
can front LED notification be used with front camera click (front camera flash light)? if it is bright enough then?.
[X Play Original Android Development] madcat1990:
The front LED isn't THAT bright :rolleyes:
[X Play Original Android Development] FilipeRgz:
working in RR 5.5.8 ?
[X Play Original Android Development] sisodbs:
Working on mine... ?
[X Play Original Android Development] FilipeRgz:
thx, testing here :)
[X Play Original Android Development] ludaloskpo:
with stock camera you have on screen "flash"

Enviado desde mi XT1562 mediante Tapatalk
[X Play Original Android Development] anudeeprocky:
Led notification light worked really please keep a photo of your phone with led notification light
[X Play Original Android Development] mishko:
Great kernel! But Does anyone have the stock kernel zip (or boot.img). Wanna compare some stuff.

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] liver20:
Any body have Lag with stock Rom and this kernel?

Enviado desde mi XT1562 mediante Tapatalk
[X Play Original Android Development] paugustin:
Nope this kernel makes the device really smooth !
[X Play Original Android Development] squid2:
Squid Kernel r10e

This release is focused on "behind the scenes" improvements to stability and security. In addition to merging in changes from upstream, I reverted a Motorola MDSS clocking hack, allowing me to bring the MDSS driver closer to the CAF version (by unbreaking their patches that I had previously reverted to maintain compatibility with Motorola's hack). There were some rare glitches and issues that seem to have been solved by these changes. This build also includes the commits necessary to support the audio changes that will be present in my next CyanogenMod build.

I also decided to try out a preview build of Linaro GCC 5.1 for a change. The compiler has some issues with throwing false positive array bounds warnings, but it might have caught some valid issues too. I added additional array bounds checking to satisfy the compiler, but I'm not sure that all the checks are necessary, so for the time being I haven't merged these GCC 5 fixes into my mainline "squid_linux_mr1" branch. The necessary changes are present in my "gcc5" branch should anyone else want to try it out. The build I posted here was compiled with the Linaro GCC 5.1 preview.
[X Play Original Android Development] Higgsy:
10e working fine, no issues to report on UK XT1562 Single SIM
[X Play Original Android Development] paugustin:
Flashed a couple hours ago on stock ROM. Will report back any findings but so far so good.

Edit: tested my usual apps, waze guiding, calls, calls through car bluetooth, music on headset. No issues at all so far on dual SIM EU version (using two sims).
[X Play Original Android Development] LuizHenrique91:
[MENTION=6485916]squid2[/MENTION] why the big cluster is disabled when battery is low? I read that it's note safe to disable the cpu0.
[X Play Original Android Development] dhruvwali:
Im facing a weird issue.

Not able to flash this kernel.

Im rooted, Xposed on stock ROM with TWRP recovery.

Flash through TWRP says success, however when I go to my phone settings I get the attached file - i.e. stock kernel number

Also notification LED etc not working. How else can I find out whether the kernel is flashed or not?

And if not then why am I not able to flash it?
[X Play Original Android Development] mishko:
Got a(nother) SOD this morning (running 10e on stock rom). Bug report: https://www.dropbox.com/s/44z5h8tmqjoukrd/bugreport-2015-11-04-08-58-53.txt?dl=0

Edit: Don't know if it's kernel related...

Edit2: Link fixed I think.

Skickat från min SGP511 via Tapatalk
[X Play Original Android Development] LuizHenrique91:
The link you posted send me to "My Drive".

If the error you mention is that which prevents the screen to turn on, I guess it's kernel related. On CM (from squid2) I got the same error with 10e. I flashed 10d back and the error doesn't happen anymore.
[X Play Original Android Development] paugustin:
Are you using the latest TWRP that squid2 posted a short time ago ?
[X Play Original Android Development] dhruvwali:
Yea, that was the issue.

Flashed the latest TWRP and it flashed perfectly.

However I feel that this kernel has microstutter and that apps and windows open slightly slowly.

Didnt face this issue in stock ROM/Kernel.

Does anyone else face this?

Also do we have a backup of the stock kernel?
[X Play Original Android Development] paugustin:
That's a bit strange, for me Squid kernel is much smoother that stock kernel !!

You can find the stock kernel (boot.img) in the thread that lists all stock firmware for the Moto X-Play.
[X Play Original Android Development] jellysheep:
Could you please give a hint where to find a stock boot.img? I searched in the mentioned thread but couln't find a link/download.
[X Play Original Android Development] Berlino:
Download the appropriate stock firmware for your device from

here

and extract the boot.img - you can then flash the boot.img via fastboot, twrp or with an app like Flashify/Rashr from playstore.
[X Play Original Android Development] manan001:
Hello Bro can you implement tap2unlock and LED breath control functionality in upcoming build.. ?
[X Play Original Android Development] -Zeppelin-:
Just a quick question. With what App do I set the LED notifications on stock rom when this kernel is installed?

Greets
[X Play Original Android Development] AnoopKumar:
No need to use any app
[X Play Original Android Development] -Zeppelin-:
Then how do I configure it? There's nothing in settings I can find...
[X Play Original Android Development] Higgsy:
It works by default, it flashes when you have a notification and stops when you dismiss it. I don't use any app, but try the usuals like lightflow. It's not an rgb led so theres not much config you could do anyway.
[X Play Original Android Development] roberth1990:
Will this kernel get the updated adreno driver that the kernel in your Cynogenmod distro have?
[X Play Original Android Development] squid2:
The Adreno drivers I updated in CM are vendor blobs independent of the kernel.
[X Play Original Android Development] squid2:
Squid Kernel r10f

This is a minor update to sync with the the Moto Maxx 2 kernel release (MMI-LPI23.118-22). It should be similar in behaviour to the previous r10e release.

This will likely be the last maintenance release of the r10 series. The next release (r11) will return to adding features, including a focus on improving power management for the big.LITTLE setup on this device.
[X Play Original Android Development] roberth1990:
Ah okay.

Is there anything that can be done to make use of the big cores more? Disabling the LITTLE cores improve reponsetivity and smoothness for UI for me. when watching the CPU usage, the LITTLE cores seems to be used much more than the big cores.
[X Play Original Android Development] squid2:
The behaviour you're seeing doesn't surprise me much. The big.LITTLE scheduler was written under the assumption that the big mores are power hungry and the little cores are more efficient and to be preferred. However, on this device, both clusters have approximately the same power efficiency, and the little cores are just slower. To be honest, the octa-core setup on this device is a bit of a gimmick, and normal usage would be faster and more energy efficient if they just got rid of the little cores and only used the big ones.

Because of the peculiar setup of this device that is contrary to ARM's intended usage of big.LITTLE, the best option may be to make a sort of inverted hotplug that normally keeps just the big cluster online, and activates the little cluster only for highly parallel loads. Also, it may make sense to configure the scheduler to prefer big cores over little ones.

In the interim, while disabling the little cores would reduce benchmark scores, real world smoothness and battery life may well improve.
[X Play Original Android Development] roberth1990:
Is that something you want to fix?
[X Play Original Android Development] droider007:
new build r10f is a beast.....lags are now almost minimal......very well done [MENTION=6485916]squid2[/MENTION] !

edit: before and after
[X Play Original Android Development] FilipeRgz:
flashing 10f for testing.

working fine, really smooth :)
[X Play Original Android Development] Zobat:
same, here. New build is great
[X Play Original Android Development] joeanca:
WOW for the new build, it manages power way better I was able to pull down min frequency to 200 on big, and 250 on little with no issues or delays. Getting killer battery life from the moment I booted. Thank you!
[X Play Original Android Development] kvskmcafee:
What about echo issue in speakerphone calls? For me, the other party still complains of echo of his / her own voice.
[X Play Original Android Development] LuizHenrique91:
The 10f build is great! I flashed it yesterday at the morning, used the phone all day. At the night the battery was low, but I didn't have any SoD.

BTW, I didn't change the CPU settings anymore.

---------- Post added at 11:00 AM ---------- Previous post was at 10:57 AM ----------

@squid2, is the new CM stock kernel better than this?

Is anybody able to compare them?
[X Play Original Android Development] FilipeRgz:
the battery is far more lasting in the build 10f is amazing :)
[X Play Original Android Development] Zobat:
There are wifi issues in stock cm kernel
[X Play Original Android Development] eskamhl:
Very strange issue here :eek:

I flashed the r10f with no problems on the stock/rooted rom but now I'm on 09 nov CM12.1 build and can't get past the bootlogo with this :confused:

If I flash the stock CM12.1 kernel the phone boots up again, has anyone had some similar problems?

Edit: I can't flash any version of this kernel on the last CM12.1 build because I get bootloop ( on the bootlogo ), at this point it should be a rom problem.
[X Play Original Android Development] Berlino:
Same problem here with cm12.1 nov 9th...

Whatever I try to flash or restore leads into a bootloader-unlocked-warning-splash-screen-bootloop!:eek: It has to be the new cm stock kernel causing that...

Seems I have to go stock via fastboot to have a functional phone again and start from scratch...
[X Play Original Android Development] eskamhl:
The same for me, in addition I lost some files because every folder ( apart from the "download" one ) has been wiped :eek:

Luckily I had almost everything on the external sdcard, but it may be relevant to others :angel:
[X Play Original Android Development] dictionary:
I didn't have an issue with the 10f kernel and Nov 9 build. I did a clean wipe, and flashed 10f before I even booted. Is this the same for you all? Or did you boot without flashing 10f, then reboot and flash it?
[X Play Original Android Development] squid2:
[MENTION=4783643]Berlino[/MENTION] and [MENTION=1431559]eskamhl[/MENTION]

I'm not quite sure what's causing bootloops for you, I just installed r10f on my last (November 9) CM build and it booted without issue. Does it work with a clean install?

While it's bootlooping, can you hold down the Vol- button to bring up the recovery? If you capture the contents of /sys/fs/pstore through TWRP, I might be able to tell what's happening.
[X Play Original Android Development] eskamhl:
I tried every combination ( with wipe, without, right after the rom ) but after I got bootloop I wasn't able to boot up again ( at the beginning I was able to boot by flashing the stock 9 nov kernel, but after some trying nothing worked ).

I was still able to go into recovery but I already flashed the stock firmware.

I'll try again in some minutes and let you know :good:

Edit: I flashed all together and it is booting now, the first time I flashed the rom and after some hours the kernel
[X Play Original Android Development] dictionary:
Try from a full wipe. System, cache, data, dalvik. Then ROM, gapps, 10f, and SuperSU (if you're using it), then reboot.
[X Play Original Android Development] Berlino:
Clean installed again - same result...bootloop

Flashed in that order in twrp queue:

cm rom 9th nov

open gapps 8th nov

squid kernel r10f

supersu 2.46

busybox stericsson 1.23-2

permissive.zip (needed for viper4android)

Here are the files I could find in sys/fs/pstore - I hope they are helpful:

annotate-ramoops

console-ramoops-0

dmesg-ramoops-0
[X Play Original Android Development] LuizHenrique91:
So I guess you have to flash the 10f kernel right after flashing CM, then it works.
[X Play Original Android Development] eskamhl:
I just tried to flash CM12.1 + gapps, let it boot and then flash r10f and now it's working :eek::eek:

I really don't know what, but there's something weird with this device.

Maybe it has something to do with xposed? Last time I installed xpoed before the kernel :confused:
[X Play Original Android Development] Berlino:
No, that doesn't work for me as well...if I flash the rom w/o squid kernel, then it boots - but no functional wifi. Everything after flashing nov 9th cm12.1 results in the bootloader-warning-splash-screen and bootloops there.

I think there is no other way for me than flashing stock via fastboot...:rolleyes:
[X Play Original Android Development] dictionary:
Again, you aren't flashing the three things only and seeing if it booted. You only flash ROM, gapps,and kernel. Everything else, and you aren't playing with a proper deck. Xposed can cause issues. Same with the busybox or permissive zip. Not sure what changed ROM or kernel side that may be conflicting, but the kernel and ROM are 100% not faulty. Just something between all those zips that doesn't play well.
[X Play Original Android Development] Berlino:
I even just flashed only the cm rom and squid kernel...same result.
[X Play Original Android Development] dictionary:
Sounds like something you've already flashed is interfering. That's odd.
[X Play Original Android Development] Berlino:
Yeah, it's really weird...can't explain myself. My phone only accepts the cm stock kernel of nov 9th with wifi issues.

Maybe [MENTION=6485916]squid2[/MENTION] can find something useful in the log files...in the meantime I'm going stock and start from scratch.
[X Play Original Android Development] eskamhl:
I must add that with r10f kernel my WiFi turns off in a minute when the screen is off, even if I've the option to keep it always on.
[X Play Original Android Development] LuizHenrique91:
Which ROM?
[X Play Original Android Development] eskamhl:
On the 9 november CM12.1 by squid2
[X Play Original Android Development] LuizHenrique91:
Nov 9 is full of problems :( Too many bug reports..

On other hand, Nov 7 is perfect!
[X Play Original Android Development] eskamhl:
Yeah but I think that the wifi problem comes from the kernel, and this r10f is really wonderful in terms of performance so I would like to keep it :p
[X Play Original Android Development] LuizHenrique91:
I agree.
[X Play Original Android Development] eskamhl:
I can confirm that's kernel related, with r10d I don't have such problem.
[X Play Original Android Development] madcat1990:
I can confirm this too! Wasted 200MB on data without even realizing it!
[X Play Original Android Development] Higgsy:
If have no such wifi issues on r10f, I am stock rooted tho not cm
[X Play Original Android Development] Electric Flute:
Well, this kernel improved performance very much but with the cost of battery. Before with stock kernel, my phone last 2 days, now with squid it last just one day.

Performance or autonomy? That's the question..
[X Play Original Android Development] ephumuris:
Using the latest squid kernel on cm12 rom I've actually got my best battery life so far today. 5 hours screen on and got 32% left still. By far the most I've ever gotten.
[X Play Original Android Development] squid2:
Squid Kernel r10g

I hadn't originally planned for this, but a new security vulnerability found in Pronto WLAN driver the forced me to do one more r10 series release. This release includes the Pronto security fix, a zRAM bug fix, and Linux 3.10.93.
[X Play Original Android Development] yazayad:
Thanks for this great kernel.

Wondering though if anyone could tell me which modifications to make to the stock kernel to get LED notification.

Thanks
[X Play Original Android Development] FilipeRgz:
the latest version battery life worsened somewhat :(
[X Play Original Android Development] madcat1990:
I Agree. Gives me a lot of SODs as well. Yesterday there were three times under low battery where the screen just wouldn't turn on (Notification LED was blinking, so it wasn't crashing or anything)
[X Play Original Android Development] manan001:
I dont get sod but battery life is very poor..
[X Play Original Android Development] Davirus849:
Using, both, latest rom and kernel, never experienced something like that.

Also, battery life is as good as usual, I have disabled the little cores btw.

I have noticed some weird behavior using faulty wall sockets that doesn't have a correct ground instalation.
[X Play Original Android Development] Chahk:
How would I go about doing this? Something like Kernel Adiutor, I assume?
[X Play Original Android Development] Davirus849:
Yup, that one.
[X Play Original Android Development] goodrench:
My sod issues only seem to happen after I unplug from one specific charger. Hmm
[X Play Original Android Development] madcat1990:
Mine happen when I'm in low battery.
[X Play Original Android Development] FilipeRgz:
no lags after stopped cores ?
[X Play Original Android Development] Davirus849:
Nope, everything is working fine.

Camera, Facebook, VSCO cam, snapseed, telegram, Apple music, Bluetooth headphone everything works fine so far.