yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] gregfrankenstein:
A few questions, because I'm likely not the only one with this same setup:

1. Has anyone found this to work with CyanogenMod 13 nightlies?

2. If so, will this provide noticeable improvements in battery life over CM's default kernel? All I know is it would be an improvement over stock. I don't particularly game, nor do much else that's ever created a need for performance tweaks, so if the battery life is about the same as CM maybe the world of custom kernels isn't for me.

3. If yes to both, were you able to keep SELinux intact?
[Nexus 5 Original Android Development] flar2:
1. Don't use the CAF version of cm

2. I don't know what stock battery is like on cm. But this kernel + EX Kernel Manager gives you complete control over pretty much everything. My default settings give pretty good battery life for most people.

3. Selinux is intact (by which I mean enforcing)
[Nexus 5 Original Android Development] gregfrankenstein:
Well, I'm definitely sold on ElementalX. The only thing I'm wondering now is whether this is affected by the latest security patch. For example, according to the bulletin, the January update addresses a privilege escalation vulnerability in the kernel, but I don't know whether it's something that would apply to a third-party kernel like this one.

So I'm definitely going to give this kernel a flash, just debating whether I should wait.
[Nexus 5 Original Android Development] flar2:
You're good to go, ElementalX always uses the very latest source. That particular vulnerability did not require kernel changes on this device (only the nexus 6p)
[Nexus 5 Original Android Development] gregfrankenstein:
Hm. Are the zips unsigned? I'm getting a verification error in TWRP. Tried downloading a second time, md5sums matched both times, same failure.
[Nexus 5 Original Android Development] bgboii:
Does this kernel have AC fast charge?
[Nexus 5 Original Android Development] farsight73:
I think it has USB fast charge only..
[Nexus 5 Original Android Development] Sui77:
Does not work with BlissPop CAF?
[Nexus 5 Original Android Development] Dema1995:
No, no caf support
[Nexus 5 Original Android Development] dechronic:
Make sure zip file verification is not ticked in TWRP.
[Nexus 5 Original Android Development] edwinek:
Thanks for this amazing kernel, best one I know. I've just enabled DT2W and I was wondering: would it be possible to add an option to disable DT2W and S2W when the device is lying face down? Since you can't reach the screen anyway, this could help to conserve some battery. Or does it already do this?
[Nexus 5 Original Android Development] flar2:
Unfortunately the sensors are not directly accessible to the kernel, so I can't do stuff like this. It would have to be done at the app level.
[Nexus 5 Original Android Development] Eduardo C.:
Try Gravity Screen app available in Play Store...
[Nexus 5 Original Android Development] bgboii:
Damn was hoping it did. Thanks. :)
[Nexus 5 Original Android Development] Balino:
AC fastcharge? Never heard of it. We already have Qualcomm fast charge 2.0, it charge at 1,1/1,2 ampere.

An higher value would harm the battery even on those devices who have Qualcomm fast charge 3.0. I Don't see the point of charging faster
[Nexus 5 Original Android Development] bgboii:
Yeah there is another kernel that has AC fast charge. But I thought fast charge 2.0 wasn't compatible with nexus 5?
[Nexus 5 Original Android Development] Mrcactuseater:
Well technically, the Snapdragon 800 does support Quickcharge 2.0

Tapatalk'd from my Twisted, Electrified Nexus 5
[Nexus 5 Original Android Development] bgboii:
Yes it does but I don't think it actually works I did research on it before and read that it wouldn't work with the nexus 5. I'm not sure why
[Nexus 5 Original Android Development] refthemc:
Is USB Fast Charge working for anyone? Sorry if answered already, search is broken...
[Nexus 5 Original Android Development] :
Yes.
[Nexus 5 Original Android Development] gregfrankenstein:
I'm absolutely loving what I can do with this kernel.

Anyone know how to make my settings survive a ROM update though? For example, if I were to flash the Aroma installer and tweak everything to my liking, then install a CM nightly update, then flash the express zip, my settings are back to the defaults. I have no problem reflashing the zip, but trying to remember which CPU frequency I set isn't ideal. Presumably the whole "install settings will be kept when flashing express" thing doesn't apply when I wiped out the kernel with a ROM update beforehand, which is understandable.

