yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jlee08517:
I've had this from day 1. Thought it was my app or wrong installs but too lazy to check in stock.

Seems like other people have issues so I'll tag along. I only have s2w and s2s turned on and this happens almost every call. My screen ends up in alarm clock. Putting my face away from the screen still triggers it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sreten89:
After one day running this kernel, I just experienced random freeze of the phone. Display stays blank, but I get some vibration feedback when pressing buttons. I managed to turn it off and then on, and after few minutes same thing happened. What can cause such behavior?

Edit: now this hapends every time when I leave the phone turned off a few minutes.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
Did you install it on top of another kernel or did you flash the stock kernel before installingl?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sreten89:
I installed it using ex kernel manager. Now I'm back on stock kernel and everything is fine now.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Hmm, shouldn't be any stability issues with EX. I've never had a reboot and I use this phone a lot. It's my at-home phone.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sreten89:
Yes, it's strange. Everything was working great, then suddenly phone just turn off the screen and there's no chance to turn it back on.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] hilla_killa:
I flashed over other kernels without flashing stock boot img. Many many times no reboots. Maybe you have rogue app?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sreten89:
Maybe there is a problem with magisk? Should I remove it before new kernel installation?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
More than likely it's a problem with a magisk module. Try stock+magisk and see if the issue is still present
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sreten89:
After today's problems I'm running stock kernel and magisk and there aren't any problems whatsoever.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] hochoch:
I installed this today after updating to magisk 18.1 and the february security patch and keep getting these weird micro-reboots. It's definitely kernel related as it did not happen until after installing 1.04. Everything was fine on January/v18/1.04. Just a heads up - thanks as always for the awesome work!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
No chance that there is instability from this kernel. I don't fundamentally modify anything, I just add a few things. I also use this phone all the time, it's my main development phone and it goes through hell. Not a single reboot ever.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] angryshuna:
I am getting the same micro reboots. I have no idea if it is February patch, magisk 18.1, or kernel related.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] TonikJDK:
Folks with the reboots....are you using AdGuard?

https://www.google.com/amp/s/amp.re.../adguardprivate_dns_causing_restarts_on_pixel
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] hilla_killa:
I went back to magisk 18.0 because as soon as i installed my phone was acting weird so try to go back to 18.0
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] a.t.h.k:
Same here with the micro reboots.

No adguard, but I do have energized..
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Update!!!

Sorry, I did not have time to look into sweep2wake stuff. I will get to it. Here is the latest security update.

Flash directly and control all options on this and other kernels with the latest EX Kernel Manager: https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download:

ElementalX-P3-1.05.zip

Changes:

-February security update

-upstream linux
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] TonikJDK:
Upgraded to Feb earlier today and rerooted. Just flashed this in about 2 seconds with EXManager while watching TV. All good.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elkay:
1.05 fixed my reboot issue with the Feb images. Magisk 18.1 overlayed is also fine. Thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] hochoch:
This was the first time I had any issue with the kernel and have been using it for years with no issues, even with mismatched months. Very strange! However the update you released for February solved the issue as others have reported and I'm happy to be back! Thanks for all you do!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] pahlerc1:
EX running beautiful here on stock room w magisk. Thanks again for the hard work bringing elemental to the 3xl. Been on it since 6p I think.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] RuRuTiaSaMa:
Kcal？
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] sreten89:
I'm running latest version of this kernel and after two days of using, I don't have strange problems from last time I tried. Everything is running smoothly, and battery life is superb. Only thing that's bothering me is combination of this kernel with high brightness mode app. Auto mode seems to work inconsistent, many times does not activate when it should, so I have to use manual mode.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] mcg:
I can also vouch for the random soft reboots to the lockscreen with the Jan kernel on Feb patch. Was driving me crazy. Updating the kernel to Feb solved the problem.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Momotani-Hitoshi:
Installed the official Wireguard app tried to connect to my server and for the longest time couldn't figure out why the default port 51820 didn't work but any other ones did.

Noticed elementalx now support wireguard in the kernel. Is this why port 51820 would not work in the official app?

Also, how do I use the integrated kernel wireguard support in elementalx? Is there a GUI?

edit:

