yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Guides, News, & Discussion] radz_:
One pluse removed that option
[OnePlus 5T  Guides, News, & Discussion] Villelj:
Pretty sure it's for every devices because in Finland it's available also
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
General Bug Fixes as OOS 4.7.5 is now rolling out for Oneplus 5T, Links will be updated soon on the OP !!

Edit: logs captured:

Oneplus 5T: OOS 4.7.5 Full Zip http://otafsg.h2os.com/patch/amazon..._43_OTA_007_all_1712122320_69f9fba67934cd.zip

Incremental OTA 4.7.4 - 4.7.5 http://otafsg.h2os.com/patch/amazon...n_43_OTA_006-007_patch_1712122320_f4eeaf0.zip
[OnePlus 5T  Guides, News, & Discussion] arjun2312:
Got it, the camera seems little better in Low Light
[OnePlus 5T  Guides, News, & Discussion] martinez5241:
Deleted
[OnePlus 5T  Guides, News, & Discussion] Chillz88:
I am on 4.7.2. After reading the posts i have concluded that you flash the update from oneplus update app itself? Then flash magisk later?
[OnePlus 5T  Guides, News, & Discussion] Yousvel:
Mega Mirror of OOS 4.7.5 Full Zip coming soon

I will post Mega Mirror of OOS 4.7.5 Full Zip very soon.
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
What update app are your referring to ?

You need to flash the full zip followed by Magisk if rooted, else incremental would do :fingers-crossed:
[OnePlus 5T  Guides, News, & Discussion] pappy97:
I'm on 4.7.4, but I have TWRP, rooted (magisk), custom kernel (Franken Kernel), and I also have xposed installed, if that matters. How do I go about getting to 4.7.5? With my set up, can I dirty flash the full OTA zip in TWRP?
[OnePlus 5T  Guides, News, & Discussion] 75markus:
yes, dirty flash the full zip and your custom stuff afterwards , no problem
[OnePlus 5T  Guides, News, & Discussion] l0veysingh:
Wow....
[OnePlus 5T  Guides, News, & Discussion] BullHorn7:
Flashed manually with TWRP, so far so good and no difference noticed
[OnePlus 5T  Guides, News, & Discussion] 75markus:
would be interesting what bug fixes they adressed ... :confused:
[OnePlus 5T  Guides, News, & Discussion] Chillz88:
The update in my software settings? It says that it detected that i have root and hence i have to download the whole zip. So can i update it from there and then flash magisk from twrp?
[OnePlus 5T  Guides, News, & Discussion] roxdragon:
Hi. i have a OP5T rooted with OOS 4.7.4.

1. Can i do only wipe cache and dalvik? and flash OnePlus5TOxygen_43_OTA_007_all_1712122320_69f9fba67934cd.zip?

2. I need re-flash magisk after the flash?

Thank you
[OnePlus 5T  Guides, News, & Discussion] shafi31:
1. Sure

2. Yes
[OnePlus 5T  Guides, News, & Discussion] peteus:
Installed full zip via TWRP 3.2.1.-0, flashed Magisk v14.5, flashed custom kernel, wiped cache and dalvik. All works fine so far. Thanks
[OnePlus 5T  Guides, News, & Discussion] MrPepperino:
Same question as usual: is the navbar fixed?
[OnePlus 5T  Guides, News, & Discussion] funnoam:
Sick of OnePlus changelogs, came back for more OTA analysis ! I'll try to do it everytime a new OTA is available !

How to interpret :

Small change ==> 5 lines of code or less were modified

Updated ==> File/App completely different or rebuild

4.7.4 ==> 4.7.5

- Small change libmmcamera2_q3a_core.so (camera librairies)

- Small change in libstagefright_soft_avcdec.so (Used for hardware h264 decoding)

- Updated libstagefright_soft_avcenc.so (Used for hardware h264 encoding)

- Updated libwebrtc_audio_preprocessing.so (Related to audio processing)

- Updated OPDeviceManager

- Updated OnePlusCamera

- Kernel updated from 4.4-G1712062242 to 4.4-G1712122320

- Updated firmware files : a540_zap, ipa_fws

Here's the comparison between 4.7.2 & 4.7.4

4.7.2 ==> 4.7.4 :

- Updated camera libraries (HAL & config files)

- Updated video/media libraries

- Updated fw_synaptics_17801.img (Touch Panel firmware)

- Updated fingerprint libraries

