yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] Guidorio:
Thanks!!
[Nexus 5X Original Android Development] flar2:
Some devs patch in those changes from mainline linux. I don't do this because I'm focused on stability and 99.9% of those patches are for things that have nothing to do with our phone. It messes up the tree for no good reason.
[Nexus 5X Original Android Development] vampire36:
[MENTION=4684315]flar2[/MENTION] : Any update on tuning elementalx governor...or you feel just by design interactive is better suited for bullhead compared to elementalx !
[Nexus 5X Original Android Development] RusherDude:
Interesting!

I've checked and apparently the 3.10 version is from 20/06/2013, being the last version 4.5 from 13 march. Seems that the latest release for the 3.10 version is 3.10.101. Do these last incremental versions include all the stuff up to 4.5? I'm kinda lost in kernels and only know that google never uses to change (only nexus one and nexus 10?) the kernel on any nexus device, stays on the same version, and people comment that the reason is because setting up a kernel is an incredible pain and to stabilize it even more, so Google just doesn't touch it.

How is then some dev (in this case Jolla) being able to pull off an update to the last version of the release, even more important if it does have the changes up to 4.5? I agree with you that for stabilization we must keep the kernel google releases, since they will always use the most stable. But there is any benefit to it? Security updates? Any interesting feature? or google already include all this stuff on the 3.10.73 version? I notice that google also uses some kinda of string after the version (for MHC19J it being 3.10.73-g3e127ab), I see that google updates something, but don't know if that's equivalent to other versions or what...

Sorry if it sounds a kinda offtopic! :fingers-crossed:

Thanks a lot for the great work :good:
[Nexus 5X Original Android Development] akiwiz:
I flashed the new EAS version n the phone is flying! But the fingerprint sensor has a delay, is it me or anyone else notice it? Using sched gov in both clusters
[Nexus 5X Original Android Development] rebretz000:
Happened to me on more than than just EX and different ROMs.

Seems to happen from time to time.
[Nexus 5X Original Android Development] Scarchunk:
Had my first random reboot today. Wife and I have both ran ex kernel since we got our 5x's back in December and typically run rock solid with weeks of uptime. Makes me highly doubt it's the kernel but I was curious if you might be able to take a look. Reboot happened while using Google maps for navigation.

I see the watchdog bite at the end of the log but I was curious about this entry:

[101791.449736] Unable to handle kernel NULL pointer dereference at virtual address 00000016

[101791.450060] pgd = ffffffc00007d000

[101791.450274] [00000016] *pgd=0000000007208003, *pmd=0000000007209003, *pte=00e00000f9000407

[101791.451073] Internal error: Oops: 96000007 [#1] PREEMPT SMP

Prior to that it seems like a bunch of noise about my various network interfaces. Any help is appreciated!
[Nexus 5X Original Android Development] roofrider:
Interesting. I think I had mine while opening maps too, but not certain of it.
[Nexus 5X Original Android Development] Skar3:
Hi all, whats the best governor? Interactive or elemental x? And on the app, when i set the "ghostpeeper" governor settings, i have to Apply to every cluster?
[Nexus 5X Original Android Development] nathanchance:
Interactive is recommended. No, if you load the script from within the app, it is automatically applied to both clusters.
[Nexus 5X Original Android Development] Skar3:
Thank you :)
[Nexus 5X Original Android Development] sugarinos:
Does the installation of the kernel have any impact on battery life? Is it me that I have the feeling of being drained more quickly?
[Nexus 5X Original Android Development] panamera2011:
Use this kernel for some time, the battery is much improved, I recommend you do a check with Wakelock :)

PureNexus H791 using Tapatalk
[Nexus 5X Original Android Development] sugarinos:
Thank you for your quick answer. Because I am not a very experienced user, can you explain it please?
[Nexus 5X Original Android Development] panamera2011:
look here

https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector&hl=en

