yashsingh1/xdaforums huggingface dataset:
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Update!!

If you enable sweep2wake, the native doubletap2wake that goes to ambient display will not work.

If you don't enable sweep2wake, the native doubletap2wake that goes to ambient display will work.

Download:

ElementalX-P-1.01.zip

Changes:

-December security update
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
I accidentally linked the old version in the post above. It's DJ iced bite, make sure you install 1.01
[Google Pixel ROMs, Kernels, Recoveries, & Other De] crossen0:
Edit: delete
[Google Pixel ROMs, Kernels, Recoveries, & Other De] iPwn_:
I realize it sounds stupid since the changes would take a reboot to realize, but it would be really helpful if we could access color control through the Aroma installer.

That would allow us to unlock the bootloader, retain a SafetyNet pass, but still change the setting without rooting the phone for EXKM and breaking SafetyNet again.

The default calibration is awful, and the sRGB mode is greatly green-channel shifted, making it also look pretty awful.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] crossen0:
I didn't see anywhere to disable the sweep2wake. The kernel flashes in the installer with options for clock speeds only.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] nednednerb:
Use a kernel manager,

Such as EXKM by the dev. It is in Play Store. You can use a third party manager, but may be less compatible.

Depending on flash procedure you may not see all the aroma options. TWRP is not yet stable. But EXKM works great.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Sakete:
Does EXKM require root? I want to flash this kernel so I can use Android Pay again, but I don't want to root my device nor do I want to install a custom recovery. I want to keep it as stock as possible (unlocked my bootloader).
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Unfortunately, you can't do any customization without root. Make sure you complain to Google, they are making our phones useless. Might as well get an iPhone.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
Just flashed ElementalX 1.01, and I'm still experiencing a persistent issue I first noticed the other day on 1.00. I've been trying to turn off ALL gestures, but it doesn't seem to stick. If I go into the kernel manager and disable Sweep2Wake and Sweep2Sleep, they're re-enabled on a restart. Toggling the power buttons on the right doesn't change that. I also disabled them again in the Aroma Installer when I flashed 1.01 but they were still enabled on boot. I have all of the gestures under the Move settings turned off, and those have stayed off. Am I doing something wrong, or just missing something?

I'm currently on 7.1.1 NMF26O, TWRP alpha 2, ElementalX 1.01, and SuperSU SR5.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Sakete:
If I were to flash this kernel using fastboot, is there a way I can modify some settings that come with the kernel before I flash it? Editing a text file, or something else? Or are the settings stored in binary? Could that be a potential workaround for not using EXKM?

Alternatively, I might consider flashing TWRP and using the AROMA installer for configuration; does AROMA allow you to configure gestures during setup? I for instance just want DT2W, as it's done in the December update (where it wakes to Ambient Display), don't want any other gestures. And perhaps tweak some of the color settings as the two default color spaces Google included aren't that great.

My main thing is that I don't want root, as I want to keep my phone as secure as possible otherwise (yeah, I probably shouldn't have unlocked my bootloader then, but I have a VZW version so wanted to unlock it just in case in the future I still want to root the phone for whatever reason, and that loophole was patched in the 7.1.1 update).

Edit: if I root the device, run EXKM, change the settings, then uninstall EXKM and unroot, will the settings be saved and remain unchanged?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Are you checking right after restart or a couple minutes after restart? Toggling the apply on boot setting after disabling the gestures should do it. Keep in mind that exkm waits a short period after boot before applying all your apply on boot settings so give it a minute or two
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Wait for a few minutes after booting. Note that you also have to put in your pattern/pin/etc before apps will start.

Another common reason for this is Greenify or other apps that prevent services from running. Don't Greenify EXKM.

Kernel settings do not persist on reboots. And there is no way to change them without root.

You can still be secure with root, just don't install untrusted apps or execute unknown files. I root all my phones and I don't worry much about security. Just use commons sense and don't download unknown files or click links in unknown emails and never install apps from outside the Play Store.

Security is really important, and I try to patch all the exploits and recommend selinux enforcing and all that, but right now there are a lot of people out there trying to scare everyone. They are trying to create a market for security products now that Android is on top of the operating system business.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Sakete:
Alright, one final question, will Android Pay still work when rooted? I might just go the root route then.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
No, Android Pay doesn't work if you are rooted.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] quangtran1:
Sorry no.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] foolie:
What's the command to flash the stock kernel before loading this? Thanks fellas
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Fastboot flash boot_a boot.img