- Updated android framework

- Small change in qca_cld3_wlan.ko (Wi-Fi driver)

- In WCNSS_qcom_cfg.ini, g_enable_packet_filter_bitmap=2 ---> g_enable_packet_filter_bitmap=3 (wi-fi optimization, not sure if that makes a difference)

- In build.prop : ro.com.google.gmsversion=7.1_r6 --> ro.com.google.gmsversion=7.1_r7 (Google Mobile Services)

- Updated GMSCore.apk (Google Mobile Services)

- Small change in APN Config files (added iD internet virtual apn / Change iD internet to ipv4v6)

- Updated firmware files : a540_zap, ipa_fws

- Recovery updated

- Kernel updated from 4.4-G1711152324 to 4.4-G1712062242

The rest is minor, all Google Apps updated also.
[OnePlus 5T  Guides, News, & Discussion] Skar3:
After the update flashed via TWRP i have to flash the TWRP again?
[OnePlus 5T  Guides, News, & Discussion] mabor01:
No, afterwards flash magisk or supersu. Otherwise your recovery will be replaced with OOS stock one
[OnePlus 5T  Guides, News, & Discussion] noobhero:
just grab "simple reboot" from the store
[OnePlus 5T  Guides, News, & Discussion] bdwilk:
As noobhero says get a rebooting app from the playstore or just hit reboot and hold the volume down button till you see the bootloader warning.
[OnePlus 5T  Guides, News, & Discussion] mannulko:
Is magisk v16.0 compatible with oneplus 5t oxygen os 5.1.3?
[OnePlus 5T  Guides, News, & Discussion] JeGGinFrance:
I have this configuration and it works fine for me
[OnePlus 5T  Guides, News, & Discussion] Fir3lordZuk0:
https://www.xda-developers.com/android-p-beta-port-snapdragon-project-treble-devices/
[OnePlus 5T  Guides, News, & Discussion] SkandaH:
[MENTION=6143932]Funk Wizard[/MENTION]

5.1.4 is live!

Official link: http://otafsg1.h2os.com/patch/amazo...en_43_OTA_037_all_1807181258_38617f40a639.zip

AFH mirror: https://www.androidfilehost.com/?fid=5862345805528059195
[OnePlus 5T  Guides, News, & Discussion] worldsoutro:
Many Thanks!
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Thanks buddy, thread updated :good:
[OnePlus 5T  Guides, News, & Discussion] Mervingio:
Thanks Mr. Wizard
[OnePlus 5T  Guides, News, & Discussion] kk12002:
5.1.4
[OnePlus 5T  Guides, News, & Discussion] kk12002:
new
[OnePlus 5T  Guides, News, & Discussion] almmpt:
This 5.1.4 have dark notifications?

I think Ingo flash it to try.

Thanks...
[OnePlus 5T  Guides, News, & Discussion] TechieTwinToes:
Earphone mode is now available! And it is not exclusive to Bullets Wireless!

Hey all!

This is probably the feature I was looking forward to, Earphone mode settings with Auto-Resume music function :D

And the good news is it works with any BT earphones which have the magnetic ON/OFF functionality.

Tested with AWEI A920BLS :D
[OnePlus 5T  Guides, News, & Discussion] Pyntux:
Nothing about treble support with 5.1.4?
[OnePlus 5T  Guides, News, & Discussion] ahrion:
I was thinking the same thing
[OnePlus 5T  Guides, News, & Discussion] Rajeev:
5.1.4 is OB10/11 update i think. May be next month ..
[OnePlus 5T  Guides, News, & Discussion] Pyntux:
Thanks!
[OnePlus 5T  Guides, News, & Discussion] IndianHacker:
I was on a custom ROM (rooted and unlocked bootloader) and just downloaded the 5.1.4 (OnePlus5TOxygen_43_OTA_037_all_1807181258_38617f40a639.zip) and flashed it and Magisk using the instructions in post # 3.

