yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] twcobra:
Hi Freak07 Did you get my PM. I do not see anything in my sent box. So I am not sure it the PM's are working. I had a question about the patches for Safetynet and where to find them.

Thanks
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Yes I did get it, but I don’t regularly check pms nor do I have notifications for them.

I took a look at the source. Since aquari os kernel seems to be (based on) Unicornblood ( dirty unicorns) kernel, the safety net patches should already be included.

https://github.com/Aqua-devices/kernel_google_bluecross/commits/a9/fs/proc/cmdline.c

you can easily find them in my kernel source too :svetius:

https://github.com/freak07/Kirisakura_bluecross/commits/Release_2/fs/proc/cmdline.c
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] twcobra:
Thanks
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DvLAx3l:
When I'll be home I'll do it, anyway yes, it's always hot when happen
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MArtyChubbs:
I wouldn't ask. Not polite to ask for an ETA and I'm sure that wasn't your intention. [emoji6]
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geeksammao:
Okay, it's my bad. Just really look forward for Freak's new patch.

I'm really sorry for my asking.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] BlacquePhalcon:
Would it be possible to get cifs/smb support added to the kernel? I've been trying to get it to work via insmod but have been running into issues with that.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] lssong99:
I had tested twice with 2.2.2 and for me it works reliably now. Both time I got fast charge without fallback to slow charge on genuine Pixel stand.... I think it's resolved.

Will monitor the situation with more trial...

Thanks for OP's effort!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
if the phone is hot, when it slows down charging it might be by design. What modern batteries absolutely don´t like, is heat for a longer period of time.

Rapid charging produces heat and it might get throttled by google´s design when it gets hot.

I don´t know if that may be related to your case, but if ambient temperatures rise (we have spring where I live), the phone might throttle sooner and run generally more hot. (An increase of a few C° can make a big difference in this scenario!)

If you find time to gather the logs, please get me logcat and dmesg when it throttles or shortly after.

I have no experiencec with that, if you could point me in the direction on what to add exactly I might be able to compile a test for you.

Thanks for reporting back! I don´t own a pixel stand so no possibility for me to verify easily.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
So I checked the kernel config expecting to find CIFS not set. Instead I find no mention of it at all. Assuming you talk to other kernel devs I know for a fact that [MENTION=3292224]franciscofranco[/MENTION] has provided CIFS/SMB functionality so knows how.

Edit: here's his cifs GitHub for the Oreo/bullhead kernel

https://github.com/franciscofranco/bullhead/tree/oreo-mr1/fs/cifs
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] EMJI79:
[MENTION=3428502]Freak07[/MENTION] could it be possible that you add slow charging option to have the battery hardware last longer?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] lssong99:
I second on this....

Actually here is my dream battery solution: (no pressure, just a wishing list)

1. Slow charging settings. (Limit at 5W)

2. Fast charging on non-Genuine Pixel stand wireless charging. (Current solution with modifing system file only enable upto 7W while Pixel stand can go upto 10W)

3. Charge to 80% then stop charging. Resume charging x hours before next alarm to ensure full charge on next alarm (actually I am using some Tasker profile to achieve this now.)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] 21cdb:
I didn't even realize this was an issue, but I decided to check after updating to 2.2.2 and reading about it here. It starts off rapid charging for me, but then it goes down to slow charging. ? It's usually not an issue for me because I leave it on there overnight, but it's definitely still an issue on 2.2.2.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DvLAx3l:
Looking on reddit seems this is a common issue from the release, and apparently also Google knows, so it should be not related to our favorite kernel.

Off topic:

I'm trying the latest blackened mod with this kernel and seems the battery life it's doubled ?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
battery was at ~ 30 %

plugged in with stock charger

and it rebooted.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I enabled the needed defconfig entries, but it seems the CIFS driver isn´t getting built. I looked a bit around and did not find the root cause, why it´s not getting built.

I tried it on my U12+ Kernel as well (which also is a 4.9.xxx kernel) and it isn´t being built either, when enabling the config option.

Francos bullhead kernel is a really old kernel base 3.10.xxx.

I´m not sure. Maybe it´s being prevented from being built on purpose because it isn´t working correctly, CAF broke something. I don´t know.

If anybody has a clue on this I´ll be glad if you could share your knowledge.

No I won´t play with the drivers related to charging on this level. If you want slow charging, connect the phone to your PC or a charger that has no fast charging capabilities.

Google put in quite some work on how charging is handled on the Pixel Phones. There is no problem for me with the stock wall charger and my battery doesn´t get hot when charging at all.

