yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Paulikid:
Encryption works for me. I did a factory reset including formatting user data and flashed firwmware. Xtended rom and Gapps.

After that I booted up. Xtended rom is now decrypted. Now I started 'encrypt my phone'. Phone jumps back to the lock screen. When rebooting manually, the encryption process started like expected. After that phone started without any problems. Be careful: the encryption process wipes user data again.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] crakerjac:
This might be the part I missed.... Let me try this again....

---------- Post added at 09:12 AM ---------- Previous post was at 08:39 AM ----------

Still no worky. What exactly did you do when you 'manually rebooted'? Every time I reboot, it just boots normally...
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
Don't flash magisk and no Verity.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] crakerjac:
Here are my steps exactly.

Boot to TWRP

Format user data

Reboot recovery

Enable MTP

Copy over ROM, GAPPS and firmware zips

Disconnect USB

Flash firmware

Flash ROM

Flash gapps

Wipe cache

Reboot phone

Complete setup with minimal configuration

Plug in DASH charger

Go to settings and encrypt phone

Phone jumps back to lock screen

Unlock

Press power button

Select reboot

Phone boots normally.

No magisk or any other zips flashed. No configurations made except those required to get through setup. Screen lock configured for pattern.

Latest codeworks recovery installed (20190311)

All zips were downloaded from first page of this thread.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Paulikid:
Very strange. I did it exactly like you did. Maybe it is the pattern lock? Since encryption my phone needs to be unlocked before system boots up. My screen lock configuration is set to PIN. That's the only difference to your steps.

Edit: I use Blue Spark recovery instead od Codeworxx, just to be exactly.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] crakerjac:
Tried again with Blu-Spark TWRP and a pin password. Same thing. Only thing I can think of is that maybe my boot image is hosed up. First time I tried this, I had Magisk installed. Magisk said root wasn't installed afterwords so I just re-ran the Magisk installer... Maybe that backed up my already patched boot image so not it's permanently patched? I have since then formatted data and reinstalled the latest OTA (which does successfully encrypt my device)... but had to format data again since as I couldn't get Xtended to boot with a simple factory reset from TWRP.

Unless anyone has something specific to try, I might just give up. I'm not one to ask for special attention, but is there a (older) build that forces encryption I can flash first then update to the latest?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Guys, why you wanna encryption desperately?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Jimbus369:
I always follow this steps:

My current room:

- Settings -> security -> Screen Lock -> None

Latest TWRP BluSpark:

- Wipe -> Advanced Wipe -> Select everything (except OTG)

- Wipe -> Format data -> YES

- Flash -> firmware -> ROM -> gapps (From OTG)

First boot:

- Standard ROM and gapps setup

- Reboot

TWRP:

-Fflash -> Magisk

Never had any issues with any encryption supported ROM.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] safwankatharudheen:
Nice ROM! Thanks dev

Btw is there any way to fix play store not certified issues?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] sam00561:
My playstore is certified. Maybe because using canary magisk 18.2 but not sure.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
No issue with Magisk 18.1 too.

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

What Gapps you are using?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MALONGZY:
Very nice and solid ROM. Thanks Dev
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] El Brillantinas:
I can't believe this ROM hasn't got very much attention. It's a great ROM, nice, stable, solid. Everything is working!

I just love all the configuration options that this ROM has. The ambient display customization choices are a killer feature.

Many thanks for this ROM. I think I'll stick with it until I get a new phone.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] BobAzzon:
Great choice, you would be hard pressed to find another rom with more options, it's a great Rom and a very good team of people. Stick around, it's only gonna get better;)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Amr Fathii:
Hi Mukesh. For some reason, there's a compatibility issue with Xtended and lawnstep and quickstep magisk modules. So I installed one of them to have the new animations of lawnchair launcher, the phone booted well but weirdly enough everything hardware related has broken; flashlight, wifi, data, fingerprint.. Like the toggles are untoggable. And nothing fix that mess unless I uninstall the module. That occurred once before as well when I was on Colt rom by the way. Do you have any idea about this issue? The modules are developed by lawnchair team.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Shrey14:
Need help!!

Hi guys,

