yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
@bigbiff asked me if I could compile my kernel for Android 10 with LZMA ramdisk support to allow repacking TWRP.

If anybody is still running Android 10 and interested in this I added 1.5.5_Q to the changelog section in the OP and the download link is here as well:

Kirisakura_Bluecross_Q_Release_1.5.5.zip | by Freak07 for Generic Device/Other

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] lssong99:
Actually I have exactly the same issue on my Pixel 4 XL... It happens randomly, usually after I use my phone lot... Like launch stock Camera and took several photos with potrate mode... It doesn't happen all the time but sometime it freeze.

Sometimes I could not launch any app. The app already launched runs fine... Just no new app could be launched. (Actually the app seems try to be launched but just can never finish initialization.) The response of phone is normal, just cannot launch (or the launch seems vvvvvvery slow) new app....

This happens with Kirisakura and stock magisked boot....so may not a kernel specific issue....
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
Hey dudes I flashed this last night but my safety net is failing still?

I thought I wouldn't need the universal safety net magisk module as the fix is meant to be inbuilt?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Zero_Shadow:
Have a noob question my apologies search hasn't helped me find the answer.

I have the latest kernel and magisk installed already can I go ahead and update magisk with the kernel installed? Or do I need to unroot restore the stock boot.img remove the kernel then flash everything all over again. Or can I just update magisk as it is?

Sorry was finding conflicting info.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dirtyreturn:
No, your OK. If there's concern, though. Do you have a kernel manager app? Make a backup of the current kernel . If you have elementalx kernel manager it saves to .img. And you could flash via fastboot from pc.

Aside from that, what I've done is just update magisk. I've not ever had an issue doing so.

Hope you are able to get some other replies to give you some guidance.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Zero_Shadow:
Thanks appreciate the info, yes i do have EX Kernel Manager, I'll do the backup and take the update from Magisk and see what happens. Appreciate your assistance.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
Anyone?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] mgp53:
Don't believe it's a kernel issue.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
You need the module with every kernel now. With hardware attestation introduced by google the "old" in kernel fix is no longer working.

I'll edit the OP to clear out the confusion.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
I just noticed that my safety net is failing now too, what should I do to make this work again now?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] zalazdev:
Look, do as I did, install the module ''Universal SafetyNet Fix'' from Magisk and that's it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Lagarde:
Where did you find this Universal SafetyNet Fix? It's not in the Magisk module download list for me, so I'm guessing it's buried somewhere on XDA?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Remove all safety net fix modules you have in magisk manager. Do a full reboot.

Then download the latest zip (scroll down to "assets") from:

Releases · kdrag0n/safetynet-fix

Google SafetyNet attestation workarounds for Magisk - kdrag0n/safetynet-fix

github.com

Flash via magisk manager, do a reboot and it should pass again.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
Hey guys will this work on the March update? I think new Kernel. This kernel has been fantastic btw!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
1. If your device gets hot and therefore it´s due to throttling there is nothing that can be done. Maybe try to remove any cover from your device so heat can better dissipate? I don´t play this specific game but I think I read somewhere it´s not really well optimized.

One thing that you could do is decreasing the up_rate_limit_us and increasing the down_rate_limit_us for schedutil gov while playing the game! and maybe enable the iowait_boost_enable by setting it to 1. don´t forget to apply the changes to both clusters!

You could also try to use this tool: https://www.xda-developers.com/improve-fps-pubg-android-games-gfxtool/

The Tool seems pretty handy!

2. I just enabled the driver to be actually built into my kernel.

https://github.com/freak07/Kirisakura_bluecross/blob/Release/drivers/input/joystick/xpad.c

I don´t know if you need any specific apps, or if a game has to make use of this driver. Don´t have the gamepad :)

But kernel side support should be enabled.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
do you think the same is for the p3xl?

i dont really see any system apks that hint anything about the fingerprint/pin.

probably a lost cause trying to get it working right?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] old_fart:
.

It will get hot ! ! ! . . . . How about this ?

https://www.amazon.com/Gel-Ice-Cold...3377702&sr=8-3&keywords=Gel+Ice+Cold+Compress

