yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Thanks! Enjoy the ride!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I received a few requests about updated kernel side support for the DTS mod.

If you´re interested here is a kernel that has the required commits merged into it.

Download:

https://www.androidfilehost.com/?fid=1395089523397886113

Please flash it and report back if it´s working for you. So I can determine if it´s worth to keep the commits merged into it.

Thread is here:

https://xdaforums.com/android/software/port-dtsx-ultra-dts-headphonex-t3896233

Edit:

The ultra mod seems to bootloop. The other one is supposed to boot and work on walleye. :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
The kernel by itself boots fine (showing v. 5.0.6). But when I flash the Ultra Mod w/ Magisk 8.1, it bootloops.

Edit: With HPX, it boots, but when I load the app, I get a "Shutting Down" notice on my device and it kicks me to recovery. I've never had that happen before.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I just found a few minutes to spare. I downloaded the HPX mod and it seems to work fine for me. The sound changed and I got no reboots.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 5.0.7

hey guys and girls,

Linux stable is bumped up to 4.4.173 now.

I decided to include the DTS audio commits for now.

Here´s a link to the thread in question:

https://xdaforums.com/android/software/port-dtsx-ultra-dts-headphonex-t3896233

DTS Headphone X Audio works on my pixel 2 xl.

Ultra mod is said to bootloop, so I didn´t try it.

Changelog:

- Update to 4.4.173

- Include updated DTS Audio Mod commits

For further details please take a look at my github!

Download is below :)

Download: https://www.androidfilehost.com/?fid=1395089523397886612

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
Thank you for the update. I will definitely listen to audio with the DTS and then flash sauron and hear if there is a difference.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
Thanks for the update [MENTION=3428502]Freak07[/MENTION]. A shame that the DTSX mods don't work visa Bluetooth, but appreciate having them available in any event.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Don’t use ldac. Choose another bluetooth codec in dev option. I think I switched to qc aptx and it worked.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
Interesting, I'll try that, thanks. My Bluetooth headphones are aptX in any event, so I never use LDAC.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Kernel will be updated tomorrow to latest upstream! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] suhridkhan:
Great kernel. Thanks to the dev.

This with HavocOS is my current favorite. Tried a few other kernels too. Kirisakura has a slightly poorer battery life compared to another one, but the fluidity of the performance is unmatched. I am staying with the default settings, just enabled dt2w.

May be I missed it, what's the meaning of the word 'Kirisakura'?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Thanks you for the kind words! It´s great to hear you´re satisfied with the performance! Such small gestures mean a lot!

It´s not my goal to sacrifice performance to gain a very very little boost in battery. In the end it´s more worth to have a phone that cuts through everything I throw at it, at the fastest possible way, than having 5 more minutes SOT. If one wants to save power, turn on power saver mode :)

Kirisakura is a very special kind of green tea :)

The tea plantation where the plants grow is often surrounded by fog (japanase= kiri). From this fields you can see the volcano Sakurajima (sakura (jap)= cherry), hence the name of this tea :)

edit: [MENTION=5239665]suhridkhan[/MENTION]

here´s more info:

https://www.siam-teas.com/product/shincha-gyokuro-kirisakura-green-tea/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update imminent!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 5.0.9

hey guys and girls,

Linux stable is bumped up to 4.4.175 now.

I decided to gave clang 8.0.8 a try, it´s tested for a week now. Everything seems fine and perfectly stable. So lets use that from now on.

Changelog:

- Merge 4.4.174 and 4.4.175

- Use Clang 8.0.8

For further details please take a look at my github!

Download is below :)

Download: https://www.androidfilehost.com/?fid=1395089523397899699

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] PsychOlli:
How does the dts:x feature work? Does it work with USB c Headphones?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
https://xdaforums.com/android/software/port-dtsx-ultra-dts-headphonex-t3896233

DTS Headphone X Audio works on my pixel 2 xl.

Ultra mod is said to bootloop, so I didn´t try it.

I think usb c headphones are not supported due to the dac being not in the phone but the headphones.

But you should ask that in the DTS thread they are more knowledgeable in that field than me. ;)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mookiexl:
Delete
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
Somewhat OT, but does the DTS mod provide a significant benefit? Reading the thread and the DTS homepage, it basically says it's only beneficial for audio recorded using the Headphone X technology.. and if not, then maybe you'll get a bit of an improvement in audio quality.

