yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] Sandertje1980:
Hi guys, I upgraded to 5.0.1 coming from 4.5.15 (root, encrypted) successfully, although I had a hiccup which I would like to share. This was the procedure:

1) install codeworkx twrp

2) reboot to twrp

3) wipe everything (data,cache,dalvik)

4) format data

5) flash oos 5.0.1

6) flash codeworkx twrp again

7) flash magisk 15.3

8) reboot: bootloop

The bootloop was an alternation between oneplus logo and unlock warning screen.

What I did then:

8) boot to recovery (twrp)

9) wipe everything (system, storage, data, cache, dalvik)

10) format data

11) install oos zip

12) reboot: success! but of course no root and stock recovery

13) after initial setup, I flashed codeworkx with fastboot

13) boot in recovery

14) flashed magisk 15.3

15) reboot: success!

I was wondering why it failed the first time and if an initial setup is required before rooting the device. Or maybe something else is the case? Maybe someone else knows...?
[OnePlus 5 Guides, News, & Discussion] DSF:
You can also check exif data, if aperture is f/2.6 then the tele camera was used.
[OnePlus 5 Guides, News, & Discussion] Naruske:
What a ****show. I'm by no means new to flashing, adb etc. but there is one user that had to explain a procedure to one user on 3 separate occasions. And 3 times he uses a different ****ing method. No mention of no_verity is required hurr durr! So off I go to find no verity because I had some issues flashing the update. Welp that didn't work still in a recovery bootloop, scroll scroll Oh BuT DiD YoU GeT ThE HaGrIt oNe? I aM tIrEd Of ExplaInIng ThIs EVerY tImE. WHEN YOU NEVER MENTIONED ANY OF THIS. GOD DAMN IT I HAD TO FORMAT AGAIN.
[OnePlus 5 Guides, News, & Discussion] JellySquasher:
Is the [Subs] Ethans Animations, now supported on the latest OOS version? And is OOS 5.0.1 fully OMS? Because i still cant get some overlays to work 100%
[OnePlus 5 Guides, News, & Discussion] christopher96:
yes same prob occured to me. i flased it wirh codeworkx twrp thn it worked fine.
[OnePlus 5 Guides, News, & Discussion] Queky:
first of all, i don't say this in a rude way. there are thousand of users (like me) that thanks to this kind of post and explanations can upgrade their phone succesfully. if you don't know much of how to use adb, custom recovery or the difference between an encrypted device and non encrypted device (you have to flash a no_verify file in a custom recovery if you formatted your device) its your fault.

don't be so rude, your problems are yours, and here people just try to help. it's a childish attitude to say it's everyones fault and not yours, when the only person doing all the things to your device is you.
[OnePlus 5 Guides, News, & Discussion] Naruske:
Like I said in previous post. I am not new to the scene, to adb or custom recoveries. I had a decrypted device. I didn't have to format either with the previous update. I'm not rude either. I'm just stating if you are so kind to post how to install the update or a new rom atleast make sure your 'tutorial' contains every step in one post and not scattered through 4 posts where people have to go indiana jones just to put them together.
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
sorry to butt in, but just to try and explain something..

dm_verity is not a requirement. its an optional install.

as for the scattered instructions in multiple posts?! ...there are MANY posts with complete instructions, including ones from users who DID flash dm_verity.

i myself have a couple of posts with complete instructions.

the problem is that people are in different situations which require alternate steps to take. for example, updating from 4.5 to 5.0, 5.0 to 5.0.1, unlocked or locked bootloader, encrypted or decrypted, and a lot of posts with people who have had problems with bootloops and encrypted storage.

i dont know which steps you followed, and which posts you are complaining about, or why you think that dm_verity was the key to your woes?!

just try to understand that there are many people on here with different setups, and people posting help and suggestions to other users... yes it sucks that you have to read through hundreds of posts to get your answer, but thats the way it is with such a large community. threads get out of hand very quick.
[OnePlus 5 Guides, News, & Discussion] freaky2xd:
Can anybody help me?

I did the "For Unlocked Users with TWRP Recovery Method 1" and got some trouble.

I did everything exactly as instructed but when flashing magisk I get ERROR 1

that's why I skipped the rooting step and rebooted to system, but now it's showing me the boot animation since 10 minutes and I don't think that booting should take that long!

I am using "twrp-3.2.1-0-universal-codeworkx-dumpling.img" as TWRP
[OnePlus 5 Guides, News, & Discussion] Sliqqq:
Has anyone upgraded (dirty) from ONEPLUSA5000_23_180104? Any problems?
[OnePlus 5 Guides, News, & Discussion] Vlad_z:
Good questions but unfortunately you wont find the answer in this thread... Even update procedures on first page are ambiguous and there is no mention that they are not for your case. (coming from Nougat to Oreo, rooted and encrypted).