I have flashed firmware 9.0.4 and the latest build. Earlier I was on 9.0.1 and Xtended-cheeseburger-20190109-XP4-OFFICIAL-Release-v8.5. I know I am a little late on my updates. However, when I flashed the latest firmware and ROM, I am unable to make and receive any calls. I have completely wiped all data including internal storage. The issue still persists. Any advice will be appreciated. This is my primary phone. Thanks. [MENTION=5678679]mukesh22584[/MENTION] please help brother.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Scamtest11:
For the dev, there has been a fix suggested on the quickswitch magisk module page, bottom of third post. I can't link so like its a google away. This rom is literally perfect apart from the quickswitch issue for me and i would love to make it my daily driver.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] srimay:
So is your phone the 5 or 5t?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Shrey14:
oneplus 5
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Full Backup

Then

Fromat Data> Type Yes

Go to advance wipe

Wipe system, cache, Dalvik, data partitions, Vendor

Flash firmware 9.0.4+Flash rom + gapps + magisk + No Verity Treble 4.0.

Enjoy :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Shrey14:
Hi, thank you for the help. Have tried that already. However, I was flashing No verity trble 3.0. Could you please share the link to 4.0?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Shrey14:
Thanks a ton man! Got my phone back!!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Amr Fathii:
Agree with you. The suggested fix requires this rom maintainers' implementation of the commit linked, which is unlikely to occur I sadly presume.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] crakerjac:
Why is that?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Amr Fathii:
Edit: incorrectly posted
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] pmbonea:
But it's recommend to flash magisk after first boot, and i always do that with no problems!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] alessio89g:
From QuickSwitch thread:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Here with Extended it's not necessary
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] thkgop001:
Hi guys

Just tried to install the latest public beta of Magisk v19 and though it seemed successful, after a reboot I noticed seriously long lags with any app.

Ended up rolling back to Magisk v18.1 and performance seems back to normal.

Is it Xtended or something else in my setup that caused this with the Magisk v19?

Cheers
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] sam0056:
I'm on 19 magisk it hasn't affected anything at all. Maybe try uninstaller first then flash 19 again.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MALONGZY:
Hi Dev, just saw below on telegram, does it mean no more updates for Oneplus 5t? I was hoping the battery stats NOT updating after reboot would be fix in future updates

"Hello guys, Due to hectic schedule I'm not able to maintain Xtended Rom for OnePlus 5 and 5t, i feel all of you'll understand my problem, It was so good time for me to learn about Android and sharing with all of you.

I'll say thanks to my brother [MENTION=8829870]SuperDroidBond[/MENTION] and [MENTION=7072514]mady51[/MENTION] and also I'll say thanks to all my users to support me.

Thanks guys."

---------- Post added at 09:49 PM ---------- Previous post was at 09:49 PM ----------

Hi Dev, just saw below on telegram, does it mean no more updates for Oneplus 5t? I was hoping the battery stats NOT updating after reboot would be fix in future updates

"Hello guys, Due to hectic schedule I'm not able to maintain Xtended Rom for OnePlus 5 and 5t, i feel all of you'll understand my problem, It was so good time for me to learn about Android and sharing with all of you.

I'll say thanks to my brother [MENTION=8829870]SuperDroidBond[/MENTION] and [MENTION=7072514]mady51[/MENTION] and also I'll say thanks to all my users to support me.

Thanks guys."
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] BobAzzon:
What's today's date:D
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Paulikid:
Will the next release contain Googles latest security fixes?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mady51:
why not
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] thkgop001:
Lol

I fell for it!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] vurren:
Finally... This rom is discontinued?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] sam0056:
Was a great rom while it lasted. The next best thing for me is derpfest.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] thkgop001:
Wait... What??

Didn't Mukesh just pull an April Fool's there?

ROM is still alive, right Dev?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mady51:
yes. if it makes u happy
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] crakerjac:
I didn't think it was an April fools joke.... I hope it was but I fear it was sincere.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
Guys..Guys..Guys....

Just wait for 2 days.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] vurren:
It was only a question.... I love this rom
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] BobAzzon:
This rom isn't discontinued, it's constantly being tested, and made better, with more options added. Just be patient and good things will come, it's well worth the wait.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] vurren:
Ok, great! Somebody made me think that (wrongly) becasue there was a comment in telegram or something like that and perhaps... I didn't understand right.

Thanks
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
It was an April Fool's prank.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Amr Fathii:
Hi Mukesh. Could you please add kcal color control in the kernel of the next build?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
This one coming in next build for sure:)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] l0veysingh:
Rom is smooth and strong...Really like it.....I faced little problem while using NAVIGATIONBAR off.....its difficult to back and Home...any solutions for this?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Guys be ready, Next build on the way:)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] lalit kandpal:
Can this ROM delete internal data..like photo video music..game obb data
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Normas Interruptor:
How ROM would be delete its own?

