yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
[MENTION=1007992]everyone[/MENTION]

Most likely I will have a build up later - but in the thread. - I've been working on finally merging in some code that I've been working on for a month. It's a very large set of changes 170+ commits now, but there are some very noticeable improvements and I think I've finally gotten this code sorted out....which would be excellent.

anyhoo, more info on that later.

PS: It's a test build, won't replace the main download (yet). So basically, anyone who's interested in testing can do so and report back / should give it a whirl.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Awesome, I'll make some coffee and get to cracking.

Anyone want some coffee? ☕
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Darian71:
Sounds exciting on the rest build! I figured out how to use S2W reliably. Use sweep left. Works every time. On my 3rd charge now. Excellent kernel! Better idle over stock, on .5 animation settings it's almost too fast! Lol. Other than color adjustments, I've been running it as packaged after flash. Dropping my max MHz today to test more.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
[MENTION=7810360]nine7nine[/MENTION]

Sorry I didn’t answer your pm already I have lots going on and have nearly no time for android development.

The wake gestures issue you are facing is most likely to config hz 1000.

I ran into the same problem when trying it.

I’ll answer the pm later when I have a free head and can think clearly :svetius:

Hope this is helpful :)

---------- Post added at 08:04 PM ---------- Previous post was at 07:47 PM ----------

Yes I think that was exactly the issue I was facing a few months ago
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Thanks, starting to be an excellent kernel on 8.1, for sure. Still needs a bit of TLC though. Werkin on it. ;)

yup. that works for wake gestures / s2w. I'm aware, thanks for pointing out....

.5 is kind of too quick. causing things to be a bit janky.... I use 0.75 feels a bit smoother.

yeah, that could be. But CONFIG_HZ_1000=y stays. ~ it's too good.

Well, I kind of have answered my own question regarding the PM I sent you about RT_PUSH_IPI - no reason to revert that. Other stuff not to revert, high resolution timer code, etc.... I've restored this stuff / should be in the kernel, nothing to do with EAS or google/android specific patches... That's all good mainline code that exists for good reason.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] -iNSiGhT-:
Hi,

How do you set 0,75 animation ? With EXK Manager (i use your kernel as it comes, without any kernel app) ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
TEST BUILD: https://github.com/nine7nine/Apps/raw/master/TEST-v2.1_4df0038.zip

Ok. So.... I 've posted a test build. Some things to keep in mind; it's a *test* build. The changes in this build are rather substantial and affect critical / core parts of the kernel (not just some hacks on drivers or that kind of thing)... It is possible that you may get a random reboot / live-locks or something like that (although, I have not)....

Background / Changes:

- I've pulled in a number of upstream sched / locking / cpu hotplug commits, leading upto to linux-4.4 (massive changes)

- I've undone some reverts/bad commits for code that should be in the kernel, that is needed to move forward (I'm still reviewing other changes, but I think I've gotten the meat of it)

- improvements to the cpu-boost driver (it should have slightly lower latency / response, among other changes)

- changes to cfg io scheduler

- other misc improvements

* This kernel should use noticably less CPU on idle, once settled. In some cases, performance is measurably better (but it's possible there may be regressions too, although I haven't noticed any yet)... give it a whirl, if you like ~ please, report back any issues ***but please do try to avoid being overly subjective .... observations are good, but if they don't contain some level of objectivity or have something I can use / test for myself ~ it won't be too helpful to me...

* I haven't disabled wake gestures or Kcal ~ nor have I addressed any issues that may exist.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kentexcitebot:
Off-topic, but I'd like to know about this too. Developer Settings only increments by x0.5 (then 2x,4x, etc) and the adb setting command to fine-tune these values haven't been working since 8.0. Couldn't find anything relevant searching Google.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
System UI tuner (app in the play store).

- I use it to set animation speeds (since I believe 0.5 is to fast, but 1.0 is too slow. lol)

- I use it to have a count of 9 quick settings Header tiles

- it comes with an immesrive mode quick tile (plus more advanced immersive mode settings).

It's a goto app for me to get a few nice mods for the Stock Rom. L_Speed can set animations as floating point / decimnals too; but it also has a tendency to override other apps settings and I'm never too sure of what changes it's making, so I avoid that...

But generally, for kernel stuff; yeah EXKM.... I try to set reasonable defaults for my kernel on boot though too. (I use my defaults, unless I am testing certain settings; that technically are accessible - but I would never recommend an end-user to mess with).

hope that helps; if possible don't post a reply, just now; I want people to see the test build post

EDIT:

* TEST BUILD IN THE ABOVE POST: please read before installing. thanks!

https://xdaforums.com/showpost.php?p=74826666&postcount=311
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] -iNSiGhT-:
Test build flashed, SystemUI Tuner installed !

Thanks !!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Should we be disabling perfd?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
no. you should not. why?

EDIT: Generally speaking, you shouldn't be touching settings like that at all, or making any assumptions about what should be enabled or disabled, especially not on a test build.... I've made most of those decisions for you.

Disabling perfd used to be done by me. in my init rc on boot, during 8.0 ~ specifically for disabling PowerHal to support using Dynamic Stune Boost. In 8.1 we are most definitely using PowerHal not DST; perfd is mandatory / required for power hinting and for performance reasons.

I would say avoid the temptation to change defaults, unless you know what you are doing.

NOTE: changing things like Wake Gestures or mac randomization, etc don't fall into this category, you are fine changing stuff like that. But Settings that can mess with User-space, power management (like Perfd) or settings in certain modules (like RCU) should never be touched...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
I just remember there was something about disabling it for dynamic tune
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
read above. edited....

I make those decisions for the kernel. not end users
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] natri23:
If i understand correctly, the kernel need sometimes (some days?) to settle after installing and reach the optimal battery life right?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
sort of... it took a couple of days after my initial 8.1 kernel, to start to show consistency. Especially, after changing certain compile time options (CONFIG_HZ_1000), switching to Powerhal and enabling cpu-boost / input boosting....

To be quite honest; if you are planning to give me insights into what battery life or SOT should be like with the kernel; you probably aren't going to be able to tell me anything that I won't already know, to some degree....

the only exceptions here would be if something on your system was causing excessive drain... But I have a pretty good sense of what the kernel is capable of delivering, in regards to power consumption, performance, etc.

more so, with this test build - due to the sched, locking changes, etc - the unknown's are regressions or the possibility of locking issues, etc....
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Yeah I leave everything on by default I just thought something had stuck from previous build but now that I think about it that doesn't make sense if it's enabled by init
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Bryanx86:
I've noticed my fingerprint unlock takes a really long time to bring up, I flashed your test build. I've also disabled my navbar via ADB for the first time too so wasn't sure if that might be the issue. After reading your post though thought you might like to know. It's taking around 10-15 second for screen to come on after pressing fp on the back.

Edit: it was most definitely disabling the navbar that made it slow. After setting it to normal everything is back zoom zoom zoom.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Yeah mines quick like a bunny, no hiccups so far. ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
yikes. glad it wasn't the kernel. that would've been strange. lol

yup. nice and quick here too ?...

glad to hear there's been no hiccups...

I actually expect this test build to be very good. just major changes, so it needs a good amount of testing / runtime.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] greyhd:
I flashed your test build but now getting the "There is a problem with your internal system" message when I boot the phone. What did I do wrong?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
you've done nothing wrong. it's happening on all custom kernels on 8.1. ... some sort of new check...

it's harmless. don't worry about it.... if/when I figure out how to disable the cause; I will do so.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] greyhd:
Oh ok, I just spent the past two hours trying to search thinking I did something wrong. I never had the message before but I had twrp permanently installed.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
you could've just read through this thread. it's been mentioned over and over again...

just an FYI, while twrp may work on this particular release. it might break at any other point... I don't support installing twrp, along side my kernel, as stated on the OP...

there have been points where twrp can install, only to later fail...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] greyhd:
Yes read through the OP and did the temp twrp and don't really flash anything else besides kernels or Magisk. Thank you for your hard work, I will run your kernel and see how it runs through my day.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
ah, thanks for the clarification. appreciated. when u said 'installed twrp I thought u meant that it was installed. ?

cool. let me know how things go... just in case, you haven't read through some of the forum, it may take a day or so for battery stats to become accurate, after flashing kernels sometimes...

there's also lots of answered questions and info throughout the. thread. any questions; just ask, but try n have a look through the thread too in the last few pages, as lots of stuff gets covered.

have a good one!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] greyhd:
That is my usually routine, check the thread first before asking. The kernel looks promising so far.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Great! that's the way to be. I'm generally on top of responding too, so if anything crops up; definitely bring it to my attention... This kernel is definitely my daily driver, lots of ongoing development/improvements still otw and has lots of good stuff in there.

There's always some initial hurdles with New Android versions ~ but 8.1 is going very well, so far. The test build also seems to be working very well ~ but @ 186 additional commits, over the Official stable release ~ there's a ton of changes... So if you do bump into any crashes, bugs or other issues - you can always switch to the stable release.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] -iNSiGhT-:
Test kernel flashed last night.