My take on flashing magisk coming from Nougat to Oreo - it should be done when Oreo is settled first, this way when magisk will patch boot image it will not bootloop.
[OnePlus 5 Guides, News, & Discussion] smartdroid:
I understand that going from 4.5 to 5.0 (OTA) with an unlocked bootloader will fail. I experienced that myself on Christmas Eve. Does anyone know if going from 5.0 to 5.0.1 (OTA) with unlocked bootloader will fail or not?
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
there was a user here who claimed successful OTA update with an unlocked bootloader, but even OnePlus themselves mentuon that it may fail.

if you update full zip through codeworkx TWRP, it will work just fine.

i did it myself without problem.

note: upgrade from N to O does not fail technically...really, its the encryption thats causing problems which forces you to wipe and do a clean flash.
[OnePlus 5 Guides, News, & Discussion] Vlad_z:
Going from Nougat to Oreo OTA unlocked without formating Data partition will fail.

I did not debug it but looks like this has something to do with default encryption key. For unlocked they use different key?

That what OnePlus stated in update notes for Oreo and there is a check in upgrade script for unlocked devices. BUT in that script there is a check for Oreo (sdk26) as well... and if phone is on Oreo already it skips unlock checks...

So, one can make a conclusion that going from Oreo to Oreo - it does not matter if your bootloader locked or unlocked.
[OnePlus 5 Guides, News, & Discussion] smartdroid:
I confirmed your conclusion. I updated from 5.0 to 5.0.1 (OTA) with unlocked bootloader with encryption without any issue.

THANK YOU :)
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Blu_Spark TWRP Updated on the OP ;)
[OnePlus 5 Guides, News, & Discussion] Jkr Zath:
it's stuck at "Patching system image unconditionally..."

please help

---------- Post added at 05:30 PM ---------- Previous post was at 05:30 PM ----------

it's stuck at "Patching system image unconditionally..."

please help
[OnePlus 5 Guides, News, & Discussion] patr_:
This is absolutely not helpful at all. If you want a serious answer, provide at least the following informations about your setup:

previous OOS, TWRP, bootloader, encryption, root, error message and new OOS

If we don't have any information, we can't help you!
[OnePlus 5 Guides, News, & Discussion] Agra7:
Hello. I'd like to update my OP5 from OOS 4.5.14 based on Android N 7.1.1 to the latest version. I rooted it with the SuperSU 2.82 method, but I read Magisk is a better choice. Could you guys please help me? I'd like to keep all my apps and data, but I don't to mess it all up because I didn't flash something correctly. Basically, I want to update to the latest version, change from SuperSU to Magisk and keep all my apps and data. Hope you can help me. Thank you very much.
[OnePlus 5 Guides, News, & Discussion] rallysquirrel:
F$@ me. I got to #7, it booted into TWRP and I rebooted as per #8.

I waited 30 minutes and the booting gif kept going, so I shut it down. Tried getting into TWRP (vol- + power) and stock bootloader pops up. Something must've gone really wrong as I can't do jack now.

In fastboot I see that secureboot is set to YES, device state - unlocked

Good thing I made a TB full backup. Just trying to figure out how to get the pictures off the phone
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
unfortunatelly you must do a clean flash from N to O. I would suggest you do a backup of your Data partition and internal storage, and copy it to a computer.

PREPARE:

1. go to Settings and remove any Lock Screen security you have. set it to "swipe to unlock"

2. reboot into recovery. Select Backup then Advanced, and select only Data partition and internal storage

3. Copy backup files to a computer

EXTRA:

4. Copy all your important Internal Storage files to computer too for extra piece of mind, since you can directly use this copy.

STEPS:

Copy OOS 5.0.1 and Magisk from first post to Internal Storage.

Flash TWRP Codeworkx via ADB

boot into TWRP and Wipe Boot, System, Data.

Flash OOS 5.0.1 FULL.

Wipe dalvik/cache

Reboot into recovery to see if TWRP is still installed. if not, flash TWRP codeworkx again.

Do a Factory Restore (just to make sure Oreo file system in complete)

Flash Magisk if you want to Root. skip if you dont.

wipe dalvik/cache again

Reboot System.

FINAL:

after you boot into System, you will go through the final setup of Oreo.

When it's all done, copy your backup files to Internal Storage.

Reboot into recovery, select Restore and locate your backup files.

after restore is complete, Wipe dalvik/cache one more time, then reboot system.

