yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gordietm:
Thanks, I'm on Android P now with your kernel and all is good.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Op updated R20

Linux 3.18.99

March security updates
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Alekos:
I have P installed with Magisk 1610 rooted, and latest vtwrp 3.2.1-2

To install this Kernel with my setup, do I flash in twrp without doing anything else? (no re-flashing of magisk or boot.img?_)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
I always flash magisk after the kernel , but I fastboot all my kernels . It might preserve root with the zip install. Worst case is you will have to reboot to recovery and reflash .

I also do not install twrp . I fastboot boot that. So I'm not even sure if there is enough room on the partition for the kernel and twrp installed.

Sorry for not being more helpful...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] muppetmaster916:
In your opinion is there any downside to using on P? Are there any changes to the P kernel that would make it more efficient than a custom 8.1 kernel?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
No , I don't think so .

It seems like when the developers previews come out , most of the changes are not in the kernel . So usually the kernels aren't affected.

I think the only case was when selinux was being brought online to enforcing .

I've been using the preview for a day now and it's pretty nice. I haven't ran into anything not working correctly yet but it's still early
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] muppetmaster916:
Thanks for the response.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] buski:
Where can i get stock kernel p ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
You can download the p-preview images from the Google developers website . Basically the same place you get the p-preview ROM ....
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] vidfinnx:
whats weird is on different version of android, my device tolerates different overclock levels, i can overclock on some builds and some i cannot
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Op updated to R21 & P1

- R21

- Linux 3.18.100

- Built with Linaro 7.3.1 GCC

- P1

- started from android-msm-marlin-3.18-p-preview-1 branch and re-applied all of my commits

- except for a few select commits I didnt want to include

Both versions have overclocked and stock clock versions

Both versions should work on P

Not sure if the P version will work on 8.1.0 as I have not tried but I bet it would

the P version will throw the your device is wack toast message at boot . Idk why it does as the 8.1.0 version does not .

anyways you all know the deal ......

:good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gordietm:
Just flashed R 21, I'm getting a vendor mismatch. I have the March vendor image.

Is the kernel not March?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
It is
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gordietm:
I'll try flashing it again.

---------- Post added at 11:18 PM ---------- Previous post was at 10:50 PM ----------

I re-flashed again and I'm still getting the vendor mismatch.

---------- Post added at 11:47 PM ---------- Previous post was at 11:18 PM ----------

I tried the P preview NOC, running fine on 8.1. But also getting the vendor mismatch message.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
I'm running r20, works on p, use chill for big CPU governor and schedutil for normal. IO sched deadline 100 percent for battery saving
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gil Smash:
Probably answered a million times but I feel like I always screw something up when I do anything with this phone. Do I do kernel then magisk? Magisk then kernel?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Kernel 1st
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gil Smash:
Do I need to Uninstaller magisk? Or kernel then reinstall magisk again?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
no just flash the binary after .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Overclock96:
When to wait for the update :)?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Op Updated

- R22

- Linux 3.18.105

- April security updates

- vibration adjustment fixed
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gordietm:
I'm getting a vendor mismatch again. Same thing happened in March. I'm running Resurrection Remix on April 8.1 with April Vendor image. Using your updated April R22 NOC.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] luckylui:
Same but with the unofficial LOS 15.1
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gordietm:
Maybe it's a LOS thing. Wonder if all LOS based roms give the vendor mismatch?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] liam_davenport:
Yes kernel needs to be based on los source
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] luckylui:
Thanks for the feedback gentlemen. Still getting used to this phone since its a weird one with all the steps needed to flash anything on it lol. Never seen such a hot mess by Google.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Kutzki:
Getting an error of some sort because of unlocked bootloader I guess? It's like the Google ABH link when starting up? Also, how do I edit the Kernel settings?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
That's normal, not an error. To edit kernel settings you need to either use ex kernel manager or kernel auidator from the play store.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Kutzki:
Kernel broke my phone, HARD, had to wipe and install stock from scratch, not gonna mess with stuff anymore. Stock is honestly good enough when re-wiped. Was phoneless for 3 hours fixing stuff last night. Thanks anyways.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Lol how ? What did the kernel do to the system partition ?

I appreciate the blame though .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] skooter32:
Hey installed ur kernel over stock 8.1 got kernel auditor installed and can't oc the?