If you wipe the internal storage then it will wipe but note: this ROM is encrypted and if your phone is decrypted then you have to flash no verity zip along with the ROM file then you can be able to to flash the ROM.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Paulikid:
The last releases were over 700MB, the 04-07 release is only 398 MB. Is this the correct size or is the release still uploading?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MALONGZY:
Probably needs to be re-uploaded. I guess dev will let is know when update is ready.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Guys new build release:)

Enjoy:)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
Hello Brothers,

Team XTENDED is here with the new update of MSM Xtended Pie XP6 v13.

Fixes and Change log:

April Security Patch and updated to android r35.

Added Ambient Ticker.

LS Ambient display visualizer

Added QS status bar header.

Added Dashboard icon.

New fonts for LS & carrier label.

Fixed partial screenshot.

Fixed multiuser icon glitch in QS footer.

Fixed QS header accent without header image.

Transparency of QS panel.

Fix app switching in OP gesture.

Enable DND during calls.

Kernel upstreamed to 4.4.178.

Updated Clang to the latest

Redesigned Battery Meter View.

Fix hotspot tile not activating in one click .

Updated Oneplus camera and gallery.

Updated HBM, Sound, Screenrecord & OnTheGo tiles.

Added back High brightness mode (OP****).

Added Panelmod image preview (OP****).

Added Kcal Preset (OP****).

Grey scale mode (OP****).

Links:

MSM Xtended Pie XP6 V13 Download: CLICK HERE

Recomended firmware :9.0.4 Firmware

Must Read: Read Before asking.

Official Telegram Group: Official MSM Xtended Telegram Group

Please do share your reviews, feedback and feature request (if possible then with commits or name of the OpenSource project/ROM). We love the feedback and response we have been getting since the start of this project. Hope to see the same in coming future.

Donations are always welcome and it does help us in getting the server to build and for motivations for our device maintainers.

Hope You All Enjoy the XP6 Release v13 Update.

Thanks & Regards:

Team XTENDED
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Awesome build, mind blowing, great job, Hard work with lots of features

Screen recording

Auto call recording

FP unlock on reboot

Custome headers

Full screen caller ID

Custom carrier label

And many more.....

Enjoying:)

Thanks
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MALONGZY:
Thanks for the update dev, nice work. I was hoping the battery stats / screen usage since full charge issue would be resolved but I have been using my phone for more than 10 mins and it still shows 0 min. This seem to be working fine in Colt's ROM but Colt doesnt have App Ops
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
It's really annoying, I'll look in next build for sure, But mine is fine...
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MALONGZY:
Thank you
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Tiz92:
Stupid question but which kernel is currently in the ROM? An EAS kernel?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
No EAS, It's HMP.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Some time its work some time not.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] crakerjac:
Is OTA working? Seems like the changelog that I'm directed to from the about screen is very dated. I've seen a couple minor bugs, but otherwise, this ROM is very nice.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] fbousk:
Thanks Mukesh everythings works well,happy that this f****g auto rotation bug is now fixed in every rom.

4 months without MSM was so boring ?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] thkgop001:
Hey Mukesh and the rest of Xtended Dev Team

Dirty flashed the new April build and it booted right up flawlessly... So glad I didn't have to wipe data all over again.

Brilliant stuff... Going to be busy checking out the new changes.

And will leave the stock kernel for the next few days to see how it does on my daily driver.

Thank you guys, much appreciated...

Peace
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] vurren:
Updated and everything is right, no bootloop this time! Great job! Thanks!!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Mikxx:
Hey dev, im having this issue where if i try to get launchair v2 to work with quickstep it makes my phone freak out wifi bluetooth and network (ril related i think) but this should fix it it just needs to be added to the rom it would be deeply aperociated

A bit of the post

Bluetooth/Reception/WiFi not working

The RIL issues are a rom problem. A few users have identified this as the fix, at least in certain devices. I'd suggest asking your device maintainer to implement it and see if it fixes the issue.

https://github.com/evolution-x-devi...mmit/4834d1b53d1f56581bf2f10cf73c478d773bbaaf
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Mikxx:
Add damn, glad to know the problem is noticed nevertheless, maybe it has conflicts with this?

