yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mrimage:
[MENTION=4684315]flar2[/MENTION] are you planning to make this kernel working with custom roms?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flar2:
There is no reason that I can see for custom ROMs to deviate from stock kernel on this device. Everything should be compatible. Are there custom ROMs that are not compatible?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flar2:
That's the point of backlight dimmer, it uses a different brightness algorithm that is dimmer at low levels and same as stock at medium and high brightness.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mrimage:
It doest boot, i think its as to do with removing some verification thing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
I have to delete the dtbo image from your zip and rezip the contents in order for it to work on custom roms. [MENTION=6842057]nathanchance[/MENTION] has a fix for this.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
It's because Android Verified Boot needs to be disabled on the /vendor partition for everything to work properly, at least until Google's key can be added to the vbmeta footer.

This is the patch I did to just patch custom ROMs using magiskboot, you may find it useful: https://github.com/nathanchance/AnyKernel2/commit/a95390fd6da36f644e37136ff05f967d32cc4f7a
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dontbeweakvato:
Once you flash boot.img you'll lose twrp if you try to reboot into it. Because recovery now is on the boot partition So if you reflash boot will return to stock recovery. I guess you could like I do backup a stock image right when it's flashed so then now I could restore the boot partition then flash magisk over that. Or restore boot partition and Flash TWRP zip while in recovery then flash your custom kernel followed by magisk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Fuzzy13:
Think I'm going to revert back to the stock kernel. After trying this out for a little over a week, my battery life went from 7.5 hrs of SOT to barely getting 6. No OCing and just a basic install and setup so whatever the settings were when it was installed is what I kept it at. I did change the colors though but brightness and all that stayed the same.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flar2:
There are many factors that make a much greater difference in battery than the kernel. There is definitely no difference in battery life between this kernel and stock.

SOT is a very poor way to measure battery. You need to know your %/hr with screen on and with screen off.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] leathan:
Works great thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kpalian:
Do custom firmwares (such as this one) come with some of the stock features on this phone? (E.g. Now Playing, Active Edge, etc.)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
This is a kernel so no.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] leathan:
Man this is my clear favorite :)

I mean just including busybox won me over not to mention the clean install screen that let me tap tap and overclock my device :) I usually always love those. +100 for gcc

*big hug*

My active edge works fine, I dont really know what etc or even Now Playing is though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Now playing is when a song is playing (near you, not from your phone) and you look at your lock screen and it will tell you the name of the song and the singer as long as the music is loud enough for your phone to hear it. You can also adjust down load an app that will show you a list of all the songs your phone heard.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] leathan:
So like that Shazam app. Sounds like it should work for sure then. Ill give it a try, after i finish testing if reverting back to older versions of android lets me run liveboot app (nothing to do with this kernal i think).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
Ya p70, as I think some others have noted, those features still work with this kernel. I use the active edge everyday and I'm on the latest EX 1.03. Maybe I just misunderstood what you were saying, but i thought I would post for n00bs (like myself) that with this kernel you can use the stock features active edge and now playing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Been a while since I was able to run liveboot. I don't think it ran on 7.1.2 either did it??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Haz3:
I'm almost positive I had it running on my og pixel on 8.0 could be wrong tho?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] leathan:
I never owned a version 7 so idk but I think I read it was recently updated to work with even version 8.

I GOT IT WORKNIG!!!

[MENTION=4565594]CyberpodS2[/MENTION]

But I was forced to use CarbonROM + Magisk + (remove preserve dm-verify) + Magisk module init.d linker. (I think maybe I dont need CarbonROM just those options in Magisk module unchecked because liveboot writes to /system?) Im gonig to try without CarbonROM now... (nope)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
He asked if active Edge and stuff came shipped with this firmware. It's a kernel so it has nothing to do with it, that's rom side.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Phelicks:
How to save settings? I change max processor settings but after a while it returns to old setting.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Max frequencies are controlled by powerhal/perfd.

Either disabling those ( you don’t want that) or choose max frequency via [MENTION=4684315]flar2[/MENTION] ’s aroma installer
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
edit
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] tessut:
I thought that perfd has some Bugs in recogniseing OC clocks other than the Stock ones ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
that’s another story that is related yes. I wasn’t talking exclusively about the OC frequencies (and their usage) but also “UC” frequencies.

Just that the max/min frequencies set in exkm app gets overwritten based on certain events.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Phelicks:
It seems for me that the 1.03 ver has less SOT than the 1.02 and I don't know why.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
Do you mean SOT as in "screen on time?" You typed "SOC." Sorry if I'm mistaken and "SOC" is a term too.

