yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] cswithxda:
If you want (close to) stock, nope, you can just leave it as is after flashing zip. But paying for the app is just a good way to support the dev (and I read that you used the app previously , so you probably have)! I leave pretty much all of the options as is, except for minor things like vibration and gesture settings, and 7 hours of SoT is occasional and not hard to find. Cheers!

---------- Post added January 9th, 2018 at 00:19 ---------- Previous post was January 8th, 2018 at 23:51 ----------

Hi Aaron, happy new year!

Just wondering if it's just me, or is it a known issue that the powersave mode won't turn off the vibration universally? "Turn off vibration" under advanced options/settings is enabled.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] deepdvd:
Are you saying that you flashed ElementalX 1.01 prior to getting that message? I want to confirm that it really does have NTFS support before I use it, since that would be the primary reason for me to not use the stock kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
Question about double-tap-to-wake feature on this kernel, for Pixel 2:

Pixel 2 already has this, kinda.

Annoying thing is that on Pixel 2, the built in feature requires you to perform the gesture twice to go to the lock screen and then be able to unlock.

Is it different when using this kernel?

I'd prefer if it went straight to the lock screen upon double tap on the screen.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
It goes straight to the lock screen
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] gvsukids:
Can I install this over another kernel?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Best to flash stock boot.img first
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
So it's like how it works on some other devices.

Nice!

I wonder why Google made it this way.

Just because of this, I've created a request some time ago, when I thought this was actually how it works:

https://issuetracker.google.com/issues/62086605

Does this kernel work well with this gesture always turned on, on Pixel 2 , as opposed to how it works on Nexus 5x ?

On Nexus 5x, if I enabled it to always stay turned on, it affected battery consumption, a lot...
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
It doesn't affect battery. I leave it on all the time
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
That's great!

Thank you very much !
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

Download:

ElementalX-1.02

Changes:

-AROMA installer

-add maple iosched

-backlight dimmer option

-overclock/underclock CPU
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
There was a typo in the installer (big cluster frequency setting), I just reuploaded it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] enzyne:
404 error when downloading from Android File Host
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
fixed
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
I've now flashed it, but it has some issues:

1. Double tap to wake doesn't work as people told me. It works the same as before. Meaning I have to double tap to go to ambient mode, and then double tap again to go to lock screen.

I tried to disable the OS feature of double tap, but then it doesn't do anything at all when double tapping.

2. During installation, it doesn't show any setting of double tap, as opposed to when I used this kernel on Nexus 5x. Is it intentional?

While I like there are fewer steps, I don't get if this feature is turned on or not.

3. rooting was lost in the process, even though I use Magisk.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] bggold:
Flashed fine for me no loss of root. Not sure about options since I use the default.

Flashed ElementalX express

Twrp

Magisk v13.3
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
1. DT2W works fine. I would strongly suggest using S2W instead though. The gestures do not work on the ambient display, only when the screen is off.

2. Those options no longer work with the new partition setup

3. You always have to flash Magisk after the kernel, again because of the new partition setup, the kernel binary needs to be patched by Magisk.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] whatnow275:
Sweet! Any CPU/GPU undervolt planned?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] nathanchance:
No, thing of the past.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] whatnow275:
Excuse my ignorance (I've been out of the game a few years) but why is it a thing of the past?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] nathanchance:
Those things are dynamically controlled so doing a global undervolt can cause massive instability. It can be done, it's just worth the risk.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] whatnow275:
Great. It's running super smooth so far. I assume no GPU OC planned either?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
GPU freqs are controlled inside the chip.

You're better off using the adreno boost, which ramps up the GPU faster.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] lebcd:
I manage to install Magisk and this kernel via TWRP, but once Magisk is installed and boot is patched via patched_boot.img (to get root through the manager), the kernel reverts back to the android kernel.

I try booting back to TWRP recovery and then installing the express but I get some load error. Any idea how I can fix this?

edit: I had 1.01 kernel installed before, but when I tried upgrading, I kept running into this problem
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
OK maybe I did something wrong, then?

I just want that double tap to wake would be from a screen-off state to lock screen state. Without the ambient display in between those phases.

I just flashed the kernel, and then chose "next" on the installation wizard, and the OS started later.

How did you enable it? And what's "S2W" ? Is it better?

---------- Post added at 07:41 PM ---------- Previous post was at 07:40 PM ----------

You had Magisk before flashing this kernel, and nothing happened ? Meaning you still have a rooted device?

How come?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Ashray_Vk:
Anything planned for sound control ? Like we had those fauxsound and other stuff before ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] enzyne:
How do you use the ntfs support? I cannot read from my ntfs formatted flash drives.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] guapinoy:
Love this Kernel, I love High Brightness Mode. I used the heck out of it with my Nexus 6p.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] bmw9651:
You don't need to install TWRP, just fastboot boot TWRP and then install the zip. Need help with this part.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Flyview:
Would it be possible to get the max brightness integrated into the regular range of the brightness slider like the dimmer is, as opposed to a separate mode?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Should be simple. Just enable the options you want with EX Kernel Manager.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
I'll look into it