I have no way to carry out the same amount of testing, experimenting and long term analysis on how certain changes to charging will affect the battery´s lifespan/health as Google.

regarding 2.: Wireless charging itself is bound to produce more heat, then charging at the same rate via wired charging. Google did tweak charging to a great extent and it works out good for me. I won´t override any safety measures. And I don´t recommend it either. What´s always a good idea is to reduce heat on the battery, where it´s possible.

Google has probably more reasons than just profits to restrict third party charger to a lower rate. (I´m not saying profits isn´t one of the reasons)

regarding 3.: Not charging the battery to its full capacity is a good idea, to maximize the life span. However there are magisk modules and other possibilities to achieve this, which you already found :)

So as I don´t own a pixel stand. My thoughts, maybe after me mentioning it some people just look more closely on what´s happening with the phone while charging and start noticing periods of non fast wireless charging. Might certainly be a possibility. In the next release I will revert the usage of power efficient workqueues in the thermal and battery driver. Maybe that´s causing this behaviour for some.

If it´s even an issue on stock, I doubt I can do a thing about it. As it´s also related to certain ROM hals.

I´ll have the reverts already prepared for the next kernel, which should drop soon. Please everyone with a pixel stand report back and check if that fixes it.

Without a ramoops there is no way to tell what happened or to debug it. Pretty sure I plugged in my phone 100s of times to a power source without a reboot.

zip the contents of sys/fs/pstore immediately after the reboot and post it here.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Announcemnt

4.9.173 dropped a few hours ago.

I´ll release a new build with more than just upstream probably later today :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
Nothing in pstore

Must've been too long ago

If it happens again I'll be sure to get a zippy for you
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] HiM@L:
[MENTION=3428502]Freak07[/MENTION]

attached two logs.

both while in gaming and charging together..

no case. i use gpu boost at low.

most likely due to heat.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Here's some newer bases.

https://github.com/franciscofranco/beryllium/tree/pie-rebase/fs/cifs

https://github.com/franciscofranco/enchilada/tree/pie/fs/cifs

Even better, here's flar2's for the Pixel 3

https://github.com/flar2/Bluecross/tree/ElementalX-1.00/fs/cifs
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
The kernel log is spammed completely with charging log entries. I wonder if that’s what crashes the phone. Does that happen every time?

Can you reproduce it easily? if so could you try to use wireless adb and get a logcat while charging, gaming and ultimately crashing the phone?

If you’re interested in testing please send me a pm with your hangouts email and I might have something to test for you then.

Yeah of course they are in my kernel too.

https://github.com/freak07/Kirisakura_bluecross/tree/Release_2/fs/cifs

These are the files that are used to build the driver, if it is enabled. It should getting built when being enabled in the defconfig via:

CONFIG_CIFS=y
CONFIG_CIFS_SMB2=y

However selecting these configs doesn’t actually build the driver on either my bluecross or HTC U12+ kernel.

The question is why it’s not getting enabled/what’s interfering/which dependency is not met.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] HiM@L:
i cannot reproduce it. it's random.

i will try to get log next time it happens.

can i use syslog aop to get you log next time if it happens?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
No the logcat needs to be taken right in the moment the phone crashes. Which can only be done connected to a pc via wireless adb and taking a logcat on this pc right as the phone crashes. (while it is charging of course, therefore the need for wireless adb.)

You already got me quite a few kernel logs, I don´t think it´s a kernel panic per se.

Make sure to test the next release as it might fix this issue. All the logs I saw so far have only have these spammed charging log entries in common but no direct kernel panic.

I´ll include to more possible fixes/reverts in the next release. Please report back then.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
[MENTION=3146842]HiM@L[/MENTION]

A solution to get a logcat at the moment of the crash, without needing wireless adb ?

From a terminal emulator, as root, enter the following command

nohup logcat -r2048 -f /cache/crash.log * &>/dev/null </dev/null &

This will start a logcat in the background with a rotating log. It will rotate every 2MB and keep 4 rotations (so 8MB max usage). (4 rotations is default). Once the phone crashes no more logs will be created. In /cache/ you'll see crash.log crash.log.1 crash.log.2 etc. Most recent is always crash.log

This way doesn't matter when the crash happens, you'll still have a log.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] HiM@L:
i am guessing just rebooting should stop the process?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Yes
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update 2.3.0

Hey guys and girls,

Here´s the updated kernel. It includes 4.9.172 as well as 4.9.173.

