yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] :
For anyone wanting to make a boot image from the kernel image (running Linux based system):

0. Install abootimg (apt install abootimg)

1. Unzip the Elemental zip file

2. Copy 'boot/dtbo.img' and 'boot/elex.Image' to a working folder

3. Copy the stock boot image to the working folder and call it boot.img

4. Run the command: abootimg -u boot.img -k elex.Image

5. Flash the updated boot image and the dtbo image (you extracted from elemental) from fastboot

I build my own docker image for playing around different topics, feel free to customize and have your own:

Repository with docker file to build an image: https://bitbucket.org/hackworks/tinker

Prebuilt docker image for the lazy: https://hub.docker.com/r/hackworks/tinker/

You can pull via 'docker pull hackworks/tinker'
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] enzyne:
Anybody been able to utilize the ntfs support in this kernel?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

Download:

ElementalX-1.06

Changes:

-April security update
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Hi question? How to i install the latest security patch? It fails its installation. What i did i just flash the latest elemental kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Easiest way is to download the factory image from Google, unzip and remove the "-w" flag from the flash-all acropt, and flash in fastboot.

Removing the -w flag ensures your data is not wiped.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Thank you so much for the reply. If flash latest update will it erase my twrp and root?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Yes. TWRP, root and elementalx are all in the boot.img.

On this device, it's probably easiest just to fastboot boot TWRP (I've: temporarily when you need it). You can flash elementalx and Magisk together in that order.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Thank you so much flar2 will do that. Any recommendation on kernel setting that would have a great battery life?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
The defaults work well for me
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Cool!! will leave it default then.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Anyone noticed auto rotate doesn't work sometimes i need to rotate it to other side for it to work.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
It works okay for me. Make sure you have the latest firmware
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Yes i have the latest firmware,maybe there a conflict with my installed app
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] schlumpfschlaubi:
checked with ElementalX 1.06 and it works again as expected.

thx [MENTION=4684315]flar2[/MENTION]
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] usernametaken53:
Man it's great to have your kernel back. Been running it on my Nexus 5X and loved it.

Is anyone willing to share a color profile that gets rid of the red tint ? I'm close to a pure white but not sure what else to change.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] BS86:
what do you mean with "red tint"? Never had that on my Pixel 2.

The only things that change the colours are night light and colour improvements. Both can be changed/disabled in the display settings.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] usernametaken53:
The pixel 2 display is very "warm” when it comes to colors and that's what I've been trying to get rid of. Whites have a yellow-ish tint. It's not related to night light, it's the factory display calibration causing this. Try the attached settings if you like, you'll notice it right away :)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] BS86:
With your settings, my screen has a blue tint.

Like already hinted, check the setting in Settings --> Display --> expand - Colours. Per default, it is set to "Saturated", with other options "natural" and "enhanced".

With this setting on Natural, and Night Light off, my screen is well calibrated with a clean white. But I like the yellowish tint of night light in the night, so that is set to automatic.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] :
I like the faded color look. I set the display to "natural" and reduce saturation to 24 (26 seems a good value).
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] MKRashka:
I'm stuck on the "G" Logo...

did a fresh factory flash and flashed EX Kernel afterwards via twrp 3.2.1-2

did it multiple times, no success. any idea?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] :
Just try going back to recovery (stock recovery is fine too) and wipe data and factory reset. Assuming you do not have any data on your phone you do not want to lose.

I do not see anything that can cause problems. I have flashed the kernel via TWRP and made my own boot image and flashed via fastboot followed by dtbo image and it works always.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] MKRashka:
I've done exactly that.

Booted to twrp, wiped everything and rebooted. Shut down the phone after 10 minutes G logo.

Flashing kiriskura-aurora kernel and magisk 16.3 works like a charm, but I'll try ex kernel. So I'll try it again after work
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] MKRashka:
- flashed factory rom, ex, magisk, wiped in twrp... stuck on "G"

- flashed factory, kiriskura-aurora, magisk: works

- flashed factory rom, ex, magisk, wiped in twrp... stuck on "G" (did this several times)

- flashed factory, ex, wiped in twrp (no magisk!): works -> back to twrp, flashed magisk: works

It looks like I had to boot system with ex-kernel once before "magisking" it.

Now im rooted with ex kernel (all stock settings in aroma)

I'm excited to see how it works.

Is there a full list of benefits/ features/ funktions of ex kernel available?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Download exmanager app at playstore you see all its benefits inside the app.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] MKRashka:
Done... It's a lot ;)