I am on TWRP 3.2.1 and actually forgot to remove the security settings before booting into TWRP but I deleted locksettings.db from /data/system before flashing. What is happening now is, it boots up and I after I select the language as English, on the next screen where it says Just a sec... and just sits there.. It is not going ahead... Any idea? can someone tell what could be wrong?
[OnePlus 5T  Guides, News, & Discussion] ALPHAWolf96:
Try to tap the four corners of the screen in a clockwise direction when it gets stuck maybe that'll help (Top-left, top-right, bottom-right, bottom-left).
[OnePlus 5T  Guides, News, & Discussion] ahepas:
What?
[OnePlus 5T  Guides, News, & Discussion] ALPHAWolf96:
It's just a way to skip the setup wizard if you don't wanna go through all the process. Usually works with aosp ROMs, not sure it'll work on Oxygen Os but you can try.
[OnePlus 5T  Guides, News, & Discussion] UCFour:
Try deleting Setupwizard.apk from system/priv-app with TWRP File Manager if nothing works

This will skip entire setup
[OnePlus 5T  Guides, News, & Discussion] Crucifixion:
Can't get 5.14 to install. I followed the instructions for a rooted device. I came from a custom rom. WIPED everything for fresh install.
[OnePlus 5T  Guides, News, & Discussion] ghpk:
updated to 5.1.4 was on Stock Rooted (5.1.3)

Rebooted fine,

Rebooted to Fastboot,

Flashed TWRP,

Flashed Magisk.

Back to Daily Driver, let me see in next 24 hours or so, what makes it to be qualified to be called a better than 5.1.3
[OnePlus 5T  Guides, News, & Discussion] Nosferatu.:
anything special to flash this being rooted on 5.1.3? I only ask because I've been off XDA for the past month (life).

I'm assuming...

Disable themes

Disable fingerprints

Backup

Flash full 5.1.4

reboot back into TWRP

flash magisk

done :)
[OnePlus 5T  Guides, News, & Discussion] jmtjr278:
I'm not sure why you would need to disable fingerprints or restart twrp between ROM and magisk but if it works for you, do it
[OnePlus 5T  Guides, News, & Discussion] wholehog2:
To Nosferatus:

I do the upgrade from 5.1.3 to 5.1.4 on my rooted 5t. I disabled the fingerprint, make a backup in twrp and flash 5.1.4 then flash magisk without reboot. So all works fine now.
[OnePlus 5T  Guides, News, & Discussion] tye_time:
I'm going to try the new sleep optimization for the battery and see how I get on... I usually lose about 5% overnight.

- sent from OP5T
[OnePlus 5T  Guides, News, & Discussion] Nosferatu.:
Disable fingerprints - I've noticed on some ROMs and devices when you restore the ROM (if necessary) the PIN gets screwed up and the only way to get back into the ROM is deleting the .db files.

As for restarting, I'm thinking of my wife's OnePlus 6. Things get confusing over time having two similar devices to maintain but different methods to obtain the same goal. On the OP6 if you don't reflash and restart TWRP it's gone. I would have swore a full ROM flash on the OP5T would get you the stock recovery unless you rebooted back into TWRP.
[OnePlus 5T  Guides, News, & Discussion] jmtjr278:
As long as it is followed by magisk-you will maintain twrp.
[OnePlus 5T  Guides, News, & Discussion] jrandreazzi:
Ola, amigos, eu baixei o update 5.1.4 atraves do oxygen updater e fiz a instalacao normal e sem erros, meu aparelho era sem modificacoes e estava no 5.1.3, apos o update percebo que a rede movel esta mais lenta, demora mais para aparecer o sinal e tambem para subir o sinal 4G, outra coisa que vem ocorrendo é que ele nao atualiza e nem instala novos app no google play, apresenta erro 924. Ja limpei o cache, parei e limpe o google service framework e nada de voltar a funcionar normalmente. Alguem tem alguma ideia do que pode solucionar o problema?

Agradeço

---------------------------

Hello, friends, I downloaded update 5.1.4 through the oxygen updater and did the normal installation and without errors, my device was unmodified and was in 5.1.3, after the update I realize that the mobile network is slower, takes longer to appear the signal and also to raise the 4G signal, another thing that has been happening is that it does not update and install new app in google play, it presents error 924. I already cleared the cache, stopped and cleaned the google service framework and nothing of normal operation. Anyone have any idea what can solve the problem?

appreciate

---------------------------
[OnePlus 5T  Guides, News, & Discussion] l0veysingh:
I m at 5.1.0.... Can i directly flash 5.1. 4 full zip?
[OnePlus 5T  Guides, News, & Discussion] Rajeev:
Yes. U can
[OnePlus 5T  Guides, News, & Discussion] sizanx:
What's the latest camera version in 5.1.4? I updated while having camera M mod installed, it's stil says version 2.5.2 after I disabled the module.. Thanks in advance.
[OnePlus 5T  Guides, News, & Discussion] BadMonkey:
I've got camera version 2.5.34 after the update to 5.1.4,
[OnePlus 5T  Guides, News, & Discussion] Mess1asNL:
Not receiving or sending text messages after 5.1.4. update