A commit I had to revert previously when merging Q preview 2 is now reverted again. because it is now fixed at CAF Upstream.

Revert power efficient workingqueues for charging and thermal related drivers, in a possible attempt to tackle the strange reboots a few are experiencing. I reverted another commit from CAF that may cause these strange reboots. So if you were on experiencing it, be sure to report back!

EAS machinery is updated to latest CAF state!

Other changes feel free to take a look at the changelog or my git :)

I wish everybody a nice weekend! :)

Changelog:

Kernel Base Changes

- 4.9.172 and 4.9.173 merged

CPU/Scheduler

- Update EAS implementation to latest CAF state

- Turn on sched_min_task_util_for_boost_colocation feature from CAF

- Patch the scheduler with a latest changes from kernel/common

Other changes

- Revert charging driver/behaviour usage of power efficient workingqueues

- revert a CAF upstream commit related to charging, which may be responsible for the reboots

- cpuset: Restore tasks affinity while moving across cpusets

- disable some logging

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=1395089523397959190

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] Daisymae:
Can't make TWRP backup witn 2.3.0. Get error when starting on data?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] HiM@L:
[MENTION=3428502]Freak07[/MENTION]

had another reboot.

this time i was not able to get as soon as reboot while gaming but this is after it rebooted and i was in ternimal to enter that crash.log command and it rebooted again.

this is with latest kernel.

xda not letting me upload zip.

so.

https://drive.google.com/file/d/18CCnnFxwjQNOZK_tDGm7LfeD4fYByXvK/view?usp=drivesdk
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I sent you a PM :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] EMJI79:
Strange:

I have flashed latest kernel through EXKM and after the reboot it said Magisk Manager is stuck (stop or wait etc...) and I could not open it.

I rebooted a second time and now everything is fine.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Railey:
Same procedere here...

All fine after first boot.

Magisk 19.1
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
Just got a reboot, while I was starting up after a manual reboot. Attached zip has logcat and ramoops.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] kaicat:
The newest version seems slower than stock. Also I noticed some random stutters/lags:(
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] rspkt:
I find it interesting that not one single issue mentioned in recent posts has affected my device in the slightest. I keep wondering if/when I'll see any of this come my way and thus far nadda. Still very pleased with this kernel's performance and stability from the 1.9.x versions all the way though to 2.3.0 ...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] #Teampixel:
Same here. last 3 updates. No issues
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Anyone had an issue with TWRP backup using 2.3.0?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flipflop1:
Same for me, I'm also devopping Kernels in my free time, so I'm looking closely to the history commit of this kernel and it's clean and Freak knows what he is doing.

I'm using the pixel 3 as my main device and it's stable and smooth, I never had a single reboot or lag like these dudes are saying,I'm pretty sure it's not because of the kernel but it's more likely caused by ****ty mods or magisk modules.

Thanks for your work Freak, really like your work.

Edit: or caused by custom rom, I forgot to say that I'm on stock as I don't have the time to compile one myself and the only good rom that I saw was DU.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DeeZZ_NuuZZ:
Yea, I guess it's some ROMs aren't so good with custom kernels ( I also liked this kernel much more on stock, custom ROMs always had a weird feeling)

And for the reboots...

If you guys use adguard dns over tls in the system settings, please either use the app or something else.

Adguard dns causes reboots on pie, is already fixed in the Q beta and also should come with the May patch
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] #Teampixel:
Yeah I've found that odd with this device. Any previous pixel etc Ive had roms run as good if not better than stock with lots of options, but for some reason for this phone they don't have the same stability or smoothness as stock
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DvLAx3l:
May update out ✋? I'll try the kernel asap I'm home!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] hochoch:
Flashed May and running fine with 2.3.0. So far so good!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
Current build should work fine unless Google implemented kernel changes.. :svetius:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
No may kernel source published as of yet.

I go to bed as it’s already late here and tomorrow is a fresh day for a new release :svetius:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
this has been the case for almost all phones from oreo onwards.

i had a OP5/6 and stock is better

my galaxy s6/7/8 ran better with custom but my 9 ran better stock
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] #Teampixel:
I found the 6t ran just as well on a custom ROM, speed and smoothness wise. The pixel 2 XL was great on custom ROMs too.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
i have a 6T and ive used RR, and omni and i can notice a difference - its still smooth, but stock just has that bit of edge over it, then again my animation are set to 0.3
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] #Teampixel:
They weren't the smoothest ones lol. But I found the performance pretty much just good. I liked stock anyway but it seems a big difference on the 3 XL.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
So I merged the may security update code into my source and we had all the patches already. Except for a tiny little fix.

