yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Guides, News, & Discussion] repulse:
Currently on twrp-3.2.1-x_blu_spark_v8.73-op5_op5t, with Magisk 17.1 and OOS 5.1.0

Any easy way to update to latest twrp which seems to be twrp-3.2.3-x_blu_spark_v9.85_treble-op5_op5t or fastboot is the only way ?

And for OOS, is it ok to full wipe, and flash OOS 5.1.5 or should i flash certain intermediate version ?
[OnePlus 5T  Guides, News, & Discussion] Sam Nakamura:
Download TWRP and boot to recovery, then boot up TWRP and hit the install button, down right is another button "install image" (it changes to "install ZIP" when you click it) , hit this one too to make the twrp.img visible, navigate to the folder where you downloaded TWRP to and click on it and swipe to install, then you need to choose the partition it is intended for, choose recovery, swipe again to install the twrp image to recovery partition, once finished you can go back to TWRP's mainscreen to use reboot to reboot to recovery, now you should see that TWRP was updated....

Fastboot is only necessary for the first installation, every subsequent action like updating TWRP or switching versions can be done through TWRP itself, if you however switch to a different version it's recommended to delete /sdcard/TWRP/.twrps folder beforehand to reset the TWRP settings to avoid issues!

No idea about OOS as I am a beta user, I however would assume that stable 5.1.5 can be simply dirty flashed, just wipe dalvik & cache and do backup before flashing the update... On beta a intermediate build was necessary, it wasn't possible to skip the builds leading up to the "project treble" implementation but I can't believe that same is true for stable, as precautions it would definitely come in handy to have the build released before 5.1.5 on your internal storage, just in case!

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

(minor details may vary but it should be accurate enough to find your way through it)
[OnePlus 5T  Guides, News, & Discussion] Spannaa:
Follow [MENTION=7125933]Sam Nakamura[/MENTION]'s instructions to update TWRP and use either blu_spark or codeworkx latest versions.

OOS 5.1.5 is the first stable version with project treble support and I'm pretty sure you need to flash 5.1.4 to prepare the vendor partition first before flashing 5.1.5 which fills this partition.
[OnePlus 5T  Guides, News, & Discussion] repulse:
Thanks guys, i've followed every advice you tell, and it's working great
[OnePlus 5T  Guides, News, & Discussion] tahasumra:
Help required.

I installed a module from MAGISK and now my phone is stuck on bootloop. I need my data, any way I can recover that?

Able to boot to recovery blu_spark. On stock rooted android oreo
[OnePlus 5T  Guides, News, & Discussion] Sam Nakamura:
Download the module "magisk manager for recovery" flash it in TWRP and follow the instructions to uninstall the troublemaker...

This should make your device boot up again WITH all your data!
[OnePlus 5T  Guides, News, & Discussion] nicola1989:
hi is this tutorial good for the last os update 5.1.6?
[OnePlus 5T  Guides, News, & Discussion] Sam Nakamura:
Yeah, the method itself never changes, it's just specific files that are updated (e.g. TWRP), make sure you use latest available versions...
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
V14 or later should work but keep in mind if you have already flashed su you need to flash the full rom first to overwrite system partition and then you can flash Magisk to root your device
[OnePlus 5T  Guides, News, & Discussion] flipim:
Is any way when you Unlock Bootloader, install TWRP and then Root... That you can still use Android Pay?
[OnePlus 5T  Guides, News, & Discussion] hypergamer1231:
Am glad it helped you. Please do like share and subscribe

---------- Post added at 12:44 AM ---------- Previous post was at 12:43 AM ----------

Magisk
[OnePlus 5T  Guides, News, & Discussion] flipim:
I search about it.. if i dont missunderstand this would be the process?

Unlock bootloader

install TWRP

Then ROOT using Magisk

On that 3rd step is still something I dont know...

Where do I get the Magisk zip for the OP5T, or the "magisk.zip" si some generic root?

Ty, and sorry. Ive been away from android a long time.
[OnePlus 5T  Guides, News, & Discussion] Schrotty35:
You mean install su, flash rom again and after this magisk??
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Nope... You need just one either su or magisk.

Now that you already flashed su you can't flash magisk over it just like that. You need to flash the full rom followed by magisk
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Take your advertisement/subscription requests elsewhere, this is xda. I don't appreciate this on my thread.
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
The thread is self explanatory and all the links have been mentioned

Check the twrp post it has the link to Magisk as well. Magisk zip is generic so there is no specific 5T zip
[OnePlus 5T  Guides, News, & Discussion] Schrotty35:
What is the best way for flashing stock image? Whene i flash in twrp, its remove twrp after flashing?
[OnePlus 5T  Guides, News, & Discussion] CroW_D:
I think it should be the same like on op3t