So looks like there is a special test version of wireguard which can detect if the kernelspace version is already installed and uses that. My hunch is the official app couldn't use port 51820 cuz the kernelspace version was already using it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] raman21raman:
All of sudden today morning My Android Pay has stopped working :(
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] snovvman:
How is that related to the kernel?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] raman21raman:
nvm!!! posted in the wrong tab :( had multiple tabs opened, please ignore.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] snovvman:
Good to know. I asked because people tend to blame the kernel for everything. Some clearly do not understand the role of the kernel. It is sort of like users blaming tech when it is their own failure. "Technical difficulty" is really often human incompetence.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] yourmghq:
I've never really tweaked with kernel settings but what's a good config to reduce app redraws when switching from games to say discord and back to games
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ChongoDroid:
I can't get NTFS to mount for the life of me. Is there something I'm missing because I'm tried two different drives both with NTFS and Android refuses to see them.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
I'm not sure where things stand on mounting drives these days. I think some of the security measures in Android make it so mounts are only seen by the process that mounted it. So you might be able to mount something, but it won't be visible to any other processes.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ChongoDroid:
Ah gotcha

Yeah no matter what I tried it kept saying I needed to format the drive.

I think Samsung is the only one currently offering NTFS otg support. ?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
I hate to recommend an app with the business practices they have, but ES File Explorer will do it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] shivindera:
Solid explorer has otg NTFS read support.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ChongoDroid:
Thanks you guys
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SCYTHERBLAKE:
[MENTION=4684315]flar2[/MENTION] is it possible to add volume rocker music playback control to the kernel itself because i love the stock rom and i love your kernel. So just a suggestion for future update.

Thank you for the update and love to see this thing possible to the kernel
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
No, that is not a kernel thing. Look in my signature for Next Track, which is an app that does that
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
Anyone else having licensing check issues with EXKM? I updated the app via the Play Store earlier tonight and everything was working fine. I noticed that it was using ~500MB of storage, so I cleared data for the app. I tried to launch it again to reconfigure my settings, but the license check keeps failing.

I've tried uninstalling and reinstalling it from the Play Store, clearing data, etc and nothing works. I do have internet access, so it's not a network issue. I've been using EXKM for almost 3 years without this problem. Yes, I did purchase the app.

Edit- Never mind. Right after posting the issue magically resolved itself...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ffchampmt:
I am in the same boat only that HBM won't manually toggle for me in the HBM app, or widget, without about a 10 second delay. Then it will kick in and work for an hour or so and then be back to not working/on delay.

The toggle in EXKM app works just fine. I've cleared cache, removed it from battery saver, regranted root etc. to no avail.

Edit: I will try and grab logs when I can replicate to further this instead of just adding anecdotal info.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] joeynshelby:
I was experiencing the exact same issue. Went back to stock and the problem is resolved.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Can either of you elaborate? A log from /sys/fs/pstore would be best, but it would also be helpful to describe any kernel related settings you chose. I haven't had any issues with mine, so I don't know where to look if there is a problem.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] joeynshelby:
Sorry for the late reply. In my situation the phone would go to sleep and the screen would go dark. Nothing I did would wake it up. The screen stayed black. I would get some vibration feedback when pressing buttons. I had to force the phone to shut down and reboot to get back to normal function. This would happen each time the phone went to sleep and the screen shut off. I went back to stock. After being on stock for about a week, I flashed this kernel again and have had no issues. Everything is functioning normal. Will update if it happens again. Hope this was helpful and thanks for your work!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] joeynshelby:
Edit : add additional info

I had not changed any kernel settings. I only enabled the battery monitor. I flashed the kernel and downloaded your app. As a side note this did not start immediately. It started occuring about 1 day later.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Update!!!

Download:

ElementalX-P3-1.07.zip

Changes:

-April security update

Control all options and flash zips on this and other kernels with EX Kernel Manager, with two new themes: https://play.google.com/store/apps/details?id=flar2.exkernelmanager
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] kaicat:
No other improvements such as touch driver or anything?:confused:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
[MENTION=4684315]flar2[/MENTION] is only adding & changing the, according to him, things that really is needed and which matters the most as far as I know.