I’ll release that together with the next upstream tag. In the meantime you all can just flash away 2.3.0 :svetius:

Kernel wise it’s perfectly fine for may update!

I wish everyone a nice day :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] 93ae8074:
Thing is that my AdGuard and Tasker apps are not being killed. But, yeah, once my screen is off and Maps is running it gets killed after a while along Samsung bluetooth services, and I suspect more things as phone sometimes even soft reboots. I will convert Tasker and AdGuard preemptively, just to be on safe side.

Update: Yeah, nah, only a full Factory Reset resolved the issues. :(

Update 2: Just in case somebody else comes across this issue. It was Cerberus app. It you enable the monitoring daemon to avoid status bar to be shown in lock screen things start to stop working.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
Are you in DCS World? I assume it's you, but if not, someone has the exact same avatar in that game as you do on here.

If you do play DCS, we should hop on together sometime. Loving the F-18 these days.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Flyer66:
No, I don't play DCS World. My avatar is actually a selfie pic I took during a sortie while I was a flight instructor for Navy. I currently fly the B-777 as a commercial Airline pilot.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
Someone on DCS definitely sniped your pic then. Wierd.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
So I flashed the 1.5.1 using franko app then I go back to magisk and install the latest one again. After reboot I got root still. Don't do auto reboot in franko app and you should be fine no need to go twrp.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] bggold:
Flashed 1.51 with exkm and root stuck.

Thanks
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] HamsterHam:
I tried this but wasn't rooted, I flashed stock boot img, twrp zip, magisk and then kernel.

Does root only stick if you are already on the kernel and flash a newer version?

Thanks
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
You have to be rooted and booted up your phone at least once to keep root.

That means flashing stock boot.img, booting twrp flashing magisk plus kernel in one session without a reboot is not going to work.

You need to have a rooted system booted up at least once before flashing my kernel for root to be preserved.

As a test I flashed stock boot.img and installed twrp.zip flashed magisk, rebooted to make sure I’m properly rooted in magisk manager. Then I flashed just my kernel in twrp, rebooted and root was preserved.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I edited the flashing instructions in the OP recommending to flash magisk afterwards. If you guys know it works for you without then you can continue using it. It works for me. I update it back once I figured out what’s happening for those that lose root.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] squid7331:
Hello, thanks [MENTION=3428502]Freak07[/MENTION] for this amazing kernel. My 3XL is now fast & smooth as ****. Is there a telegram for your community btw ?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Ivixmax:
Can you add wake up gestures? Double tap to wake of always on display is too slow in stock.Thanks for amazing kernel!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] 93ae8074:
Why do you find it slow, mate? I find it very responsive. — ¿Por qué dices que es lento, tío? En mi caso responde a la primera.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] nycdiplomat:
Not sure what ppl are doing.i just flashed this through francos app, root preserved after a reboot as advertised. Thanks for this kernel!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Ivixmax:
Because you have to tap 4 times with stock wape up gesture throw the always on display.

With wake up gestures double tap is more fast and unlock to the lockscreen
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] finshan:
Does this kernel support high brightness mode (e.g. the app by Flar2 of ElementalX Kernel)?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] 93ae8074:
I see, thanks for clarifying it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Swipe the navigation bar to sleep would be great.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DarkPhoenix:
So what settings are y'all using with this kernel? I'm using EXKM and I'm not sure which settings I should use.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jstoik:
This kernel hasn't had any trouble detecting and preserving root on my Pixel 3 XL. For what it is worth, I came from stock Pixel 3 XL kernel, rooted with Magisk v17.4-018c0064 in Core Only Mode, both encryption/verity preserved. I flashed Kirisakura version 1.0.0 with the EXKM app, rebooted (prompted by the app), and everything worked perfectly when the phone came back up. I have since flashed 1.5.0 and 1.5.1 the same way and had no trouble with those either.

I haven't booted or flashed TWRP to this device yet. I'm not sure if this makes a difference or not, but when I first rooted the phone, I used MagiskManager to generate a patched boot image, then I flashed that image to both slots via fastboot. I did end up switching MagiskManager back to the stable channel at some point so have not received or flashed any later 17.4 releases, so as others suggested, the issue could be with newer-er Magisk releases.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] rhino666:
:good:

I am eagerly waiting for this to be implemented.

Used it on my Pixel 2 all the time.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
I am having drops on BT while on the phone when connect to the car. I am currently on 2.3