Flash full ROM.zip

Don't boot into system

Flash TWRP recovery as image

Reboot to recovery

Flash

And then reboot to system

Am I right [MENTION=6143932]Funk Wizard[/MENTION]
[OnePlus 5T  Guides, News, & Discussion] cultofluna:
You have to root before boot to system...otherwise your twrp will be replaced from stock recovery....
[OnePlus 5T  Guides, News, & Discussion] Schrotty35:
Yes but ist best way for flash rom? Over adb or stock recovery or twrp recovery for decrypt again?

Edit: I have flash now stock recovery but i can not install stock image. Whene i use Install from internal storage there is no file for flashing?
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Full zip can be flashed from both stock recovery and twrp. If you are using stock recovery either navigate and select the file from your destination folder wherever you have downloaded/pasted the full zip. If you keep it on /sdcard/ the zip would show up as ready to select else you have to navigate it to the destination folder.

You may either clean flash or dirty flash via twrp or dirty flash via stock recovery.

For detailed steps on flashing instructions please check my other thread here post 2 has the download links and post 3 has the instructions.
[OnePlus 5T  Guides, News, & Discussion] Schrotty35:
Ok flashing stock and now magisk working. The problem with Magisk whene you Format Data Magisk not work. Dont Format Data for now!
[OnePlus 5T  Guides, News, & Discussion] patou75:
So just a head-up. Tried to root device without unlocking bootloader and get official OTA through stock recovery (patching stock boot with magisk + flashing via fastboot command).

Well I forget but...in order to flash modified boot via fastboot we need unlocked bootloader otherwise it won't work. After unlocking it, I succeed to root my device and tested the OTA update, it worked flawlessly.

BUT strangly, root apps worked but magisk's modules did not. When I wanted to install zip module it said :

"/data/magisk isn't setup properly! installation failed"

Indeed, no such directory where there (data/magisk).

I made a 101 mistake (no backup) and did something wrong after flashing twp. My OP5T won't boot. After restoring stock recovery, relocking, unrelocking, flashing twrp erase data, system, etc (full erase) and flashed stock rom zip on the forum, I did succeed to have root + magisk working.

Bottom line ?

I think there is something wrong with magisk manager patching boot. Otherwise, we can have root + official ota update :)
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Thank you buddy for sharing your findings with the community. I believe it may have to do with the Magisk beta, did you try the stable one V14 as that one should work fine as the builds are still 7.1.1

Neways no need to brick to test it again, thanks again for trying, sometimes you have to the hard way around and keep your learning curve open :fingers-crossed:
[OnePlus 5T  Guides, News, & Discussion] Blades:
FAILED (remote: Flashing Unlock is not allowed)

Wonder why I get this? Must be some nonsense with setting up a pin?

Not a fan of encryption. I'm not that important and it probably has a slight perf impact.
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Turn on OEM unlock from developer options please :fingers-crossed:
[OnePlus 5T  Guides, News, & Discussion] Tefzors:
I'm impressed that all of this stuff is already possible despite the phone being out for a week. Well done to you!
[OnePlus 5T  Guides, News, & Discussion] Blades:
Managed to brick the device I got today by flashing kernel. Anyone have a backup of their boot.img?

btw. Thanks for the tip on the OEM Unlocking tho.. Can't believe I forgot that tidbit.

edit.. got past bootloop by reformatting to EXT4 (from f2fs). Still need a backup of boot.img because I'm an overly enthusiastic idiot about screwing with things.
[OnePlus 5T  Guides, News, & Discussion] nicola1989:
yes i guess, i was just asking because with the last update they add the official support for Treble, so i was wondering if something need to be done before start modding , thx for your answer
[OnePlus 5T  Guides, News, & Discussion] Sam Nakamura:
Well, official treble support was already added a while ago, not sure what they did, maybe they improved their implementation...

You need to use a treble ready recovery like blu_spark's or the one from codeworkx, they're known to work with /vendor partition, I don't think official TWRP has this implemented yet!
[OnePlus 5T  Guides, News, & Discussion] Fahad_ahmad:
Any change in this method in terms of files required if i were to root n install recovery in 5t on 5.1.7 ??
[OnePlus 5T  Guides, News, & Discussion] Fahad_ahmad:
Do we have to flash custom kernel as well ??
[OnePlus 5T  Guides, News, & Discussion] Sam Nakamura:
iirc:

Only if you like, however Magisk is mandatory on this phone with custom recovery installed when running OOS/H2OS... (as Magisk is going to patch the stock kernels "security features" which otherwise wouldn't allow to run OOS & custom recovery)
[OnePlus 5T  Guides, News, & Discussion] mivoe99:
Hey there,

so I just received the notification that I can download the OTA update to Android Pie.

I am currently on Oreo and I rooted my device with Magisk through this guide. (worked great btw)

I haven't touched the system partition in TWRP and left it unmounted. Magisk is also running systemlessly with no system root apps (only root apps: TitaniumBackup, Termux and Solid Explorer; modules: BusyBox for Android NDK)

Do these apps or especially the BusyBox module cause and difficulties when I want to update? The modules should all be systemless right?

I didn't modify any system files so I should be able to install the ~1.7GB update right?

In which folder can I find the downloaded update package because I need to select it manually when flashing it with TWRP right? The automatic update doesn't work with TWRP or does it?

If I am updated to Pie I can just flash Magisk again to be rooted again or does Magisk survive the update (probably not?)

Thanks for every answer :)
[OnePlus 5T  Guides, News, & Discussion] Fahad_ahmad:
checked the encyption option while taking nandroid backup ( which i cancelled cz it got stuvk at 97 prcnt) , now i can enter OS but cant enter into recovery , its asking for password. m entering correct one but its not accepting it

flashed the same bluespark 9.85 recovery again thru flashify but the same error ? should i flash some other recovery? or any other solution ?

i did remove the lockscreen before backup.. changed it to swipe only
[OnePlus 5T  Guides, News, & Discussion] Fahad_ahmad:
i did this as mentioned in first page post

Boot into TWRP

Use the TWRP File Manager and Navigate to /data/sytem/ and delete the following files:

locksettings.db

locksettings.db-shm

locksettings.db-wal.

gatekeeper.password.key

gatekeeper.pattern.key

the problem still exist when booted into recovery, n it has caused me furthur problem now

now i can boot into OS but no launcher no app app is shown, no storage access now at all

m stuck now..

wot to do ????
[OnePlus 5T  Guides, News, & Discussion] starbaba:
Hi I'm facing this problem:

When i did everything before, and come to flash twrp, typing "fastboot flash recovery img name.img" and press recovery mode, it keeps opening fastboot mode. What to do if it keeps doing this?

Please help me.
[OnePlus 5T  Guides, News, & Discussion] dodyakako:
i am on OOS 9.0.0 Stable pie how to root and install twrp Recovery ?

Oneplus 5t
[OnePlus 5T  Guides, News, & Discussion] fab_ben:
Same op still applies...
[OnePlus 5T  Guides, News, & Discussion] ImmU94:
If I'm not wrong There should not be a sapce the command looks like this "fastboot flash recovery twrp.img" or "fastboot boot recovery twrp.img"
[OnePlus 5T  Guides, News, & Discussion] starbaba:
Thanks for replying.

I rooted my device already. But using bluspark; not twrp. I don't know what's the problem with twrp but I've tried like 3 times didn't work anyway. But bluspark is.
[OnePlus 5T  Guides, News, & Discussion] senpoos:
I am on the latest Pie Beta with Magisk & Blu Spark Kernel. Please let me know the steps to unroot the phone and lock the Bootloader
[OnePlus 5T  Guides, News, & Discussion] Trainerwump:
Hello People,

Anyone else have a "zip_compatibility_err" when trying to install OnePlus5TOxygen_43_OTA_046_all_1901182151_e67b153d1f3d4d91.zip (uploaded 25 January 2019) using blu spark V9.85. The zip was downloaded from the 1+ support page (5T).

Any advice would be appreciated.

Thanks Kindly
[OnePlus 5T  Guides, News, & Discussion] strongst:
Did you read the first post with the flashing instructions and follow it?
[OnePlus 5T  Guides, News, & Discussion] Trainerwump:
Thank you for your assistance Strongst