PureNexus H791 using Tapatalk
[Nexus 5X Original Android Development] sugarinos:
Thank you!
[Nexus 5X Original Android Development] akiwiz:
I'm using EAS version with sched gov, and when I try to load a profile such as butterfly or ghostpepper it says not available. These profiles only work with interactive gov?
[Nexus 5X Original Android Development] joetheshmo:
Yes. Check the name of the thread the profies came from ;)
[Nexus 5X Original Android Development] chinesecooler:
Hey guys, just wondering what's the best practice for switching from Franco Kernel to ElementalX without losing my data? I am currently running my N5X unencrypted and if I go from Franco -> Stock -> Elemental I am pretty sure I will be forced to encrypt the data by the stock kernel.
[Nexus 5X Original Android Development] joetheshmo:
Don't boot into system after flashing stock then :)
[Nexus 5X Original Android Development] nathanchance:
No you won't. Just don't boot up before flashing ElementalX and you won't be forced to encrypt.
[Nexus 5X Original Android Development] chinesecooler:
Thanks for the quick reply :). So basically boot into TWRP -> Restore the default Boot.img -> Install the ElementalX.zip -> boot to system?

PS: Sorry for the noob questions, I am pretty new to Android flashing.
[Nexus 5X Original Android Development] nathanchance:
Correct.
[Nexus 5X Original Android Development] joetheshmo:
Yeah that should work perfectly and no worries!
[Nexus 5X Original Android Development] chinesecooler:
Thanks joetheshmo & nathanchance. Just successfully did it and the phone feels a bit more stable than what it was with Franco but slightly slower. I also like the fact that it allows me to edit the settings (when I first installed it) without purchasing the app. Hopefully it would become my daily kernel.
[Nexus 5X Original Android Development] joetheshmo:
Nice! The app is well with it though!
[Nexus 5X Original Android Development] AndroidDeveloperLB:
I've just flashed this kernel but it doesn't seem that double-tap-to-wake works, and in fact any of the gestures when the screen is turned off.

Just to verify that I did it ok, I've looked in the about screen, and this is what I see:

3.10.73-ElementalX-N5X-1.12

The kernel was flashed after I've flashed DirtyUnicorns rom, which is on version "Official-v10.1" .

I've also tried to install xposed (and it worked), with "wake gestures" module, but there it says it can't handle this kernel, even though this is the kernel it's supposed to handle.

What have I done wrong?

I just want an easy way to unlock/wake the device.
[Nexus 5X Original Android Development] jisoo:
[MENTION=4684315]flar2[/MENTION]

Looking at the kernel sources, it seems to me that the EAS is mainly a CPU scheduler? Is my understanding correct?

If that is the case, would you recommend this over other schedulers, in particular over elementalx? My experience with your scheduler is very positive, but I would be curious to hear if you think EAS has some benefits over other schedulers.
[Nexus 5X Original Android Development] piccit:
Just as a sanity check, during the Aroma installer you enabled the gestures, right?
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Yes, and because I was curious what I can do with each, I've enabled all, and not just double-tap to wake.

The weird thing is that it didn't ask me what to do with each gesture.

Also, it seems weird to me that the default setting is to turn double-tap-to-wake feature off after 30 minutes. I tried to set it to always work, as it does on stock devices (like of Asus Zenfone 2, LG G3, and others...).
[Nexus 5X Original Android Development] schaggo:
[MENTION=4684315]flar2[/MENTION] any specific reason why EX Kernel Manager does not expose OOM/LMK (low memory killer) values?

I ask, as I often tweak them a bit, as to my liking they kick in too early. And I must revert to another app in parallel to EKM to be able to do so.

Edit: And while I'm at it, any specific reason for not being bothered with adreno idler? I wouldn't know if it really is of any use, but common sense would suggest idling at 27MHz is "better" than 180MHz?
[Nexus 5X Original Android Development] AllusionPDX:
I'm getting a bootloop when I try to install on purenexus (latest), is there a reason for that or a fix?
[Nexus 5X Original Android Development] tacofromhell:
Worked for me a couple of hours ago.. What are you flashing and in what order?
[Nexus 5X Original Android Development] flar2:
Go to Tools->User Settings and add this setting: /sys/module/lowmemorykiller/parameters/minfree

I hesitate to include LMK settings because novice users can make big problems by changing these. I never change those settings.

Adreno idler doesn't make any difference. When it's idle, the GPU has a idle state no matter what frequency is showing. It's like the CPU, when it's idle, it goes into an idle state despite showing 300MHz or 633MHz.

Must be something you've installed or modified. PN + EX is one of the most popular combos on this device, so it definitely works.

It should work.

It times out by default because the feature causes about 2.5%/hr battery drain on this device (unfortunately). You can set it to always work by disabling the timeout (setting it to 0)

