yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Oy, don't be rude to Nathan. He's contributed a lot more to Pixel development than you have. Posts like these are what make developers quit, you know...

There are Pixel users in China? o_O
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Queentus:
With a reliable VPN provider or some VPS knowledge, the answer is absolutely yes. I'm one of them for example. Followed Google from Nexus 6P to the latest Pixel 3 XL, sad to see your crosshatch kernel EOL since I've already sold my Pixel 2 XL.

But your kernel is smooth AF, way better than Google's. Me and my friends here are both keeping eyes on which device you'll have next. Cheers and thank you for all your contribution to Android community :highfive:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lllluzhnan:
Yeah. I'm living in mainland China and was the user of Nexus 6P and Pixel OG. Using Sultan Kernel on Pixel 2 is absolutely my luck. So just let me know what's your next phone. I'm bound to buy the phone same as Sultanxda's.:laugh::laugh::laugh::laugh:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] V0latyle:
I noticed that your /release folder is not publicly accessible, only the file linked under "Latest Kernel" in post #1 is. Would you consider making the /release folder accessible, so that those of us experiencing problems on new builds can go back to the last stable version?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neekless:
It is accessible: https://github.com/kerneltoast/android_releases/releases/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] V0latyle:
Well then, I'm just a dumbass.

Thanks!

---------- Post added at 07:54 ---------- Previous post was at 07:51 ----------

Given that your grammar literally gave me brain cancer, I hardly think you're an authority on the matter.

Caesium Kernel was one of the best I've ever used (Sorry, Sultan, we heart you) since the discontinuation of Flash Kernel. [MENTION=6842057]nathanchance[/MENTION] is well known and well respected in our community for his work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] franciscofranco:
BUT WHAT ABOUT SHÍTLMK KILLING ADB HOW'S THAT A GOD THINGY TO DO. SUNTAN PLS ANSWER TO ME Y U DO DIS
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] omair2005:
24th build has been the fastest smoothest update yet! Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Hormesis:
Yeah, this latest build is crazy smooth. I'm glad I skipped picking up a P3XL.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] matekaneve:
The latest build is absolutely killing it! I just jumped on board with this kernel in the last 3 or 4 days and just realized how much I was missing out! Amazing job Sultan! Thank you very much for your hard work!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fapste:
Can someone please post a video of Speedtest between stock Android q and Android q with Sultan's kernel? I've been completely stock for the last 2 years since I bought Pixel2xl. I want to jump on the modding wagen again.

I've another question:

If I unlock the bootloader & install twrp to flash Sultan kernel, will someone be able to steal my data if my device ends up in wrong hands?

Thanks again Sultan for your efforts!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] onliner:
Sultan kernel doesn't work with Q.

Even with the bootloader locked someone can steal your data, so the answer is: yes.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] omair2005:
had a freeze and reboot. I was listening to spotify via bluetooth and texting on whatsapp. I went to take a picture with the built in camera in whatsapp, it took the picture and froze, reboot.

uploaded console-ramoops

https://gofile.io/?t=uploadFiles
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
That link doesn't point to the console-ramoops, can you upload it here?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sneakerspark:
Hey [MENTION=4800121]Sultanxda[/MENTION],

I don't own a pixel device neither can i afford one in my country so i have no business in this thread but i still follow it just to see the magic you have been cooking.

Ever since you left developing for OnePlus devices, my life has never been the same. My days lag as **** and my nights freeze all of a sudden resulting in random reboots and i have no one to share my console ramoops with.

I appreciate the stability and smoothness you brought in to my life while it lasted and wish you all the best for your future and silently pray to myself that you find your way home to OnePlus devices in the future.

Love,

OnePlus User
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
New build is up with this random reboot fixed.

Even the used Pixel 2 phones are expensive? :( I personally love my Pixel 2 XL and don't find other Android devices very appealing right now, so I probably won't go back to using a OnePlus phone. Thanks for the kind words, though :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] omair2005:
I see the new build thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Could you rename the console-ramoops file to console-ramoops.txt and upload it? I'd still like to see it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
Mind explaining me how this can be done? I can't find it in NSG :/ Cause it still says "No locking features" for me :/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] omair2005:
It wont let me upload more than 1mb.. here is dropbox link

