yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
A new build is up in the OP with Simple LMK removed. Yeah, I know the date is in the future; that's what I get for using the date as the version number for my kernels.

For those of you who would like to keep testing Simple LMK, I've attached a new test build to this post.

EDIT: Removed test build. There's a newer one.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
PM sent.

---------- Post added at 11:28 AM ---------- Previous post was at 11:21 AM ----------

This is the procedure I follow when flashing Sultan kernel. Curious if those experiencing lag are following it as well or if it makes a difference?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
I flash the kernel and magisk not twrp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
that is the way I do it as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
Shouldn't be the renderer set as OpenGL anyways as default? Even without the build.prop?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
I don't know enough about it to answer. But I know in the last couple months, it's made a big difference on my device with Launcher3-based launchers. Maybe things have changed since then. I haven't tried removing it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
What mods are those?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
Yes and no. I think the build.prop change forces HWUI to use the OpenGL libraries directly, and not route graphics calls through the Skia libraries (which is the default Android behaviour).

Skia is soon to utilise Vulkan as the graphics backend, so this will improve graphic performance without changing functional behaviour of the system. However, I do see an improvement in forcing OpenGL as the HWUI backend.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
Hmm interesting. Yeah hopefully in Q, Vulkan will be the default renderer.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Woah flashed latest kernal and screen off getting 11% a hour drain.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
I'm not liking how the new builds disable vibrate. In Snapchat, my keyboard has no vibration and once I leave the camera it takes a couple seconds for the vibration to come back as the camera shuts off. What do you guys think?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Will008:
[MENTION=3104236]MrBrady[/MENTION] I would like to know the name of the module too please.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I don't care about haptic feedback.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] hawkswind1:
My quick tale re:chrome lag. Chrome beta has been working good for me the past month or so using this kernel w/ du. The same pages lag when I pull them up from the google search bar though. I guess that's opens a browser built into Google app and doesn't open them in chrome? I've gotten back into the habit of opening chrome instead of using the search bar and everything has been great. Thanks for the great kernel glad you're back!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
https://github.com/kerneltoast/andr...mmit/e034b8f7299e9e3b2d6f5a3fc931982b00ca6a91

I saw this and it explains why the cores are always maxed. Performance is really good like this

May 1 build and I think something is very wrong. CPU is stuck at only these two frequencies. Both cores have the same issue.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neekless:
Just scroll through the last few pages. Or look at his github. These are the new frequencies now as they are more efficient. Your cpus will complete tasks faster and go back to idle earlier. Just try it. Battery usage is similar to how it has been but it's a lot smoother.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
PM sent to both of you. If anyone else has questions about this, PM me. I don't want to clog Sultan's thread with OT questions.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fuzzgruble:
When would you like logs? If we see UI hangs/freezes or more serious stuff like reboots?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Azure Dragon:
Unsurprisingly this build worked the best and is the most stable so far. Not the fastest, but the most stable. I was able to press Recents, play music on Spotify, and still come back to my game without it resetting from the loading screen! Great work on this build [MENTION=4800121]Sultanxda[/MENTION], thanks for listening to your users, hehe

---------- Post added at 04:56 AM ---------- Previous post was at 04:50 AM ----------

Anyone tested this so far?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
This is moreso the fault of Snapchat being one of the worst apps on Android. It keeps the camera running nonstop even when you're doing other stuff inside of it, and it takes pictures by taking a screenshot of the viewfinder rather than actually using the proper API to take a photo. This means I can't really program around Snapchat to make the keyboard keep vibrating inside the app.

The benefit of disabling vibration while using the camera is tremendous though. I've had photos and videos both suffer from distortion due to my phone vibrating while I was using the camera.

Only for reboots. When you get a reboot, I need a console-ramoops log.

You mean the April 22 build was the most stable? All the other builds are "unstable" because of Simple LMK, which isn't present in the May 1 build, so the May 1 build should be superior.

As for that Simple LMK test kernel, I just got a short freeze with it :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
I'm using the April 30th build, and other than the initial freeze after the first flash, I've had no issues with this kernel or Simple LMK.