Use something like StickMount
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Possibly
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
It costs money. The one for Nexus 5x didn't. It was right on the flashing of the kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] joetheshmo:
God forbid you support the developer of the kernel you've ran on multiple devices...
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] redsmith:
Username does NOT check out.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
It was not intentional, the old method doesn't work with the new partition layout. However, I don't feel bad asking people to buy the app since I spent $2400 to buy the new Pixel phones. I need well over 1000 people to buy the app just to break even (probably won't happen)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
Is there a way to downgrade to 1.01 because I cannot find the download link anymore. The reason for the downgrade is because my phone starts to lock up when using sleep tracking app with 1.02.

So far I have flashed back to stock kernel, and lock up has disappeared. The sleep tracking app I am using is called Sleep as Android, and I have been using this app with EX Kernel in the past when I had Nexus 5X & Pixel. Due to these lock up, my alarm has not been able to go off in the morning.

Let me know if you need any logcat from me, I will flash back 1.02 and reproduce the lockup.

Thanks for the awesome kernel!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
I don't use my Nexus 5x anymore. Donated it to one of my relatives.

I also don't get your point. I use a lot of free apps on PCs, Android devices...

The reason I wanted to use this kernel (as on Nexus 5x) is only double-tap-to-wake. A feature that's already built in on Pixel 2, just with annoying extra step. That's also where I've started to write on this thread.

I consider this feature a basic one on today's phones. Annoying for me to see devices that don't have it. It's very useful for me as a user and developer.

---------- Post added at 07:38 AM ---------- Previous post was at 07:37 AM ----------

I don't understand what you mean. Most Android apps are for free. The kernel too. Why should I pay for an app, to make the kernel work with all of its features? Why do I even need an app, when previously, the installer has let me do it?

In addition, if you have a free app you've published, does it make sense to you to now make it paid one?

I don't think it's even possible on the Play Store. Same here.

---------- Post added at 07:40 AM ---------- Previous post was at 07:38 AM ----------

2400$ ? How many devices? Why?

Pixel 2 costs much less. Also as I've read, the kernel of them is quite the same (or exactly?), so I don't think you need to have multiple ones.

And how could the Nexus 5x be free for you?

The only reason I've ever flashed ElementalX is for the double-tap-to-wake.

If you want more users to download an app, it's recommended to make it free. I've read in some articles that apps that are free tend to have about x10 more downloads than those that are paid.

Anyway, it's your choice.

I will now remove this.

Thank you for your work.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Every device is different and it is impossible to develop my features without the device in hand. A lot of these features are used by other kernels.

I'm in Canada, where prices are much higher and taxes are much higher. I bought the Pixel 2 and Pixel 2 XL, and I also bought the Nexus 5X. Out of the 31 devices I have, all were bought brand new at full price except the OnePlus 3T, 5T and Essential, which were generously provided to me. It actually costs quite a bit to keep ElementalX project up and running, not to mention the 30-40 hours a week of time I spend on it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AndroidDeveloperLB:
ok.

I thought the kernel development is a hobby of yours. Didn't know you are so dependent on it for your living.

Sorry.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] dobbs3x:
Why does it matter? The app is worth the small amount. It is a really well done app and I imagine he has put lots of hours into it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] bmw9651:
I flashed this to my pixel2 and it got stuck at boot. ( Google Screen) . Thanks.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] dobbs3x:
You did something wrong.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] infamousvincci:
Welcome
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Ensifolk:
Hello folks. I have Flashed the kernel 2 days ago, I am experiencing a slighly lower battery life than my previous stock setup, Im still on Stock Rom and everything, but only with ElementalX & Magisk. Same apps same everything. My question is : D2W consumes more battery than stocks double tap to check phone for example ? Trying to figure out what could've happened :) - Thanks a lot, I do know this kernel is built almost exactly as Stock with extra features.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
You will not have worse battery with elementalx. For me it is exactly the same.