I think I need a few days/ weeks to see all functions. ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] deeppans:
[MENTION=4684315]flar2[/MENTION] you have done great job. Keep it up, man!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

Download:

ElementalX-1.07

Changes:

-May security update
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] hanschke:
will you update your android p kernel too :)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
When source is released
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] superchilpil:
Hey Flar2, do you happen to have a copy of the stock Android P preview 1 Boot image?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] MKRashka:
Softbrick after flashing update 1.07 with twrp 3,2,1-2 on Pixel 2

I'm on CustomROM AquariOS 8.1 (may 2018). After I deleted dtbo.img within the ElementalX-P1.07.zip it flashes just fine!

regards

Rashka
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
That's been the case on custom ROMs for a while. Always need to remove dtbo.img.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] MKRashka:
Does it make any difference?

What exactly is the dtbo.img for?

Regards

Rashka
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
dtbo.img is the device tree, which contains information about the hardware. Without it, you will most likely lose overclocking and high brightness mode, but that's about it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] nathanchance:
Not sure if you have seen it or not: https://github.com/nathanchance/AnyKernel2/blob/wahoo-flash-8.1.0/anykernel.sh#L71-L84
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

Update for P Preview 2

Download:

ElementalX-2.01

Changes:

-P preview 2 update
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] buffal0b1ll:
The update shows up, but neither EXPRESS nor CUSTOM are downloading from EXKM. Thanks ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] DregorBaer:
Works like a charme on dp 2[emoji106]!

Gesendet von meinem Pixel 2 mit Tapatalk
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] buffal0b1ll:
[MENTION=4684315]flar2[/MENTION] thanks for addressing this in today's EXKM update. Downloading Custom and Express 2.01 for P Preview now works a treat ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jallenhayslett:
[MENTION=4684315]flar2[/MENTION]

Does Performance mode have any effect, is there any use case for it on this phone? I can't find any noticeable differences in performance when it's activated.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
You have to adjust the settings for both the Performance and Powersave mode (CPU clock frequencies, CPU governor, GPU frequency and so on) if you want to see a true difference with anyone of them enabled.

You can choice a higher minimum frequency for Performance mode, or disabling the BIG. Cluster for Powersave mode and adjust/tune the CPU for more aggressive scaling to the higher frequencies when only using the .LITTLE cores, for keeping the system and UI as smooth and lagfree as possible.

The choice is yours :)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] d4n3sz:
Hi [MENTION=4684315]flar2[/MENTION]!

Thanks for the great kernel, finally it is on my Pixel 2!

I have 2 questions:

1. What is the suggested way to install OTA?

(I was on stock 8.1 with May update, before I installed your kernel, I did a backup from the boot partition with TWRP)

- restore stock boot from TWRP

- boot into the OS, and install OTA as usually

- then reinstall your kernel from TWRP?

Or, e.g. if June OTA is released, but there is no new version from your kernel (which includes the June OTA modifications), then should I wait until you release?

Or can I re-apply your older kernel (e.g. which has only the May patches?

2. In EX Kernel Manager app I see very few things only (CPU TImes, Battery Monitor, ElementalX download page)

Is it because I my device is not rooted?

Thanks!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
1) You should not use an older kernel release on a newer firmware/security patch. It will cause more trouble than it does good.

2) Yes. If you want to fully use EXKM - you have to root your Pixel 2 (XL).
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
I usually just flash the full factory image. You must make sure to remove the "-w" flag from the flash-all script so it doesn't wipe your data.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] d4n3sz:
Thanks, I will do the same then!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
[MENTION=4684315]flar2[/MENTION] Is it any chance that you may include a patched dtbo.img in your next/future kernel releases so we can use ElementalX kernel on custom ROMS without having to modify the flashable ZIP ourself?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

June security patches and I removed avb, I think that will allow it to boot on custom ROMs (not tested, please let me know)

Download:

ElementalX-1.08

Changes:

-June security update

-remove avb
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] NinjaCoool:
The reboot pop-up ""There's an internal problem with your device. Contact your manufacturer for details"" is showing up again. I'm using Pixel 2 with latest June update.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
I think that dm-verity have to be patched with a modified dtbo.img for getting the chance of the kernel booting on a custom ROM.

