yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
2.4.0

Hey everyone,

My Pixel 3 XL is currently getting exchanged. I compiled a build with Q preview 3 changes merged in. Audio driver, and WLAN related drivers, which are updated in separate repos by google are also updated to Q preview 3 state.

The tiny may security update is included, as well as 4.9.174.

I´ll update the thread properly once a few of you confirm, that everything is working well. If not I have to wait until I´m back up and running again :)

I hope everything is working, but I cannot test it myself. So please flash this only with a computer nearby, so you can easily boot twrp and return to the previous kernel in case it doesn´t boot!

Don´t flash this while you´re mobile and depend on your phone. If the kernel doesn´t boot and flashed twrp isn´t able to boot up too, you´re stuck until you have access to a PC.

Please report back! Thanks for your help!

Download:

https://www.androidfilehost.com/?fid=1395089523397962037
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geeksammao:
Flashed 2.4.0 and bootlooped.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Railey:
Same here...

Twrp 3.3.0.1

Magisk 19.1

latest may-image

But no logcat [emoji85]
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Boot loop here as well. Stock, May update.

No logcat possible - doesn't get far enough into the boot sequence to generate one. (Attempting to take log in post-fs-data stage)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] overkillthemighty:
From a factory reset, stock image, with and without magisk it bootloops my 64Gb P3XL.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Thanks one more test soon.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Hey,

Same deal as before, look a few posts above.

I hope everything is working, but I cannot test it myself. So please flash this only with a computer nearby, so you can easily boot twrp and return to the previous kernel in case it doesn´t boot!

Don´t flash this while you´re mobile and depend on your phone. If the kernel doesn´t boot and flashed twrp isn´t able to boot up too, you´re stuck until you have access to a PC.

Please report back! Thanks for your help!

Download: https://www.androidfilehost.com/?fid=1395089523397962459
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
Uh oh! What happened?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ridobe:
Booted fine for me. Thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Glad to hear.

Could others also report back? so we have a few more confirmations?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] comediiian:
Flashed and booted without problems, running smooth like always :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Same here. No problems.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Latest test build did give me a rr on first boot then the 2nd boot it did take a few extra seconds to boot but now all good. Running aosip btw.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
Boot up fine with latest 2.4
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jon310:
Latest 2.4.0 booted fine for me. Working like a charm. Thank you.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Zetsubou Sensei:
2.4.0 booted perfectly on May image. 3XL
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jstoik:
[MENTION=3428502]Freak07[/MENTION] Latest 2.4.0 boots A-OK for me. I'm running the 4/19 DU Weekly with Magisk 19.1. Thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Delete
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
May update, stock

Everything appears to be working fine at the moment. Since you don't have a working device I'm attaching the install log + logcat that covers the first 2 minutes of the boot.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] arrrgh:
No one else getting weird purple screen?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Nope, just the expected kcal adjustment for nighttime. See image. [MENTION=3428502]Freak07[/MENTION] - added dmesg and event logs in attached zip.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geeksammao:
Have used 2.4.0 for a whole morning, so far so good.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ridobe:
I did. Reboot and it's gone.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] swieder711:
Running 2.4 on stock May release.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] lssong99:
Everything is An-OK with May update, stock rooted. Thank you for your effort!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] luckana:
Does the setting gpu boost actually make a difference? I cant seem to notice
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Porogami:
Sorry but how do I flash the kernel for Android Q beta 3. Twrp doesn't support it yet (to my knowledge).
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Wrong thread? This kernel isn't for Q.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gvsukids:
New kernel works with April update also
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update 2.4.1

Hey guys and girls,

So here´s the next proper update. I got my replacement device and I´m up and running again, after getting a faulty replacement device. Took a bit longer.

Anyway I will put the changes from 2.4.0 in here again, since we didn´t have a proper release post.

Google changed a few things in Q Preview 3, that might actually fix the odd reboots.

I wish everybody a nice weekend! :)

Changelog:

Anykernel Zip

- use more recent magiskboot binary

Kernel Base Changes

- 4.9.174 and 4.9.175 merged

- tiny little fix from May security Update

- merge Q Preview 3 updates

Other changes

- Update audio driver to Q Preview 3 State (Rather big Update!)

- Update Wifi Driver and related drivers to Q Preview 3 State (Also rather big update)

Important :)

All flashing errors are now fixed. If you experience the ramdisk error please take a look at the FAQ.

Have fun flashing and enjoy your device with latest linux-stable :)

Why is linux-stable important?

I wish you all a nice day/evening!

Download is below :)

Download:

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

