[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
FAQ

Important: What to do if you face issues on Android 10/Q

You might face issues on Android 10 like non working sensors, edge sense not working properly or similar things.

Here´s a thread that has more info about it: https://xdaforums.com/pixel-3-xl/how-to/android-10-sensors-bug-t3964904

This also caused seemingly in a random fashion issues with magisk modules not unpacking properly when you flash them via magisk manager.

I recommend everybody who faces symptoms of random issues, which they cannot explain, to completely nuke their device and flash a factory image with -w intact, as to complete set up the device from scratch.

This will wipe your whole phone, so backup videos, photos, music, apps and other stuff you don´t want to lose!
[MENTION=4487388]jcmm11[/MENTION] and me were hunting this magisk bug for a week and it turned out it´s connected to the above mentioned issue, although it gets more prominent by the latest CAF - EAS changes, which are merged in my kernel. Probably due to the way tasks get handled a bit differently.

Please everybody keep this in mind, before reporting back.

Question: Upon flashing the kernel zip I got a message that there is an error with ramdisk. What to do?

Answer:

Procedure to fix the ramdisk issue:

The ramdisk error is now fixed. Please take a look at this post from [MENTION=4544860]osm0sis[/MENTION] for more information:

Big thanks to [MENTION=4544860]osm0sis[/MENTION] and [MENTION=4470081]topjohnwu[/MENTION] for everything at this point here! And everyone else that helped in the process!

Important:

What do you have to do to get finally rid of the ramdisk error?

1. Flash back a stock clean boot.img either for stock rom or the custom rom you´re on. (not a backup from some time ago, a clean stock boot.img)

Link to stock boot.img from Google´s december factory image for convenience

2. REDOWNLOAD(!) either magisk 18.0 or the latest canary directly from magisk manager and delete all old magisk zips on your device. (this is really important!)

3. Optional: Reinstall twrp.zip if you want to.

4. Flash the redownloaded magisk zip in TWRP

5. Flash my kernel either via TWRP, EXKM App or FKM App

6. Profit

Question: Is root preserved when flashing this kernel?

Answer: My kernel.zip keeps a device rooted by magisk rooted.

Question: How to report bugs properly?

Answer: Have a look at post #3 in this thread. The linked guide is a pretty good starting point.

Before reporting any bug make sure you´re not using any mods, magisk modules, scripts or other modifications that alter various functions like sound mods etc.

Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.

Is the issue reproducible? Does it happen frequently?

Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.

If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a ramoops file.

Easiest way is immediately after booting up, with a root explorer navigate to sys/fs/pstore. Copy the contents to your internal storage, zip it up and send it to me.

If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!

To easily get a logcat in case of a crash take a look at this post:

https://xdaforums.com/showpost.php?p=79462002&postcount=1566

Big thanks to [MENTION=4487388]jcmm11[/MENTION] for it

Here´s a tasker task to automatically copy /sys/fs/pstore on each boot to internal storage. Be advised these files get also created on correct reboots.

https://xdaforums.com/showpost.php?p=79549126&postcount=1670

thanks [MENTION=3571891]jsauder2[/MENTION] for this little trick