yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] flar2:
Update!!!

This version features wake gestures and improvements to stock doubletap2wake.

Wake gestures allow you to sweep your finger across the screen or double tap to wake up the phone. I recommend enabling sweep up and disabling the rest. It works good and you will not have accidental wakes. There is no built in pocket detection with this. I have added optional haptic feedback to the gestures. All of this is fully configurable via /data/data/elementalx.conf, AROMA installer, or EX Kernel Manager.

Wake gestures includes sweep2sleep. To use this feature, swipe across the navigation buttons to turn off your screen.

This is compatible with my free Wake Gestures app, which allows you to customize the actions for each gesture. Pocket detection is available with the app. Get the app here: http://elementalx.org/wake-gestures/

If you want to use stock doubletap2wake, then make sure all sweep gestures are disabled. If you enable sweep in at least one direction, you will have my implementation of doubletap2wake. It is not possible to combine the stock dt2w with s2w. I have also added optional haptic feedback to the stock dt2w.

Finally, I fixed stock dt2w so that it can be enabled while the screen is off. This was causing problems with apply on boot (if the screen happened to be off while trying to apply on boot, it would not be enabled).

Hopefully all this works well. It's too early to tell for certain, but I don't expect this will cause any noticeable battery drain.

Download

ElementalX-N6P-0.04

Changes:

-add wake gestures

-allow stock dt2w to be enabled while screen is off
[Nexus 6P Original Android Development] FuMMoD:
Heck yeah! Flashed and enjoying my sweep2sleep. How I missed this feature. Now I can extend the life of my power button.
[Nexus 6P Original Android Development] Jsilver73:
Hmmm, I can't seem to get Sweep to sleep working, I emailed it in Aroma and it is enabled in elemental x app. Any help much appreciated.

Edit:scrap that, I obviously need to learn to read! On nav bar works like a champion :)

This is so much fun, can't believe how quick development is going on this kernel, thank you very much [MENTION=4684315]flar2[/MENTION]
[Nexus 6P Original Android Development] kingmikel:
[MENTION=4684315]flar2[/MENTION] hey man so far so good, only bug I've found is that when I select custom install and use aroma, whenever I try to select FIOPS it boots up on deadline. The elementalx script shows that it's supposed to be option 4 which is FIOPS, but every reboot sets it to deadline. I know i can change it with your app and select set on boot, i just wanted to let you know. If I use express settings it sets it to FIOPS fine.
[Nexus 6P Original Android Development] dr_rick13:
[MENTION=4684315]flar2[/MENTION] hey man, long time user of your kernels. Quick question regarding min frequency? Is there some other hotplug I dont know about? I checked in the /bin folder and there's no mpdecision...

everytime I change min frequency to 384 mhz, it goes back up to 12xx. Any ideas?
[Nexus 6P Original Android Development] kingmikel:
I think it's touch boost. If you check an app that monitors your freqs, you'll see it drops to the min and instantly goes up once you touch the screen
[Nexus 6P Original Android Development] flar2:
It's /system/bin/perfd
[Nexus 6P Original Android Development] effraie:
[MENTION=4684315]flar2[/MENTION] : as I don't care about gestures to wake, I'm wondering which dt2w is the more power efficient, your's or stock? And if it's your 's, may I enable it without enable sweep to wake?
[Nexus 6P Original Android Development] flar2:
So far look it looks like none of the gestures cause any drain at all.

You can enable dt2w alone, it would be the stock dt2ww, which works better than mine on this device (at least for now)

But double tap is not practical as a gesture. It's less reliable, has more accidental wakes, and causes more issues with phone calls than the sweep gestures.

The best option is s2w up, everything else disabled.
[Nexus 6P Original Android Development] flar2:
And just so everyone knows:

You DON'T need the wake gestures app for this.

And I'll say this once again:

Sweep2wake is better than doubletap2wake in every way imaginable.
[Nexus 6P Original Android Development] emiwonder:
I have a question. Can I update this kernel in the future? Because you mentioned that it has to be installed over stock kernel

---------- Post added at 08:04 AM ---------- Previous post was at 07:56 AM ----------

And one more thing: is it possible to implement features double twist to open camera?
[Nexus 6P Original Android Development] tcat007:
Curious about display color settings. I use Kernel Adiutor, but when I change color nothing seems to change. Does it require a reboot, or does rgb mode need to be set in developer options? Or does your kernel app show live changes? Thanks for the quick updates!
[Nexus 6P Original Android Development] tropazr:
Try leaving everything stock and change "Value" to 142 in EX Kernel Manager. Seems to brighten up the whites while leaving the colors pretty accurate (at least to my eyes).
[Nexus 6P Original Android Development] bsg411:
Anyone know how to reset the color profile back to the original settings?
[Nexus 6P Original Android Development] Gumby63:
If you're using flar's app just press the refresh button at the top under color control.
[Nexus 6P Original Android Development] flar2:
You can install EX over an earlier version of EX. Just not other customers kernels.

The double twist gesture is a rom thing

My app shows live changes.

The refresh button will do it, but sometimes gets stuck until you exit the screen. Something to do with the latest kcal commits queing changes.
[Nexus 6P Original Android Development] defconoi:
I'm using systemless root, stericksons busybox won't install, is there another option that is flashable or a systemless busybox in ramdisk?
[Nexus 6P Original Android Development] Aaron_Knowles:
Use busybox x - https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete

Long time, no see! Missed your unleashed kernel for some time on my n4
[Nexus 6P Original Android Development] NovaSlim:
I found busyboxonrails pretty good, works great with layers.
[Nexus 6P Original Android Development] Austin808:
Looks interesting. Looking forward to trying this out.
[Nexus 6P Original Android Development] gleggie:
Can't wait!
[Nexus 6P Original Android Development] elsworth1983:
Sorry but to me this kernel is brilliant on the n6p no issues & to the people who have problems time to do a bit off reading on xda & Google on how to save battery.
[Nexus 6P Original Android Development] Stephenparrigin:
Can't wait, good luck to everybody!
[Nexus 6P Original Android Development] Chilidog:
This is what my bbs looks like so I guess it's normal?
[Nexus 6P Original Android Development] dipole:
Def wants in on this, keep up the good work
[Nexus 6P Original Android Development] Dualz:
Keen to try these tweaks..hope to be considered
[Nexus 6P Original Android Development] Az Biker:
I can't imagine much better batt life than EX already gives, but I'm up to the test :D

NexsixP
[Nexus 6P Original Android Development] mpgrimes:
Sweet, always been a fan of your work!
[Nexus 6P Original Android Development] peoples_flip:
I'm currently in version 1.03

If I want to go to the latest version (1.05) do I just reflash via TWRP or is there special instructions to follow?
[Nexus 6P Original Android Development] chubby65:
Just flash kernel mate
[Nexus 6P Original Android Development] mobileman88:
[MENTION=1363323]vomer[/MENTION]