https://www.dropbox.com/s/qw6joy8vzdw11bh/console-ramoops.txt?dl=0
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
I'm glad I asked for the log; you got a different reboot than the one I fixed in the June 25 build :silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gilnfld:
[MENTION=4800121]Sultanxda[/MENTION] can you say something about Francisco's query about LMK and and ADB? Or anyone else here maybe; I see several people have 'thanked' francisco for his message so I am assuming other's have similar questions about this kernel's implementation of LMK so please say more about this. if possible. From your tone and ALL CAPS [MENTION=3292224]franciscofranco[/MENTION] you DO NOT agree with this LMK?

I am back to using my P2XL after a bit of a hiatus with another phone and looking at this Kernel for my daily driver use.

gs
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] franciscofranco:
I was trolling...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
how could you ?!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gilnfld:
Oh man that was embarassing. My 'sarcasm' radar is off these days. Sorry Francisco!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] balenisme:
maybe you could take a look into it, i cannot connect to my bluetooth earphone during call/vid call, whether it using default call, whatsapp duo or any calling app. However it works well with media such as spotify, youtube or twitch.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
New build is up with a random reboot fix and a sinister memory leak from Qualcomm fixed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
[MENTION=4800121]Sultanxda[/MENTION] the fact that you update this kernel as often as you do is a testament to your skill as a developer: the best ones are never lazy!

Thanks for ruining other phones for me. I was planning on moving to iOS when my contract was up for renewal, but I think I'll just grab a Google fabric case instead.

As an aside, what are your thoughts on porting F2FS over to the Pixel 2?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Hah, I think I'll be using this phone for the next two years since it works so well and all the other phones out right now are very unappealing.

I've never had a stable experience with f2fs so I've decided to avoid it like the plague. ext4lyfe
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MatteCarra:
He thinks that the speed of f2fs does not pay off the fact that it's not as stable and it currently has the gc problems that affect performance on the latest google pixel phones.

Source: https://xdaforums.com/pixel-3-xl/development/kernel-sultan-kernel-t3892838/post79310570#post79310570

Edit: ups he already replied while I was typing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] reddevil08:
You need a Magisk module to enable it on boot or you could run the commands manually via terminal.

https://xdaforums.com/pixel-2-xl/how-to/guide-qxdm-port-activation-pixel-2-xl-t3884967

1st post of the above thread has the Magisk module and the terminal commands.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NinjaCoool:
I guess I won't be switching phones for the next two years also. :highfive:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
Fair enough!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
Ohh thanks a lot, now it worked! :highfive:

Edit: When I uninstall the Magisk module, does the band lock persist?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] reddevil08:
It does persist. Haven't tested that too much though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
Ok good to knowm thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Dylan.4:
Multitasking on my phone works drastically better with this kernel installed, so props for that. However, after watching around 10 minutes of YouTube, the app crashes.:(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
YouTube itself crashes? That sounds like a YouTube bug...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 小黄人:
Turn on the camera and return to the main page. The vibration feedback will disappear.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
It will reappear after a few seconds. This is because the main camera app takes a long time to close the camera, and vibration is disabled when the camera is in use.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 小黄人:
Is this a bug? Will it be fixed?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Vibration is intentionally disabled when the camera is in use, since the vibration of the phone can damage photos and videos.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] RogerF81:
[MENTION=4800121]Sultanxda[/MENTION] Do you plan to update the tc to GCC 9.1?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigknowz:
[MENTION=4800121]Sultanxda[/MENTION] will test again, however first impression is June 25 battery drain was stellar vs the last few builds. Currently running June 26 and will revert back in a couple of days to confirm. Thanks for all of your hard work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Yes.

Err, what? All that changed between June 25 and 26 was a fix for random reboots (!) and a fix for a gnarly memory leak. I'm sorry to say that really is zero basis for the June 26 build to somehow be using more power than the June 25 build. That's more than likely just caused by errant app running in the background on your phone.

And my battery life on June 26 has been stellar as always.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lil_ith:
Sorry for OT. I had to sell my Taimen about 6 months ago but in a month I'm going to be getting another one and I legitimately cannot wait to flash my favourite kernel onto it again. Thanks for all your hard work sultan!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] itslels:
Still need to flash the 26th update, but wow, what a kernel! No issues at all here and my battery life is pretty bananas. Thank you, Sultan!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrMagicPotato:
What is the best rom to couple with this amazing kernel?