Anyhow, minor issue. The kernel itself has been flawless. Anyone know a workaround? I apologize if this has been answered; broken search and all that.
[Nexus 5 Original Android Development] nathanchance:
I think this is how this works, I am not sure since I have not used it much. If you own the EXKM app, you should be able to run a backup of the kernel in Tools > Kernel Backup, which should house all of your settings in it. Then you can restore to it after you flash your ROM update. Not entirely sure though, flar2 is free to correct me.

Additionally, I believe flashing the express zip from within the EXKM app should keep all of your settings intact. Not sure if that is where you are flashing it from or not, even though the OP says the express zip shouldn't override your previous Aroma choices.
[Nexus 5 Original Android Development] Joy Bangla:
You can try to copy the elementalx.conf file in /etc folder and paste it back after ROM update. You can always download the EX kernel app which will save certain values and apply them at boot
[Nexus 5 Original Android Development] flar2:
It should saves your aroma settings and apply them when you use the express installer. But with cyanogenmod, who knows. They change things around all the time and break things.
[Nexus 5 Original Android Development] techinv:
Flar:

Happy New Year to you, and thanks for your continued excellent work. Just curious about the status of the upgrade (and new feature) that you mentioned last month.
[Nexus 5 Original Android Development] flar2:
It's coming. I've been extremely busy at my day job lately, working non stop as some research I did last year became a big media story rather unexpectedly this week.
[Nexus 5 Original Android Development] PhilipTD:
How about a link to the story? You made me curious.
[Nexus 5 Original Android Development] flar2:
http://www.cbc.ca/news/politics/2250-canadian-veterans-homeless-1.3390674
[Nexus 5 Original Android Development] a g bell:
https://plus.google.com/+SykoPompos/posts/gC1DCocSAoM not sure if you are aware already
[Nexus 5 Original Android Development] xmaciek82x:
I really want to use this kernel but every time I flash it I get very bad static while using viper4android. Anyone know why? I went through and tried every change possible to the kernel setting (stock gov, scheduler, hotplug, etc). Still there. It happens when I use this kernel and Hellcore, works fine on Blu_spark, so it must be kernel related. Any one have any advice?
[Nexus 5 Original Android Development] flar2:
Reduce gain settings in EXKM or Kernel Adiutor
[Nexus 5 Original Android Development] galakanokis:
Very cool, nice work. I have a lot of friends all across Canada in the military and employment after service is a real concern for them. Appreciate your work and the link to the story.
[Nexus 5 Original Android Development] flar2:
ElementalX will be fine for any custom ROMs that use this, as it includes everything in the existing ramdisk.

My question is, do I need to add this for stock? I don't use any kinds of theme stuff, so I don't know if this is only for custom ROMs or what.
[Nexus 5 Original Android Development] a g bell:
I don't know l am sure will all know soon
[Nexus 5 Original Android Development] flar2:
Well, let me know as soon as it's known. If this is something people will be asking for, I would like to get it into the next update.
[Nexus 5 Original Android Development] magnamentis:
ohhh.... get prepared, for sure this will be asked ( i mean something many will be glad to have ) LOL count me in. nice weekend and thanks again for the hassle free experience you've been providing for years now. :good:
[Nexus 5 Original Android Development] jazzh:
I'm on January cata with supersu 2.52.and stock kernel. What's the procedure for flashing this kernel?
[Nexus 5 Original Android Development] grep_i:
There's no special procedure just flash it and if it works your good
[Nexus 5 Original Android Development] xmaciek82x:
Thank you. I use trickster, never even seen the sound config area.

I'll play around with the gain.
[Nexus 5 Original Android Development] Surfinette:
Edit: deleted my message, which I posted on the wrong phone thread !

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 5 Original Android Development] magnamentis:
because trickster is NOT EXKM which he mentioned, makes sense somehow LOL
[Nexus 5 Original Android Development] a g bell:
[MENTION=4684315]flar2[/MENTION] any chance you could look at last kmsg for me? its for a test kernel sorry don't know who else to ask and sorry for ot
[Nexus 5 Original Android Development] xmaciek82x:
I meant I never noticed it before in trickster. Didn't mean it's not there.

I modified the gain and all good now.
[Nexus 5 Original Android Development] jazzh:
I have installed ex607 on Cata 601 with supersu 2.52 with the default settings.

So far I have these impressions:

-Performance is the same as stock