Count me in. I always loved your work on the HTC
[Nexus 6P Original Android Development] doki81:
anyone with ex kernel + android wear having issue with bluesleep wakelock? i have been experiencing bluesleep wakelock....even i turn on airplane mode .. :(
[Nexus 6P Original Android Development] bps119:
Aww yeah, I'll take a chance.
[Nexus 6P Original Android Development] elevatorguy:
Count me in
[Nexus 6P Original Android Development] matust:
Oppps

---------- Post added at 01:54 PM ---------- Previous post was at 01:51 PM ----------

I'd like to give it a try
[Nexus 6P Original Android Development] amirfk12:
Oooh, I'd love to win this. Hope I get picked!!
[Nexus 6P Original Android Development] dadsterflip:
Winner!!!! Pick me lol.
[Nexus 6P Original Android Development] Rashad83:
Tyvm for your work. Wish you all the best.
[Nexus 6P Original Android Development] likonvampire:
Hey vomer nice to see you here from N5 forums, looking forward to your app . Would perfectly compliment the EX app that I bought to support the dev.

Cheers
[Nexus 6P Original Android Development] xploitnt:
Oooohhh this is the best newa I h ave heard all day :D Hooray for vomer and hooray for flar2! Thanks for the wonders you guys have created!!!!
[Nexus 6P Original Android Development] TheDude:
really?
[Nexus 6P Original Android Development] xploitnt:
I do enjoy the work of these devs, yes. That's silly if it offends you :silly: I have my app and am looking forward to the soon.jpg being replaced under the EX tab
[Nexus 6P Original Android Development] TheDude:
I'm going to save some infraction points and refrain from my normal response... soon.jpg will work and the streets will turn to gold. The Devs know they are appreciated.
[Nexus 6P Original Android Development] xploitnt:
K.

For the others [ [MENTION=1363323]vomer[/MENTION] [MENTION=4684315]flar2[/MENTION] ], I was just simply saying I appreciate the work as it seems to be confusing. Thank you! Kernel runs flawless and I am looking forward to the EX tweaks :)
[Nexus 6P Original Android Development] TheDude:
I like your glasses!
[Nexus 6P Original Android Development] nvidia70:
Nice :)

---------- Post added at 09:36 AM ---------- Previous post was at 09:35 AM ----------

Nice :)
[Nexus 6P Original Android Development] belloni:
Will it work well if already running the scripts for CPU?
[Nexus 6P Original Android Development] nds850:
Sounds interesting!
[Nexus 6P Original Android Development] Tanged:
Awesome! Can't wait to try that bad boy out [emoji1]
[Nexus 6P Original Android Development] rando191:
Awesome! =D
[Nexus 6P Original Android Development] shawnaye:
Hey vomer!

Nice to see you here!

From gnex to n5 to n6p, always seeing you around. Haha.
[Nexus 6P Original Android Development] yung40oz84:
This would be great! Thanks!
[Nexus 6P Original Android Development] HuMpS 97 DoHc:
would love to try this out.
[Nexus 6P Original Android Development] steveo17:
sweet looking forward to trying this!
[Nexus 6P Original Android Development] herooftimeloz:
Looking forward to it!
[Nexus 6P Original Android Development] TheMorpheus:
Nice!! Congrats for your milestone!
[Nexus 6P Original Android Development] vomer:
heya! ya the gnex days were a while back!! :)

good to see some og friends here as well :highfive:
[Nexus 6P Original Android Development] shawnaye:
Just made me realize I skip a generation of Nexus. Haha.

Wonder where's osm0sis.
[Nexus 6P Original Android Development] vomer:
[MENTION=4544860]osm0sis[/MENTION]
[Nexus 6P Original Android Development] osm0sis:
Oh I'm everywhere now boys. :cowboy:

N5 and N7 2013 (and GN) still; girlfriend has an N5X which she loves (I converted her from iPhone 5), but I won't be modding that until Google stops supporting it. ;)
[Nexus 6P Original Android Development] shawnaye:
Howdy doo, so what does she love about the 5x?
[Nexus 6P Original Android Development] vomer:
Awesome! we add another patron to the #androidmasterrace :good: :silly:

---------- Post added at 10:24 AM ---------- Previous post was at 10:22 AM ----------

Contest will be closing in 2 hours.

Winners will be announced via Twitter so be sure to keep an eye out :good:
[Nexus 6P Original Android Development] tjohnstone3:
I'll give em a whirl.
[Nexus 6P Original Android Development] chankalson:
Thanks! :)
[Nexus 6P Original Android Development] TheDude:
[MENTION=1363323]vomer[/MENTION]