All is smooooooth for now !!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Nevermindthelabel:
Running the test kernel for ~ 12 hrs. Zero issues so far. May be a bit smoother than the last one but hard to say. Thanks!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Standby is great. Having idle drain is a pet peeve of mine so this is great to have again. Haven't seen flat lines like that in a long time
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] montbazon:
I recognised why Sweep2sleep didn't work.

From last stable I should sweep really really fast to screen off.

So I wonder know if you adjust the S2W timeout much longer.

Thanks.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
cool. yeah. I had no problems over 48hrs, using pretty much the same build but with a few other bits that I'm testing today.

awesome. keep me posted.

lol. ya, I've come to expect no idle drain. I forget to charge my phone a lot, especially overnight... so any idle drain would suck.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] nathanchance:
[MENTION=7810360]nine7nine[/MENTION], wake gestures aren't working with 1000HZ because you need to update the timing at the top of the wake gestures files like this commit. 300HZ to 1000HZ means you need to multiply those changed values by 10/3.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
thanks, Nathan.

I can do that later on... it's been a bit low on my list of things to look at, so I haven't actually looked at that code... easy enough to fix. awesome
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
So I followed steps to a t and flashed correctly and this is what I got when phone booted. Not sure what it means but it's working fine that I can see
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
It's harmless and has been covered over and over again in this thread. Next time you bump into an issue or have questions - please take 5min to read through the last few pages of the thread, before asking questions. (you should get into this habit generally on XDA).

That said; I'm adding a note to the OP - I'm tired of people bringing this up, on a near daily basis.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Sorry thanks will do
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
It's all good. No apology needed.

I appreciate this coming up again - so that I could address it before the download link on the OP... Thanks!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Darian71:
I too missed this in my reading of this thread. It's been noted and isn't a problem as far as phone operation goes. It's being addressed throughout the community with the 8.1 kernels. No worries.

[MENTION=7810360]nine7nine[/MENTION] I flashed the test build @75% battery. Am currently at 40%, almost @24 hours working on 4 hours SOT. Gaming, calls, text videos, camera etc working just fine. Twrp installed, and is staying installed for me. No hiccups whatsoever! Thanks for the System UI tuner app recommendation. .75 is perfect! You friggin rock dude! That many commits and running this good over stock speaks volumes about the development. Well done sir. Loving those Flatliners at idle too. (Just watched Flatliners, hence the word usage ??). Have an awesome day! ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
thanks for reporting. Yup, your account of things is what I would expect. I run my phone pretty hard and consistently get 6hrs+ of SOT everyday, no problem... no odd ball battery drain, etc.... Yes, 0.75 is a nice medium. Too fast and animations don't look smooth - 0.5 is definitely too fast. I really like SystemUi Tuner for changing the QT header count too - being able to quickly access 9 settings is huge for me....

I'm not sure that the commit #'s matter so much, it really depends on what's being changed. But the additional 186 commits is just in the latest test build. my kernel differs from the stock kernel by hundreds of commits, not including LTS... Numbers are just numbers though... I made note of the commits on the test build just to illustrate that there were some massive changes... i'm still doing some cleanup and bringing back some code that had been reverted - next build should include that stuff, pending...

On twrp, it may work installed for you now, but could break at other points. So if it does -> you're on your own; I don't support installing it nor want to deal with it. (that would mean that I would need to have it installed all of the time - something that I won't be doing or testing with).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
DT2W will be fixed in the next build

[MENTION=6842057]nathanchance[/MENTION] - Thanks again!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Working great. Lowered system animations , and set io scheduler to Maple so far so good gonna read thread some more thanks
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
glad to hear. no probz...

yeah, I don't test much with maple, but a few people wanted it, so it's there. ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Darian71:
[MENTION=7810360]nine7nine[/MENTION] Completely understand on the TWRP. I suppose it's just out of habit to install it. I guess I just try and keep it installed for on the fly kernel updates when I'm not at home. It does actually restore the stock boot.img. I need fastboot on my phone. ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Makes sense. I was just giving a heads up.

I guess for me; I only install kernels when I'm at home because I'm usually working on them, so a new build is going directly from my computer on to my phone anyway (so already connected to my linux box).... Then I always keep a stable backup or two in EXKM - just in case a new build turns out to be sour and I'm out; then I can use EXKM to restore the good backup... ~ That hasn't happened yet though. Usually, if a build is sour / broken - it will exhibit problems quickly. lol.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
So I may have some nice performance optimizations coming, in the next build. A few consecutive benchmarks in Geekbench pro showed a nice 2-300 point gain in multi-threaded performance. So that's promising.

The gist is that I've added in a handful of commits from mainline (linux-4.4) that changes locking/unlocking behaviour. The core code now supports acquire/release/relaxed versions of the atomic_inc family, and then the final commit implements the *_relaxed versions of the atomic_inc family for Arm64, which in turn pulls in all of the others. (relaxed use of barriers for locking/unlocking)

So I'll give this a good test. But I'm also working on other commits, trying to track down a few others => before I post another build ~ If the next (test) build turns out to be stable, I will update the OP download, after possibly getting a few other people to try it as a test build, first...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bbender716:
This is normal behavior on 8.1 when using Magisk. Had no effect on the system.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] -iNSiGhT-:
One thing I got some times, the phone get stuck at Google logo on boot (with the open padlock).