Do you guys recommend me to use any kernel manager app?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] itslels:
I've been using scorpion rom and exkernel manager to change up settings. Everything has been working perfectly and battery life has been excellent.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] omair2005:
had a reboot while on Snapchat [MENTION=4800121]Sultanxda[/MENTION]

https://www.dropbox.com/s/s4kemvn12wdgzmx/console-ramoops.txt?dl=0
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
You're a legend.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
I tried the latest version again. Same issues as always: lag, Google Play Services complains that it keeps closing (probably getting killed by LMK) and just had a total freeze with the screen off, power button didn't turn on the screen anymore, had to force-reboot it.

You may consider the stock kernel utter crap, but at least it's very usable and stable. As for battery life, stock seems to do better for me than this latest version, at least as measured by EXKM.

For those who think that a kernel will give you miracle battery life, read this blog post by a respected kernel developer:

https://elementalx.org/the-truth-about-kernels-and-battery-life/

Just my observations, not attacking anyone or looking to argue. Hope the info helps someone decide what to use or at least not think they are alone with problems when it works well for everyone else based on only positive comments.

On a positive note, T-Mobile Wi-Fi Calling works on this kernel (it doesn't work for me on EX kernel).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
The kernel has a very significant impact on battery life. That blog post was clearly written with the author intending to absolve himself from worrying about battery life with respect to his kernel... Users complain about battery life? Cool, here's the 'ol battery life blog post, now quit complaining!

Google Play Services complains that it's closing? Buddy, your Google Apps are screwed up. Reinstall your ROM; you don't need to factory reset. When Simple LMK kills stuff, it kills it silently; it doesn't allow apps to complain that they've force closed. If you're using the stock ROM, then follow these instructions.

Of course battery life sucks for you; your ROM installation is messed up! Go fix it, and then try installing this kernel again.

Total freeze with the screen off? Could be anything, but you've just demonstrated that your ROM installation is toast, so it wouldn't be a stretch to consider that as the cause...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
New build is up compiled with GCC 9.1 and with a rare random reboot fixed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Darshpro:
[MENTION=237269]sultan[/MENTION] I know this has been asked already and answered, but Please do consider adding kcal custom color driver. This kernel is so good ,and with your update that you will support this kernel for quite sometime to come, the only thing missing is this. The stock color profiles are bad compared to what you can get out of a kcal calibrated display. I request you consider adding this. I'm sure there are many folks here who have the same request.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
I don't see the Google Play Services closing on stock or EX kernel. Or any freezes either. Doesn't make much sense to me that the ROM is messed up only on this kernel but not the other two. FWIW I do use latest Magisk but no modules, just for root.

As for battery life, in general I see comparable numbers between stock, EX and Sultan, as reported by EXKM app. To me the variations are not statistically significant, similar variance.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Google Play Services closing is absolutely not related to this kernel. Try what I suggested above.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] matekaneve:
Well, it seems like stock and EX work better for you. Use those than. Simple as that. If you would like to contribute and help the development of Sultan's kernel, provide all the logs when those issues happen. You can clearly see if someone has a reboot, crash or anything and a log is provided, Sultan will kindly fix them. That's what it's all about. He's an absolute legend!!! There always be bugs and random reboots and stuff as all devices, usage are different. But this man is on it and tries his absolute fcking best to get rid of those. Sultan you're the man, if I could I'd pay you monthly for the miracle you do here, but unfortunately I'm not in that situation... Keep up your amazing work we all really appreciate it and will be with you. :good: ????
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Mimimi..
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
Followed your advice, flashed full stock image (but did not wipe data), then latest Sultan build from 6/28, TWRP, Magisk. All was good for a while, but less than 24 hrs later same problem Google Play Services complains that it crashes, now phone completely frozen but with the screen on this time, power button does not turn the screen off.

Staying full stock for now, let's see if I'm having the same issues ...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Could you add back my kernel and then use your phone until Google Play Services begins crashing? Then, press the power button and both volume buttons at the same time to capture a bug report; roughly a minute later, the bug report capture will be complete, and you will be prompted to share it. Choose to share the bug report with the email app you use and email the bug report to me (sultan@kerneltoast.com) so I can see what's going on.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
New build is up with July security fixes and some performance improvements.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
Is anyone else seeing min frequency as 1824 (big) and 1804 (little)? My CPU never goes under these clockspeeds. Just did a full flash of July image then installed latest kernel/TWRP/Magisk in that order.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
That's how its supposed to be with new kernel and new approach
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] itslels:
Yes, exkm reports these as the lowest used for me, as well. I'm newer to pixel, so I just assumed this is fine. And I still believe that, due to the 7 hours of SOT and 23+ hours of time between charges. I think it's fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
Oh I didn't realize that it was supposed to be like that. I'm pretty good about reading threads and not asking questions that are already answered but that approach is completely new so I thought it was a bug. Time to read about the idea behind it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] matt1313:
Hello all. I was seeing if this seems about right.