I would definitely point to almost anything else before kernels for changes to battery life.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
Don't want to sound like a broken record, but is there anywhere I can download & downgrade to 1.01? I am very certain that 1.02 is conflicting with Sleep as Android app that I use nightly to track my sleep. Right now I am running stock kernel from January update, but I really miss the swipe to sleep feature.

Thanks in advance
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
All the builds are on Android File Host, but I don't see why the update would cause any issue.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
That's what I am wondering too. All I know is once I return to stock kernel none of this lockup happens.

Thanks, I should have thought of finding older versions of kernel on Android File Host by clicking your name.

Also, if you want me to provide any useful data let me know. I would glad to help, I am just afraid if this problem will carry over to the February update.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
If it is broken from the official google update, then it will have to be fixed on the app side.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
Sorry I wasn't being clear, what I meant is I don't have any issue with version 1.01, I have been running 1.01 since the day one you published it, the moment I updated to version 1.02 then my phone starts experiencing lock up until I flash back to stock kernel. I just flashed to 1.01 ten minutes ago, and I am quite confident I won't have any lock up that I experienced with 1.02.

Therefore, I am afraid that 1.03 will carry over the issue from 1.02
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Okay, to debug I will need the files in /sys/fs/pstore after the crash
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

Download:

ElementalX-1.03.zip

Changes:

-fix CPU frequencies
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
I will try to reproduce the lock up using 1.03 and let you know what I find
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
The phone was solid for couple hours, and just 10 minutes ago the phone locked up with ambient display non-responsive. I had to do a hard reboot. The phone was doing some Google Play app updates before this happened.

By the way, I went into /sys/fs/pstore using Root Explorer, but I didn't see any files inside
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
If the reboot is caused by the kernel, there will be files there
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
This is what I know so far:

1. Sometimes when the phone locks up it would stay in ambient display indefinitely. E.g. the clock would say 4:30AM but the time would be actually 6:30AM. I would have to force reboot

2. The phone would automatically reboot itself when lock up, I knew it rebooted because I could not use my fingerprint to unlock the phone, I had to enter my PIN.

In my case, the phone did not reboot itself caused of kernel. It just stuck in ambient display. Maybe that explains why not files inside /sys/fs/pstore.

Out of these 2 symptoms, usually they happen when I leave the phone unattended.

Alas, I reverted back to 1.01 at the time being since I need my phone to wake me up in the morning. I will install 1.03 tomorrow while I'm at work and get you some data.

P.S. after I downgraded to 1.01 I see files inside /sys/fs/pstore . Do you still want them?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jallenhayslett:
May be unrelated, but just out of curiosity, are you using Substratum/Andromeda with any lockscreen overlays? I had issues with what I thought was random reboots, and it turned out to be a lockscreen overlay causing a lockscreen crash and relocking my phone. Once I removed the lockscreen overlay it stopped.

Edit:

I just remembered that was happening on my OnePlus, not my Pixel. Still worth considering though.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
Nope, just EX kernel and Magisk
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jaggillararla:
How do I make viper4android work with this?? My driver status says now abnormal and not working
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] joetheshmo:
Probably need permissive SElinux but best to ask in a viper thread.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jaggillararla:
I have the script for magisk for it
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
[MENTION=4684315]flar2[/MENTION]

Okay, the phone just became unresponsive and stuck at ambient display on 1.03

As the time of this writing it's 13:30, and the ambient display shows 13:09. Do you want me to hard reboot the phone (by press and hold the power button for more than 10 seconds)?

I have included a picture of the time on my smartwatch and the ambient display below. I restarted my smartwatch, and the smartwatch would not reconnect to my phone. It seems like the entire phone has become unresponsive although the phone would not restart itself.