Sidenote anyone that knows of the blue part is changeable apart of the red? Id like to have it white ?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] sam00561:
how can i set lineage gallery as default but with stock camera when i removed the oneplus gallery photos wouldnt open in the lineage gallery at all.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] demigo:
i can't remove system apps. using MSM Xtended Pie XP6 v13 on OnePlus 5T. tried system app remover in settings and also titanium backup. but no luck. both says successful but app remains even after reboot. anyone facing such an issue?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
Use any root explorer.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Mikxx:
Trusted face doesnt work for me,

At first no option,

Then installed apk from apkmirror

This results in fc's,

Reboot didn't work either,

Any ideas?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Zulfi:
Which Gapps? Use open Gapps nano and don't flash it right after ROM. Flash magisk or no verity in between rom and gapps.. open gapps has some issues with face unlock. if its flashed right after ROM. den face unlock is not getting installed.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MALONGZY:
Thanks dev for this wonderful rom. I am honestly not a fan of google keyboard and I was lucky to find an AOSP keyboard that can be installed via Magisk. So anyone interested should visit below link and remember to thank the developer.

https://xdaforums.com/android/general/guide-install-lineageos-aosp-keyboard-t3828625
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] demigo:
yep removed using a root explorer.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] sam00561:
Install the module google face unlock in magisk downloads and face unlock will work properly
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] rohit potdukhe:
Which file system is recommended for this rom?

F2FS or EXT4?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Mikxx:
I was using opengapps nano but i indeed flashed

rom ->gapps->rest

I booted recovery and just reflashed gapps and everything works fine now thanks for the advice
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] dylanmurzello:
Did you remove now playing feature?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] lalit kandpal:
This ROM run in op5t a5010 model
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mady51:
ext4
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] sam0056:
Should do this is the Op5t forum and you are on the roms page
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] peshkoff:
Hi is not asking, I think =)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] thkgop001:
Hi all,

I have a mod related issue - hope I'm posting this in the right place. Sorry if I'm not...

On Xtended v13, how can I add fonts to the font manager under Settings-->Display?

I see a package called 'DU Fonts 9' but not sure how to add my own fonts to the default list...

Thanks
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Xokoz:
I can see the hype around this rom, going to test out :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] aladin6:
That's so frustrating as this big is present on AICP and LiquidRemix too! I hope that Xtended will be the first ROM to fix that issue.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
This is an 8.1 bug. Not a 5t bug or a ROM bug. Nova removed the feature if it detects you're on 8.1 because it doesn't work properly.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
1. In call sound distortion has gone after removing V4A.

2. Screen not locking when connecting WiFi, you can see video in link.

https://drive.google.com/file/d/13HVfqrpwYAPml1t3rmca7KJi4dfBYxIN/view?usp=drivesdk
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] babloo 05:
does this rom support signature spoofing?? i want try this one out, but dont want to flash gapps.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] shafi31:
1. V4A?, I don't use it or is it inbuilt?

2. "Screen gets lock" when connected to WiFi

Edit: Initial setting up WiFi is fine, u have to disconnect and connect it again to test
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
You can see, I've uploaded video for WiFi issue and you can clearly see there is no issue..
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] alessio89g:
Today I noticed that the camera doesn't work on Whatsapp.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] abalam:
Please report issue with a logcat
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] xocomaox:
Is there any way to make the large nav button icons smaller? Every custom firmware I try and use outside of OmniROM has these large button icons, even when you scale down the display. I keep thinking it's because they're lineage-based and not fully aosp-based.

This is one thing that has always been an annoyance when i switch off of OmniROM to test out other people's work.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] alessio89g:
I hope I did it correctly XD
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
MSM Xtended Release X4-1 - April 14th, 2018

Changelog:-

> Fixed WhatsApp Camera issue.

> Upstream kernel.

If you haven't flashed Xtended before, Complete changelog is > HERE

Download Latest Build

Thanks to [MENTION=5247372]Normas Interruptor[/MENTION] and [MENTION=5785796]alessio89g[/MENTION] for reporting WhatsApp Camera issue.

Enjoy..

Team XTENDED
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nyzoli72:
I'm on Xtended. If i flash the new builds with dirty, do i need flash the gapps again with the rom or don't?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mukesh22584:
Best way to flash dirty (I'll say semi dirty or semi clean)...

Wipe cache + Dalvik + System,

Flash ROM + GApps + Magisk.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] xocomaox:
GApps are stored on the system partition. If you flash a firmware to System, it wipes it first which erases the current GApps.

So you really only need to wipe Cache/Dalvik partitions and then flash the firmware/GApps.