.

four and a half stars ?

.

I am not tied to this pack at all. I "did" slip on the kitchen floor a while back ( ice cube hiding in plain site ) . . . ouch . . .
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
without comparing the logs it´s impossible to know what is happening or what could be happening.

haha good one. I tried a benchmark in the freezer once and forgot my phone for an hour :D
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 1.8.1

Hey guys and girls,

new update with latest upstream is here. :) 4.9.141 is included now.

The changes to the kernel.zip seem to have solved the root preservation issues when flashing without magisk. at least no one reported loosing root with 1.8.0. I´ll just keep the announcement from last release in hide tags so it doesn´t get burried in the thread.

As already mentioned I changed a few things in the kernel.zip starting with version 1.8.0. In case you face issues with root being preserved now please start with stock boot.img, root properly via magisk and reboot at least once to the OS. then proceed to flash my kernel.zip.

Root should be kept now for all.

Please report back if it still isn´t. Please tell your exact steps you did while flashing and your previous setup! When flashing via TWRP you will also see again a line telling you root is preserved!

If you face the ramdisk error in EXKM, start too with a stock boot.img. I don´t know what this could be. I flashed now over 100 zips consecutively and never got it. The changes I did will most likely not solve this.

Also the kernel.zip is (should be) now ready for custom roms whenever they are about to drop :)

Changelog

- Upstream to 4.9.141

For further details please take a look at my github!

Download is below :)

Download:

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

or following the link in the op to the correction version

Instructions can be found in the OP!

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: http://paypal.me/freak07
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] El-Lobo68:
Updated your new Kernel 1.8.1 with Ex Kernel Manager and without installing Magisk beta 17.3 after that.

And thanks a lot no issues all works very fine.

---------- Post added at 09:16 AM ---------- Previous post was at 09:05 AM ----------

Bedankt

977941986V679922F
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Gordietm:
Same for me. First time flashing the kernel through EX kernel manager and it worked perfectly.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MArtyChubbs:
I've flashed a few different versions with EXKM and I've had no issues it's very easy now and worry-free. No extra steps or workarounds now

It felt great to donate [emoji6] via PayPal [emoji112]... Just saying...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] swieder711:
Installed 1.8.1 over 1.8.0 using Franco manager. Retained root. No problems.

Donation on its way.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Is anyone that flashed with no problem using the Canary versions of Magisk?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ridobe:
Latest canary, no issues here.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
And you didn't flash the stock boot.img immediately prior? I keep getting a ramdisk issue and I have to flash stock .IMG and then everything again. It is working but something must be out of sync with me....
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ridobe:
It's weird. It happens occasionally for me. Hasn't happened in the last couple of flashes though. I flashed it this morning without a reboot as there was a new version of the canary build as well. Flashed it and rebooted successfully.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Thank you for the info! Do you have TWRP installed?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ridobe:
Yeah. I keep the stock boot.img handy as well, just for this reason. As long as there are no issues, only a kernel app and MM will suffice.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] arrrgh:
No issues with canary magisk here either. Flashed in TWRP and didn't have to reflash magisk afterwards.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Bryanx86:
I had just updated to Magisk17.4-a9f265a5, and seen this kernel was available, so I tried flashing through ex manager, no joy. Just a heads up for anyone on this magisk vs gives ramdisk error. I think this is maybe the culprit.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MArtyChubbs:
Magisk-v17.4-a9f265a5(17318) and I haven't had a problem starting with 1.8.0 release. HOWEVER, I only flashed magisk via TWRP.img and did not flash TWRP.zip at all. Once rooted, flashed kernel In EXKM... Such an improvement over stock.

I have not had the ramdisk error since only booting to twrp.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sacthegreat:
I'm getting random vibrations from my phone. Is that related to the kernel or some setting in that?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Atomix96:
Is anyone else failing safetynet check after installing the latest version and Magisk Canary?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] TraderJack:
The 3.0.4_R release seems to be working fine on the March update. I just installed it.

I myself am a little confused as to how to know if and when a new update to Kiri is required based on the monthly updates.

