yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Guides, News, & Discussion] bcool_1:
Hi All,

I have already rooted my phone and I am on OOS version 4.7.2 and want to update to the latest version 4.7.4.

Should I update through OTA or should I flash the zip file(1.6gb)?

If I update through OTA will there be any problems like could not boot into recovery or soft brick my system

and if I have to flash the zip file OOS(v4.7.4),what are the steps to flash the file from recovery?
[OnePlus 5T  Guides, News, & Discussion] minaz_in:
Download the full zip file and then flash through recovery. Also flash super su after that.
[OnePlus 5T  Guides, News, & Discussion] senpoos:
Please share the download link for the latest 4.7.4 for OP 5T

Edit : I got the link
[OnePlus 5T  Guides, News, & Discussion] roxdragon:
Hi. If i want make a nandroid backup. I need remove faceunlock and sequence?
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Not mandatory but that's recommended, as sometimes if you restore from a different rom or any rom not based on OOS the recovery is usually unable to decrypt the storage with the old pin/pattern/password. As long as you backup on oos and restore on oos it should be fine.
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Follow the below thread for Update :fingers-crossed:

https://xdaforums.com/oneplus-5t/how-to/official-oxygenos-4-7-2-7-1-1-ota-t3709265
[OnePlus 5T  Guides, News, & Discussion] Dazzel:
I am now a bit confused, when and how the OTA can still work. I know you said 'Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! [...] Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery.'

But what if I root my device via the manual Magisk method (e.g. extracting the boot.img) and keeping stock recovery. Does the partial OTA update still work fine but with loosing root?
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Nope partial ota won't work if you are rooted. You need to flash the full zip instead. Just follow the above thread as I mentioned. The instructions are self explanatory.
[OnePlus 5T  Guides, News, & Discussion] Dazzel:
Thanks for your answer. I recently found out about the Oxygen Updater app, which streamlines the whole updating and re-rooting process for me.
[OnePlus 5T  Guides, News, & Discussion] Pfeffernuss:
For peeps with error 255 when backing up: you can flash this prior to making the backup:

nope (offline due to more testing :rolleyes: )
[OnePlus 5T  Guides, News, & Discussion] Villelj:
Hi, i unistalled Magisk v14.5 because there was some bootloops problems and flashed Magisk v14 and everything works BUT when when i make reboot to recovery (TWRP blu_spark v8.55 3.1.1-x )phone boot now to stock recovery? I can only go twrp with fastboot, how to fix this? Thanks
[OnePlus 5T  Guides, News, & Discussion] laupuy:
Known issue.

If you are on stock rom (or flash stock rom) and boot on stock kernel you lose twrp.

You need root (to patch stock kernel) or a custom kernel (blu_spark) to keep twrp.

Edit. You don't need to uninstall magisk, just dirty flash rom+magisk 14.0 and all should be good
[OnePlus 5T  Guides, News, & Discussion] Villelj:
Thanks for fast answer! Yes I booted to OS after uninstall so that's why..

So I don't need wipe nothing? Just flashed again newest stock rom and Magisk v14?
[OnePlus 5T  Guides, News, & Discussion] laupuy:
To update rom: wipe cache and dalvik, flash rom, flash root, reboot

To change magisk version: flash rom (no wipe), flash root, reboot.

You can wipe cache, dalvik and system: dirty flash cause no data lost, but no needed if you flash the same rom.
[OnePlus 5T  Guides, News, & Discussion] Villelj:
I did this:

To update rom: wipe cache and dalvik, flash rom, flash root, reboot

And still when i press boot to recovery it goes to original recovery. Only in fastboot command can boot to twrp
[OnePlus 5T  Guides, News, & Discussion] laupuy:
Sorry, something go wrong... because it's the right way.

Try to flash rom, wipe cache and dalvik, flash root, wipe cache and dalvik, reboot.