I just noticed today that my battery doesn't seem to be getting as far as it has been thus far. I looked in my batterbatterystats app and nothing looks too unusual as far as wakelocks are concerned. I looked in the settings app battery stats and button mapper is at the top of the list and climbing. I have barely used any shortcuts from that app today. I also noticed in EX kernel manager that the big cluster was stuck on 2457MHz. I think this problem has gone hand in hand with button mapper before too.

The only thing that I have changed with the app concerns the background activity in the battery portion of the app's stats. The switch was set to allow background activity. I switched this off because after doing so all my mapped shortcuts worked. Since discovering these new problems today I have just switched the switch BACK to ALLOW background activity.

Does anyone have any idea if this could be causing the app to wreak havoc on the CPU and my battery life? The switch is apparently doing nothing for the apps functionality, but I think it changed something.

EDIT: I just rebooted after changing the "background activity" switch because the big cluster was still sitting at 2457MHz. It seems that the reboot made the setting switch take effect. The question still stands. The switch didn't seem to affect the button mapper app's functionality, but it seems to have done something. What and why?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] moon2eth:
There's a bug in the color control section where if you set a certain number it increases by 1 when you exit.

So for example if you want 132 for the value you need to set 131. Because if you go back it'll add a 1 for some reason.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mbze430:
any updates on exFat support yet?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Just checked mine, no issues with the numbers changing, not even after a reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Update!!

Download:

ElementalX-1.04

Changes:

-February security update
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
Awesome! Do we install flash factory image with flash-all.bat, REMOVE PIN since twrp can't decrypt February update, fastboot twrp img, flash twrp zip, flash ex 1.04, and flash magisk?

With this broken TWRP thing- so do we have to remove the pin and security every time before going into twrp until it's fixed?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Yes to all your questions :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Phelicks:
There is a camera error on 1.04. Reverted to 1.03 ver - everything is ok.

Please answer couple questions: with governor is good for battery and performance simultaneously? What is min frequency in for big cluster?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
Quick question: What exactly was the February update to this kernel necessary for? I'm currently using 1.01 on the February update and having no issues whatsoever. Could this hurt my device in the long run?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] v12xke:
The Google kernel contains security fixes too, so every month EX Kernel gets updated to include those new fixes. This means your older kernel version does not include these kernel vulnerability fixes. You can read about them in the Security Bulletin. Look under kernel components. These are the relevant changes for this month. This is the security aspect, I'm sure there are other fixes, features, and optimizations thrown in there too, as shown in the kernel changelog.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
Thanks! I just updated EX in class, and when I rebooted I realized I forgot to reflash Magisk. It wouldn't have been a problem if I had not been using Rootless Pixel Launcher, which actually requires root on the Pixels as it replaces the real Pixel Launcher files. This caused me to have to use the Google assistant to open Magisk and download the Magisk zip so that I could reflash it from TWRP. Only telling this story because I think it's pretty interesting that the Google Assistant helped me in a real scenario that actually affected whether or not I had a phone until I could get home and push the file through with adb.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] annoyingduck:
What camera error? I just flashed the stock Feb image and was about to flash the latest EX. Anyone else getting a camera error before I flash the Feb EX?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Switch Blade:
You will only get the camera error if you flash v1.04 onto the Jan image. If you update to Feb image then flash v1.04 you will be fine. Feb image is working fine with v1.04.....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Phelicks:
So it is necessary to upgrade to Feb image?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SysWiz:
That is the correct order, but remember to remove the "-w" from the flash-all.bat file or you'll erase your user data.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Switch Blade:
For ElementalX v1.03 Kernel, you should be on Jan image.

For ElementalX v1.04 Kernel, you should be on Feb image.

The Feb image has changes to the camera, which is likely why the Feb Kernel must go with the Feb image.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
No problems, here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] peterandrewd:
Quick questions I need answered ASAP please. I'm new to all of this.

1. Can I still get/install ota updates automatically without manually flashing them with JUST the cutom kernel installed? I have stock factory rom, stock recovery and NO root.

2. If so, I'll have to manually reflash the custom kernel each time, yes?