Installed ur kernel over stock 8.1 got kernel auditor installed and can't oc the cpu?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
I think that app only allows control of the small cores frequencies .

Ex kernel manager is what I use , I'm not sure what other apps allow setting both core frequencies .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] skooter32:
Interestingly enough my pc can't recognise my device via pc with your kernel?

---------- Post added at 07:39 PM ---------- Previous post was at 07:38 PM ----------

Using that now
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Not sure , I use Linux and windows 10 and have no problems.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] skooter32:
all good simple restart on my pc. my os is 10 pro
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Op Updated to R23

- Linux 3.18.108

- May Security Updates merged

- disabled CPU input boost

I disabled input boost for this release because it was interfering with the min cpu freq being stuck at the minimum value

So I added CPU boost with dynamic Stune but with that I noticed the small cluster would stay at a high frequency for no reason . So for now I disabled both for you guys but I'm still messing with it .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gordietm:
Deleted
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Overclock96:
it definitely worked better :)

I have a question, are you serious about developing yet? add new features, patches, optimizations?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] petiolarissean:
android P support?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
I'm honestly not sure , I haven't booted dp2 yet .

It should boot on dp1 , but there were alot of changes so I'm not sure.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] petiolarissean:
I will test it,be back!

---------- Post added at 10:18 PM ---------- Previous post was at 09:41 PM ----------

Your kernel works DP22!Nice work bro.Thank you for sharing hard work with us,sean
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] petiolarissean:
Pixel xl on P w/kernel
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] petiolarissean:
Using O.C kernel
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Mikkey81:
Still building NSFW. Have my oldest son using the pixel XL. Started in on the pixel 2 xl. I feel like trading back for a couple days just to pop this kernel in to see how it runs. Happy to see this one still up and running. Not many crank through the mods you've got going here.

Thanks again for your work.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Yes , but it's summer here in Michigan , so that means I get a few months of good weather to enjoy lol .

I'll try to get a update out at some point .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] minhgi:
Are you planning to release your NSFW kernel for the Pixel 2 XL? I wanted like the features set.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Probably not , I do not own a pixel 2 so it would be incredibly difficult to support the device.

If I ever do get one , chances are I would release a kernel if there was good reason to , if no other custom kernel was featuring what I wanted .

That's pretty much the only reason I release kernels to the public , otherwise the other options are usually better , the developers have more time and knowledge than I do .

I have a version for Android 9 running on my pixel XL now and it's rock solid , so I may update this thread if people want an over clocked kernel .

I really haven't had a lot of free time lately between work and family but I'm still around and lurking ......
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Akomack:
Yes, please release. I really enjoy your kernel. I thought it was going to be abandoned.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] lllluzhnan:
Yeah sir.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
OK so the new kernel is up and ready to go -- download links and change-log are updated

sorry for the delay

NOTES :

- I haven't added Schedutil governor back as its a big patchset and I haven't had time to do it . Also I always saw better battery life with sched governor and the others like bluactive and zzmoove . the version of zzmoove I use is designed for big/little cpu's like the Pixel

- I haven't added any of my commits to update zram or mm or any of the other areas I was backporting . I don't think it will cause a noticeable difference in performance but should help in stability

- I will not be releasing a NON overclocked version anymore . I just don't see the point as there are plenty of other kernels out there that are not overclocked and have most of the same basic features . The frequencies that I am using are not crazy high or really pushing the boundaries so I consider them safe .

Happy Flashing
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] stifmaster81:
I have the rom of factory android 9 and I have installed elementalx kernel, if I wanted to try this, how should I do it? certainly have to increase the volume of the speaker? of battery as this kernel goes ?? Thank you
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Flash the stock boot.img first , then install this kernel . Should be simple as that.

As for everything else , battery life will be highly subjective as it depends on many many factors , but I don't think my kernel is worse on battery than any other kernel . Give it a shot and if you don't like it , flash a new kernel .

I should note that I DO NOT set up this kernel out of the box . Meaning all of the factory settings are stock . I highly suggest taking the time to set this kernel up with the settings you prefer , governor , io scheduler , cpu frequencies , tcp congestion controller , etc . I leave everything default and up to the user to apply .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] stifmaster81:
any app to configure this kernel? type elemetalx kernel ,?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
I do use elemetal x kernel app
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Quadman:
This kernel supports sailfish to correct?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
It should , however it should be noted that most of the people who experienced problems with this kernel , specifically the over clocked version, were using a pixel and not the pixel XL. I would probably attribute that to the devices smaller frame , so heat dissipation probably isn't as good on the sailfish compared to the Marlin.