you should have all your apps and app data restored.

good luck!

---------- Post added at 12:52 AM ---------- Previous post was at 12:46 AM ----------

it failed the first time because System partition was not wiped clean. So system was still encrypted fron Nougat.

also, when you do a Factory Reset, this will reset to default "current" OS. in your steps you went to default Nougat then update to Oreo...should be update to Oreo first then factory reset... its not important, but thought i should mention it for clarity.

---------- Post added at 12:59 AM ---------- Previous post was at 12:52 AM ----------

Just flash TWRP in adb/fastboot, you will be fine.

see the steps above.

you MUST wipe system before updste to Oreo or you get bootloop.

in the restore section, you just need to restore with TB.

do not restore any system apps...you can try app data only.
[OnePlus 5 Guides, News, & Discussion] Vlad_z:
Check here... nougat to Oreo easy way
[OnePlus 5 Guides, News, & Discussion] collin5022:
Hey guys. I ROYALLY F*CKED UP! I forgot to take a Nandroid also, SMH.

I dirty flashed 5.0.1 with TWRP, and everything seemed to be going fine. But the booting was taking forever, so I restarted the phone while booting, FML.

Now I can only boot into TWRP, but the whole system is corrupted. I am unable to locate the system image in TWRP to reflash.

My only hope now is to sideload the full ROM piece-by-piece. Can anybody assist me with this?

Back in the Nexus days, I used to do

"fastboot flash bootloader bootloader-xxx.img\

fastboot flash system system.img\

fastboot flash boot boot.img\

fastboot flash recovery recovery.img\

fastboot format cache\

fastboot reboot"

I've unpacked the full rom zip, and can't seem to find the same files. Can some guru please help me out here? What files exactly do I need to flash? HELPPP :'(
[OnePlus 5 Guides, News, & Discussion] Kruzkal:
I done that before. If you didn't wipe data you can sideload the old ROM and recover to your previous state.
[OnePlus 5 Guides, News, & Discussion] collin5022:
That would be amazing... how the heck do I sideload my old ROM from this state? I'm booted into TWRP and attempting to "adb sideload" the rom from the computer, but I receive "error:closed"
[OnePlus 5 Guides, News, & Discussion] kouss77550:
You have to boot into a compatible recovery (TWRP codeworxx is recommended → fastboot boot xxx.img)

Then the only way I was able to flash something was via OTG
[OnePlus 5 Guides, News, & Discussion] collin5022:
I'm booted into TWRP and attempting to "adb sideload" the rom from the computer, but I receive "error:closed"

---------- Post added at 04:22 AM ---------- Previous post was at 03:53 AM ----------

You were right, I am able to do this via OTG. Unfortunately though, when I finally booted up, I received a message saying "Encryption Unsuccessful: The device encryption was interrupted and can not continue. Unfortunately you will not be able to access the data on this phone and will need to perform a factory reset." DAMNITTTTTTTT!!!! serves me right for being impatient, SMH!!!

Just a friendly reminder to everybody else.... BE PATIENT WHEN THE PHONE IS BOOTING!!!!
[OnePlus 5 Guides, News, & Discussion] gunther82:
I had this error when I tried to perform a nandroid backup while having set up parallel instagram app in Oreo. I solved by removing the paralell app and by deleting the new user that this operation created.

I don't know if this is your case too though.
[OnePlus 5 Guides, News, & Discussion] me1k01:
Is there any official Statement from OnePlus if it will be easier in the future to update his Software while the Phone is rootet?

As it seems, there is still no fixed and working manual to update from rootet 4.5.15 to oreo. Am i right?

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
You have to boot in stock recovery and go in wipe section and do the erase everything step then your phone should boot :good:
[OnePlus 5 Guides, News, & Discussion] blakemagical:
I'm currently running oos4.5.15 rooted (twrp + magisik). how can I update to oos5.0.1 ? can I use magisik systemless method to update my phone ?
[OnePlus 5 Guides, News, & Discussion] Agra7:
Thank you for your reply, [MENTION=3303933]sketch.droid[/MENTION] I read it all, but I still have some doubts I hope you can help me with:

1. I have no Internal storage option under Backup>Advanced in my TWRP. May it be System?

2. What's the difference between the backup you suggest and a nandroid backup?

3. Isn't it possible to flash Codeworkx TWRP via the official TWRP 3.1.1-1 I have already installed. If not, must I flash it via ADB twice if only necessary?

4. Between the steps Factory Reset-Flash Magisk, do I have to reboot in recovery mode and enter TWRP to continue?