Hi guys,

Since you are probably the smartest guys when it comes to telephone problems I hope I can get help here. OnePlus service members had no idea of this problem yet.

I am from the Netherlands and can't send not receive any text messages after the 5.1.4. update. My provider settings are correct and I have no problem with calls or using data. I'm using a A5010 model 5T. Everything is standard.

Could this be a temporary problem which will be fixed shortly by an update or is there something I could do myself. I cleared the cache before and after update.

Thanks in advance.
[OnePlus 5T  Guides, News, & Discussion] halloj:
Works fine on my phone. Must be your provider.
[OnePlus 5T  Guides, News, & Discussion] Mess1asNL:
Provider settings

Provider settings are thoroughly checked, hence I work at the provider I'm connected too and these settings are good. The problem occured right after the update... Nevertheless thanks for replying :)
[OnePlus 5T  Guides, News, & Discussion] simonvfr:
Sorry you're having problems. Text have continued to work fine for me after update to 5.1.4, so not something inherent in the update
[OnePlus 5T  Guides, News, & Discussion] astarjack:
twrp-3.2.2-0-20180721-codeworkx-dumpling DOES NOT decrypt data on OP5T w/ OOS 5.1.4... maybe it could be just for my device but I just kept the universal TWRP (twrp-3.2.1-0-universal-codeworkx-dumpling)
[OnePlus 5T  Guides, News, & Discussion] albertse2:
My Camera version is still 2.5.3 after installing OOS 5.1.4

And base of my testing, i got better picture quality before i upgrade

Can i install latest camera 2.5.34 apk? hoping that quality will be better
[OnePlus 5T  Guides, News, & Discussion] DesertVelo:
Strange that you still have 2.5.3 running OOS 5.1.4. I checked my camera version and I am on 2.5.4 (full ROM flash). You can try the update APK and test the picture quality but you still have options to flash back (restore back up, full ROM, etc.).

Sent from the singletrack...
[OnePlus 5T  Guides, News, & Discussion] Chazy12:
I've the 2.8.8..

Inviato dal mio ONEPLUS A5010 utilizzando Tapatalk
[OnePlus 5T  Guides, News, & Discussion] geminium:
You could try different text messaging app and see how it goes. If it works then you have something wrong with your current SMS app, and vice versa. If it doesn't work then there's bad global settings gs for text messaging
[OnePlus 5T  Guides, News, & Discussion] Pranjalesh:
Even though I was not using my phone it was still awake the whole time and draining the battery.. Is there a fix for this?
[OnePlus 5T  Guides, News, & Discussion] haidar123:
Slow wifi when connected to a speaker via bluetooth

For some reason my wifi becomes incredibly slow when i'm connected to my Bluetooth speaker. Once i disconnect the speaker wifi speeds go back to normal. Is there anyway to sort this out?

I am on the latest version 5.1.4
[OnePlus 5T  Guides, News, & Discussion] Armani05:
Start using a D.N.S which is 1.1.1.1 for 1st. and Secondary is 1.0.0.1

You can set this on your router even so you wont have to change it on each device.
[OnePlus 5T  Guides, News, & Discussion] Pranjalesh:
Does stock oneplus kernel support underclocking?
[OnePlus 5T  Guides, News, & Discussion] maly2006:
You asked already in another thread.

Wysłane z mojego ONEPLUS A5010 przy użyciu Tapatalka
[OnePlus 5T  Guides, News, & Discussion] Pranjalesh:
But it is not answered there as well
[OnePlus 5T  Guides, News, & Discussion] john.difool:
In the app itself I see under About: 2.5.3, in settings->APPS I see 2.5.34 ?? Any explanation?
[OnePlus 5T  Guides, News, & Discussion] EvanSmarter:
i tried to update my 5t to oreo 8.1

got stuck in the bootloop

then tried to recover my nandroid backup

now i get a "encrypt unsuccesful"..."you need to do a factory reset" message

what would be the recommend procedure? (backed up all data with titanium on my pc before doing all this... thx god)

do i really need to do a factory reset?