You need the Wake Gestures app in my signature if you want to assign actions to the gestures. The xposed module no longer works, but the app is the same. Without the Wake Gestures app, everything is handled in the kernel and the gestures just turn on the screen.

Yes, it's a change to the scheduler and works in tandem with the sched CPU governor. I have not studied it, so I don't know much about it. Google made it available for testing, so I built it.
[Nexus 5X Original Android Development] AllusionPDX:
Found out it was an issue with the encrypted partition was able to run it as a custom install and set selinux to permissive.
[Nexus 5X Original Android Development] Scarchunk:
2nd random reboot. I've never had this issue on the 5x prior to the first crash a couple days ago. This time I was shooting video and previewing the output. Looks like low memory killer is being pretty active just prior to an unhandled page exception and kernel panic. Haven't had time to flash the April update and 1.12 kernel. I'll try that tonight along with a cache clear. Any help diagnosing is appreciated.

Edit: Stock with Ex kernel. No other mods
[Nexus 5X Original Android Development] |DM|:
I got 2-3 reboots too (after update to 1.12), I don't know why because I don't have root so I can't pull the log, however all reboots were appen during call, during photo like you or in pocket. I have just 3-4 apps installed

I know that it's useless for debug, it's just a feedback
[Nexus 5X Original Android Development] Passi0509:
Anyone else having problems in battery life?

Just got a brand new device and the battery life is really miserable. In ca. 8 hours i lost nearly 60%, not using the phone that much.

Using the purenexus rom
[Nexus 5X Original Android Development] EnginEAR:
Weird Question

Hi,

I'm using this kernel with the latest CM13 nightly.

I have the notification LED set to yield custom colors; however, the LED lights up when expected with unexpected colors.

My friend has the same setting only without the custom kernel and the LED yields the expected colors.

Any chance the difference is caused by this kernel? Does anyone here know of a different reason?

Thanks!
[Nexus 5X Original Android Development] bobby janow:
You'll need to flash the April update.

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

April update should fix that. It's not the kernel.

---------- Post added at 12:26 PM ---------- Previous post was at 12:24 PM ----------

None at all. On stock with 1.12 I hit a record 0.1% / hour (1% loss over 7+ hours idle) and on PN I'm getting about 0.6% (3% over the same approximate time) On stock that was a record but most of the time it was around 0.3% / hour. So you might want to look elsewhere like BBS alarms and partial wakelocks.
[Nexus 5X Original Android Development] Scarchunk:
I updated to the April update along with 1.12 yesterday. So far so good. Are you saying there was a bug in the March update that caused random reboots? I was not aware of a known issue with the March build.
[Nexus 5X Original Android Development] flar2:
I have no idea what's going on with he reboots. Enough people have reported them that I have investigated, but I've come up with nothing. And as I've mentioned, my wife's 5x is running completely stable. She ran for 20 days straight without restarting the phone.

Other than Google's changes, I haven't made any changes to the kernel for quite some time and everything was definitely stable up until March. I suspect something with the March update caused a problem, but only for some people. Not sure if it's hardware, software, kernel or system.
[Nexus 5X Original Android Development] danthepan124:
I'm curious, what ROM are you running and what are your settings with Ex kernel?
[Nexus 5X Original Android Development] andresee:
Stock... Havent gottn that again. But as we all know its how you use the phone. In the normal day I get 4+. That day was alot of constant use of web/sms/g+ and not a lot of standby or games. In the ElementalX vs stock comparison I say batt is a little better on elemental and its smoother for me. But Im sure it will only get better as [MENTION=4684315]flar2[/MENTION] continues to dev it for the N5X.
[Nexus 5X Original Android Development] danthepan124:
I'm on elemental but for 100-0 I only get like 3 hours 30 minutes SOT
[Nexus 5X Original Android Development] andresee:
Did you get the same on stock kernel? A kernel can only help battery so much without killing performance.
[Nexus 5X Original Android Development] danthepan124:
Not really sure what I got on stock kernel but i just changed the CPU governor to elementalx gonna test it out
[Nexus 5X Original Android Development] flar2:
So guys, I have some bad news.

It looks like this panel and touchscreen are hooked up the same way as the original Nexus 5, which is not good for wake gestures.

I don't know yet what the battery drain will be, hopefully it will not be as bad as the original N5. I'm going to work on it. It will require a lot of experimentation.