But yes it should work , should boot , if you experience reboots it's probably gonna be due to heat but again it's just speculation on my part .

I haven't had any heat related issues with this kernel since I added the over clocked frequencies. But every device is different .

Try it out on a free day and if you have problems flash a known stable kernel .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Phalanx7621:
So the big question: zzmove or chill governor?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Personally I use sched , or zzmoove , but I tried to include as many non redundant governor's as possible , just for people to experiment with. I really haven't messed with the chill governor much but again I wish I could tell everyone what to use but I truly believe it's all a matter of personal preference .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Phalanx7621:
Using chill on little cluster zzmove on big. We'll see how it goes, so far working great.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] RivaLCF:
My phone just crashes continuously with this kernel on the stock ROM, and that's after a clean flash too, like every 10 seconds. The first time it crashed, it was on power saving settings too on the CPU's little and big cluster. GPU boost is on low. Sometime it doesn't even get past the boot menu because it crashes before it gets there. Not sure what's up, but doesn't look like my phone will ever handle this kernel at all.

It was fine until this morning when my google clock alarm rung, tried to shut down the alarm but all that kept appearing was ''Action services stopped working''. From then on, like 15 seconds after I suppose, the phone shut down and I suppose the kernel reverted back to default settings after that.

Edit: After setting everything up and making sure the GPU clocks don't go past 652 Mhz, my phone still locked up after a few hours of the phone being on. Going to have to try a different one I think.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
I appreciate the feedback , yeah I'm not sure , it's quite possible that the frequencies are too high for your particular phone , but if it's a pixel XL it should be able to handle it . I suppose its always possible that it can't , but I haven't had a single issue with my device since I added the code to my kernels.

If your using powersave as the kernels governors, I wouldn't. I find it pretty much locks both frequencies at the lowest . It absolutely slows my phone to an un-useable speed . At the most basic level.

Again , definitely use whatever kernel works best for you , I'd never tell anyone not to .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] RivaLCF:
No exactly, I'm pretty grateful for your work and that you shared it with us. My device is a Sailfish Non-XL Pixel. I made the following adjustments today: Chill CPU governor small, zzmove big. It's been a lot more stable since. Still one occasional lock-up but I adjusted some of the clock speeds manually so they no longer exceed 1977 Mhz on any core, and It's looking more and more stable. Battery life has felt like an improvement overall based on today's usage but this will need longer testing to see if that's actually the case. If I still crash in the future, I will just appreciate your work and move on to the next kernel. There aren't that many for this device so everyone who does put efforts deserves big credits.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
I updated the OP for R25

nothing major

- Linux 3.18.123 merged in

- google october updates

- flar2's vibration control fix

Have fun
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] micjambra:
Thanks your kernels always hit the mark nice work ? just wanted to add I've been using them on an off since you decided to share them never had any problems.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] 1xdroid:
Hello. First off thanks for sharing your personal kernel with us. I'm wondering though Where's the settings to change oc settings etc... For this kernel? Do I have to use an app and which do you recommend? I don't have root, but i did check about phone and your custom kernel is installed. Is root something i need before installing your kernel to get the settings? If so how do i return back to stock kernel before reinstalling yours?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] micjambra:
Just flash magisk 17.2 zip and magisk manager apk if it doesn't show up in your apps if you have done this and still no root flash the zip file again it should stick, then install a kernel manager like kernel audiutor or whichever you prefer and grant it root privileges then you can tinker with the kernel settings. ?I'm not the developer just trying to be helpful you don't need to return to the stock kernel you're halfway there?.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] micjambra:
Just wanted to add I wouldn't recommend changing settings unless you are sure on what you are doing Devs usually have kernels preset to a safe degree.?but what the hell it's fun trying things out?.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Slayer_Jezza:
Any update plans?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Possibly early next year . I shattered my pixel XL .

I bought a pixel 2 XL , but plan on fixing both my pixel XL display ,my Nexus 6 display , and I might even buy a new battery for my Galaxy Nexus lol .

Sorry for the bad news , I know people want an update , but I have made a few custom kernels for devices I couldn't test immediately and it never goes smoothly. So until I fix my Marlin, I probably won't release any more builds for it .