And

fastboot flash boot_b boot.img
[Google Pixel ROMs, Kernels, Recoveries, & Other De] chazall1:
Thanks for the update all functioning great here.

Thank You
[Google Pixel ROMs, Kernels, Recoveries, & Other De] JAYNO20:
Never mind, I found it.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
Yep, you're right, it works if I wait. Sorry, didn't know about the delay. (And I don't use any Greenify-like apps.) Is the delay due to decryption or something else? Just curious.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
I don't want to speak for flar2 but the delay was nice on my previous device (Nexus 5X) because during boot the big cluster of the CPU would shut off due to hotplug so when exkm tried to apply a governor profile it wouldn't apply to the offline cluster. Waiting would make it so the big cluster was online before applying settings. There might be other benefits/reasons as well
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
There are a couple reasons for the delay. No apps execute anything until you initially unlock your device (unless they have special permission). Then once you unlock, they run when the system issues an intent for boot completed. Then I added another delay of 10 seconds or so to let other apps and scripts go first, so my settings are applied last.

On the 5X, I had to add a further measure, polling the big cluster until it comes back online.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
That makes a lot of sense, I appreciate you always shedding light on things like this
[Google Pixel ROMs, Kernels, Recoveries, & Other De] sn0warmy:
Did I read correctly that this kernel allows for working Android Pay, even with an unlocked bootloader (not rooted, of course)?

I could be off base, so I figured I'd ask.

EDIT: Spent some additional time reading and it looks like I did read correctly. My apologies.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Thijssie909:
Hi all, I received the OTA on my phone, but I assume I cannot install it with TWRP and EX already on my phone? Or will it work?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] crossen0:
You assume correctly
[Google Pixel ROMs, Kernels, Recoveries, & Other De] piccit:
You'll want to put stock boot.img back (which has stock recovery in it), flash to both slots while you're at it. Then you can sideload or take OTA normally.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Thijssie909:
Thanks, will try!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
Thank you for the explanation! It sounds like Google is designing with always-on phones in mind.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
I'm on an rooted Vzw Pixel. SU version v2.78 SR3. It seems the settings aren't applying. Like the sound is a little lower even though I uped the volume in the app. And none of the wave features like swipe for on or off ever work and I have double tap disabled. Am I missing a setting somewhere or is it the super user version needs updating? I've also tried unoptimizing the battery for the app. Thanks.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Are you using EX Kernel Manager?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Yes. I am.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] iPwn_:
So I'm guessing the color control through Aroma suggestion from a few pages back is a no go?

I think ultimately the only way to retain both Safetynet and kernel tweaks down the line will be to pick everything at installation.

Or would even that require root?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] fix-this!:
thanks for another great kernel flar.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rootnik:
Should I see the new kernel as an update in EX Manager?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] quangtran1:
Looks like there's a spammer amongst us.

Update:

Spam post has been removed.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
I'm on this kernel now but swipe and some other things aren't working So, If I'm going to fastboot it again do I have to flash anything before I do it? And I don't remember the installer asking me about setting up things like swipe. Is that available through the fastboot method?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
The aroma installer is only available flashing with twrp, and most settings will not be configurable through aroma without supersu
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Sh0X31:
Do I need to flash "twrp-pixel-installer-sailfish-3.0.2-0-RC1.zip" after installing EX Kernel?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] nednednerb:
No, you do not need to. If you install EX inside TWRP, you need root first. Read up on the SuperSU and TWRP threads.

Flash EX last.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Sh0X31:
I havw alread a rooted Pixel. I'm on TWRP rc 1 and it released later than EX v1.0.1. Do it include alpha2 or rc1?

Just flash EX right?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] nednednerb:
Twrp r 1??

There are only alpha1, alpha2, and rc1.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Sh0X31:
I mean rc1 of course
[Google Pixel ROMs, Kernels, Recoveries, & Other De] nednednerb:
Yes, okay. If you flash EX 1.01 in TWRP RC1.. you should be fine if already rooted.

EX 1.01 has given no issues I've heard about. Some people have had trouble flashing SuperSU in RC1, but if already rooted and with RC1, EX should flash perfect on top.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Archangel:
Can you overclock with this kernel higher than 1593? I purchased EX manager and after flashing cant seem to overclock higher than that?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] nednednerb:
Do you just think faster is better? What is your purpose?