---------- Post added at 06:42 AM ---------- Previous post was at 06:39 AM ----------

Me too. I've tested out the current, broken build on Pie, and while certain UI elements simply don't render, the animation speed and fluidity for stuff that does is really impressive.

Side note: whatever happened to your SoilWork mods?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
I've attached another Simple LMK test to this post. The last Simple LMK test accidentally had old code in it that I knew caused freezes :silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Is minimum speed and maximum speed for all cores meant to be same? Im getting huge idle drain since last 2 or 3 version
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
That likely means you have some rogue app burning through your battery. I suggest opening a terminal emulator app, running su, and then running the following command to see a list of the top 20 most intensive things running on your phone:

top -m 20
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] agplugged:
Flashed this version about an hour ago, everything works well, fluid without freezes. A bit of a lag when opening certain apps but it's more of a 1.5 sec delay and doesn't really bother me.

Personally I'd like to see more LMK in the future I think its potential outweighs the problems it might be creating.

*Update*

I had to flash the latest 0105 version without LKM due to a serious hang while using FB with several apps running in the background. A shame, but I'm sure simple will make a return sometime soon. Will look forward to testing newer versions.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
Sorry for the noob question and just out of interest, but what makes Simple LMK superior to the "normal" LMK implementation, in theory?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Wait, diag is enabled though...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
It can keep several more apps in memory.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
But something prevents the PDC tool from recognizing the adapter :/ It worked on stock kernel though.

Ah I see, thanks :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] reddevil08:
Wasn't able to use PDC tool though. Switched back to stock and it is working again.

Another advantage of diag is that I am able to control the LTE network bands my phone is able to latch on to using an app. It's working on stock and ElementalX. Wasn't able to get it working with this kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
Oh how to do so (controlling the bands)?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] reddevil08:
It's an app on the play store named Network Signal Guru.

Needs root and works for me on stock and elemental. Band forcing features of the app became unavailable with this kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Battery life isn't that good on the latest op version

I haven't done anything different using same apps under same environment
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] aocboe:
Try to enable smooth scrolling
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
Which build so far is the smoothest?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
The Snapchat app is actually really good now. It uses the PVC so picture quality is comparable to the stock camera app, plus it launches instantly and has no startup delay like it used to. Oh and it does shut off the camera when you are in the side menus and it also shuts off the camera after you take a pic and are typing, I can tell because the vibration comes back. I'd say it's optimized very good now. I can pop into and out of it super fast like any normal app. Even the stock camera makes the vibration stay disabled for about 4 seconds after leaving. It's not Snapchats fault. And while inside of Snapchat the keyboard will start vibrating after a couple of seconds so it's not like it's always disabled inside the app. It's not the apps fault, this phone just takes time for the camera to actually shut off and for the vibration to return because of that. I found that I've been missing notifications because of how long the vibration stays disabled after leaving any camera app. But the benefit of having it not reck videos/photos is also pretty good.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
[MENTION=4800121]Sultanxda[/MENTION] How often do you clean flash your system ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
[MENTION=4800121]Sultanxda[/MENTION] You set the min freq to 1,8 GHz right? But what about when screen is off? Is it then also set to this value?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Yeah I dont see how having both sets of cores at 1.8 all the time would make it battery friendly.

there was no rouge app as I flashed different kernel and my idle usage went back down to 1.0- 1.5 an hour.

On last 2 builds overnight when airplane mode on I was loosing 5% an hour when it used to be 0.5.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Yes.

Every time I encounter a problem that requires a clean flash. This doesn't happen very often.

The camera doesn't take time to shut off, Google Camera takes time to shut off. There's a difference; Google Camera has its own fair share of bugs too (e.g., if you don't force stop it after using it, it'll cause the sensors process to have high CPU usage and drain battery).

Snapchat is overall atrocious though. The PVC integration was moreso work done by Google rather than Snap.

The newest build...

I've long since given up on Chrome because I can't get adblock in it anyway.