Have to long press power button to reboot and then it boots as usual.

Not a big deal and don't know if it's kernel or Magisk related (I'm on stock 8.1).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Darian71:
[MENTION=4228141]-iNSiGhT-[/MENTION] I've not seen anyone with this issue and not experienced it myself. Are you using latest Magisk 14.5, and if so, did you have twrp installed, and not flash the December stock boot.img before flashing this kernel and Magisk?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] almightysiman:
I can confirm.I experienced this problem some times too.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] -iNSiGhT-:
Did flash the December boot (in both slot) even if I was coming from stock.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
I reflashed stock December rom booted into twrp then flashed kernel then magisk and booted absolutely no issues I guess what I'm asking is if ur already on 8.1 do u need to still flash boot image cause I didn't and it worked fine I never flashed boot img in both sloth just flashed kernel then root. I tried to flash in both slots and got stuck on boot logo. Then it just kept rebooting
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Nevermindthelabel:
[MENTION=7810360]nine7nine[/MENTION] I'd like to report absurd battery life thus far. Over 3 hrs SOT, unplugged for 1 day plus and 65% left. Not even obsessed with SOT, didn't do anything special. Test kernel and Magisk
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
was that directly/first boot after flashing the kernel...?

does it do that on subsequent reboots?

answer the above too. thanks
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Darian71:
I read in the OP [MENTION=7810360]nine7nine[/MENTION] stated flashing the boot.img to both active slots. Since owning my Pixel XL running 8.0.0 - 8.1.0 I've never done this. Is there a specific reason why I should? Of course I've always been on stock Google images, so maybe because of custom Roms? Just curious for future reference.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
that step only applies if removing twrp, if installed.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] -iNSiGhT-:
Happens at first reboot after flash, but just before I posted too (I shut down my phone for 10 minutes just before).

But, as I said, nothing bothering.

Just to mention if you knew its origin.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
every once in a while, that happens to me. as a flash a lot of kernels/builds... but it hasn't happened for a while... not positive on origin, as I can't reproduce it easily and hasn't happened in a while.

I've never had it happen after a reboot or starting from power down.. hmmmm.... I might get u to sendme some system logs, if this is happening for you... not until later though. not at home...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
lol. I'm not surprised; that's pretty average / expected behaviour... I get 6hrs+ SOT consistently and since there is little to no drain when sleeping, I can go quite a while without recharging..

and ya, you shouldn't need to tweak or do anything special to get good battery life. the defaults should be good. tweaking settings or adding apps that try to improve battery life shouldn't be needed
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Nevermindthelabel:
I've had this phone for a week or so. Coming from a OnePlus 3,and I'm blown away lol. Never cared about the SOT but just couldn't believe what I was getting
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
nice.

I've had the pixel since launch, but I didn't start using a custom kernel nor working with kernel sources for the first bunch of months...

my observation has been that with my kernel, rather than stock; I get at the very least an extra hour or more of SOT and less drain, generally....

so adding that with all of the additional features, it's a pretty big win over stock for me.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rbaskin2009:
Where on Earth is the 8.0 Kernel?!

I don't have 8.1.0 installed on my phone, and the OP on the guide I'm using (https://xdaforums.com/pixel-xl/how-to/guide-android-8-oreo-root-stock-rooted-t3660591) mentions "[Kernel/Oreo-8.0] exNoShadez-eas (Stable/Binder_RT) by nine7nine." Where on Earth can I find this kernel? I feel like I've looked everywhere, and it's really racking my brain. I'm just looking for Marlin_exNoShadez_eas_3.18.84_Binder_RT_2ef16ac.zi p. Can someone please throw me a life line?