There is no access to voltage settings (good: devices would be not booting here and not booting there...) so some frequencies should not be used.

In fact, default is better probably in terms of speed and safety combined.

This is supposed to be a kernel for "stability" and "daily use" not benchmarks and adding to processor wear and tear with no purpose.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Archangel:
I can see what your saying,,,but what does it matter to you,,,I just like to experiment. I have done it before with other phones and was just wondering thats all.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] nednednerb:
Please reread my second paragraph. It is the explanation of WHY higher Hz is disallowed. It matters nothing to me correctly what you want to do.

Fact is, it is unstable and may easily crash or ruin device.

Why not higher than "x"? Because "x+1" is deemed out of range.

I can see what you're saying: "let me jump off the deemed unsafe side of the bridge, water level is higher. I deem what is safe for me". The Android Debug Bridge LOL

X+1 -may- function but x+100 may surely -not.-

The line may be arbitrary you are right, but it is now drawn. I was just explaining it.

I did see flar2 write something to effect of not including undervolting because precisely experimenting is more dangerous than it's worth.

In my own understanding this is related to overclocking limitations.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Archangel:
Holy cow okay brother,,,I gotcha LOL,,,now back to the discussion of this kernel,,,,I have def noticed a difference with this kernel,,,jumping from application to application is smother,,, load up time has reduced greatly. Keep up the great work. Bought the kernel manager app as a way of supporting the dev.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] nednednerb:
Umm...

I was discussing kernel too. You asked a Q about overclock and I had answer, right? Basically, some values are out of range...

It seems you didn't like the answer and seem to think I'm mad.. I didn't swear or name call. I think upper limits are obvious and welcome. Are you in an agitated state from my answer?

Regarding other kernel discussion, it is working great for me too.

Love that swipe up to wake and sweep to sleep.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Archangel:
Thanks for the info brother,,it was very informative. With this kernel and manager I can finally stop using cpu spy,,,not that it is not a great app but I like having all the info with regard to my phone in one spot like the kernel manager does.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
I installed this with twrp rc1 and I have SR5 root. I'm also using the elemental app but gestures don't work so I really don't know if any settings in there are sticking. I checked all the boxes when installing the app for all the gestures. Could I have missed something in the install or now? Also if I decide to reflash the kernel in twrp do I have to flash the boot image first?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Check whether the gestures are enabled in the app
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Yes.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
They are enabled. I attached a photo in the post above this one. Was there something in the installation where I had to tell it which sensors to use? If I reflash in TWRP do I have to flash the boot.img before I do? Or, can I just reflash and go through the installer again?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
The gestures are either on or off. There is no other step, they will work if they are shown as enabled in the app.

Turn your screen off and sweep all the way up, it should turn on.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
They are enabled in the app but not working on the phone. I have tried every combo of enabled and disenableb with reboots in between each one. So can I try reflashing in twrp without flashing boot.img first?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Do you have the wake gesture "moves" enabled?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Yes. All the moves are on in settings.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
There's your problem. If you want flar2's wake gestures don't use the dt2w in moves
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
I disabled the double tap to wake in moves in settings and still get no swipe to wake or sleep. But, the double tap to wake does work through the app gestures.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Try disabling lift to wake in moves as well. I don't use either of them personally
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Tried that too.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
This is one of those things where it either works or it doesn't, there is no in between. Are you sweeping in the right spot?

Are you also saying sweep2sleep doesn't work? Because that is another thing where it can't *not* work. If it's enabled, it just works.