Soon.JPG ... lmao, love it.
[Nexus 6P Original Android Development] vomer:
:p
[Nexus 6P Original Android Development] osm0sis:
She likes the GApps integration like signed-in Chrome with bookmark sync, that Gmail supports her Outlook.com email well via IMAP where Apple's default was poor, the fingerprint sensor on the back, homescreen widgets, lots of little things it seems. She actually wasn't a fan of how big the screen was at first, but it's growing on her.
[Nexus 6P Original Android Development] shawnaye:
I wished the 6p was ever so slightly smaller to fit better in my hand though.
[Nexus 6P Original Android Development] vomer:
I find it better than then N6 grip wise
[Nexus 6P Original Android Development] vomer:
It would replace any tweak scripts you have been running - so I would recommend uninstalling them first before using the app

---------- Post added at 02:35 PM ---------- Previous post was at 02:30 PM ----------

it's supposed to enhance it further and I keep updating the logic as I experiment further with the settings. :)

---------- Post added at 02:47 PM ---------- Previous post was at 02:35 PM ----------

Winners have been posted!
[Nexus 6P Original Android Development] rajarshi10:
How do I save the GhostPepper settings after running the script? Do I have to run the script on every boot? And while running the script do I choose ROOT option in the FX Explorer?
[Nexus 6P Original Android Development] nathanchance:
Is something for the Nexus 6 planned lol (since you said only N5X and N6P at the moment)? I don't recall seeing anything in the past few pages.
[Nexus 6P Original Android Development] vomer:
I will be looking into legacy devices in the future yes.
[Nexus 6P Original Android Development] nathanchance:
Sweet! If you need any help with it, let me know :good:
[Nexus 6P Original Android Development] Balino:
how is going this test?

I'd like to use elementalx as my main governor, it was set as default with the N5 version and never looked at the others governors.

thank you
[Nexus 6P Original Android Development] whatthehckeric:
This is fantastic news, been waiting for this one! Keep up the awesome work!!! :)
[Nexus 6P Original Android Development] TheDude:
How soon.jpg? lmfao
[Nexus 6P Original Android Development] vomer:
Lmao! ;) maybe that should pop up if you try to run the app on an unsupported device :silly:
[Nexus 6P Original Android Development] dalmigarath:
Hello everyone! I'm new to the ElementalX kernel, seeing as how I just got my Nexus 6p about a week ago. So far its been great, I've been switching between both the Ghostpepper v1.1 and Butterfly CPU profiles and both are great!

But back on topic, the reason I'm here is because I find the screen to be a bit warm on the Nexus 6p and I prefer a cooler tint to my screen. I have adjusted the screen calibrations a bit and I can't seem to find a calibration I like (right now I'm using Red:235 Green:235 Blue:255), and I was wondering what all of you guys were using for your calibrations? Thanks in advance!
[Nexus 6P Original Android Development] colinmcg71:
Same here. Just got my 6P last Tuesday and wanted to cool screen colours down. I'm using the "CoolerThanStock" profile built into the EX Kernel app.

The settings are:

Red 215

Green 219

Blue 256

Saturation 32

Value 136

Contrast 136

Hue 0
[Nexus 6P Original Android Development] dalmigarath:
Just tried these settings and they are Great! Also where did you "CoolerThanStock" profile, I'm using the ElementalX Kernel Manager app and I can't seem to find it.
[Nexus 6P Original Android Development] colinmcg71:
Glad you like the settings. You can find them once you're in Advanced Colour Control.

Press the + button

Then tap the folder button

Then select the profile you like

Then toggle the set on boot switch and you're set.
[Nexus 6P Original Android Development] KHANrad_SIN:
Can anyone hand me some knowledge on zram? Advantages or disadvantages of having it on or off? I always figured that zram was a good thing for phones with low amounts of ram but to my knowledge our phones have quite sufficient ram.
[Nexus 6P Original Android Development] Az Biker:
When using Vomertweaks, will that mess with EX settings not related to cpu?

NexsixP
[Nexus 6P Original Android Development] binaryfalcon:
What would be the correct way to try this if coming from another custom kernel? ( Franco r7)
[Nexus 6P Original Android Development] nathanchance:
Dirty flash your ROM or flash the stock boot.img if you are on stock Android then flash EX.
[Nexus 6P Original Android Development] DroidIt!:
A bit ot ,:) but has anybody had problems with this phone where when you call someone they can't hear you until you turn on speaker phone? I've been trying to fix that the last couple days and I haven't been having any luck. I tried AOSIP, AICP, and DU. It was also suggested I try some build.prop tweaks but that didn't work out either. I was gonna try Cataclysm next since that's pretty much stock. I know it's not a kernel issue :angel: I just know some knowledgeable guys hang out in here and wanted to get some opinions.
[Nexus 6P Original Android Development] drawde40599:
I've seen people have this issue with certain cases and some people covering there mic with there finger .
[Nexus 6P Original Android Development] vomer:
I recommend posting questions like there in the VT thread (link in sig).