5. This process won't cause any problem between SuperSU and Magisk, right?

Thank you again. Waiting for your answer.

P.S: Also, could you please tell me something about no-verity and redo everything you used the root for? I just did it to make my smartphone compatible with Daydream... I remember editing some files. Will they be restored? Because if not... it would be double task.

Thank you for your reply, [MENTION=3856159]Vlad_z[/MENTION] I read your guide but I get lost in some steps. Help me, please:

1. Can I flash Codeworkx TWRP via official TWRP 3.1.1-1?

2. What boxes must I check to make a nandroid backup?

As I rooted my smartphone just to make it compatible with Daydream, will it be after doing all the process? Because I remember I had to edit some files and I don't know if I will lose them.

Also, there will be no problems between SuperSU and Magisk. Right?

P.S: Do you know anything about no-verity and redo everything you previously used the root for? I read something about that...

Thank you again.
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
Internal Storage is basically everything you see when you plug your phone to a computer. So if you backup manually on a comouter it's the same thing.

...interesting that you dont see it tho... but it doesnt matter, just copy by pluging your phone to computer.

my step is the same as nandrod backup, except i dont suggest backup of System, because it will not work when you restore "after" a failed Oreo update.

i have a theory but cant test it anymore...if you want to do it and have a "possible" working nandroid backup of your Nougat...

TWRP- Backup - Advanced:

select Boot, System Image and data

again.. this is just a theory. System Image "should" backup your encryption keys, so when you restore it should be able to decrypt.

As far as im aware, you cant flash new recovery from recovery... you must do it from ADB/Fastboot.

Sometimes when flashing a new ROM, it can overwrite your custome recovery (twrp), this is why i suggest to reboot into recovery to check. If your custom recovery has been replaced with stock, then re-flash twrp before you boot system.

Factory Reset and flashing Magisk, you are already in recovery. only reboot into recovery after flashing the Oreo update to check if its been overwritten.

Magisk is the new root method, preferred over SuperSU. but you can use whichever you like better.

i prefer Magisk as it comes with more options and the ability to install mods from the app. very helpful.

No-Verity will force your phone to stay unencrypted.

in truth, if the phone was unencrypted before update from N to O, this process would have been much simpler... but at the same time, its the Oreo update that doesnt handle encryption keys right.

so future updates shouldnt have this problem. *fingers crossed*

i dont use no-verity, im still encrypted myself.

im not sure about your edited files and daydream... but Magisk is root, so ideally you should be able to use your daydream app

---------- Post added at 12:41 AM ---------- Previous post was at 12:23 AM ----------

Read a few posts back where there are steps to take, from myself and other users.

you cant use magisk to update to Oreo... i've never even heard of such a thing?!

---------- Post added at 12:52 AM ---------- Previous post was at 12:41 AM ----------

Try this post from a few pages back. Dont forget to thank the poster if it helps.
[OnePlus 5 Guides, News, & Discussion] collin5022:
Hey guys, I'm back. I've gone through the steps here, but my phone is stuck on the boot screen after step #8. It has been about 40 minutes, it shouldn't take THIS long, right?? I am afraid to stop and restart as it may still be reencrypting files. Is there any steps missing from the OP directions? I've read in some other comments that wiping the "System" is a requirement, but I only wiped dalvik and cache prior to flashing the ROM. Any idea what's going on here? I think I'm just meant to stay on Nougat forever, my gosh.
[OnePlus 5 Guides, News, & Discussion] cultofluna:
This workaround is for updating from 5.0 to 5.0.1....!!

From nougat to oreo check this one

https://xdaforums.com/oneplus-5/how-to/guide-upgrade-nougat-rooted-encrypted-t3734779/post75189394
[OnePlus 5 Guides, News, & Discussion] collin5022:
This has been the absolute worse upgrading process I've ever experienced with Android! I've been doing this for a longgg time, I'm not a newbie. Why in the hell is upgrading to Oreo so damn convoluted? At this point, my only option is to fully wipe my device and install Oreo from scratch. Complete and total BS. *inhale...exhale*. Everything is fine :D

p.s. thanks for everybody's help. just gonna start from fresh Oreo.
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
there are some things you can do to salvage your apps, app dats, and internal storage.

it may work. it may not.

read the end of my previous post and try that link.

of you have a nandroid back up, you can clean flash Oreo, then restore ONLY data partition from your nandroid backup.
[OnePlus 5 Guides, News, & Discussion] collin5022:
Yeah, I really appreciate your help on this. I decided to just clean flash Oreo and start fresh instead. It got to the point where I could only access encrypted data through TWRP, nothing was human readable. I didn't feel like going through hell and back just to salvage a few things. I'll just take this experience as a lesson learned, and never make the mistake again.