Can't relate. Several other people including myself have reported significantly improved battery life with these newer builds. You probably have something atrocious running in the background.

Locking bands is actually quite useful to me as well, so this is something I'll look into fixing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
The CPU goes into idle when it is not in use, which occurs literally all the time. Idling consumes the same amount of power regardless of which frequency the CPU is running at. Just because you don't see how it could be battery friendly, doesn't mean that it isn't. If your power consumption increased then there is certainly something burning through your battery.

How do you know there is no rogue app? Just because you flashed a different kernel doesn't mean that there isn't a rogue app... Why don't you actually check using the top command I gave you?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MisterMeJ:
Latest version gives me several freezes and they can take up to 2 minutes. Version before I had no freezes.

Version still 4.4.155 instead of upstream or is it a typo?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
The upstream version is still 4.4.155. Use the kernel in the OP instead of the one with Simple LMK if you don't want freezes I guess.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Hormesis:
I'm really curious why some people are seeing such crazy freezes with LMK. I'm not seeing any at all, but I'm happy to do specific testing to try and reproduce if that will help. Latest LMK build has been super smooth.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
Do you use any social media like Facebook or Instagram? That could be why.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
It could be related to how SLMK allows memory to get so full. The freezes are probably caused by alternative means of freeing memory (i.e., freeing memory without killing apps) getting done and then quickly undone, without SLMK being invoked to kill apps.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
I hadn't had any freeze until this morning. Scrolling through IG and it froze up for 4-5 seconds. Then I just had another when using Snapchat. Other than those two small ones it's been smooth as can be.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
Which build are you using?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
30th SLMK2 test build a couple of pages back.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] HueyT:
OK to use for custom roms?

---------- Post added at 06:00 PM ---------- Previous post was at 05:52 PM ----------

All good on Scorpion ROM :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
Does anybody know how to use the Zram mod?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
I checked with top command and there is nothing suspicious, i returned back to 22/04 build and idle drain went from 5% to 0.5 and active from 15 to 10-11%
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
I've attached another Simple LMK test to this post. I'll reduce the maximum possible idle drain soon too, I guess...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
What you're gonna do ? Change something in the frequency table ? I don't have any problems with the new frequency table. Some people should stop using ****ty apps.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Nope, I'm gonna turn off 75% of the CPU when the screen is off :silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] b4lenisme:
I have been getting great battery life for every iteration of this kernel since 22 April build. I only get few lags when LMK is applied, but with 1 may build all is smooth. However, I can notice that battery life is better when Simple LMK is applied. Great job for Sultan ?? and don't give up on Simple LMK, because I think it has great potential
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
Do you use any mods?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] b4lenisme:
No, I don't even use magisk. Only stock room + sultan kernel
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Check your idle drain with the attached kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Will report back

Cheers ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
The May 1st build without SMLK is amazing. Smooth, great battery life (both idle and in use). I don't have any idle drain issues. At all.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flunk03:
Checking this out. The May 1st kernel without SLMK was having a a higher idle drain but really good performance which translated to better SOTs in my use case. Going to agree that the previous version from Apr 22 seemed to have much better idle drain and battery performance overall. Thank you for all the tweaks and continuous improvement in this kernel .
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Azure Dragon:
May 1 build performs well and is pretty smooth overall. However, as Simple LMK was removed, it's now unable to keep Spotify in memory while I play my game :( Fair trade-off I would say, but I do hope we can still get Simple LMK in the future!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MisterMeJ:
Using slmk3 gives me no freezes so far! I know if I don't want to test, I have to flash stable. Will try the slmk3 idle version to see if it gives difference..

Just thought 4.4.179 was the newest. Don't have much knowledge about it, was just a question.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
You can help test SLMK you know... The newest SLMK test works quite well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Azure Dragon:
This one, right? I kinda want a kernel updater or something similar so I don't have to reboot -> recovery -> install kernel -> install magisk, can you recommend something? hehe. And I'll be installing it right after this post.