Figured I'd ask you Freak since you added support for it to your kernel and have tried it. Did you add it because of user request or because you think it's a worthwhile feature?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
Edit: Nevermind.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] trignogd:
Hi, the feature of lock band in network signal guru work with this kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] LolHacker17:
Wht gpvernor in this rom?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Schedutil.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
It used to work on stock kernel, i just tried to check now but they made that feature a paid thing only so I can't test. Sorry
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Will008:
I want to give this kernel a try, been on EX kernel for the longest time. To the people who tried both what's your input?

Also can I flash this directly on top of EX or should I flash the stock kernel first? (I'm on the latest Feb stock ROM btw)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Always best to go back to stock kernel before flashing a new one. As to your other question, I've run all the kernels there are for the P2XL, I can honestly say, they're all good. Only way to know which one you think is best, is to try them all :good::cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] trignogd:
So I have to return to stock kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Just do the March Android update. That will get you back to the Stock kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
I recommend that you return to stock kernel, however, like Alxoom33 said, just fastboot the March update, then wait a day or so for the Devs to update their kernels :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
I like to start entirely clean when a monthly update comes out, I just haven't done that in a couple months ?. I used to boot twrp, wipe system data cache and reboot to fastboot then run the flash-all.bat. Is it even necessary to wipe the system in twrp or can I just wipe data & cache? Then run the flash-all.bat.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
You actually don't need to do anything in twrp, I never do. I just run the flash-all without the -w, let it boot up, then fastboot into twrp, and install twrp again, then magisk, and my kernel and call it good :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
It's a habit I still have from back when I would clean flash cyanogenmod all of the time so that there weren't any weird bugs from updating lol. Besides, my phone feels faster after wiping data and I don't mind the setup process. You can bet I'm gonna flash the March build of Kiri as soon as it drops.

Also, does having twrp installed do any weird things? This is the first phone where I don't keep it installed after I saw some developer on here recommending against it. ¯\_(ツ)_/¯
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
I can speak for Badger50 and myself as well as many others that installing TWRP has been fine since at least last summer. ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
[MENTION=3428502]Freak07[/MENTION] just curious on whether you'd mind considering implementing K-Lapse support in Kirisakura kernel?

EDIT: I see it's already implemented in the Pixel 3 version. Good man :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] provolinoo:
I have a small question:

Is it a good idea to just flash the kernel in TWRP and use it (leaving all settings to default) or is it better to install a kernel manager utilty and make some customizations?

I mean, do the default settings give me improvements about stability/performances/consuptions compared to stock kernel?

P.S.

I'm using Google stock ROM, rooted with Magisk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I held off the release with the march security update because I wanted to include it before releasing. :)

You can just flash the kernel and benefit from many optimizations, updated subsystems, enhanced security etc. Most of the kernel settings are set at compile time and don´t need to be changed.

If you however want to benefit from features such as KCAL or Screen Gestures like sweep to wake etc, I recommend a kernel manager to be able to easily control these features! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Next build will probably drop later today.

4.4.176 will be included, as well as March Security Update.

KLAPSE made its way into the kernel too.

Kernel will be built with Clang 9.0.1 :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] provolinoo:
Thanks, it was the answer I was looking for <3
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 5.0.12

hey guys and girls,

So we skipped two releases, that´s why we go from 5.0.9 to 5.0.12 now.

4.4.176 is included. March security patches are merged in. KLAPSE is included.

More information about KLAPSE: https://xdaforums.com/android/software-hacking/k-lapse-kernel-level-livedisplay-module-t3907031/

Kernel is built with Clang 9.0.1 now.

I don´t know if I ever mentioned that the kernel can be flashed via EXKM or FKM :)

When using EXKM make sure you update to latest version in playstore (should be 4.05).

Changelog:

- 4.4.176

- March Security Update

- KLAPSE included

- built with clang 9.0.1

For further details please take a look at my github!

Download is below :)

Download: https://www.androidfilehost.com/?fid=1395089523397908730

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
[MENTION=3428502]Freak07[/MENTION], thank you for the continued support. Your kernel runs great.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
Kirisakura kernel is giving me the lowest active drain (8.7%) and idle drain (0.34%) I have seen in a long time.