my research until now says something about nougat using keymaster 1 while oreo uses keymaster 3... guess thats the reason for the issue... but not 100% sure about it
[OnePlus 5T  Guides, News, & Discussion] tjhiwa:
Same here.
[OnePlus 5T  Guides, News, & Discussion] Dornzak:
i may be wrong but i guess the battery life is worse on OOS 5.1.4. went from Android 8.0 to 8.1 but i think the battery life got worst tham before.
[OnePlus 5T  Guides, News, & Discussion] Mervingio:
I think got an update for OOS 5.1.5
[OnePlus 5T  Guides, News, & Discussion] Explyy:
5.1.5 just brought Treble to the stable branch on OP5, pretty sure it's the same on OP5T.

I'm on the beta branch so can't check if that's the case.
[OnePlus 5T  Guides, News, & Discussion] Mervingio:
not sure if can install this without loose TWRP and root?
[OnePlus 5T  Guides, News, & Discussion] Dior DNA:
So is 5.1.5 itself a Treble AIO ROM (including vendor content and excluding vendor from system),

or is upgrade only repartitioning or reassigning for vendor to become available and supported?

I have never flashed Beta if not I would probably know. I run custom ROM.

If 5.1.5 brings treble, that's cool and fine. Is it known exactly where the vendor partition is taken or (re)used from?

I doubt taken from system, perhaps from data, or perhaps reused from unused one.

But in any case, it would be cool if a dedicated utility would exist to make any 5T (running any ROM) treble compatible with 5.1.5 layout.

I guess such can be done in dedicated TWRP. Perhaps codeworkx TWRP already does so?

Have a nice day
[OnePlus 5T  Guides, News, & Discussion] andrewbaker1:
There is a unused 1.6Gb partition which they usee
[OnePlus 5T  Guides, News, & Discussion] Dior DNA:
That's good to know. 1.6Gb is OK. Maybe you know the block device partition by-name or partition number?

But now I still wonder: is 5.1.5 itself a Treble (i.e. vendor independent) ROM?

Like: could I use 5.1.5 stock system as GSI on any Treble device?
[OnePlus 5T  Guides, News, & Discussion] andrewbaker1:
It's the same partition used by Mokee AFAIK.

5.1.5 is a device specific ROM and is not a GSI. This may allow you to flash GSIs without flashing Mokee first.
[OnePlus 5T  Guides, News, & Discussion] giuseppe18:
i have a problem help me
[OnePlus 5T  Guides, News, & Discussion] andrewbaker1:
What's up?
[OnePlus 5T  Guides, News, & Discussion] Dior DNA:
than what did upgrade really change if the unused partition was already there (I can look up which one) :confused:
[OnePlus 5T  Guides, News, & Discussion] andrewbaker1:
Partition didn't exist before. Update just creates and puts the vendor files in
[OnePlus 5T  Guides, News, & Discussion] giuseppe18:
I updated from 5.1.4 to 5.1.5 magisk flash reader and no verity flash I have a spark blue 8.83 treble but it goes into bootloop
[OnePlus 5T  Guides, News, & Discussion] Dior DNA:
Ah, it was not only unused it was perhaps not named or numbered either (it cannot come out of nowhere, except if not yet assigned to anything) ... And : cool ! so the vendor is populated with 1+ stock files!

Even if system itself is not vendor independent, as you say. A bit strange but what the heck. Thanks for information.
[OnePlus 5T  Guides, News, & Discussion] Mervingio:
I think before you flash the ROM you need flash Magisk Uninstaller then ROM, Kernel (if want), Magisk, no verity
[OnePlus 5T  Guides, News, & Discussion] iamterence:
Does the new update have the new UI from the betas or is it still the same one
[OnePlus 5T  Guides, News, & Discussion] BenisMusical:
Old setting ui
[OnePlus 5T  Guides, News, & Discussion] iamterence:
Disgusting
[OnePlus 5T  Guides, News, & Discussion] SkandaH:
[MENTION=6143932]Funk Wizard[/MENTION]

OOS 5.1.5 is live!

Official link: http://otafsg1.h2os.com/patch/amazo...gen_43_OTA_038_all_1808082017_22a1d73d82d.zip

AFH mirror: https://www.androidfilehost.com/?fid=1322778262903986984
[OnePlus 5T  Guides, News, & Discussion] bullet25:
Was Treble enabled in 5.1.4?