Maybe if you flash rom+root in the same sequence there is a mistake... don't know.
[OnePlus 5T  Guides, News, & Discussion] Villelj:
Did all this and even flashed recovery again. Now it started work! Boot to TWRP normal all the time
[OnePlus 5T  Guides, News, & Discussion] senpoos:
Any Solution for Error 255 when backing up Data ( with or without Security lock like Face ID , Finger Print , PIN or Pattern ) . I am using the latest TWRP modified by Ibe
[OnePlus 5T  Guides, News, & Discussion] Pfeffernuss:
Only the things mentioned already, deletion of the parallel apps related things. Here however, after a reboot sometimes hell broke loose and *all* apps suddenly had their parallel counterpart enabled.

For this reason I simply started fresh, factory reset and done with it.

Backup and restore now work as they should, without 255-issues :good:
[OnePlus 5T  Guides, News, & Discussion] senpoos:
Now do you use Parallel Apps or No ? I need it for Whatsapp
[OnePlus 5T  Guides, News, & Discussion] Pfeffernuss:
Parallel apps never again over here! :rolleyes:
[OnePlus 5T  Guides, News, & Discussion] senpoos:
Any Easy Solution / Suggestion without doing a Factory reset
[OnePlus 5T  Guides, News, & Discussion] Pfeffernuss:
https://xdaforums.com/showpost.php?p=74785264&postcount=49 :good:
[OnePlus 5T  Guides, News, & Discussion] senpoos:
I never used Terminal Emulator before but used yesterday successfully deleted the user 999 and now TWRP ( by ibe ) is working fine and could back up all partitions including Data. Thanks
[OnePlus 5T  Guides, News, & Discussion] Flint2:
You need to edit /data/system/users/userlist.xml and remove line:

<user id="999">

Once done and removed all 999 directories duplicated apps gone from app drawer
[OnePlus 5T  Guides, News, & Discussion] showofdeth:
Is there any benefit to using this tutorial over the all-in-one tool that was linked to in the 5T forum?
[OnePlus 5T  Guides, News, & Discussion] ktmom:
IMHO, yes, knowledge. An all in one tool is great...until something goes wrong. Having done it the "hard" way will make future wtf occurrences less of a mystery.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[OnePlus 5T  Guides, News, & Discussion] Seferi:
I'm getting this error : sending 'recovery' (35216 KB)...

FAILED (remote: Requested download size is more than max allowed

)

finished. total time: 0.000s

Tried with every twrp version... Unable to flash recovery. Anyone knows a solution for this? Thanks in advance.
[OnePlus 5T  Guides, News, & Discussion] ktmom:
Have you updated your ADB binaries? What PC (Mac, Linux, Win)?

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[OnePlus 5T  Guides, News, & Discussion] Seferi:
I'm on ubuntu lts and have the latest ADB installed. Somehow it didnt work.. I installed another flavor of ubuntu on a usb disk and booted the laptop from usb and flashed the twrp through that.. Very annoying.. :) Thanks for your reply.
[OnePlus 5T  Guides, News, & Discussion] acr80:
Thanks, everything worked smooth.
[OnePlus 5T  Guides, News, & Discussion] ktmom:
If you are using ADB from the repositories, it's too old. I'd just purge ADB on your main system and use the source linked to in the 3rd post.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[OnePlus 5T  Guides, News, & Discussion] Nosferatu.:
Yes read what he said below...

Pretty much although it does help in a pinch. Maybe someone can teach me something because here's the issue I had this time around. I was able to see the phone using adb commands but when trying to use fastboot to actually unlock the phone the computer couldn't see the phone?

It's a moot point because I used the tool to do the fastboot commands since my computer was being retarded but for future reference any thoughts as to why?
[OnePlus 5T  Guides, News, & Discussion] ktmom:
You don't say what PC OS. I use *nix and I'm pretty sure the device id is different in the android rules set-up in udev between the two modes. A lsusb in each mode would conform that. I'm not home so I can't double check.