No underclocking or special mods/scripts/tweaks other than disabling all wakelocks shown in EXKM. Adaptive brightness enabled, AOD disabled.

Thanks for sharing this awesome kernel [MENTION=3428502]Freak07[/MENTION]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
[MENTION=3428502]Freak07[/MENTION] I've been experiencing a few hard reboots since updating to the latest kernel. Not sure if the introduction of K-LAPSE has introduced some issues. The phone literally hangs until I do a hard reset, and the K-LAPSE settings (along with KCAL settings) don't appear to set themselves.

What's the best way I can pull a logfile to examine what's going on under the hood?

EDIT: So, after flashing this again, the lockups and KCAL settings seem to set themselves again. There might be an issue with the K-Lapse settings though, they don't appear to be kicking in.

SECOND EDIT: Confirmed. K-Lapse settings are not working with the latest Kirisakura kernel. I also end up with random reboots, which I'd like to give you logs. Will try to obtain these and revert with them.

If I flash ElementalX kernel, the K-Lapse settings work, and I don't experience the same issues.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Sure hope you didn't start that from 100% charged battery! ???
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] agplugged:
I'd like to report something in regard to the kcal/klapse issue - after flashing the latest kernel version, kcal and klapse seem to turn themselves off after every reboot. Only way to turn them back on is to manually set them on again by editing the kcal_enable and klapse_enable files, respectively.

Don't know if I'm the only one getting this but I've confirmed:

It's an issue with the latest version (flashed the previous one, kcal worked fine)

After manually setting them on, kcal works fine, klapse causes crashes and forces a hard reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
Same issues I'm experiencing. Glad to know it's not just me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
What are you guys using for kernel manager? That sounds to me to be the problem not the kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
EXKM app :good::good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
[MENTION=7816645]agplugged[/MENTION] [MENTION=5873486]Maverick Jester[/MENTION]

I saw an update for the exkm app published on play store.

Does that change anything for you guys?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] agplugged:
Not really. Still running 4.06, and the kcal values are not set to start on boot anyway so it shouldn't matter imo
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
No, I immediately updated to 4.06. It looks to be a general issue with K-Lapse, at least on my end. Whether I use ElementalX or Kirisakura, it gives me issues.

I've fully disabled K-Lapse on my end.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
If you get one of the reboots could you, immediately after booting back up, navigate to /sys/fs/pstore and get me the content of the folder?

Maybe it might give a clue. Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
I'll do that, thanks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
EXKM just got updated to 4.07 and it's a klapse update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flar2:
4.08 is the latest, I think any lingering issues with color settings are fixed. Things are getting too complicated with so many interacting settings.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
That was quick. LOL.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] livsey:
Hey. The phone hangs, when working in chrome,on the last version kernel. I do not know why, but it happens with an open tab in chrome! This has already happened on earlier versions of your kernel! On other kernels there was no such problem!

Maybe you need logs? I could send them when the situation happens again.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Which version of chrome do you use?

I haven’t experienced that. There’s nothing really fancy included in the last update that could cause this other than google and upstream changes.

Maybe try clearing the cache of chrome?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] livsey:
the chrome version is 72 ... 121. I also can not understand why this happens only when working in chrome
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
I tried to replicate this, but my phone never froze. I opened Chrome, clicked a link, and let the page load. I opened another tab, clicked a different link, and let the page load. I clicked the "new tab" button in Chrome but didn't open a new page. I went back to the app drawer, then hit recent apps to get back to Chrome, and Chrome was just as I left it (waiting to open a 3rd tab). No freezes, lag, or anything else unusual. I know this doesn't help you fix your issue, but the kernel is not the problem.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] agplugged:
Hey [MENTION=3428502]Freak07[/MENTION], [MENTION=237907]maverik[/MENTION]jester

Are you still experiencing issues with kcal/klapse?

Even after the exkm update they still disable themselves on reboots, and can only be enabled with manually changing the enable files.

I dunno how to check and see of it's a kernel or app issue, so I thought I'd check with you guys.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
So I do have issues (which I've documented in the K-Lapse thread) but they're more around my implementation. But no, setting the K-Lapse settings through EXKM persists even at reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ph0z3:
Just flashed this... Coming from ElementalX. I hope this works well for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] suhridkhan:
I believe there are still some issues with EXKM. I tried both ElementalX and Kirisakura kernel with EXKM, and I get occasional screen freeze and lag. I though it was my rom, since I haven't clean flashed in some time.