I don't remember seeing it saying that it was patching the vendor partition when I installed 5.1.4. but the 5.1.5 did. and "getprop ro.treble.enabled" on 5.1.5 returned true.
[OnePlus 5T  Guides, News, & Discussion] shantanumundada:
So.. I am on OOS 5.1.3 stable version, rooted with magisk and with recovery TWRP v.3.2.1-0. Can some one please guide me to update to 5.1.5. Do I have to change the recovery to treble supported one ? what else needs to be done to avoid data loss? TIA!!
[OnePlus 5T  Guides, News, & Discussion] ebautista:
To avoid data loss, it is very wise to do a backup. Even if you want to dirty flash. There are some issues that data is being wiped or forced to do wipe in order to boot. So the wises thing to do, backup. If you dont want to backup but dont want to loose you data, dont risk. :)
[OnePlus 5T  Guides, News, & Discussion] shantanumundada:
Yes, I have taken the backup. :) I was wondering what are the steps to dirty flash 5.1.5 over 5.1.3. Because it involves treble support I want to get the steps right. TIA
[OnePlus 5T  Guides, News, & Discussion] giuseppe18:
Which recovery do you use?
[OnePlus 5T  Guides, News, & Discussion] denogun:
Upgrading to 5.1.5

(remove all passwords first)

1. Flash the latest (8.83) Blu_Spark TWRP from within your old TWRP or use Fastboot

2. Boot into the newly flashed TWRP

3. Flash the full 5.1.5 zip from OOS servers

4. Clear Dalvik/Cache

5. Reboot - Do not install Magisk at this point!

6. Let OOS 5.1.5 boot up and let the 'finishing Android update' go away

7. From fastboot, boot into the TWRP image

8. Flash the TWRP image to the recovery partition

9. Flash Magisk over that (16.0 is fine)

10. Clear Dalvik/Cache if you'd like

11. Reboot into OOS 5.1.5 with Magisk now installed and TWRP preserved

Some people choose to skip steps 5-8 to avoid the hassle of having to perform one more reboot; I find that this sometimes results in a bootloop as Magisk ?interferes with the post-install processes that come with every Android update. Your mileage may vary.
[OnePlus 5T  Guides, News, & Discussion] MeltdownSpectre:
Treble wasn't there in 5.1.4. It just came to the stable channel now with 5.1.5.
[OnePlus 5T  Guides, News, & Discussion] ebautista:
You can skip 4-8. After 4 reboot to twrp to make the trwp stick as recovery. Then flash magisk and reboot. Device might reboot twice but it is normal. I been doing this many times when dirty flashing oos updates and it always worked fine.
[OnePlus 5T  Guides, News, & Discussion] 53970:
I don't understand steps 7 and 8.

Will the TWRP recovery still ne there? So why do I have to flash TWRP again?
[OnePlus 5T  Guides, News, & Discussion] tjhiwa:
It worked for updates until 5.1.4. But 5.1.5 is different. It formats additional partition.
[OnePlus 5T  Guides, News, & Discussion] bdwilk:
If you don't flash magisk with the ROM then stock recovery will overwrite TWRP. However, if you're encrypted you need to boot the ROM first before flashing magisk.

Honestly I can't tell you procedures for a dirty flash on an encrypted device. I've had this phone since December and been unencrypted since day 1.

Just remember to always make an external backup before trying anything you're unsure about.
[OnePlus 5T  Guides, News, & Discussion] denogun:
step 7 is running the fastboot command fastboot boot twrp.img

however TWRP will not permanently stay after a new flash as the system is not rooted - as such magisk and TWRP have to be flashed in the same instance to ensure that TWRP stays.
[OnePlus 5T  Guides, News, & Discussion] bdwilk:
Why not just do fastboot flash recovery......instead of boot?

Then flash magisk in TWRP. It works also.
[OnePlus 5T  Guides, News, & Discussion] CoreGaming:
will go back to OOS 5.1.1 from DP5 and Mokee ROM with no-verity.. stuck on TWRP after full flash with latest TWRP vom codeworkxx/bluspark.. do i need a "format data" again?
[OnePlus 5T  Guides, News, & Discussion] geminium:
I normally flash TWRP image right after ROM installed. Then reboot into recovery and do Magisk install. And reboot to OS.

In this case I don't loose TWRP recovery
[OnePlus 5T  Guides, News, & Discussion] ebautista:
Nope. It works still from 5.1.4 to 5.1.5