How windows/mac is set-up I can't say.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[OnePlus 5T  Guides, News, & Discussion] Nosferatu.:
Windows 10 64 bjt
[OnePlus 5T  Guides, News, & Discussion] kapilmahawar:
Everytime i wipe to factory reset using any twrp my whole device (includes internal storage) gets wiped. Any idea why that's happening?

I am on blu spark twrp, OOS 4.7.4, encrypted.

Note: same thing is happening with official twrp.
[OnePlus 5T  Guides, News, & Discussion] wholehog2:
I follow your tuto to and it work. But when I try to do a nandroid backup I have the error 255 when it's start to backup the data.

Have you an idea what's wrong ?
[OnePlus 5T  Guides, News, & Discussion] Pfeffernuss:
A good start would be reading the whole thread / last couple of pages.
[OnePlus 5T  Guides, News, & Discussion] quoudten:
Like [MENTION=6617276]ktmom[/MENTION] said you don't state what OS you're using. But in the off-chance you're using *nix you might want to run fastboot commands with sudo (i.e. sudo fastboot oem unlock). Running without sudo in my case would hang at , after running with sudo the process was over in no time.

Edit: I didn't read your last comment. Well, since you're running Windows, maybe try running with administrator privileges?
[OnePlus 5T  Guides, News, & Discussion] lollyjay:
Search 999 in this thread
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
All TWRP links (Bluspark/ibe/Official) updated to latest 3.2.1-0 ;)
[OnePlus 5T  Guides, News, & Discussion] the Doctor:
Having fun today :) This is my first encrypted phone with an unlockable bootloader, so I'm assuming I messed something up.

I went into TWRP and backed up Oxygen, flashed Omni & messed around with it for a while. When I decided to restore my O2 backup, it wouldn't boot--just stays on the 1+ screen and even after 10-15 minutes wouldn't go to the boot animation. If I wipe data & cache/art, it stays on the 1+ screen for a while, reboots to TWRP and runs a script:

E: This TWRP does not have synthetic password dectrypt support

Data successfully decrypted

Updating partition details...

...done

Successfully decrypted with default password.

Updating partition details...

...done

Full SELinux support is present.

set_policy_failed:/data/botchart

Running Recovery Commands

Formatting Cache using make_ext4fs...

Wiping data without wiping /data/media ...

Done.

Done processing script file

Rinse, repeat infinitely.

I didn't know that I needed to remove all locksreen security before the backup, but whether or not I delete the various locksettings & gatekeeper db files from data/system has no effect.

Is there anything I can do short of flashing the OEM image and loosing all my data?
[OnePlus 5T  Guides, News, & Discussion] techlogik:
And this thread is why after 1 day with the Samsung S8+, I moved from HTC all these years and my HTC10, and jumped over to the 5T for awhile...Dev, bootloader unlocking, boot.img, Safetynet etc...all supported.

Only thing wish it had external SD card slot...oh well..will work around it.

Good stuff and guide here. Thanks TS and Devs.
[OnePlus 5T  Guides, News, & Discussion] tcat007:
Thanks for this. 5T arrived today. No issues unlocking, installing TWRP, rooting (Magisk 14.0), transferring my titanium folder from my 6p to the 5T and restoring most apps. Time for a backup. Next: experimenting with Substratum.

Edit: Decided darkui is good enough for a while, may not need Subs. Typeface works well for changing fonts. Only thing I don't like so far is white navbar in 3rd party apps.
[OnePlus 5T  Guides, News, & Discussion] Dewaynelives:
whats the difference between ibe,bluspark and official?
[OnePlus 5T  Guides, News, & Discussion] wholehog2:
For me with blu-spark I can use USB otg but not with official.
[OnePlus 5T  Guides, News, & Discussion] ryanxiao:
Big problem when restore nandroid bakcup, 255 error, really, really need some help.