-Battery is better than stock

-Everything is working as before, except Whatsapp - while in deep sleep I'm receiving notifications with delay. Whatsapp is set to be nonoptimized in battery settings (I did this because of Doze and it was good with stock).

I can also see this when I try to log into whatsapp web app - it says trying to reach phone...

I'm sure this issue has been mentioned before but I can't find it now, any advice?
[Nexus 5 Original Android Development] magnamentis:
non-optimizing has no impact on doze, has been discussed and mentioned many times, it's simply a false assumption. doze can only be circumvented by apps that are approved to do so by google, mostly google cloud based apps. i'm not saying that whats app is not one that can, but it has nothing to do with the battery optimization features. that would be too easy and render doze obsolete.
[Nexus 5 Original Android Development] Eat it iPhone:
Im well aware the difference in heat isnt from the undervolt, its from max CPU being 1700mhz instead of 2200mhz. If i wanted to learn what you are "teaching" id be regressing, not progressing.

Agreed, i did ask what to set them to, to match what the installer sets them to. That's not a matter of opinion but a matter of fact, in which i found the answer was that the installer changes the voltage for the CPU @ 300mhz. The opinions that I shouldn't do it or that it's of little or no benefit not only ignore the question but where of 0 help to anyone.

For those interested:

After implementing 1700mhz max CPU and 700mv @ 300mhz, ive had a substantial increase in battery life by the way. I work 11 hours a day (13 if you count commute), a large portion of which has my phone idle (thus at 300mhz). My screen off battery drain used to be about 4% per hour. So in an 11 hour day id lose about 44% battery doing nothing. I now average < 1% drain idle per hour or about 11% in 11 hours. That's 33% of the batter life i get to use doing stuff instead of just losing idle.

Id say i havent noticed as much of a difference in terms of battery life with screen on (marginally better). I have noticed that even with light gaming/watching videos the phone doesn't get hot to the touch whereas at stock it would get noticeably hot. I however have NOT tried altering the voltage for other frequencies other than 300mhz, which i may try at some point.

Hopefully the facts help others curious about underclocking/volting. I will be unsubing from this thread and ignoring further posts/quotes/mentions. Thanks to those who provided helpful input.
[Nexus 5 Original Android Development] Joy Bangla:
Phone is not at 300MHz when idle. it is in deep sleep so it runs at a freq lower than 300MHz. Screen ON + idle runs at 300MHz. unless you stare at your screen with the screen ON undervolting to 700mv shoudnt affect standby drain.
[Nexus 5 Original Android Development] carlese:
[MENTION=4684315]flar2[/MENTION] any chance to see the ew build up today? I'm planning a clean flash and I'm waiting for all the updates :D
[Nexus 5 Original Android Development] Mrcactuseater:
Why update what isn't broken?
[Nexus 5 Original Android Development] carlese:
Not that anything is broken, flar2 said that a new build was coming, that's it ;)
[Nexus 5 Original Android Development] magnamentis:
bad style. it's just the wrong approach to ask for ETAs just because you want to save 2 minutes to flash over the new kernel whenever the update will be pushed.

either wait or flash and flash over as soon as the updates are here.
[Nexus 5 Original Android Development] tiixman:
thxx man it is work
[Nexus 5 Original Android Development] Progressive82:
Nexus 5 Marshmallow mmb29s + supersu 2.66 + elementalx 6.07

I have system ui crash on boot. I've flashed stock but system ui crash again. What can I do to solve??
[Nexus 5 Original Android Development] nathanchance:
Try clean installing (wipe system, data, cache and dalvik cache), then flash those three files again.
[Nexus 5 Original Android Development] flar2:
Soemthing on your system is screwed up. Do a clean install.
[Nexus 5 Original Android Development] Progressive82:
I've installed it 30 minutes ago. I've installed only wakelock detector as system app and then uninstalled with link2sd, I've rebooted and system ui crashed.
[Nexus 5 Original Android Development] nathanchance:
You can try dirty flashing your system.img then but usually SystemUI crashing means something fairly big got screwed up somewhere. It is usually faster to do a clean install than try and keep your current installation alive.
[Nexus 5 Original Android Development] Progressive82:
Ok, I will lose all my apps data.
[Nexus 5 Original Android Development] nathanchance:
Not from dirty flashing the system.img. Your data is held in the /data partition which isn't touched by that image. I would recommend doing a backup first of course but you shouldn't lose anything. You would if you were to do a clean install however.
[Nexus 5 Original Android Development] Progressive82:
I've just tried to do a dirty flashing.
[Nexus 5 Original Android Development] grep_i:
And the result was
[Nexus 5 Original Android Development] Progressive82:
system ui crash again.