3. If yes to both the abovez can I still get ota updates if I do choose to install TWRP custom recovery?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Sure you could. However, the custom kernel will pretty much be just like having stock. Since you have no root, you can't take advantage of the custom options the kernel has to offer. So, if I were you, I wouldn't bother. If you want to root, then that's a different story. Also, when asking for things "ASAP" or "I'm new to this" I would respectfully ask you to do some reading and research on all things about your android phone. Just doing searches within these forums will lead you a ton of information. Pretty much any question you have has already been answered ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] peterandrewd:
Ok sorry I'll take note of that.

2 other questions though sorry. I have tried to search but can't get a straight answer.

1. I'll have to manually reflash the custom kernel by manually booting into TWRP each time then, yes?

2. Can I still get ota updates if I do choose to install TWRP custom recovery?

The reason I chose to use the custom kernel is because my device was playing up in landscape mode when playing games. Games would always auto rotate even with auto rotate turned off. Happened every 5 min or so even with a forced rotation app.

It hasn't done it just yet with the custom kernel. I've tested it for over an hour with the custom kernel. Not sure how or why it's fixed the problem?...but it has so far
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
OTA's are dependant on 1. Not having root, and 2. Having a stock recovery. Or else they won't install. Yes, you would have to adb push or side load your custom kernel after an ota. If you install twrp, you'd have to fastboot or adb push the stock boot.img. The recovery now resides within the boot.img.

If you want my opinion, I would unlock my bootloader, learn SDK and fastboot commands, then just fastboot the monthly security updates. It's a much safer, and cleaner method of updating your device, while still affording you the option to root and fully customize your device. But that's just me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] peterandrewd:
Or I can reflash the custom kernel by manually booting into TWRP from my PC each time?

I know fastboot commands. There are no personal benefit's for me having SuperSU or Magisk at the moment.

I would've left it all completely stock but I had that rotation problem.

Would you be able to shed even a bit of light as to how or why the custom kernel without root might've fixed the rotation issue I was having?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Yes you can fastboot the twrp.img to then install your custom kernel as well. Sorry I forgot to mention that. As far as the rotation issue, I have no idea. The things these kernel Devs do is way above my pay grade. But hey, if it works, then great! ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
[MENTION=4684315]flar2[/MENTION] just realized it doesnt pass CTS scan.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flar2:
It has the necessary patches
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
I'll try again... Didn't pass for me
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] antiochasylum:
[MENTION=4684315]flar2[/MENTION] - Good to see you here. A welcome edition as always.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
It passes
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Thanks , passed for me upon reinstall. Not sure what happened. Sorry for the false report.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chazall1:
All working as expected.

Thanks as always for your dedication and hard work.

Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
Gonna flash this in twrp coming off the flash kernel. Thought I'd try this one too. In rooted with magisk 14.5. Do I need to uninstall magisk before going into twrp, flashing this kernel, and then flashing magisk again?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] DIXZ06:
Good to see you here, after a great year with the OG Pixel XL.

All is working great, as expected.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Nope. No need to uninstall anything. Flash your stock boot.img, then fastboot twrp.img. Once in twrp, flash the twrp.zip, then kernel, then magisk. Reboot and done :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iamjimmy:
Does anyone know whether this kernel has sound controls? Meaning sound amplification ( digital sound gain) and bluetooth high performance audio?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] antiochasylum:
Why do you reflash twrp? Are twrp and the boot image the same image?

All you have to do is flash the boot image. Reboot to recovery and flash elemental.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
I just pulled the boot.img file from the Google December factory image . zip folder. I used adb push to send it to my phone. I can flash ONLY the boot.img with "ADB reboot bootloader", "fastboot bootboot.img", let the phone reboot, "ADB reboot bootloader", "fasboot boot twrp.img", let it boot into twrp, then flash twrp 3.1.1 beta 2, kernel, and then finally magisk. Is this the right procedure?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Heck buddy, I'm sure your a lot smarter than me with all this stuff. It was my understanding that on the P2XL that recovery and boot are now intertwined. Hence, if you flash a new boot.img, your also flashing recovery, which would then require us to flash twrp again. I may be totally wrong, which is fine, I just know that it works for me :good:

---------- Post added at 01:41 AM ---------- Previous post was at 01:33 AM ----------

Your confusing me a little with all your commands. Nothing new for me. In bootloader mode, I flashed the stock boot.img, then I fastboot reboot bootloader, then I flash twrp.img....once in twrp, I flashed then twrp.zip, then kernel.zip, then magisk.zip. Reboot and done :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
stuck on the twrp splash screen. heres what I did in the powershell

PS F:\8.1 December update\12-6-2017 platform tools\platform-tools> .\fastboot devices