For nandroid bakcup: screen lock-none, but failed at first, got “createTarFork() with error 255”, search and reference here within this post, after disable parallel, delete user 999, by 2 adb commands:

OnePlus5T:/data # find . -name 999 |xargs rm -rf
pm remove-user 999

Then the backup “succeed”, I even done the backup twice into 128G OTG tf card, one by TWRP3.2.1-IBE, another by TWRP3.2.1-BluSpark. I’m happy and feel secure until today I tried to restore for test…

Two Nandroid back-ups with exactly the same TWRP it created, no screen lock also, restored failed, “extractTarFork() process ended with ERROR: 255”, try figure out with the recovery.log, which I don’t, as blew:

......

==> extracting: //data/data/ (mode 40771, directory)
restoring policy 1CE0 > 'd894560000000000' to '//data/data/'
did not find newline char in expected location, continuing anyway...
==> extracting: //data/data/com.oneplus.calculator/ (mode 40700, directory)
tar_extract_file(): failed to extract //data/data/com.oneplus.calculator/ !!!
I:Unable to extract tar archive '/usb_otg/TWRP/BACKUPS/7e27114a/2017-12-17--14-44-50_4.7.5blu nopass para app en/data.ext4.win000'
Error during restore process.
I:Error extracting '/usb_otg/TWRP/BACKUPS/7e27114a/2017-12-17--14-44-50_4.7.5blu nopass para app en/data.ext4.win000' in thread ID 0
I:Error extracting split archive.
Error during restore process.
extractTarFork() process ended with ERROR: 255

Does anyone really do Nandroid restore with the TWRP provided by this guide and without any issues? Or are there anything wrong I didn’t notice when backup/restore? please guide me to make it right, any help, thanks!
[OnePlus 5T  Guides, News, & Discussion] mannulko:
I have rooted OnePlus 5t through magisk but I am unable to lock LTE band through network signal guru

It only shows option to lock GSM wcdma CDMA bands

pls help
[OnePlus 5T  Guides, News, & Discussion] Flint2:
Maybe in this place you see only 1 band, try to manually add missing bands in Settings/Experiment/LTE Band Append
[OnePlus 5T  Guides, News, & Discussion] topjohnwu:
This is seriously incorrect. You DO NOT need to allow system modifications to flash either Magisk or SuperSU. If you are willing to do things systemlessly, never ever allow system modification!!!
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Noted buddy, I'll make modifications on the OP.

Welcome to the 5T forums, I am glad to see you here, thanks for your contribution and continued support.
[OnePlus 5T  Guides, News, & Discussion] nightraving:
Can anybody help me out here? When rooted with magisk 14.6 and without xposed framework installed, root check seems to be returning as rooted properly. However, anytime I go to flash xposed it then returns as not rooted. I'm using new kernel, and xposed framework 89. I didn't seem to have this issue until I tried a couple of different kernels out, but as far as I'm aware they should be compatible, right? I've tried reflashing OOS, magisk, new kernel, xposed (in that order) numerous times and it always seems to return as not rooted when I flash xposed, but like I say xposed was working fine with root previously. Termux (terminal emulator) returns root with su command and I can still seem to give apps root permissions that ask for it so I'm just a bit stuck as to what to do. Is there a particular order which I should be flashing? Any help would be greatly appreciated
[OnePlus 5T  Guides, News, & Discussion] prince078:
Same here.. Any solution guys..
[OnePlus 5T  Guides, News, & Discussion] mannulko:
Yes I found the solution
[OnePlus 5T  Guides, News, & Discussion] prince078:
Please share
[OnePlus 5T  Guides, News, & Discussion] mannulko:
On network signal guru app go to

---------- Post added at 12:48 PM ---------- Previous post was at 12:48 PM ----------

Pls reply if it works
[OnePlus 5T  Guides, News, & Discussion] Jeroen1000:
TWRP gone after a reboot?