---------- Post added at 04:19 PM ---------- Previous post was at 03:53 PM ----------

Didn't solve my Spotify issue.. also a bit laggy compared to without. I'm playing Mobile Legends :D
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I'm using FK Kernel Manager to flash a new kernel update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Azure Dragon:
Awesome, I'll try it out! I think I'll go for the SLMK-less May 1 build, haha!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Will008:
Spotify stops in the beginning of any game if u wait after the loading screen then start it again it works fine. Works on stock and EX haven't tried on latest sultan yet.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Azure Dragon:
Oopsie then.. the thing is, when I launch the game, I can't go back to Spotify, because then the game ends up restarting from the loading screen. It's so bad I don't know why it happens, probably a problem with memory management (even with stock rom and kernel)? My OnePlus 5 (too bad I sold it) can't relate haha
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Allen Hu:
This build is actually pretty solid. Tried for half a day and haven't experienced any freezes so far, while idle drain also became less noticably.

Seems like the best build since 0422
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
You guys can complain about whatever you want. Sultan will fix it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Pls don't complain about battery not lasting for 1000 days, I can't fix that
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
I will test the last test build.

I tied top command too and nothing out of ordinary, I was using the same set of apps and settings between Mat 1st build and other kernel and the idle drain was deffo higher then I used to have.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] enskje:
unlocking with fp is kinda slow and stuttery? ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
I know, but check your idle drain.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Will008:
Doesn't happen with me with Spotify and pubg as long as I don't leave the game in the background for a long time.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Well, that's a little disappointing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Okay so idle drain is fixed for sure but i am still getting high active drain about 12% as compared to 22 build with 10-10.5% but maybe its just me or placebo performance is better on this

Cheers ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Define "fixed". What is your actual idle drain?

The build I gave you has SLMK so do be aware that it'll keep a lot more running apps in memory, which can increase active drain if you have a bunch of heavyweight apps running.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
My idle drain with 22/04 build was less than 1% and with earlier build greater than 3% and with this build its back to less than 0.5%

Whatever you did worked

Cheers ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
The idle drain with the latest test kernel is.. yeehaw !
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
How is the smoothness on it? Any freezing or lags?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Test it :silly:

---------- Post added at 11:51 PM ---------- Previous post was at 11:05 PM ----------

There are people who say that the kernel can't affect battery life :silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
There's also people who think the earth is flat.. theflatearthsociety.org :p

Ignorance isn't a bad thing.. willful ignorance is.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Ok, now try the attached build and see how your active drain is. I tried reducing active drain by tweaking CPU idle states.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neekless:
Does this also include the idle drain "fix"? I assume it doesn't.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
It doesn't.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neekless:
Thanks. Idk about other users, but personally I haven't seen huge differences in idle drain using kernels with or without the fix. But the kernel with the fix made fp unlock slow, so maybe it isn't a good solution.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Fp has always been slow for me on this device
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
I know. I can tweak it, but I need to know if it's actually useful first without tweaks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neekless:
Maybe you have a defective unit or something lol my fp has been pretty quick for me. With the idle fix the screen takes longer to wake up and once unlocked the screen sort of "refreshes" like it reloads the screen or something.

---------- Post added at 02:47 PM ---------- Previous post was at 02:46 PM ----------

In other news, the active drain is definitely lower with the active drain kernel :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Personally I prefer lower idle drain then active.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Little bit improved from 14-15% to 12-13%
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] livsey:
It seemed that on this version the smoothness and responsiveness suffered a bit! With this fp works as fast!

Active drain decreased slightly.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sentheb3ast:
Which build in ur opinion had the best smoothness?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] livsey:
stable from 1 May
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Smoothness and responsiveness suffered compared to which build? If this is your first time using a build with Simple LMK, do note that it really packs your RAM full. The stock LMK on the other hand kills apps far more often, which can make your phone feel more responsive at the cost of worsened memory management.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
With the builds after 22/04 device runs a bit hot and I'm guessing that due to high freq only

I would say a difference of about 3-4°C