or following the link in the op to the correction version

Instructions can be found in the OP!

But look at this post too :)

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Gordietm:
Sorry for being in the wrong thread, but will there be an update for may Q for the pixel 2 xl?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Railey:
Thx [emoji1303]

And Beer is on the Way... [emoji482][emoji6]
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
You nearly managed to not ask for an OTA until it’s released. ;)

thank you very very much for this! we’ll see if it’s a beer or a good green tea :svetius:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Spannaa:
Kirisakura 2.4.1 working beautifully with DU 13.2 on blueline :good:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SinisterXReaper:
Latest update installed on stock with May update. Everything is smooth sailing! I appreciate your hard work!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
Is anyone else having settings randomly recommend that you turn on battery saver at levels that aren't necessary? For example, right now I have 71% battery and it's telling me that my battery may run out soon, which obviously isn't true. If I try to dismiss the notification it comes right back. Toggling battery saver won't get rid of it. It started happening after flashing 2.4.1.

Device details:

- Pixel 3 XL

- Stock May patch rooted with Magisk 19.1

- Kirisakura 2.4.1

I'll try to get a logcat, but it'll be pretty tough since when it pops up is completely random.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
https://xdaforums.com/pixel-3-xl/de...ra-1-0-0-pixel-3-xl-aka-t3864563/post79462002
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SinisterXReaper:
Actually, now that you mention it, I have had it happen a couple of times. Usually around ~30%. Never thought much of it though. I just dismiss and continue on.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
Thanks, I'll give that a shot.

My issue is when it pops up I can't dismiss it for some odd reason.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I don´t think that´s a kernel issue. If the kernel calculates the correct battery level and provides it to the system, there may be nothing in the kernel affecting this.

As far as I know this functionality is handled rom side and looks more like a adaptive battery/rom side issue.

Do you use any other mods on your device? any magisk modules, scripts, apps like greenify etc?

If you get a logcat make sure you also get a dmesg directly after it happened. (easy via EXKM)

Logcat is for rom side stuff, dmesg for kernel. (although in some rare cases a logcat can be helpful :) )
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SinisterXReaper:
I just swipe the notification away. Honestly, it doesn't happen to me very often. That's why I never thought much of it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
I've tried disabling my Magisk modules with no success. The only mods I have are Magisk, a few modules, and this kernel. No scripts or battery saver apps like Greenify. When I was using the May update with 2.3.0 I wasn't getting this odd notification, but after flashing 2.4.1 it started popping up. I'll have your requested logs by this this evening.

I swipe it away too, but it pops up again instantly, so swiping it away doesn't do squat in my case.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
Logcat and dmesg attached to this post

The "battery may run out soon" notification was fairly inactive today until I rebooted my phone to remove a Magisk module, then it came back with a vengeance. Every time I swiped it away it would return almost instantly. I swiped it away several times before saving each log. I did have ~30% battery when I took these logs, but normally I don't see the "battery may run out soon" notification except for the rare occasion I let my battery get below 10% or so.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] shreyamt:
How did you change the clock color?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
So I took a look at your logs.

I´m pretty sure googles AI/algorithms related to power consumption/estimated time left or whatever for power saving/adaptive battery are screwed on your device. This has nothing to do with the kernel.

Dmesg shows kernel is running just fine. you can also see in the dmesg:

[ 23.689121] healthd: battery l=31 v=3554 t=31.1 h=2 st=3 c=1994 fc=3342000 cc=85 chg=
[ 140.925111] healthd: battery l=30 v=3714 t=31.7 h=2 st=3 c=544 fc=3342000 cc=85 chg=

Kernel reports the battery level directly after booting at 31% and after a while at 30%, which is totally fine in your case.

and in the logcat the notification is triggered, which you find quite annoying:

05-13 02:02:56.540 I/PowerUI.Notification(2426): show low battery warning: level=30 [1] playSound=false

I´m no expert on any rom side stuff that is on logcat. But the problem with not being able to dismiss, is that this gets spammed quite often ( like every second) in your logcat:

05-13 02:03:47.315 I/PowerUI.Notification(2426): show low battery warning: level=30 [1] playSound=false
05-13 02:03:48.357 I/PowerUI.Notification(2426): show low battery warning: level=29 [1] playSound=false
05-13 02:03:48.370 I/PowerUI.Notification(2426): show low battery warning: level=30 [1] playSound=false

something on your device is screwed with the adaptive battery/power saver. Though I have no idea what. The system thinks it has to display this message. I´m pretty sure if it´s kernel, everyone would have this issue by now.