Please tell me what I'm doing wrong. I have unlocked the bootloader and I booted into the bootloader. I then flash TWRP using this command:

"fastboot flash recovery recovery.img". I'm using this version: twrp 3.2.1-0-dupmpling.img which I renamed to recovery.img.

So far so good:)

Next I reboot into recovery (TWRP). I allow it to do modifications to system and then reboot into system. Hence, I have not rooted. I would assume TWRP to patch the stock ROM to prevent itself from getting overwritten. But on the next attempt to boot into recovery, TWRP has been replaced by the stock recovery.

I'm stuck in a loop:)
[OnePlus 5T  Guides, News, & Discussion] Flint2:
In order to keep TWRP you need to root (or manually delete from twrp file manager the script that restores stock recovery or rename recovery-from-boot.p to recovery-from-boot.p.bak)

I recommend Magisk for root
[OnePlus 5T  Guides, News, & Discussion] Jeroen1000:
Thank you that fixed the problem. Magisk worked great too. From the description on the TWRP site I wrongfully assumed TWRP would have handled it.
[OnePlus 5T  Guides, News, & Discussion] Subir Deb:
Why does not Official TWRP -3.2.1-0 recovery not able to read USB OTG when I am in TWRP recovery to flash ROMs in OnePlus 5T?

I even reflashed twrp. It is working when I am in rom copying files reading from USB and installing but same USB not detected in TWRP.
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
Use Blu_Spark or ibe twrp for complete OTG functionality, download links available on the OP
[OnePlus 5T  Guides, News, & Discussion] pafisch:
Hi there,

I followed your guide and everything worked perfectly with stock TWRP 3.2.1 and Magisk 15.0. Thank you!
[OnePlus 5T  Guides, News, & Discussion] Jisifus:
I just flashed OOS 4.7.6 using TWRP, now TWRP and Magisk are gone. I also can't use adb to flash TWRP again, the phone doesn't show up when using "fastboot devices" although it's connected and in fastboot mode, with USB debugging enabled. Can anybody help me out here?
[OnePlus 5T  Guides, News, & Discussion] vulfgar:
I guess you didn't flash magisk before reboot?

I don't know if it's necessary to have OEM unlocked checked in developers options to see phone in fastboot, but you might have to check that again anyway. Also check if you have correct drivers, maybe they need update after the phone update
[OnePlus 5T  Guides, News, & Discussion] agentsandy007:
Theme used in the screens?

Hey OP, fancy the theme used in the screens.

Care to share the details of the theme used.

Thank you.
[OnePlus 5T  Guides, News, & Discussion] jhill110:
Wow [MENTION=6143932]Funk Wizard[/MENTION] ! Your guides are the best written, easy to understand I've ever seen and I've been around awhile.

I particularly like the way you break them up into separate concise "modules" if you will. Great for the noob's and experienced alike.

Bunch of :svetius::svetius::svetius:
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
​

Dear OnePlus Community,

Wish you all a Happy New Year, Lot more to come !!

Have a Kick Ass 2018 !!

Never Settle !!
[OnePlus 5T  Guides, News, & Discussion] Fignoleur:
+1

Happy new year
[OnePlus 5T  Guides, News, & Discussion] 3Shadow3S:
Happy new year all,

Is this works for the Open beta ?
[OnePlus 5T  Guides, News, & Discussion] Micheal86:
[MENTION=6143932]Funk Wizard[/MENTION]

Really excellent thread. :good:

Most useful and informative.

Thank you so much and hats off to you for this.

Successfully unlocked, with TWRP and rooted with Magisk and with my most fav. Viper.

Thank you once again for your hard work.

Happy New Year to everybody.

---------- Post added at 10:08 PM ---------- Previous post was at 10:07 PM ----------