PS F:\8.1 December update\12-6-2017 platform tools\platform-tools> .\fastboot flash boot "F:\8.1 December update\12-6-2017 platform

tools\platform-tools\twrp3112.img"

target reported max download size of 536870912 bytes

sending 'boot_a' (40960 KB)...

OKAY [ 8.171s]

writing 'boot_a'...

OKAY [ 0.869s]

finished. total time: 9.048s

PS F:\8.1 December update\12-6-2017 platform tools\platform-tools> .\fastboot flash boot "F:\8.1 December update\12-6-2017 platform

tools\platform-tools\twrp3112.img"

target reported max download size of 536870912 bytes

sending 'boot_a' (40960 KB)...

OKAY [ 0.892s]

writing 'boot_a'...

OKAY [ 0.574s]

finished. total time: 1.471s

PS F:\8.1 December update\12-6-2017 platform tools\platform-tools> .\fastboot devices

710KPKN0230973 fastboot

PS F:\8.1 December update\12-6-2017 platform tools\platform-tools> .\fastboot boot "F:\8.1 December update\12-6-2017 platform tools\platform-tools\twrp3112.img"

downloading 'boot.img'...

OKAY [ 0.880s]

booting...

OKAY [ 0.004s]

finished. total time: 0.892s

PS F:\8.1 December update\12-6-2017 platform tools\platform-tools>

ok after this I did "adb reboot bootloader." Then "fastboot boot boot.img". That was the factory boot image. I'm back in my phone, but a little scared. lol. Please can someone list exact commands. Done this a couple times now over the last month, but I'm still pretty green.

EDIT: all is well now. I shouldn't have been using "flash" in the fastboot command.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
I don't know what power shell is, but these are the commands I used in bootloader mode.

1. fastboot flash boot boot.img (I may be wrong here, but I think that's right, don't have my cheat sheet with me)

2. fastboot reboot bootloader.

3. fastboot boot twrp-3.1.1-beta2-taimen.img

4. In twrp I flashed the twrp.zip, then the kernel.zip, then the magisk 14.5.zip.

Reboot and done.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
Yup. That's what I ended up doing. I accidently put a "flash" in the twrp.img command.

Poweshell is just a command window.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
So your up and running?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] samteeee:
[MENTION=4684315]flar2[/MENTION]

It's great to see you here, Thank you!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] apascual89:
[MENTION=4684315]flar2[/MENTION] sweep to wake (up) and sweep to sleep are working great for me.

Will the wake gestures app be supported in the future? I would love to be able to activate the pocket mode option of the app. That's the one thing I'm missing.

Thanks for all you do!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fixxxer0:
For some reason my WiFi calling options are gone, and it does not work.

Can't say exactly what caused it, I fastboot flashed the February update without wipe to my December update phone, and then flashed the Ex 1.04 kernel.

Now I don't have the WiFi calling preference anymore, and WiFi calling doesn't work at all (airplane mode with WiFi on won't make calls)

My settings screen looks weird too... no more HD voice, video calling, ect. I am on Verizon.

Anyone else having this problem?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
That's strange, I'm on Verizon and all of those options are in my Settings. Maybe you had a bad download. Try downloading again and re flashing. Make sure you remove the -w
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
I concur ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fixxxer0:
i have rebooted several times, no change.

this time i rebooted to fastboot twrp to go back to stock, and forgot to remove PIN so couldn't get in. powered off and turned it back on, and now the wifi calling options are back in the settings screen.

so strange, no idea why they disappeared and now came back.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
It's magic! ??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] estallings15:
I just flashed the Feb update and removed my pin. Trying to flash the 1-04 image in TWRP and got a zip verification failed on both the custom and express downloads through the app. What am I doing wrong?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Not sure your doing anything wrong. Have you tried downloading from AFH and then flash it in twrp?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] estallings15:
Yeah I downloaded it to try, but all of a sudden the touch doesn't work in TWRP even though I'm on 3.2.1.0 so I guess I have to work on that first ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Remove lock screen security, if you haven't already. If that doesn't work, fastboot TWRP again and go from there.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] estallings15:
I removed lockscreen security first thing. Reflashed TWRP just to be sure. Tried installing ElementalX 1.04 from AFH and I'm getting the exact same error:

Zip signature verification failed!

Error installing zip file '/sdcard/Download/ElementalX-P2-1.04.zip'

This is the only thing I'm having an issue flashing so far. No idea what's going on. I'm on a Pixel 2 XL. I'm assuming sailfish and taimen have the same zip because I only saw 1 available.