I'm pushing data folder to usb-otg and then I will make a clean install.
[Nexus 5 Original Android Development] flar2:
Update!!!

Small update to add camera launch gesture. For this to work, you must have "Press power button twice for camera" enabled in settings. All the same caveats as other wake gestures apply to this feature.

Download

ElementalX-N5-6.08

Changes:

-add camera launch gesture

-flashlight fix
[Nexus 5 Original Android Development] nexttjme:
I'm Pure rom and EX 6.0.7. So.. How can i update the kernel? Just flash it or i have to do something else?
[Nexus 5 Original Android Development] nathanchance:
Just flash the kernel over your current installation, no wipes necessary.
[Nexus 5 Original Android Development] flar2:
Wait, hold on. I have to make a minor fix to the installer. Uploading now.
[Nexus 5 Original Android Development] flar2:
Update!!!

Small update to add camera launch gesture by swiping down when the screen is off. For this to work, you must have "Press power button twice for camera" enabled in settings. All the same caveats as other wake gestures apply to this feature.

Fix elementalx.conf, it wasn't saving properly for use with express version (express version wasn't keeping settings)

Also fix installer from version 6.08

Download

ElementalX-N5-6.09

Changes 6.08:

-add camera launch gesture

-flashlight fix

Changes 6.09:

-fix installer

-fix elementalx.conf/express version
[Nexus 5 Original Android Development] d1n0x:
I don't quite understand what the point of this is? Double tap power to launch camera is present in every 6.0.1 ROM, including stock. Am I missing something? :confused:
[Nexus 5 Original Android Development] nathanchance:
What do you mean what is the point of it? It is easier to swipe on the screen (especially if you are already used to wake gestures) than it is to hit the power button twice. Or do you mean what is the point of mentioning that the shortcut has to be turned on?
[Nexus 5 Original Android Development] androcraze:
I'm running stock AOSP with the stock kernel.

If I double-tap the power button, I get my default camera app. I didn't install anything special to get this feature, and I found the feature inadvertently.

If it's included in the base AOSP build (MM), why add it as a "feature" to a replacement kernel?
[Nexus 5 Original Android Development] nathanchance:
He added the ability to swipe down on your screen while it is off to activate that shortcut, not the actual double tapping of the power button itself.
[Nexus 5 Original Android Development] d1n0x:
ooh now I get it :D thanks for clearing that up.
[Nexus 5 Original Android Development] nathanchance:
Oh I am sorry, I didn't realize he didn't really explain it too well. It has been present on the 5X and 6P for a few weeks now so I understood exactly what he was referring to lol. He just added it to the 5 and 6 so everyone is on the same page. But yeah that is what it is!
[Nexus 5 Original Android Development] BreckZeBoulay:
Battery drain ?

And if yes, is there an option to not activate this feature at the aroma installation of the kernel ?
[Nexus 5 Original Android Development] nathanchance:
Correct, it is still a wake gesture.
[Nexus 5 Original Android Development] BreckZeBoulay:
Thx.

And for my second question ?
[Nexus 5 Original Android Development] nathanchance:
Yes, it is disabled by default. It is under the wake gestures section of the installer.
[Nexus 5 Original Android Development] Midomad:
Thanks for the update.

When haptik feedback is enabled there is a long vibration for the new swipe down to launch camera ! it would be great if changed like others gestures vibration(small one).

I hope i'm clear.
[Nexus 5 Original Android Development] flar2:
I know what you mean. Unfortunately, this vibration is part of the system or camera app. I can't change it from the kernel. I'm not sure, but I think Cataclysm may have an adjustment for it.
[Nexus 5 Original Android Development] Midomad:
Ok i will notice [MENTION=3913401]atl4ntis[/MENTION] :)
[Nexus 5 Original Android Development] nunoleite46:
6.09 running fine here.

[MENTION=4684315]flar2[/MENTION] just a little correction, during aroma installer shows 6.08 on the 1st screen.