Maybe just one for pie ...........I'll see what I can do .
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] micjambra:
Ok thanks ?.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Zcam0600:
I can't get this kernel to boot on benzo rom, and it seems to cause lag on other roms, not entirely sure why
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] minhgi:
Hi Bsmitty..

I have been following your thread for quite some time hoping you could make NSFW version for the Pixel 2 XL. Now that have one, have you plan create and release a custom kernel for the 2 XL?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Dlind:
I'm sad I want a working over clocked kernel. I don't like all the eas stuff I like raw power and customisability
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Phalanx7621:
Any testing that needs done I can do, FYI. If you do decide to build a Pie update.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] GizmoTheGreen:
what does adreno idler do?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Adreno idler - Idling algorithm,

an efficient workaround for msm-adreno-tz's overheads.

Main goal is to lower the power consumptions while maintaining high-performance.

Since msm-adreno-tz tends to *not* use the lowest frequency even on idle,

Adreno idler replaces msm-adreno-tz's algorithm when it comes to

calculating idle frequency(mostly by ondemand's method).

The higher frequencies are not touched with this algorithm, so high-demanding

games will (most likely) not suffer from worsened performance.

It has tunables that

Some kernel management apps can control it .

Or you can manually set it via command line
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] aoaleman:
Damn, tried to flash but totally messed up my phone lol. No fault of the kernel of course! I'm still very new to the Pixel XL, will try again later. :D
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Bryanx86:
I usually fastboot the full stock zip, minus the -w, and let it boot. Then fastboot boot twrp recovery to flash custom kernels and root, always to be sure I'm on slot a, lol. It's a beast, or something else. Haha
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
[MENTION=4608636]bsmitty83[/MENTION]

Just a head's up on your cherry-picked commit; "Makefile : clean up flags and make GCC 6/7 compliant"

Your commit is only half true (or rather somewhat untrue).... You are cleaning up some flags, sure - but;

* you are also are stripping debug symbols from modules... (you know of the purpose of this, right?)

* you are also changing the optimization level, which may or may not be what you want (it will break TWRP installations and you have other code you will need to fix yourself).

* enabling the Aarch64 +lse flag (arm64 8.1 LSE Atomic instructions) - which your kernel doesn't even support (neither does my public kernel, ***but I do have a private build that does. that's the only reason why it's there)...

Now comes "the big fat warning" => if you don't know what a commit does in my kernel sources - I highly recommend you don't screw around with cherry-picking random commits... they may break things badly and cause you grief. While I don't mind answering a question or three, I'm not going to be cleaning up the pieces.... my kernel is VERY different from yours, some of my modifications are very incompatible (with all other Marlin kernels) and may rely on other commits that may not be obvious to you ~ especially, if you weren't able to easily spot the above on your own....

Not trying to be harsh or anything - but I just want you to be acutely aware. It's important stuff :)

EDIT:

Also, please use Git properly. adding "credit [MENTION=7810360]nine7nine[/MENTION]" just spams my inbox.

If you are going to cherry-pick commits from me; then please learn how to use git fetch, git remote, git cherry-pick, etc.... So it actually factors into my github statistics, this is especially important if it happens to be my work - that you are pulling in (and you should be doing things that way, anyway. ie: using git how it's meant to be used.).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bsmitty83:
Ok , noted .

No big deal , as I understand what you are saying and while it may be half true , or half false depending on how you look at it , I'll try to address your concerns .

Apologies for spamming your git with one email . My bad. Won't happen again. As for the commit I made , I will revert what I don't need from it and commit it properly . I simply was testing things out and committed it to my remote .again sorry for you not getting your proper git stats for one commit . ( I didn't know we built modules ) ( I was always using -O2 )

I do not pick random commits , while I might be an amateur , I have a general idea of what goes on. If your trying to see who has more knowledge on c , you win .

I have no intentions of trying to pick any of your work , I simply have built a personal kernel that works for myself , I put it on here and give people the option for themselves . If it don't work flash a stock boot image and move on.

As far as git is concerned , again I know more than the average , all my commits are properly cherry-picked , besides your makefile , which will be taken care of shortly .

Thanks again for the Twitter breaking reply , I noticed most of your posts follow this template .

Next time if you want to be courteous , try sending me a private message .... [emoji111]️