[IMG="Ambient Display froze"]https://i.imgur.com/D3y9aB9.jpg[/IMG]
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
I restarted the phone manually because it was unresponsive for an hour, and the phone felt lukewarm to touch. I checked /sys/fs/pstore, but there are no files in there.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] neuron617:
Flashed 1.03 update over 1.02 and ended up in a bootloader loop, unable to power off, boot to recovery, etc. Had to do the flash-all.bat trip. Absolutely no problem with 1.02 update. Did I do something wrong here?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Should be no issues with the kernel.

Everything is close to stock and my wife is using this as her daily driver. I would hear about it if there was a problem.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] neuron617:
Thanks for reply. I'll give it another shot: love the kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
Phone has been running smooth with no lockup today.

I don't really know what might have caused my phone to lock up yesterday. I will keep monitoring it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] sandaljrpit:
Thanks
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] GohanBurner:
Are sound mods coming soon? Gotta clean that aux volume up to 11.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jaggillararla:
wakelocks block? what wakeblocks are blocked?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Headphones are now digital through the USB port (or dongle). I haven't looked into this yet.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
None are blocked by default, you can choose to block in EX Kernel Manager
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jaggillararla:
Which ones are safe to block ? Does it say in the manager?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Yes, the ones showing by default should be safe. You can press "show all" to see the rest.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Burninh2o:
When you do look into it, please check out https://xdaforums.com/pixel-2-xl/themes/pixel-2-usb-audio-control-t3704024 I wonder if it can be implemented at the kernel level. Thank you
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Colday96:
Can anyone tell me how this compares to stock?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mickey Meyers:
I tried flashing this kernel, and now I'm stuck in bootloader. It says BootLinux Failed: Not Found

Please help I'm stuck. I cant do anything.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] rweddy1:
If stuck I would flash factory image from Google here https://developers.google.com/android/
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mickey Meyers:
Thanks, I'll do that. after about an hour or two of panic mode.. Will this relock my bootloader?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] bggold:
Nope it won't. You have to flash boot flashing to lock.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
It's just like stock but has extra features.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mickey Meyers:
Cool, thanks.. Seems my problem was just dirty flashing this over another kernel, instead of flashing stock, flashing twrp, then flashing another.. Haven't had an android in a while and was super careless. 100% my fault. My problem now, 100% stock, is that whenever i try to flash magisk 15.3 it just sends my phone into a bootloop. I've waited half an hour for the damn thing to start, but im left at the google screen with the little animated bar. Ive installed the factory image twice now, Magisk just wont work.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] con4n007:
hi

just wondering why when I installed through TWRP, it didnt give me choice of express/custom install.

it only allow me to choose CPU clock and then the installer finished.

it didnt allow me to choose to enable Sweep2sleep, Wake gestures etc

im using pixel 2 on 8.1 january update if that matters
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jasonsamms666:
No. Only you can relock the bootloader. Edit: this was answered. Sorry for the double post.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
[MENTION=4684315]flar2[/MENTION]

Phone froze last night while I was using it for no apparent reason, and the last thing I remembered was that the phone was updating Google Maps on Google Play Store. The next thing I did was turning off the screen (it was stuck in a white screen like when you activate Google Assistant), but after that I could not turn the screen on. The phone stayed frozen for 5 minutes or so, then I had to press & hold the power button for 10 seconds to reboot the device. Unfortunately, the kernel did not generate any files (console-ramoops or pmsg-ramoops-0)

Fast forward to this morning, my phone froze and then restarted when I was using Google Maps, Google Play Music, and bluetooth while driving. As a result, the kernel did generate the files. I have attached them here see if you can find anything that's causing this reboot.

P.S. My phone is running 8.1 (January update), rooted with Magisk v15.3, and last but not least kernel ElementalX-P2-1.03

Thanks,
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
If there is nothing in /sys/fs/pstore, the crash was caused by something in Android. The other characteristic of kernel bugs is the phone will hard reboot, it will not hang or get stuck.

There doesn't seem to be anything kernel related in the logs you attached. The log just ends abruptly, suggesting the bug is something in the system or firmware rather than the kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
Thanks! looks like I will be doing factory reset in the near future...
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Xx-Ness-xX:
The phone crashed & rebooted in the middle of night. Looks like this time there are more files generated in /sys/fs/pstore

I have attached the logs for your reference. Hopefully, you can find something out of this.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
It's something to do with Dropbox and your filesystem. I wonder if there is corruption on one of your partitions? I'd back up important files and do a factory reset. If it happens again, uninstall Dropbox.