I could be wrong, just sharing my experience(s) from using Flashkernel together with the various custom ROMS for our Pixel 2.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
I've always had that, just ignore it
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hadookie:
I've never had it before but will ignore it. Thanks for your kernels. ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] blastagator:
[MENTION=4684315]flar2[/MENTION] +1, also have not seen this in prior versions but have it now. Perhaps related to removing avb. Glad to know it is nothing to worry about.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] nathanchance:
It is. Google does a runtime check for certain required options like kernel config values and Android Verified Boot. If these checks fail, that dialog pops up. Not necessarily a problem if you know why it is failing lol.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] deeppans:
[MENTION=4684315]flar2[/MENTION]

When phone is restarted a setting is lost. It's a gesture to lock screen. Sweep2Sleep (left to rivht & blue button is enabled {guess apply on boot})

Please help if I am missing anything.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Do you have greenify or anything blocking the boot service?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Flyview:
Is it safe to use the kernel for DP2 on DP3?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

I restored avb

Download:

ElementalX-1.09

Changes:

-revert remove avb
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] shortyboy:
new to the pixel 2, coming from the htc 10. went bonkers trying to installed latest kernel. kept getting stuck in twrp after install. after going nuts for a few hours installing rom, magisk and kernel and every combination. I installed v1.08 and install went as it should. installed magisk after a good boot.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] quietsche:
No problem for me in this order: twrp, elemental x, magisk.

Doing it often as security fixes fly in monthly. ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

Update for latest Android P.

Also, you no longer need to reflash Magisk after the kernel.

Android P Beta (DP3):

ElementalX-2.02

Changes:

-P preview 3 update

-prevent annoying message at startup

-detect root so you don't have to reflash
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] sakerhetz:
Hello,

I have some problems with flashing the elementalX.

My phone is unlocked and rooted but every time I try to install elementalX my phone ends up in Fastboot and twrp freezes

When I want to do restore in TWRP the backup seems to be encrypted

Any suggestions?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] gears177:
Interesting thing happened i think i may have messed up i Flashed the kernel in Twrp as normal everything went fine then when i went to reboot its says slot unbootable: load error i had magisk before flashing this and i flashed the Oreo 8.0.1 one. now im just stuck at the download menu asking me if i want to restart the boot-loader go into download mode or recovery. Normally i would just flash a new ROM in recovery or go into download mode and re-flash everything but whenever i try to go into download mode or recovery mode it says operation denied
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] sakerhetz:
Same overhere
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] wassco:
Are you rooted with magisk?

Try installing magisk after installing kernal. It sometimes fixes my boot issues of always rebooting to TWRP or bootloader
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] sakerhetz:
Yes I am rooted with magisk ,so uninstall magisk first and then install elementalX kernel?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] wassco:
You installed the kernal and after it no longer loads your OS? An I understanding right?

If so just load TWRP reflash magisk overtop itself. It shouldn't affect the kernal you previously installed.

I've had to do this before to get around boot problems.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] deeppans:
[MENTION=4684315]flar2[/MENTION]

Even though I uninstall Greenify, after reboot 2 settings related screen lock gestured are not saved

After reboot Sweep2Sleep is disabled and gester vibration is set to 50%.

Please note after setting Sweep2Sleep to Swipe left and vibration to 0, i clicked the button on right and it is blue.

Please advise. TIA

Uploading screenshots.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] deeppans:
Screenshots related to screen lock gesters issues
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Something is preventing the boot service from running. I have no idea what it would be, but the settings definitely apply. Each one is tested , and I use those same settings myself without issue.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] deeppans:
Do you mean to say after the mobile is booted, app needs to be launched.

Because even if I launch an app, the settings remains the same. Need to change it (Swipe left, vibration to 0) and only then I can use it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
No, it does not need to launch. There is a boot service that runs shortly after the phone boots up which applies the settings, something seems to be blocking it (e.g. Greenify, battery settings, etc)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] gears177:
Fastboot it and just flash the latest OTA firmware without the -w and it will fix it while keeping all of your files make sure you edit all flash.bat once you extract the rom you want to flash
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] deeppans:
Today's update resolved my issue. Nothing changed at my end.

Anyways thanks for your support.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Flyview:
Overclocking is not working for me on Android P Developer Preview 3. Can anyone confirm this? Flashed through TWRP aroma installer and set to overclock. Neither the small or big cluster are overclocking after rebooting and checking in EX Kernel Manager. Underclocking is working though.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] d4n3sz:
And what about high brightness mode?