At first your help was a puzzle because the first post on this thread <<OnePlus 5T: Unlock Bootloader | Flash TWRP | Root | Nandroid & EFS Backup & More !!>> (https://xdaforums.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592) only pertinent information was.."Before you start, OTA up to the latest System Update available. Settings > System Updates > Download & Install the latest available".

I knew you were trying to help and in my notes I found a reference on post #53 (https://xdaforums.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592/page6) to a more appropriate thread <<[OFFICIAL] OxygenOS 9.0.3 (Android Pie 9.0) OTA for OnePlus 5T (dumpling)>>.

https://xdaforums.com/oneplus-5t/how-to/official-oxygenos-4-7-2-7-1-1-ota-t3709265

On that page I found the solution using the key you sent me.

Thank you, Strongst

Trainer
[OnePlus 5T  Guides, News, & Discussion] 3rr0r-3y3-(KuTtY):
@ Funk Wizard bro i need this screenshot theme bro can i get ?
[OnePlus 5T  Guides, News, & Discussion] 3rr0r-3y3-(KuTtY):
bro after root can get OTA ?
[OnePlus 5T  Guides, News, & Discussion] strongst:
Yes
[OnePlus 5T  Guides, News, & Discussion] 3rr0r-3y3-(KuTtY):
ok brother tq ................
[OnePlus 5T  Guides, News, & Discussion] 3rr0r-3y3-(KuTtY):
bro where can i get that theme file
[OnePlus 5T  Guides, News, & Discussion] Spannaa:
Search the playstore for Valerie substratum
[OnePlus 5T  Guides, News, & Discussion] 3rr0r-3y3-(KuTtY):
substrattum did't work coz

app doesn't request root / Magisk doesn't recognice root request

how to fix
[OnePlus 5T  Guides, News, & Discussion] Spannaa:
If you're using the latest version of substratum and Magisk 18, substratum should ask for root and install a Magisk module.

If this isn't happening, ask in the substratum forum and give full details.
[OnePlus 5T  Guides, News, & Discussion] 3rr0r-3y3-(KuTtY):
///// tq bro but root checker , kernel auditor , all app not detect root

i am installed latest magisk

tq
[OnePlus 5T  Guides, News, & Discussion] Spannaa:
So it looks like it's a Magisk issue, not a substratum one.

Search the Magisk forum and then ask there.
[OnePlus 5T  Guides, News, & Discussion] Mirza_Husnain:
Magisk 18 and 18.1 Issue

After updating to Magisk 18.1 my Oneplus 5t stuck on boot . If someone finds the solution to this issue, Please let me inform.

Thanks in advance.

---------- Post added at 06:46 PM ---------- Previous post was at 06:41 PM ----------

Magisk 18 and 18.1 Issue

After updating to Magisk 18.1, my oneplus 5t got stuck on boot. I've tried 'dm_verity zip' but can't succeeded.

If someone finds any solution to this, Please inform.

Thanks in advance.
[OnePlus 5T  Guides, News, & Discussion] DrLobaLoba:
Rooting phone

I've recently rooted my own 5T and now a friend is asking if i can root his Nokia 6. Can I root Nokia 6 following this guide or would that phone need a different guide? I'd obviously get TWRP for Nokia 6 and not OnePlus 5T.
[OnePlus 5T  Guides, News, & Discussion] strongst:
Oh no, don't do this, it will not work. Have a look at the Nokia 6 forum how to root this phone https://xdaforums.com/nokia-6
[OnePlus 5T  Guides, News, & Discussion] hasankhaleel:
5t

today i bought a 5t ; and i did this tutorial ;

Magnificent .. tremendous .. extraordinary .. super .. Hulk !

btw i did the command parts by my pc CMD not adb_cmd (by mistake) and it works

just needed to redirect to zip addresses by "cd c:\.... "
[OnePlus 5T  Guides, News, & Discussion] carpediem1325:
my current version of oxygenos is 9.0.3. now iwant to update to 9.0.4 how do i update it? i already download the zip file. now i want to know. if i should remove the compatibilty zip again. like in 9.0.3? pls. need tutorial for this tnx
[OnePlus 5T  Guides, News, & Discussion] strongst:
The tutorial you're looking for is the OxygenOS 9.0.4 thread https://xdaforums.com/oneplus-5t/how-to/official-oxygenos-4-7-2-7-1-1-ota-t3709265
[OnePlus 5T  Guides, News, & Discussion] hasankhaleel:
i did a root ; can i lock the boot-loader so i dont get warning message on every restart ??

is that affect future flashing roms kernal ?
[OnePlus 5T  Guides, News, & Discussion] strongst:
Ignore it, it's just a splash screen and has no effect. Relock the bootloader isn't possible when you want to keep root.
[OnePlus 5T  Guides, News, & Discussion] hasankhaleel:
got it .. thx
[OnePlus 5T  Guides, News, & Discussion] Equals_Android:
Hi when i go and select the recovery mode using the volume keys for the final step after flashing via adb the device doesnt boot into recovery. It goes straight back to fastboot. Anyone having this issue?
[OnePlus 5T  Guides, News, & Discussion] login22:
Thank you for the guide.

Will this same procedure work to install TWRP by siankatabg.

I tried but it went in loop mode and was coming back to fastboot screen.

Issue resolved.
[OnePlus 5T  Guides, News, & Discussion] strongst:
You should edit your post cause you already solved it by your own.
[OnePlus 5T  Guides, News, & Discussion] mmm273:
If i am correct - this will disable OTA from system settings (settings- update search) ? I just want cusotm kernel + magisk.
[OnePlus 5T  Guides, News, & Discussion] strongst:
What do you mean by THIS?
[OnePlus 5T  Guides, News, & Discussion] mmm273:
Sorry I try my best to made this clear

I have 5T with latest OOS.

I want custom kernel with magisk root.

Will this disable OTA from OnePlus ? Will I need everytime download full zip and flash it via recovery or it will work normal so I would go to settings - check for update and update through here to what phone find ?
[OnePlus 5T  Guides, News, & Discussion] strongst:
No, when you have root along with custom kernel etc you need to follow the instructions in the OxygenOS thread(stable/beta) for updating.

The stock ota update feature won't work with root and custom kernel etc.
[OnePlus 5T  Guides, News, & Discussion] mmm273:
OK thanks.

Now question is what is more worth - root or functional OTA.
[OnePlus 5T  Guides, News, & Discussion] strongst:
Haha, that's a convenient question and can only answered by yourself :D

It's just a little bit more time consuming when you can't do ota, but more convenient when you have more functions, backup availabilities, flexibility. That's my opinion.
[OnePlus 5T  Guides, News, & Discussion] Spannaa:
On the 5T: Rooted custom rom (DU) over OOS every time ?
[OnePlus 5T  Guides, News, & Discussion] mmm273:
I like OOS. So i will root it only for gcam and thats it. (i dont know now about custom kernel because it seems like anytghing than stock kernel have issues with gcam)
[OnePlus 5T  Guides, News, & Discussion] renzs:
Hi all, I'm trying to run fastboot boot twrp.img but I keep getting stuck on the Fasboot Mode logo after the unlocked bootloader warning page.

I'd like to run the recovery first to backup stock recovery and kernel before installing twrp for good.

Anyone experienced this?

Rgds
[OnePlus 5T  Guides, News, & Discussion] fab_ben:
fastboot boot recovery should do the trick. But I don't know if stock recovery can provide updates. Or if you mean you already installed twrp?
[OnePlus 5T  Guides, News, & Discussion] renzs:
I'm trying fastboot boot recovery but it gets stuck at the logo after unlock warning page.

anyway, I've skipped recovery backup and installed twrp. all's good. thanks
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
So , i made the last update of the OOS , and i lost the twrp / root with magisk !

Now when i try to boot the trwp the folders have strange names like :

and inside :

What i'm doing wrong ?
[OnePlus 5T  Guides, News, & Discussion] strongst:
Seems you that your storage is encrypted and your twrp have issues to read it.

Can you please describe which steps you take to update?
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
unfortunately i made the update on the phone , normally !
[OnePlus 5T  Guides, News, & Discussion] strongst:
Describe your steps please and which rom version/twrp/magisk you had before.
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
I follow the tutorial a week ago , more a less and use the most recent TWRP / Magisk ! And everything works fine !

however , yesterday , i receive the notification for the latest OOS and i update !
[OnePlus 5T  Guides, News, & Discussion] strongst:
How exactly did you update? Just downloaded the full ota file within oxygenOS system updater and let it automatically install?
[OnePlus 5T  Guides, News, & Discussion] insigma28:
Same problem

Since installing 9.0.5 tried to revert to ob29 still no luck in twrp and root even when flashed again via pc just keeps disappearing
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
unfortunately , automatically :mad:
[OnePlus 5T  Guides, News, & Discussion] strongst:
You need to reinstall the same twrp and then magisk through fastboot like the first time.
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
I Can't !

and i can't select USB STORAGE !
[OnePlus 5T  Guides, News, & Discussion] strongst:
Your storage is encrypted. As I wrote before: through fastboot
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
Flashing magisk first through fastboot ?
[OnePlus 5T  Guides, News, & Discussion] strongst:
No, like the first time described in this guide you've installed twrp through fastboot and then magisk, no?
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
Yes , but i cant find magisk to install because storage is encrypted :(
[OnePlus 5T  Guides, News, & Discussion] strongst:
Was your storage encryped before that update?

Did you flashed exact the same twrp you had before the update?

Normally this works...
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
I dont have the same files.

There's anyway to reverse this? Like Hard reset / clean install?
[OnePlus 5T  Guides, News, & Discussion] strongst:
If you don't remember which twrp it was you can also format internal storage with your current twrp which obviously wipes everything on your device.
[OnePlus 5T  Guides, News, & Discussion] Rcovelinhas:
And after that , what do i do ?

UPDATE : i remove the unlock code from my phone , and now i can see the name of the folders , but still can't acess the usb storage