In any case, it could be a while before I release wake gestures. I'm trying to get as much development work done as possible this weekend, because I will be travelling for my real job for most of the next two weeks.
[Nexus 5X Original Android Development] andresee:
Thanks man, good thing we have the finger print reader and ambient display which is something the N5 didnt have but would be nice not have to pick up the phone to wake. Keep up the good work.
[Nexus 5X Original Android Development] flar2:
Update!!!

This update adds sound control

Download

ElementalX-N5X-0.06

Changes:

-add sound control
[Nexus 5X Original Android Development] crescal:
Yes exactly. With the fingerprint sensor, wake gesture becomes less important. [MENTION=4684315]flar2[/MENTION] please take your time! I've been your kernel's fan since htc M7.:D
[Nexus 5X Original Android Development] skulldreamz:
[MENTION=4684315]flar2[/MENTION] Thank you so much man!!! I am constantly listening to music so this was a real treat. I've just tested with my beats wireless and my skullcandy hesh 2 wireless/wired and just wanted to let you know everything working and sounding great. I appreciate so much everything you do for this awesome device ???
[Nexus 5X Original Android Development] TheBurgh:
Can someone help me with the steps needed to flash this with Pure Nexus Rom. Can I just wipe dalvik/cache and flash?
[Nexus 5X Original Android Development] szucsgf:
If you're on the ROM's default kernel, no need to wipe anything. Just flash ElementalX.

If you're on any other custom kernel there is also no need to wipe anything. In that case you should dirty flash your ROM (+ gapps) then flash ElementalX.

In either case, make sure you unchecked "enforcing" in the installer.
[Nexus 5X Original Android Development] ViRb3:
Is the Elemental-X CPU governor optimized for the dual cluster processor setup in the N5X?
[Nexus 5X Original Android Development] jl154:
Might be the cord you're using. Many type A to type c usb cords right now don't have the right resistor. Please read this article.

http://www.engadget.com/2015/11/04/google-pixel-engineer-vs-shoddy-usb-type-c-cables/
[Nexus 5X Original Android Development] sturmeh:
This was indeed the cause, coincidence that I switched cables at the time of testing.
[Nexus 5X Original Android Development] stackz07:
Did gestures to wake get disabled on latest update?
[Nexus 5X Original Android Development] vampire36:
gestures to wake have not yet been enabled on 5x !
[Nexus 5X Original Android Development] Dwayne01:
Using the sound control, the moment I turn my audio up slightly alot of songs suffer from clipping. Anyone know a remedy?
[Nexus 5X Original Android Development] Paragon_X:
I've had this occur because I used an eq within the app. Elemental has never been an issue for me.
[Nexus 5X Original Android Development] Mtk87:
Flar: my result today with your kernel was 4h sot and 10% battery remaining. Great job! Thanks for your work!
[Nexus 5X Original Android Development] user822:
Question about hotplugging: Is it really intentionally disabled.

Manually disabling a single core in Kernel Adiutor works just fine, why are they kept on all the time?
[Nexus 5X Original Android Development] flar2:
Hotplugging is unnecessary from a power saving perspective. The cores don't need to be offline to go onto a low power state.

But the big.little architecture depends on extremely low latency. Hotplugging just slows things down with no benefit.

Offlining cores with KA will only be temporary, eventually the thermal daemon or something else in the system will put those cores back online. Just like with hexacore mode in my app.
[Nexus 5X Original Android Development] akil3x:
Hello guys, can someone tell me what the difference between normal elementalX kernel and the new version EAS ? Thanks in advance
[Nexus 5X Original Android Development] AquilaDroid:
EAS has an experimental governor named Sched, which some users seem to like. If you search this thread for "EAS" you'll see their comments.
[Nexus 5X Original Android Development] bobby janow:
It's not happening on April update so you might want to take credit for it. Just sayin'.
[Nexus 5X Original Android Development] pbailey212:
It seems most of the reboots have been on PA, it might have been ROM related, but the April update seems to have helped
[Nexus 5X Original Android Development] joetheshmo:
What? On April update as in the ex update or the ROM update as in stock April update?
[Nexus 5X Original Android Development] bobby janow:
Stock. And everything that stems from it. There was a problem with March. It's been fixed it seems.
[Nexus 5X Original Android Development] LiquidPlacidity:
I've had no issues at all with your kernel. Been on stock for quite a while. Switched over to pure nexus about a week ago. I'm not having any issues these people are having. Maybe they're flashing over an already custom kernel? I backed up stock on mine and restore boot.IMG each time I flash a new ROM/kernel.