+1
[OnePlus 5T  Guides, News, & Discussion] Paz9:
can we flash the latest stable supersu on the oneplus 5T or does it have to be the SR5/beta version?
[OnePlus 5T  Guides, News, & Discussion] Quarx:
Any tips how to unlock BL without set checkbox "Oem Unlock" in Android Settings?

Oreo updated my touch FW and now impossible use touch screen even with downgrade to 7.0.

I want to install TWRP and manually reflash touch fw.

Thanks.
[OnePlus 5T  Guides, News, & Discussion] goran_oh:
+1
[OnePlus 5T  Guides, News, & Discussion] Mesmurized:
Problems w/old USB cables? Maybe not ...

Got my 5T yesterday. Nice phone ....

Took out phone, plugged into existing USB power supply + cable. Charges fine. Plugged into computer. Failure to install drivers. Search, started downloading OnePlus drivers .... and thought ... took out new OnePlus5T red cable ----- works. Hmmm. Did a nanoid, OTA update, and another nanoid.

Today I accidentally plugged it into to the computer using the old cables Today it works !!!!

Original OS: OOS 4.7.0 - new out of the box

Updated OS: OOS: 4.7.4
[OnePlus 5T  Guides, News, & Discussion] phuphat1986:
[MENTION=6143932]Funk Wizard[/MENTION]: how to change position of status bar like you

Sorry for my bad English :(
[OnePlus 5T  Guides, News, & Discussion] qerboz:
I rooted my OP5T yesterday, it worked perfectly.

Thank you so much for this tutorial.

I still have a question : how do I do OOS updates now ?
[OnePlus 5T  Guides, News, & Discussion] wholehog2:
[MENTION=8753498]qerboz[/MENTION] You must download and flash manually (with twrp) the full version of oxygenos.
[OnePlus 5T  Guides, News, & Discussion] qerboz:
Is there any thread about it ?

I'm discovering TWRP so I don't know much about it and magisk and all
[OnePlus 5T  Guides, News, & Discussion] wholehog2:
I remember read it but I forgot where, may be on xda or on the web.
[OnePlus 5T  Guides, News, & Discussion] Micheal86:
Here you go :

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

See post 3.

Hope it'll help you.
[OnePlus 5T  Guides, News, & Discussion] filetta:
Hello,

Sorry to be annoying or anything, but even after reading all the posts from the author I'm not sure how to apply the new OTA from today. It's 86mb so if an't just flash it with oneplus' built-in update system right ? Nor flash from twrp ? How do I do then ?

Thank you :)
[OnePlus 5T  Guides, News, & Discussion] castaway1:
im stuck at powered by ANDROID after flashing SR5-SuperSU-v2.82-SR5-20171001224502.zip what i do wrong?

EDIT: magisk is working
[OnePlus 5T  Guides, News, & Discussion] klimo9:
Since the OTA update yesterday, I can not flash TWRP. I flash TWRP via fastboot, reboot to recovery, all right. As soon as I reboot system and then want to boot into the TWRP recovery, I have the stock recovery on it. Stock recovery overrides TWRP. Does anyone know what's wrong? Everything was fine before the OTA update ...
[OnePlus 5T  Guides, News, & Discussion] Funk Wizard:
TWRP Updated on OP, Recommend [MENTION=3208754]codeworkx[/MENTION] TWRP and Magisk 15.2 !!
[OnePlus 5T  Guides, News, & Discussion] sebsasko:
Many thanks for your thread !

But several things doesn't work !

Your links for adb-fastboot are good for update but you don't give a real link for a "new install"

And commands for EFS backup don't work at all on my device .... "dd: unknown operand if"
[OnePlus 5T  Guides, News, & Discussion] dariett:
Thx Funk Wizard for the 3D.

I have two questions:

Usually I make the EFS backup with TWRP, is it ok?

Which options I have to tick for a nandroid backup? The "image" ones?
[OnePlus 5T  Guides, News, & Discussion] ryandigweed:
Has anyone tried this after Installing the OTA Oxygen OS 4.7.6?