to answer your question : do not set on boot / modify values in ex app and you are good to go.

Also a friendly reminder to claim your codes if you have not: https://twitter.com/VomerTweets/status/690620073753575424
[Nexus 6P Original Android Development] TheDude:
Hurry up and claim your codes Soon.jpg !!! muhahahah
[Nexus 6P Original Android Development] DroidIt!:
Lol. Well definitely not either of those. :D
[Nexus 6P Original Android Development] drawde40599:
Most likely your going to have to wait it out for Google or do a RMA then, but there's this if you wanna try

http://www.androidpolice.com/2015/1...o-noise-cancellation-google-is-investigating/
[Nexus 6P Original Android Development] DroidIt!:
Hmm, alright thanks for the heads up. It's weird that some would have the problem and others wouldn't. Well, hopefully Google won't take too long with this one. :fingers-crossed:
[Nexus 6P Original Android Development] GCbard:
Dumb question..., where will the app be posted?
[Nexus 6P Original Android Development] sswagonman:
Playstore vomertweaks
[Nexus 6P Original Android Development] GCbard:
Found it. I'm not trying to be a smart a@#. But does it really make a difference?
[Nexus 6P Original Android Development] Kappa Lamda:
netmgr_wl

Anyone know from where that kernel wakelock is produced?
[Nexus 6P Original Android Development] sswagonman:
The tweaks? I have been running it for the day now and yeah I would say it does. I like to give tweaks a bit of time to settle but phone is smooth and battery seems to be better already.
[Nexus 6P Original Android Development] TiGuy82:
I have a small issue with my Nexus 6P and Spotify and I don't know how to fix it, I hope I can fix it with some tweak.

When I am listening to a song and I rotate the screen the music pauses for less than a second and starts again. It also happens to you?
[Nexus 6P Original Android Development] gianton:
Yes, it's happening on most ROMs I tried.
[Nexus 6P Original Android Development] Tanged:
Have you found the performance to be affected at all with the tweaks?
[Nexus 6P Original Android Development] Az Biker:
I've been running the Vomertweaks "Dynamic Mode" for about half a day, so I can't really speak to the batt savings aspect yet.

But I can say that I've not noticed any drop in performance at all... So even if the batt savings are marginal, it's still worth trying.

In the end, it's $1.60, the dev gets some coin, the users gets a custom app, and the world is a better place :D
[Nexus 6P Original Android Development] sswagonman:
No the performance has not been affected at all in real world use. I don't usually bother with benchmarks as there is so many variables. Feels just as snappy tho
[Nexus 6P Original Android Development] hbkekko:
it happen to me too, but not only with spotify, also with youtube videos
[Nexus 6P Original Android Development] BartLuke94:
Guys I'm looking forward to read some feedbacks about vomertweaks :) it seems nice

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Original Android Development] theesotericone:
Can they here you after you turn speaker phone back off? If not then it could be hardware. As always, flash stock and see if it persists. If it does RMA it.:cool:
[Nexus 6P Original Android Development] Az Biker:
Setup: PN 1-09, EX 1.05 default, Vomertweaks "Dynamic Mode" compared to PN 1-09, Ex 1.05 default