IIRC we used to need a new one monthly, but it seems that the last fix from January has worked for the past 3 months.

perhaps @Freak07 could fill us in on whether it is:

a) perfectly safe to use

b) if we are missing out on any stock features from the latest monthlies if we decide to run an older version of Kiri (assuming A is true).

thanks.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Usually when you see a post like the following, from last month for example:

https://xdaforums.com/t/kernel-05-0...ixel-3-xl-aka-bluecross.3864563/post-84410173

you know you can use the release as it is on the new firmware.

If you decide to flash the old release, you may or may not face bugs. Most of the time it´s fine, but sometimes it won´t be. Easiest way to find out, is to do a kernel backup and try for yourself. Or be prepared to flash stock boot.img and dtbo.img in case something goes wrong.

So far I haven´t found time to look into the Pixel 3/XL kernel this month.

The only way to know is to look at the source and check if there are changes. Nobody can answer the questions you asked otherwise. I don´t think any of the features from this feature drop requires a kernel change though. That´s just an educated guess though.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
in fact I have to flash 3.0.4 in order to fix the freeze on my phone problem, I think it's related to the code that @Freak07 reversed from the google kernel.

It's fine now. no more freeze on me. Again thanks for the great Kernel.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Tekken Lord:
Are you using it with the March 21 update?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
Yes.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 3.0.5_R

Hey guys and girls,

I finally found time to merge the March Security Update. Linux-Stable Upstream is included as well.

Other changes please check the changelog and/or github.

I wish everybody a great day.

Enjoy the device and the kernel, because I certainly do

Just in case:

If you face issues or bugs when running the kernel, please return to a stock environment, only your rom plus magisk root, without any modules, scripts, tweaks or mods and see if you can reproduce the issue.

Tell me the exact steps needed to reproduce.

Then send me a dmesg and a logcat (if the kernel crashes not) or a ramoops (in case the device reboots). Take a look at the second post for a guide on how to obtain these.

My kernel.zip flashes both boot.img and dtbo.img. So if you want to return to stock, you need to extract both from factory image and flash them via fastboot if on stock rom.

If you’re on a custom rom you will need to dirty flash your custom rom or learn how to extract both images from a payload.bin

Special thanks to @jcmm11 and @melgar for testing and keeping up with me!

I wish everybody a nice day/evening! :)

Enjoy the device and the kernel, because I certainly do

Changelog:

- Merge March Security Patch

- Linux Upstream to 4.9.259

- bump wireguard

- other changes look at github

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?

Download is below :)

Download:

Kirisakura_Bluecross_R_3.0.5.zip | by Freak07 for Generic Device/Other

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

How to flash the Kernel:

1. Make sure you are rooted, are using the latest magisk suited for your OS version and a kernel manager capable of flashing a zip is installed. If available you'll can use TWRP as well. Download the kernel.zip to your device.

2. Flash kernel zip in via your favorite method. Kernel Managers and Recoveries need to be updated to work with a specific Android Version. It's your job to ensure compatibility! :) Root will be preserved! (Make sure to be on the latest firmware the kernel is made for)

3. Reboot and profit! Before reporting any issues make sure to read the first three posts of this thread!

Instructions can be found in the OP 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] Tekken Lord:
@Freak07

Patience is virtue. Thank you for your time.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
Thanks mate it's working like a charm! Appreciate your work
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
Bad news. I've had a system freeze on the new 3.0.5 kernel after unlocking device about 4 hours after flash. 'll see if it happens again after hard reboot.

Note. I have systemless hosts enabled. Similar freeze to what happened when on stock kernel. The 3.0.4 has been working perfect before this tho. And was working on March update also. If it happens again I'll report and prob roll back to 3.0.4
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
That doesn’t help. Grab the content of sys/fs/pstore after you force reboot the phone. Maybe there are still logs there.