But after a clean flash yesterday I still see the lags when I have EXKM installed for kernel modification. The only thing I am adding through EXKM is double tap to wake. So, I switched to Kernel Adiutor and I don't see a lag anymore. May be it's just me.

Of course, I cannot use K-Lapse with KA but I didn't like K-lapse anyways.

P.S. Do you guys know of any other good kernel modification app besides EXKM? I have pro versions of both EXKM and KA, but KA hasn't been updated for quite some time now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fuzzgruble:
FK Manager I also use
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Will008:
I have EXKM set as a system app in order for it not to be killed at any time and never had an issue. I used a magisk module called "app systemizer" to make it a system app. Give it a go. Cheers.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] suhridkhan:
Great solution. Thank you so much. This totally worked.

All the kernels were giving me freezes with EXKM. And now all are good.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Will008:
Glad I could help.

Cheers
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
can i flash this over caesium kernel (on aquari os) or do i need to flash boot.img first?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
I personally always get the kernel back to stock first. I keep the kernel.img for each new month on my phone for just these occasions. If not for you, just a reminder to folks when flashing back to stock remember to flash TWRP again if you keep it installed...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I did and it worked fine, but normally I flash back to stock.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ph0z3:
Ran this for most of a week & was getting random freezes & occasional lag... It performed well, but didn't do well with battery. Overall it's a decent kernel though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
Were you using any kernel tweaks/scripts/mods from your old kernel? I run a kernel "as is" for a couple of days before playing with kernel settings.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
The kernel has been very stable for me with version 5.0.12, however I have two questions.

A) Wake gesture implementation still seems off compared to how it was prior to 5.0. Sweep2Sleep no longer works on my lock screen most of the time, as it always did. Is this something that can be fixed? I'll be trying the latest version of EX here in a moment to see if the problem exists there, as well.

B) Battery life prior to 5.0 was also much better. I skipped January and February, and kept the last 4.x.x version throughout December. I noticed an immediate decline in battery performance when I updated from 4.x.x to 5.0.12 at the beginning of March. Are separate, undervolted builds still planned? It's a pretty noticable battery difference. I used to get home from school with ~65-70% left every day, and now it's ~30% on a good day. The only things that changed were my security patch and kernel.

Despite these issues, I must acknowledge that 5.0.12 is much more stable than 4.x.x. I was getting temporary freezes and reboots every couple of days until updating. I don't recall any kernel-related reboots as of 5.0.12, so excellent job on fixing that problem! I just find that wake gestures were much more reliable before (dt2w always worked and s2s worked on lock screen) and battery life was better by a longshot.

I love this kernel and I appreciate the work you put into it, but I feel it still necessary to point out the problems I have with it as of the later versions. I'm going to flash EX now and quickly test for wake gesture issues. I'll report back after I know for sure if it's working properly or not.

Edit: wake gestures work perfectly with EX
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
[MENTION=2011618]frr[/MENTION]ak07 is there any way the top-app boosting of the Pixel Launcher could be applied to say Lawnchair? Or is it a different boost altogether?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] y2kbugleung:
flashing the magisk patched boot.img causes bootloop
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Please have a look at the post before yours.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] y2kbugleung:
just to report :p

trying to install TWRP now, it is different now

thanks for your work:good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
installation with boot.img will be fixed in the upcoming release :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 1.0.1

Hey guys and girls,

new update. Boot.img patching via magisk app works again. alternatively a twrp flashable zip is also provided.

use the instructions in the op for flashing, please

Changelog:

- Upstream patches

- CAF patches

- Update to 4.4.105

- Wireguard support

Additionally there is the dtbo.img included.

If you use the magisk patch approach please flash it via fastboot!

Download: https://www.androidfilehost.com/?w=files&flid=234182

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

Donations are not mandatory but very welcome.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RampageRR:
Quick question - does this kernel have vibration intensity/control settings? I'd like to be able to tone down the vibration when hitting the back/home/recent buttons, but I haven't found a kernel that supports this yet on the 2 XL. Hoping this one has that ability. Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
There are no files to download..