Great work though. Definitely my favorite
[Nexus 5X Original Android Development] suku_patel_22:
[MENTION=4684315]flar2[/MENTION] Is it feasible implement " Double tap to show ambient display"?
[Nexus 5X Original Android Development] bobby janow:
Nope. Stock rom, stock kernel.. random reboot. Stock rom, 1.11.. random reboot, PN stock kernel and 1.11 random reboot. Now it didn't happen often but it happened perhaps once or twice a week or maybe more. But on the April update I've not had a single reboot no matter the rom, kernel or activity. Flar's wife didn't have reboots on the March update either so it's probably something in the chipset that make it bonkers? I have no idea but I certainly agree, great kernel.

---------- Post added at 07:51 AM ---------- Previous post was at 07:50 AM ----------

Wouldn't that be similar to double tap to wake in terms of battery drain?
[Nexus 5X Original Android Development] suku_patel_22:
I am assuming that bringing up ambient display would be less battery consuming than waking the phone up.
[Nexus 5X Original Android Development] joetheshmo:
It would still require you to power the screen to be waiting for input.
[Nexus 5X Original Android Development] flar2:
It would still have the same drain as regular doubletap. The other problem is that ambient display is handled outside the kernel. I think you would have to hack the sensor library, which is a closed binary, to modify it.
[Nexus 5X Original Android Development] suku_patel_22:
What does wake function timeout do? When does it disable the wake gesture?
[Nexus 5X Original Android Development] bobby janow:
I'll take a stab at it. I believe the timeout is when no further input will be detected. The shorter the time period, the less battery drain. There is also an option, at least the last time I looked at it, the if you turn off the screen via the power button the dt2w function is disabled immediately.
[Nexus 5X Original Android Development] flar2:
It disables the wake gestures X number of minutes after you turn off the screen.
[Nexus 5X Original Android Development] The1nonly1:
Will the installation wipe data from my device?
[Nexus 5X Original Android Development] joetheshmo:
Nope :)
[Nexus 5X Original Android Development] bbgun7:
Does the latest version have the new bfq i/o scheduler?
[Nexus 5X Original Android Development] kojak1989:
what is this eas experimental version ?
[Nexus 5X Original Android Development] schaggo:
http://lmgtfy.com/?q=kernel+eas
[Nexus 5X Original Android Development] garth719:
I'm having trouble getting the colors to stick. Using the latest with the kernel app on cataclysm
[Nexus 5X Original Android Development] flar2:
Settings->Wipe app data and try again
[Nexus 5X Original Android Development] RusherDude:
After updating to 1.12 on MHC19Q, the phone is muuch more faster than it was ever been, and I have not changed any info. Brutal diference for me, the phone is really much more faster now. I was previously using 1.10 on MHC19J.

Battery life seems to be a little worse tbh.. [MENTION=4684315]flar2[/MENTION] , theres anything that explains all this?

Thanks!
[Nexus 5X Original Android Development] flar2:
The internal tick rate of the kernel was changed from 100Hz to 300Hz. The result is snappier UI, it was a Google change in response to user complaints. Battery shouldn't be too much worse. If you look at the git history, they initially changed the tick rate to 1000, which is common on desktop linux PCs, but dialed it back to 300 due to the battery hit.
[Nexus 5X Original Android Development] bullitkatcher:
Is there a way to disable doubletap2wake when the proximity sensor is covered? Because when I have that on the screen registers touch inputs during phonecalls, which has made me mute myself or turn on the speaker on multiple occasions.
[Nexus 5X Original Android Development] flar2:
Use sweep2wake instead.

Or use the wake gestures app and enable pocket detection.
[Nexus 5X Original Android Development] suku_patel_22:
[MENTION=4684315]flar2[/MENTION] Waiting for you to drop the N goodies so that I can migrate over to N
[Nexus 5X Original Android Development] RusherDude:
Thanks! but doesn't that happened in the march update? (MHC19J). I was already using the march update and a version where you priored said something about that increase already (if I don't remember bad).

Btw, the other day I asked you something about kernels but maybe its kinda offtopic here? I am very interested in an answer for this, if you want i can ask you in a pm if you doesn't find this for this thread.
[Nexus 5X Original Android Development] gpvecchi:
Any advantage/disvantage flashing latest N preview kernel before EX? Thanks!