1.75 sot / 4 hr unplugged, the idle drain is down from .71% /hr to .38% with active drain down from 14-12% / hr range to 9.04%.

Noticeable decrease in batt drain, no lag or decrease in performance, and I expect slightly better results after a few more full charge cycles.
[Nexus 6P Original Android Development] Coroner:
Thats because the left and right channel change the sides.

Check it out with this video: https://youtu.be/hTvJoYnpeRQ

and turn the phone while playing.
[Nexus 6P Original Android Development] Krunk83:
I've had lots of sluggishness with this kernel lately. Opening apps is slow, fingerprint is slow to unlock phone, apps load slowly. I have been using the performance governor but I was wondering if anyone else has been experiencing these issues?

Sent from my Nexus 6P
[Nexus 6P Original Android Development] flar2:
No. Whatever problems you may be having are not kernel related.
[Nexus 6P Original Android Development] Atticustrd:
I had that as well, i rebooted and all is well again.
[Nexus 6P Original Android Development] Krunk83:
Thanks!

Sent from my Nexus 6P
[Nexus 6P Original Android Development] flar2:
You can use both. Just leave the cpu settings alone in EXKM if you want vomer's tweaks. You can use the other settings in EXKM, like wake gestures, color control, etc.
[Nexus 6P Original Android Development] colinmcg71:
Hi [MENTION=4684315]flar2[/MENTION] is there any chance the battery led settings will be added into this kernel? On the N6 I liked the way the led would turn off when the battery was full.

Thanks for the excellent kernel.
[Nexus 6P Original Android Development] flar2:
I don't think that's a kernel thing. My LED doesn't even come on while it's charging, it's probably something to do with your ROM.
[Nexus 6P Original Android Development] colinmcg71:
Ah, okay, thanks for responding. I'm running PureNexus and the battery led changes through red to yellow then green at about 90%.

Thanks all the same :)
[Nexus 6P Original Android Development] TiGuy82:
Thank you so much for the information

With this info I found out if I turn the screen and the buttons stay on the top I won't pause :)
[Nexus 6P Original Android Development] vomer:
Looks like 3 people did not claim their prize - so, I will PM these codes to 3 random people from this thread.

Good luck :)
[Nexus 6P Original Android Development] tcat007:
Random
[Nexus 6P Original Android Development] chubby65:
Nice one [emoji106]
[Nexus 6P Original Android Development] Az Biker:
Too bad for them. VT looks like a fantastic app!

...from my NexsixP
[Nexus 6P Original Android Development] Mrwargod:
Random here too. :fingers-crossed:
[Nexus 6P Original Android Development] JokerAce:
Random me. :P
[Nexus 6P Original Android Development] cytherean:
Random
[Nexus 6P Original Android Development] DroidIt!:
Yeah it persists after turning speaker phone on and off and flashing stock. I was made aware of a possible fix and a really nice dev is doing a ROM build for me to see if it fixes the issue. If it works I'll post results here in case anybody else runs into this.
[Nexus 6P Original Android Development] Dualz:
Hi [MENTION=4684315]flar2[/MENTION]

I wanted to try LSpeed Mod linked below

http://xdaforums.com/showthread.php?t=3020138

Is it OK to use with your Kernel? am using Cataclysm btw.
[Nexus 6P Original Android Development] relevant_placeholder:
[MENTION=1363323]vomer[/MENTION], bought your app.

Does it have its own dedicated thread?
[Nexus 6P Original Android Development] StariX37:
Will this kernel work on CM 13 based rom ??
[Nexus 6P Original Android Development] doki81:
Hope to try out your tweak app too..