If you want newer drivers and any deeper improvements, then either Sultan kernel and / or any of the kernels that upstreams is your only alternative.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] mcg:
I would recommend updating the old themes to reflect the new font in your newer themes to give it that "Pixel" feel. The old font is getting old!

Personally don't like all black nor all white, so the new font in the traditional dark theme would be appreciated after all these years :D
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
I'll probably make a new theme, as some people want the old look. Amazing how the old themes looks so dated after using newer ones.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Theme shmeem! The way you keep it rock solid and functionally easy to use is more than good enough for me kind sir! :good::good::cool:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Face_Plant:
New theme FTW!!!! I agree that it looks much more "modern” and I like it a lot. All of my Google apps have been updated to their Material Design 2 and having your app updated too is nice because it helps keep the UI consistent.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] mcg:
Absolutely! I was shocked and instantly suckered into the new Product Sans look.

Looking forward to it!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Technically I use open sans. Product sans is Google's and apps aren't allowed to use it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] mcg:
Ah my apologies, good to know. Open sans it is, lol!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] christiebunny:
Ever figure out how to get NTFS to mount? Flashed the kernel, tried two flash drives and two microSD's, even tried changing cluster size, no luck.

And NTFS support was why I installed the kernel in the first place, I'm not happy they limited things to FAT32 :(
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Update!!!

Flash directly and control all options on this and other kernels with the latest EX Kernel Manager: https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download:

ElementalX-P3-1.09.zip

Changes:

-May security update
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
ElementalX for the latest Q beta 3 release is now available for download through EXKM

https://play.google.com/store/apps/details?id=flar2.exkernelmanager
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
How are we supposed to flash this? Not a .img ....
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Flash in EXKM or in TWRP. It works fine for me.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
Wait... There's root for pixel 3 xl or twrp is mounting data ?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
No data in TWRP, but I was able to flash Magisk and EX just fine
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] shooterlgk:
U flashed magisk and your kernel on q?.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
I didn't flash Magisk, but EX flashes fine (too many phones, I'm getting mixed up)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] shooterlgk:
Lol... Alright, I thought there was root for q so I got kinda excited
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MikeRL100:
Noticed something on this kernel and I have no clue if it's my config or the kernel. I have the May 2019 update on the 3 XL on stock with Magisk. For some reason, the values for enabling Zram and the amount of zram keeps changing. This results in apps being killed rapudly. Never had this problem on ElementalX on countless Android devices I've owned. Wondering if OOM reaper or low memory killer is triggering a bug… There's a chance it's a bug in the app or kernel itself. Reverted to stock kernel for now.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MikeRL100:
I tried another custom kernel from here: https://xdaforums.com/pixel-3-xl/development/kernel-kirisakura-1-0-0-pixel-3-xl-aka-t3864563

And stock and neither have issues with ZRAM toggling itself on and off without user input nor does the zram value change without user input between 1024MB and 512MB. So it can't be the app. Perhaps a bug in the kernel itsellf?

At first I thought the issue was adaptive battery but I was wrong. This impacts the user because apps are constantly being forced out of memory, which results in problems. Apps have to constantly reload and redraw. Major issue imo for the user. Battery drain and very noticeable performance impact.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dd805bb:
There is a module in the magisk repo, zram manager. Set your zram in EX app. Then download and install that module. It will read your zram and enforce it at boot. 2048 is my zram. It changes it at boot to 2048 and works great. Did it on my phone and my gf phone. Both pixel 3 xl.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MikeRL100:
Thanks I'll definitely give it a go and see if it fixes my problem.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MikeRL100:
Ugh. I've tried the module and still have the same issue.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] FSOP:
What settings are people using for battery savings? Just flashed yesterday (P3XL) and using default settings, not noticed a change in battery (still just as poor)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Update!!!

Flash directly and control all options on this and other kernels with the latest EX Kernel Manager: https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download:

ElementalX-P3-1.10.zip

Changes:

-June security update
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
Bro how is it that there is a kernel for p3xl with no sources, and a flashable zip if you can't flash it ???
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
What are you talking about?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
Ok I take that back
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] shooterlgk:
Are u on pie? If so how do u have the q navigation bar?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
No sir I'm on QB4
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] madscribblerz:
On pie I use navigation gestures to hide the navbar, and edge gestures to map swipe actions. It works pretty much exactly like q.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] shooterlgk:
Mind sharing your setup
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] micmars:
Latest Canary killed, for me, substratum on both crosshatch and PH-1.