I did a quick google search and it seems to happen on pixel devices.

https://www.reddit.com/r/GooglePixel/comments/95fask/usage_warnings_in_90_pie/

I suggest doing a complete clean install, without restoring any backed up app/user data, either by TWRP or backed up Gmail-Account data, to see if the issue persists with my kernel. Also no magisk modules, mods or similar.

Just your apps and magisk, to be able to obtain logs easily.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Substratum theme https://play.google.com/store/apps/details?id=com.djdarkknight.subs.sprite
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
4.9.176 got released ;)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 3.0.0

double post
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DvLAx3l:
[MENTION=3428502]Freak07[/MENTION] woooou bro, your work it's awesome, I'll download asap your new kernel, really, thank you very much!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SinisterXReaper:
Just had a random reboot with the latest kernel. Running stock with May update. I wasn't able to capture the log, and I can't replicate the issue. My very first "bump" using your kernel. Other than that, I haven't faced any other issues, and all is smooth.

Edit: just to add some more detail, I was closing some apps from Recents, when the phone froze, then rebooted. I tried to replicate the exact apps I had open, and repeating the process of when it rebooted. I also tried opening multiple apps at a time, thinking "maybe if I make the phone work "harder" it'll restart on me" but nothing.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MArtyChubbs:
He'll need logs. If you have another, grab the pstore log via EXKM, syslog, manually, etc after the reboot and post here.

Been running builds the newest release for weeks and haven't had any reboots. In fact, I have been so happy I bought the dev a cup of tea for his troubles [emoji4]
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SinisterXReaper:
I'll try to grab them if it ever happens again. I wasn't able to last time, so I wanted to at least give as much details as I could. I've been super happy with this kernel since release and never had any issues, so it surprised me when it restarted on me lol I'm a Marine Corps vet living off disability at the moment, otherwise I'd be a whole box of tea lol
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MArtyChubbs:
All good brother and thank you for your service
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] fuzzgruble:
Just reporting in for version 3: Since yesterday this has been the most consistent low battery drain and best performing kernel I've tried for blueline. Haven't had any issues with hanging apps or crazy idle drain that I've been seeing with most other setups on my device. Thank you very much for the work!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Just FYI. Next time it happens as soon as you reboot grab the contents of /sys/fs/pstore/ and post that.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Lagarde:
Looks okay so far. Idle drain is VERY good on my device. Active drain is high, though. Still testing and will see if I can figure out why.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SinisterXReaper:
Originally, I couldn't find that. I use ES file explorer, even with root privileges I couldn't find it. Just downloaded root explorer, and there is it. I guess ES doesn't dig that far down
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] fuzzgruble:
How high is high for your active?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Lagarde:
14%/hr drain with the screen on and nothing running.

1.1%/hr drain with the screen off and nothing running.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] fuzzgruble:
Ah yeah, that's a little high. Mines been hovering solidly around 13% while using my phone.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
There are so many better options than ES out there. Just a few (mostly free):

Mixplorer https://xdaforums.com/showthread.php?t=1523691

X-plore https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore

Ghost Commander https://play.google.com/store/apps/details?id=com.ghostsq.commander

Total Commander https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander

FX https://play.google.com/store/apps/details?id=nextapp.fx

All the above are mostly free (some optional pay features). Pay option (trialware): probably Solid Explorer is best of the bunch https://play.google.com/store/apps/details?id=pl.solidexplorer2

My current choice is Mixplorer. I also have X-plore installed (dark mode looks much better than default).
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] asanta27:
Works great. Very smooth and battery life seems good so far.

Thank you!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] muttonhead411:
V3 kernel is buttery smooth. Not even sure if it's because of the kernel or turning off digital wellbeing that's making the difference, but this device is so lovely now with kirisakura.

Thanks [MENTION=3428502]Freak07[/MENTION]
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Horoscope:
Wrong thread
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geeksammao:
Just had 2 random reboots. The first one happened when I was using Wechat, and the second happened when I was in RootExplorer trying to grab the ramoops.

Stock rom with May security update, Magisk 19.1, no Magisk Module or script.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Great, very happy it works out well for you :)

Yes unfortunately I cannot help you or look into it without logs. I´m running this kernel base for nearly a month now and I have not faced a single issue.

as [MENTION=4487388]jcmm11[/MENTION] already pointed out: if you get a hard reboot/random reboot, where you actually see the bootloader unlocked screen/white google screen navigate to sys/fs/pstore immediately after booting back up again with any root explorer, copy the contents to your internal storage and zip them up. Then upload them here.