But anyway, it doesn't matter if you have gestures enabled in moves or not. If you enabled sweep2wake it overrides all that.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Well it doesn't work for me. That's why I keep asking if I should try reflashing the kernel? And if I do reflash in twrp do I need to flash the boot.img first?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
There has to be an explanation. I've been doing this for a long time and it's basically impossible for this not to work for one single user. Keep in mind, it can take some time after booting for settings to take effect.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Well I just reflashed the kernel and still get no swipe to wake or sleep. Double tap to wake works and I have that turned off in settings-moves.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ansontyl96:
Root your phone first then try to flash the kernal again, you should able to use swipe to wake or sleep again
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
I am rooted. That's how I flashed it in twrp rc1.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Ok. I give. I flashed the boot.img to start over. Went down on TWRP to Alpha 2 instead of RC1. Rerooted with SU SR5. Double tap to wake only works if swipe to wake is enabled in the app. And, I've tried every combo in the app and in the moves settings with this enabled or that disabled, but no matter what I do, swipe to wake nor swipe to sleep works for me.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
What firmware are you on?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
7.1.1 nmf260
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ansontyl96:
This happened to me before, just try to flash all again and it should solve the problem
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
I have tried reflashing the kernel at least 4 times. No matter what I do swipe to wake or sleep just don't work (which is all I want). Double tap to wake does work. I flashed the entire factory image 2 days ago and tried reflashing the boot.img again today. I give up and I'm going back to stock.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Try the flashall bat in the stock image if you really want to have a good wake gesture. Remove the -w to keep user data intact. If that doesn't work idk what to tell you
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Droid1019:
Been there done that. Thanks, but like I said, I've already flashed the entire image (no -w). The kernel just doesn't seem to be communicating with the sensor. Maybe its the theme I'm using or some other app. Just too many variables.

---------- Post added at 05:32 AM ---------- Previous post was at 05:20 AM ----------

One last thing to try. I flashed this using TWRP which when I checked was booted in B partition. Did I need to change it to A before I flashed? Could that be the cause of my troubles?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Doubtful, but I guess it's worth a try?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] canglan:
Does fast charging work for you guys?

Edit: Weird, could be due to the charging current - sometimes I don't get "charging rapidly" but other times I do...
[Google Pixel ROMs, Kernels, Recoveries, & Other De] xluryan:
Sorry if this is a noob question. I know you guys are all busy so I appreciate the guidance and time you spend reading this.

I am on 7.1.0 stock kernel, TWRP alpha2, and su SR3.

If I want to get 7.1.1, keep user data, get to TWRP RC1, have root, and use this kernel... what should the process be?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
You can always download the factory image and flash it manually without wiping data.

If you haven't touched your root partition, you can simply replace the boot partition with the stock boot.img and apply the OTA. Then reflash TWRP, SuperSU and EX.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Sh0X31:
Do the gov profiles work with ex kernel on the Pixel?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
You would have to switch to interactive governor.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Also the profiles were written for a completely different SoC so you'd have to adapt them for the new target loads etc
[Google Pixel ROMs, Kernels, Recoveries, & Other De] xluryan:
Ok awesome. So I would do that via fastboot? Flash both slots?

fastboot flash boot_a stock.img
fastboot flash boot_b stock.img

And then do I apply the OTA from the Android UI? Or do I reboot and flash it via fastboot?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Just fastboot flash boot stock.img

I'm not sure the OTA will work if you flash both. But yes, try it from the Android UI.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] xluryan:
Ok. Just to be sure... I'm downloading the images from here: https://developers.google.com/android/images. It states:

Warning: Installing this factory image will erase all data from the device. While it may be possible to restore certain data backed up to your Google Account, apps and their associated data will be uninstalled. Before proceeding, please ensure that data you would like to retain is backed up to your Google Account.

Am I reading something wrong?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Editing the bat file and removing -w leaves all data intact
[Google Pixel ROMs, Kernels, Recoveries, & Other De] xluryan:
Does this matter that I'm on Verizon? Will this re-lock my bootloader?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
I can't speak from experience unfortunately but I don't think it would. Might want to wait for another user on Verizon to verify.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] maflin18:
Maybe I am missing something, but why are you downloading and flashing the stock image? (Bat file, editing -w, etc). If you are just looking to get the stock boot image, you can just fastboot flash it.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] xluryan:
Because I'm looking to upgrade to 7.1.1 without losing data or root.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Unfortunately either way you lose root because it resides in the boot.img. As does twrp.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] maflin18:
Here is a write-up of instructions I posted for someone else. You can follow these, just substitute whatever build you're on instead of the one they were on. http://xdaforums.com/pixel/development/twrp-alpha1-pixel-devices-t3500314/post70078572
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kingkong0821:
Great kernel, fast and stable. However, sometimes when I wake the device, the screen is unresponsive to touches and swipes, I need to turn the screen off and on a few times to get it work, any ideas?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Are you on the latest firmware?

What are your exact settings for s2w, dt2w and moves?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kingkong0821:
Thank you for the quick reply.

I am in NMF260

s2w off

dt2w on

Moves all on