Or if you have the chance, connect it to a pc and try to get dmesg and logcat before you reboot. It might be wise to grant adb shell su access when the phone is not frozen. so taking dmesg is possible when it is frozen.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
Del
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
Ok will do
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] TraderJack:
I've continued to have issues since upgrading to 11. Kiri definitely seems to make things better, but I do have the occasional lock up. This usually appears to happen directly after a phone reboot (or occasionally right after accessing the phone after a period of inactivity). I recall at least twice on last month's patches I attempted immediately after rebooting the phone to pull down the notification shade to get into settings and the phone locked up.

Other issues I'm having:

1) AFWall+ often says after phone reboots that it had an error applying firewall rules. I will have to go in and either toggle the rules or sometimes revoke magisk privileges and re authorize. This never used to happen on 10. I suspect this is some race condition with Magisk.

2) My biggest issue is screen redraws. I use Nova Launcher with a Business Calendar 2 widget for my calendar. Quite often when I go back to my home screen from being on some other app the entire home screen has to redraw. Other times it is not the entire home screen, but the contents of the calendar widget. This can be anywhere from a 1-3 second delay. It is quite annoying and not something that happened with any regularity on 10.

Currently have only system less hosts enabled, safetynet fix, and ESP. It is hard to test because of the amount it does it, but it seems to do it less if I have no magisk modules installed. However, it doesn't seem that any particular module is the cause, just any (or the more the worse). Not sure only that I didn't have this on 10.

I suspect there are some changes either to 11 or how Magisk interacts with 11 that have impact on memory management. I know that the Pixel 3 suffers from a RAM hardware deficiency, and has always been problematic here, but the issues appear to have worsened.

Another example of this is apps just closing when not in the foreground. I was having an issue where I closed down all other apps except calculator and chrome (the built in apps). I would be toggling back and forth from the calculator to a browser window to get numbers and every time I would toggle off the calculator it would apparently close completely causing whatever numbers I already entered to be loss and it reinitialize at zero. This of course made it unusable. This has only happened once or twice since 11, but nothing I ever experienced in 10.

I'm sure that Freak07's fixes to the stock kernel are helping most of the magisk freeze issues that were discovered, but I believe there are other things at work that has made my 11 experience much less enjoyable.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
I haven't had any issues since that 1 yet
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] odontastic:
Release 3.0.5 appears to be working fine with Android 12 Developer Preview over the last day.

The only problem I encounter (that I get with the stock kernel as well) is that my attempts to pass SafetyNet prevents booting and usually requires a full wipe.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] deusfaux:
what is the OTA update process for using a custom kernel? do I have to uninstall it before applying and reapply after?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dekkon:
https://xdaforums.com/t/guide-root-pixel-3-xl-android-11-r.4160447/

Follow this guide. Start with Index step 4. (Install/Update Factory Image keep or wipe data), then step 7. (Root/Reroot with Magisk and Pass SafetyNet), then install custom kernel via an app like

EKM
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] prot-:
This kernel has been rock solid fyi
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
I am going to try on the April patch and report back.

well, I can't go into the phone to flash the kernel, the freeze of dead comes back right after I installed magisk.

edit02: I finally manage to flash the kernel 3.0.5 and so far no problem, thanks @Freak07
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] klemi71:
No problems so far on April update.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] nomisunrider:
Over 24 hours on april patch with no issues
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] atrix2man:
I know this has probably been answered before but how are we supposed to flash the latest kernel for crosshatch? I went by the instructions and twrp wont boot up for me to flash the kernel, it just freezes on the TWRP logo. Im running android 11 so any help would be appreciated very much.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] mgp53:
A kernel manager is the accepted method. I use EX Kernel Manager, which seem to be the preferred app.

It does require purchase on the Play Store.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
TWRP is only working for android 10, not yet for 11.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcmm11:
know this has probably been answered before but how are we supposed to flash the latest kernel for crosshatch? I went by the instructions and twrp wont boot up for me to flash the kernel, it just freezes on the TWRP logo. Im running android 11 so any help would be appreciated very much.

As mentioned a kernel manager is the usual option. Both Franco Kernel Manager and EX work well.

It's also possible via command line, but it's a little trickier. Basically you just need to take the new kernel and use it to overwrite the boot partition using dd.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
there are no new changes in the april source push from google for this kernel.

So 3.0.5 is fine to flash on April.