I charge phone at night get up read about 5min emails whiles eating breakfast. Then drive about 50min to work.

While driving no phone usage or Bluetooth.

I loose about 4-5% drain

Using latest kernel on July havoc
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
That idle drain seems high, my idle is around 0.5% per hour. Your held awake at 38% is high, some app is not letting your phone sleep well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] matt1313:
I have greenify on and wearos doesn't seem to hibernate.

That maybe the issue.

Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
Don't use Greenify. It used to be useful, but these days with the built-in Android equivalent it does more harm than good. If you have apps that you don't want running in the background you can just blacklist them in Android, battery settings somewhere.

---------- Post added at 11:11 AM ---------- Previous post was at 11:08 AM ----------

It happened again on latest kernel and July image. I was going to use "Take bug report" via Developer settings but can't start Settings app, it just keeps closing. Tried "Power + VolUp + VolDown" not sure anything happened, the phone just rebooted. Where should I check if any bug report file was saved?

Edit: I added the bug report option to the Power menu for next time it happens (Settings -> Developer options -> Enable Bug Report shortcut > Toggle On)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
The bug report files aren't saved automatically afaik. How long do you have to use your phone before it freezes?

Do you use any apps other than the system Camera app that use the camera?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
Used to freeze every day on your kernel, but now it seems to take somewhat longer on the latest version and July image, I think it's been something around 3 days. Stock camera app and occasionally other apps like banking apps that use the camera to take a pic of a check for example. I don't have any custom camera apps that I use for photos or videos. Otherwise I'm not a heavy user, I'm a minimalist when it comes to apps I install and I resist installing new apps unless I absolutely need them, I stay with stock apps if I can. I do use Magisk just so I can use AdAway.

I'll try and use the camera see if I can cause it to happen.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
I think it's best if we go straight to assuming that there is some kind of massive memory leak you're experiencing. I've attached a debug kernel to instrument this; this debug kernel restricts your phone's RAM to 3 GB and will run very slowly due to the memory leak instrumentation. Use your phone normally for an hour with this kernel, then grab /sdcard/kmemleak.txt and upload it here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
[MENTION=4800121]Sultanxda[/MENTION] going to the next level... Once again another dev shows why XDA is such an awesome community to be part of!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
Nothing so far except fast battery drain. The file is 0 bytes. Should there be anything logged to it continuously or only when a leak is detected?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Hmm, the file will only contain something when there is a leak detected, so seems like you're not suffering from a memory leak. I think a bug report is needed to proceed with pinning this down.

Go to developer options and change your log buffer size to 4M, then grab a bug report when you start seeing your phone misbehave (like when Play Services crashes). You can stop using the memory leak kernel and go back to the regular one.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
Crashed again. I was not able to take a bug report. I pushed the button in the Power Menu and nothing happened, after another minute the phone just froze. I managed to glance at EXKM it showed memory used 2.7/3.6GB so I don't think it's a mem leak, something else going on. FWIW, I used the camera to take some videos a couple hours prior to the crash/freeze, not sure whether coincidence.

I won't be able to try things, busy for the next month and I need a stable phone. Going back to stock. It will be a good test to see whether it's stable on stock long term.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Could you PM me a list of all the apps you used from the time your phone booted up to the time of the crash? I can try testing them myself.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Azure Dragon:
The July 1 update has frozen on me twice today. One on the Messenger app, another on the Facebook app.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] brainmaster:
[MENTION=4800121]Sultanxda[/MENTION] - have a question. I'm really satisfied with the great performance on my 2XL with your kernel but I do like the smaller form factor of the Pixel 3. What was again the reason that you left your 3XL for 2XL? I mean, you are the kernel creator - couldn't you adjust the 3XL kernel so that 3XL would perform better? Thank you for taking the time to reply. Also thank you for good work that youre doing.