Thank you for this amazing krnl.
[Nexus 5 Original Android Development] creeve4:
GravityBox also has an adjustment for it.
[Nexus 5 Original Android Development] atomic339:
I tried to update with SuperSU 2.66 but got bootloop.

I use system root option on catalysm (SuperSU 2.52) and with 2.52 I don't get bootloop but I would like to updated supersu.

How to update

to 2.66? It should work with system root option
[Nexus 5 Original Android Development] magnamentis:
in the SSU beta thread i posted as to how this works best, safe and easy ;) you can either search the entire threads or my posts, especially in the nexus 5 and the nexus 6 threads

i and others posted many times and in detail what has to be considered and to proceed when using the regular way of flashing the zip file.kernel, order of flashing,

eventually using terminal script to get the correct root method and so on. you can specifically search for [MENTION=6842057]nathanchance[/MENTION] posts and tutorial, he posted by fare most

often and most detailed and the most sophisticated tutorials in this as well as in the nexus 5 and 6 thread. further of course you could look up chainfire's own

tutorial in the SSU threads.
[Nexus 5 Original Android Development] morfances:
Just flashed the new version 6.0.9 and I found this new entry : camera gesture

What is it? And how does it work?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] till22:
Just a crazy idea that came into my mind.. ut did you try drawing a circle on the screen?
[Nexus 5 Original Android Development] nathanchance:
It is the swipe down gesture for the right lockscreen shortcut that was introduced in 6.0.8/9.
[Nexus 5 Original Android Development] magnamentis:
which is exactly what says the descripton in the screen shot. sooner or later i'll need a holiday from this i'm afraid. i get the feeling that as long is that kind of question where the answer is in the question are answered it gets only worse, but perhaps this is only important for old men like myself who start to value time (left) higher and higher LOL
[Nexus 5 Original Android Development] till22:
You're on here helping way too much indeed, I think you should go dust off your book collection! :p
[Nexus 5 Original Android Development] magnamentis:
that would make 3473 books my friend LOL and i have read them all. in the mean time i am writing my own. thanks for caring however.

sooner or later we go for a beer because montevideo is on my agende next two years and from there i'll certainly make it over quick. cheers :highfive:
[Nexus 5 Original Android Development] till22:
All right, you're welcome whenever you want! Just send me a mail before appearing before my door :highfive:
[Nexus 5 Original Android Development] styago:
I suppose this is using sensors and will be as battery consuming as dt2w, I assume?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] nathanchance:
Yes, the same stipulations for S2W and DT2W are in effect (idle drain included).
[Nexus 5 Original Android Development] styago:
I was afraid that would be the answer. A shame, as this feature is amazing.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] flar2:
Just set the timeout for 30 minutes.
[Nexus 5 Original Android Development] styago:
Meaning that after 30 minutes, for instance, the sensors would be "switched off"?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] nathanchance:
Yes. It means the wake gestures will work for thirty minutes and then you will need to hit the power button to turn your phone on. So only thirty minutes of idle drain before the sensor/screen is turned off.
[Nexus 5 Original Android Development] p1nky:
6.09 working with MMB29S? If yes which supersu should I use with?
[Nexus 5 Original Android Development] aavvaallooss:
Yes. v 2.66
[Nexus 5 Original Android Development] magnamentis:
yes is working and the SSU version depends on what method of root you want, you choose.

your question implies that you missed out to read much about the current state of SSU which i recommend to do first:

you find top tutorials in the superSU threads, discussions in the SSU beta thread as well as in the cataclysm rom threads for both N5 & N6 by [MENTION=6842057]nathanchance[/MENTION]
[Nexus 5 Original Android Development] nathanchance:
Which are now in my signature btw ;)

Also [MENTION=1128771]p1nky[/MENTION], see this post in the 6P thread (relevant here still) about how to install EX with root.
[Nexus 5 Original Android Development] magnamentis:
thanks for the heads up, great idea, much easier to find, will remember :highfive:
[Nexus 5 Original Android Development] p1nky:
Thank you guys. I went from supersu 2.52b to 2.62 which is my first system less.

I did not read much about the supersu development, that's right

Just installing the MMB29S via OTA will not work I guess. 2,5MB looks like a little patch only.

Would love to install ota, re flash kernel and supersu