Again, I really appreciate your attempted assistance! :)
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
not a problem at all, you're welcome.

the link in my post was exactly for that, to save encrypted data.

but anyway, it dosnt matter now.

i was in the same situation, i lost everything on intenal storage with no local backups, or google drive backup.

the only thing i was able to do, was to restore an old nandroid backup i found lying around, and only restore the data partition.

which worked much better than i thought it would.
[OnePlus 5 Guides, News, & Discussion] majefx:
Isnt new release took long ? :rolleyes:
[OnePlus 5 Guides, News, & Discussion] itstheunsub:
Edit: fixed the bootloop but i still can't figure out how to disable the password verification.

I flashed no verity mod For_OOS_Oreo by HatriGt on the OTA 5.0.1 and I've got a bootloop now. -.-
[OnePlus 5 Guides, News, & Discussion] Binary Assault:
Is your device encrypted? If you can access files in twrp, you can remove the files that store the password. Not sure which file exactly, but I'm sure Google can point you in the right direction .
[OnePlus 5 Guides, News, & Discussion] pycxe-01:
Will there be OxygenOS 5.0.2 update with a Face Unlock coming up soon? Is there any insight on the matter? :P
[OnePlus 5 Guides, News, & Discussion] Yousvel:
I think we may go straight to 8.1 :highfive:
[OnePlus 5 Guides, News, & Discussion] wolfca:
Just updated from 5.0.1 to 5.0.2. Yes, face unlocking is there. But root is missing.
[OnePlus 5 Guides, News, & Discussion] majefx:
Yes downloading ?
[OnePlus 5 Guides, News, & Discussion] Tiago A:
Link?
[OnePlus 5 Guides, News, & Discussion] majefx:
I got ota
[OnePlus 5 Guides, News, & Discussion] Keith Rocha:
V5.0.2 with face unlock is now rolling out...!!
[OnePlus 5 Guides, News, & Discussion] ashokmor007:
its out......
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Incoming 5.0.2, thread will be updated momentarily :good:

Download full zip here

http://otafsg1.h2os.com/patch/amazo...5Oxygen_23_OTA_029_all_1801292040_d71af3d.zip
[OnePlus 5 Guides, News, & Discussion] Tiago A:
New launcher v2.2? The newer one is the v2.3
[OnePlus 5 Guides, News, & Discussion] BFMSAND:
Anybody care to upload the new Gallery app here ? I dont want to Flash the normal OOS over the Open Beta One just for the Gallery..

Also camera and cameraservice apk would be fine.
[OnePlus 5 Guides, News, & Discussion] majefx:
V2.3 is beta probably that cause they didnt upload to play store
[OnePlus 5 Guides, News, & Discussion] Tiago A:
V2.3 is perfect here. No bugs so far. And much better than v2.2, important features.
[OnePlus 5 Guides, News, & Discussion] Jitesh.saitawadekar:
Dirty flash works?
[OnePlus 5 Guides, News, & Discussion] majefx:
Yes you just seeing front side of it features are not mean its stable
[OnePlus 5 Guides, News, & Discussion] Tiago A:
But it is. Im using for 2 weeks and is more than stable.
[OnePlus 5 Guides, News, & Discussion] Keith Rocha:
What extra features in v2.3 launcher .... Also is the google search bar at the bottom ??
[OnePlus 5 Guides, News, & Discussion] Tiago A:
Here
[OnePlus 5 Guides, News, & Discussion] BFMSAND:
Anyone here ? Would be pretty fine..

Or if maybe someone would guide me how to extract the apks from the update file (OTA or Full ZIP )
[OnePlus 5 Guides, News, & Discussion] carlese:
Guys does this 5.0.2 include the goodies of the beta channel? Like power saving etc..
[OnePlus 5 Guides, News, & Discussion] ulxerker:
Where exactly do I find those settings from your screenshots?
[OnePlus 5 Guides, News, & Discussion] darkdragon88:
Sorry to add to the:

5.01 -> 5.02 on phone that is encrypted, codeworkx TWRP, magisk 15.3 -is there an encryption error if you update to 5.0.2? I've heard of the steps to remove PIN and fingerprints but I don't think this worked for me before. Any sort of flashing no verity never helped me, personally, but maybe I it messed up going from nougat to oreo.
[OnePlus 5 Guides, News, & Discussion] :
official link for 5.0.2?
[OnePlus 5 Guides, News, & Discussion] shadowstep:
https://xdaforums.com/showpost.php?p=75392688&postcount=2852