On Oreo it worked for me, but on P DP3 it seems it doesn't work. (Only if I start the app, and turn it on or off manually. Auto brightness seems broken)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] oo0:
Anyone managed to boot with custom ROM? What's the procedure, because it takes me to fastboot, like other people reported. Is 1.08 + Magisk working?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] joetheshmo:
You need to remove the dtbo file from the zip before flashing
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] oo0:
Thank you, tried that, doesn't work. Boots, but doesn't flash ElementalX, old kernel stays.

edit: Flashing ROM from scratch did the trick
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] oo0:
[MENTION=298610]Flar[/MENTION]

Possible to disable vibrations completely, it can be only 25% at minimum, not 0%, or it's something in my setup
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
I thought I added that capability, but maybe something changed.

I'll look this week when the next update comes out.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] stevexce:
Waiting for dp4 support
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Today
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
Update!!

Android 8.1.0 (Oreo)

ElementalX-1.10

Changes:

-option to disable vibration

-remove warning at startup

-July security updates

-fix USB charge issues

-preserve root during installation

-fix oc/uc options in installer

-change express installer to AnyKernel2 format

Android 9 (P):

ElementalX-2.03

Changes:

-option to disable vibration

-July security updates

-fix USB charge issues

-P preview 4 update

-fix oc/uc options in installer

-change express installer to AnyKernel2 format
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
With EX Kernel Manager version 3.61 you will see a change on the update screen.

If your phone is rooted, instead of "Express" and "Custom" you will now see "Auto Flash" and "Download Zip"

If you select "Auto Flash" it will download and directly flash the latest kernel without the need to go to recovery. Root will be preserved, as will your overclock/underclock settings.

If you select "Download Zip" it will download the AROMA installer version to be flashed in recovery.

EX Kernel Manager: https://play.google.com/store/apps/details?id=flar2.exkernelmanager
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] mikebeatrice:
While i really appreciate your work and maybe for most people this would work great... is there any chance you'd consider keeping the ability to allow us to download the express zip? I tend to download it directly to my phone and then manually flash the current ota, then go to recovery for kernel and magisk.

Using this updated app, I'd either have to deal with the aroma version or change my process to boot into the system to get the new kernel and then reboot again to flash magisk
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] flar2:
The express version still downloads to the same place. You can hit cancel before if flashes. You can also flash it after Magisk and not lose root.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] buffal0b1ll:
Tried this and was able to use the AUTOFLASH option to download the express zip without autoflashing it. Thanks.

For others who want to use the cancel button, don't take your eyes away from the device for a second and keep your trigger finger ready.... You only get a few seconds to cancel the flash.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Schroeder09:
Don't we have to manually flash the kernel anyway each month? Right now I download the factory image, flash after erasing the "-w" in th batch file, lose root from this process (I think?), boot back into TWRP, flash your kernel, and then flash magisk. Are you saying this process will change with your latest update?

Also, your kernel has now been out for the 2XL for 6-8 months now. Who in here has been over-clocking? By how much? Have you noticed big performance gains? A baseline for comparison would be great from people who have done this and also have a phone to compare to such as an S9 with a snapdragon 845. If you have noticed big performance gains, at what costs? How has battery been affected? Are there any other bugs or downsideds you've noticed from over-clocking?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mangtas_666:
Thank you i love the updated app feature " express flash " no need to manually flash magisk so no hassle at all. Keep up the good work!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] d4n3sz:
How do you root guys?

I have updated to P DP4, installed this kernel, then installed latest Magisk zip via TWRP.

After rebooting I could not use my phone anymore, because it said my PIN code is invalid.

After I uninstalled Magisk my PIN code was valid again, but with Magisk I can not use my device.

Any advice?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] stevexce:
Try to disable your pin (this will disable your encryption), than try to flash Magisk, boot and enable pin. I assume you're not about SIM pin?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] d4n3sz:
Yes, you are right, I am speaking about device PIN.

And is this the way how rooting is supposed to work? I mean disable PIN first? Because I did not find that this was mentioned anywhere.

I am asking this because I am a bit sceptical now about rooting because maybe it breaks something else too, not just the PIN.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ajrty33:
If it fails, just keep rebooting and it'll eventually take your pin
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] drakvl:
Any chance to incorporate the audio support like in Nexus 6p? Many thanks for your hard work and excellent Kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Flyview:
Anybody try 2.03 with the latest Developer Preview 5 / Beta 4?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] d4n3sz:
Based on flar2's previous response I would wait until he releases the kernel for DP5 and not mix the versions.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Flyview:
I tried it. Works fine.