Specifically, overlays would only switch to a disabled state.

To correct, roll back to beta 17.3 zip and reboot.

Sent from my Pixel 3 XL, #WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] CZ Eddie:
Yes, please. :good:

Thanks for sharing, Flar2!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] finshan:
I like how HMB just permanently boosts whatever the current brightness setting is, so that it's compatible with auto brightness without requiring another app.

Can you please make it so we can increase the strength of the haptic feedback when typing with Gboard? This is the first time a non-iphone has had really good typing haptics and I want it to be much stronger!

Thanks for everything you do!!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] airmaxx23:
It's it intended to be this way it an I missing a setting?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] bemagrp:
[MENTION=4684315]flar2[/MENTION] Bought you dinner through ex manager, thank you for your dedication to the project.

I think all from this post will give some. Even coffee or beer would help.;)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] shivindera:
[MENTION=4684315]flar2[/MENTION] Thank you!!! Finally have the kernel I have been using on all my devices :D
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Semtronix:
Is it cool to flash this over another kernel or should I go back to stock boot image first?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] c_86:
I would flash stock or at least that's what i do to be safe and ensure there are no issues
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ART:
Double tap to wake doesn't work. Turning off the system double tap setting also doesn't help. Otherwise, great kernel, great job! ??
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] HamsterHam:
Is root preserved with this kernel?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
[MENTION=4684315]flar2[/MENTION] what exactly is the performanced tunable?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Performance daemon.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
its purpose? function? what does it do...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] micmars:
I believe that native DT2W can only be flipped on when ambient display is off.

Irrespective, setting it in system and the kernel invites a bottleneck you don't need and the kernel won't resolve.

Best to set it in system, and use one of the sweep gestures in EXKM. I find them far better anyway.

Sent from my Pixel 3 XL, #WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] airmaxx23:
Does HBM stay on after you turn the screen off and back on again?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Ivixmax:
Dt2w makes that phone vibrates infinite.i have to power of the phone to solved the problem.something is wrong....
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] finshan:
It's broken, it disables as soon as you turn off the screen.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] micmars:
Indeed, that's a separate issue, but yet we're back to the same fundamental recommendation - let your device control DT2W, and turn the feature off in EXKM.

See below link for details.

https://elementalx.org/ten-rules-for-flashaholics/

[MENTION=4378455]Ivixmax[/MENTION], I just had that continuous buzzing happen on Sweep2Wake, and it didn't shut off until I locked/unlocked the screen.

The kernel is beta, yet this is a swift irritant.

Thanks for pointing it out.

Sent from my Pixel 3 XL, #WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] airmaxx23:
Thank you, I just wanted to be sure it wasn't just me.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Gordietm:
Is enabling the oom reaper recommended?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dd805bb:
Pixel 3 XL Q

FYI

Exkm isn't working.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MrGimpGrumble:
You're running this kernel on Q beta? I didn't know it worked with Q...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dd805bb:
No. No way to flash any kernel to Q yet I found. But Q beta 4 root for the pixel 3 XL is out.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
EXKM can't flash with latest Magisk betas, otherwise it works
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
You can flash in twrp
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dd805bb:
Twrp is not working on q. The logical partitions are messing with it. Will not mount. I tried with latest twrp.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
It flashes fine for me
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] dd805bb:
For the pixel 3 XL on Q? Latest twrp is June 25th, magisk for Q on the pixel 3 XL happens three days ago. No new twrp for Q. Will not work. Maybe on a gsi that doesn't use dynamic partitions and or an emulator, but the phone, which I have two on Q, both can not be flashes via twrp and exkm. Here is topjohnwu annoucing magisk support also even states the latest twrp doesn't work. The other pixels before the 3 all can use twrp because they do not implement dynamic/logical partitions. Maybe there a beta version of twrp I don't have or something, but the latest I found on their site is June 25th.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
Fastboot boot the latest twrp, then push the zip to /cache and flash from there.