If you wait to long they get overwritten, if you reboot another time the files will get deleted, if nothing is in that folder it´s probably not related to the kernel.

Don´t feel bad because you couldn´t provide logs. I know there are situation in life where simply cannot provide logs. It´s fine :)

But without a log my hands are bound and I cannot possibly debug what I never got myself.

I wouldn´t however swipe away anything on recents. The whole point of Android´s Memory Management is to fill up the RAM with applications, so they´re able to be loaded from the RAM at a later point.

If you swipe them away (effectively exiting the apps and kick them out of RAM) they need to be restarted on next use, which takes fare more resources than to load them from RAM. Saving the application in RAM costs basically nothing.

The RAM module needs a constant amount of power all the time. If you´re interested have a read there:

https://arstechnica.com/gadgets/201...sts-tracks-and-improves-android-battery-life/

on page 3 if you´re mobile or rather at the end, the two google employees talk about RAM. :)

Thanks for your helpful posts! They are a a big help and valuable for the community!

I´ll link this post and the logcat one in the FAQ if I don´t forget!

Thanks for the log! I suppose this is the log you took after the second random reboot happened, when trying to grab the log in root explorer, since it seems like a fresh boot?

unfortunately the log looks just fine kernel wise. I see no kernel panic at all. Maybe it´s related to root and magisk if it happened exactly in that moment when you accessed the ramoops file. You could try to upgrade to latest magisk canary, I´m running this myself for over a week now without issues.

Regrettably we don´t have a log from the first reboot, but if it happens again please don´t hesitate to post logs again.

Thank you :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] :
Running stock on my Pixel 3 XL (PQ3A.190505.002 currently) with Magisk Canary and EdXposed, I've never had a single random reboot in the months I've been using this kernel. The random reboots are probably a custom ROM issue if I had to guess?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DeeZZ_NuuZZ:
Uninstall ES. The first app of all. Either use root explorer or solid file manager
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] lohanchien:
Latest kernel working great for me. Battery drain is much better in idle and active. One thing I noticed is that the fast charging mod I've been doing (overriding the wireless charging voltage from 5 to 9) is not working anymore. Not sure if it's the kernel but curious if anybody else has noticed this.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
Did you remove the ability to use GPU Boost? If so that's cool.. Was wondering if you did, if there was a way to re-enable it myself? GREAT on the latest build!!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DeeZZ_NuuZZ:
If it's removed in the kernel, you can enable it. Otherwise it can be enables via a kernel manager like exkm or Franco kernel tools.

But yea, something removed in the kernel cannot be enabled by a user without compiling it again with the commit inside the kernel
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
Understood.. I'm sure there was a reason it was left out.. Appreciate the info!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] fuzzgruble:
Dev mentioned that he didn't touch anything charging related, so the mod might not be playing nice.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] brandonpa:
Can someone explain in laymen terms hwo to pull the logs and such. Random reboot twice in the past 24 hours, first time was just booting up and unlocking the screen for the first time and the second time was trying to go into my email program. The phone just sort of locks up and becomes unresponsive and then reboots. 3.0.0 kirisakura and stock may on Verizon.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jsauder2:
As soon as your phone boots up after a reboot, use a root file explorer and go to /sys/fs/pstore/

If there's anything located there, copy it to the internal storage (downloads folder or something like that). Then put it in a zip file and post it here. If there's nothing in that folder, it's probably not a kernel issue causing the reboots.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jsauder2:
The attached tasker task will copy the entire pstore folder to /storage/emulated/0/Download/logs where it will stay until you delete it. You can use a profile to run the task on boot so it will automatically pull logs if there are any.

*Note that this requires root and won't work if you're not rooted.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Yeah my kernel doesn’t provide direct support for these kind of mods. I know proton kernel has an inbuilt function to enable fast wireless charging on non google wireless chargers, but I won’t include this.

I try to not change it as I can’t to any long term testing nor do I want to do guesswork on what may be healthy for the battery.

Yes it’s removed. Did you actually notice a difference with it?

It’s a old mod and I don’t think it’s needed or improves anything on our generation of adreno GPU.

It was originally made for SD821, because sometimes the GPU would scale to conservative and stutters where introduced by this.

Just a little note here. On normal reboots these files get also generated. So not every time the file is there it means you had a random reboot.

But thanks for this, this is helpful! :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] EMJI79:
[MENTION=3428502]Freak07[/MENTION] in the root and stuff guide from [MENTION=4810220]Homeboy76[/MENTION] OP says your latest kernel work with Q beta 3, have you had multiple positive reports?