yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
[OFFICIAL][Stable Oreo 8 ] Oxygen OS 5.0 Update[Tutorial-Root][No Data Loss][Mirror]

FLASHING INSTRUCTION :

Warning : Always Backup Your Internal Storage For safer side

Note 1: For users Who are coming From Open Beta and Any other N Based custom roms, try Method 2. Dont dirty Flash the rom if u dont need any bug. [Recommended]

Note 2 : Remove the pattern and also fingerprints before flashing the rom.

Still if you wish to dirty flash official rom over open beta, it works fine.

METHOD 1: Using TWRP recovery [ For Decrypted Users]

If you are on some other twrp versions, Kindly download Compatible TWRP recovery IMG file from download Section and Flash it in recovery.

Codeworkx recoveryworks Fine. I recommend all to use his recovery.

Step 1: Place the Full ROM zip file in internal Storage

Step 2: Now Reboot the phone to TWRP Recovery

Step 3: Wipe Dalvik cache ,Data , System and Cache

Step 4: Now select Full ROM zip file to Flash And flash the recovery.img againand then reboot to recovery.

Step 5: Flash magisk 15.2 or supersu zip file now. P.S. Supersu gives bootloop as of now.

Step 6: Now Flash the No-verity file from here [Important]

Step 7: Reboot the phone. :D

METHOD 2: Coming from OOS 5.0 [Dirty Flash Method] [ Encrypted Users ] [No Data Loss]

Step 1: Copy the Full ROM 5.0.1 zip file to internal storage.

Step 2: Reboot phone to recovery

Step 3: Make sure you are on latest Twrp-3.2.1-0-oreo-8.0-codeworkx twrp recovery or Any other Oreo Compatible recovery.

Step 4: Wipe Cache, Dalvik Cache and Now select the Full ROM 5.0.1 zip file and swipe to flash the rom.

Step 5: Now Flash Magisk 15.2 file.

Step 6: Flash the Recovery.img file [ Oreo Compatible recovery] and then again reboot to recovery.

Step 7 : Wipe Cache again and reboot the phone.

METHOD 3 : Update using OTA [ Working fine For Encrypted users ]

Step 1: If you are on stock OOS 5.0 with Non-rooted and also on stock recovery, Just Use any Canada VPN, you will get OTA update Notification.

Step 2: Download the OTA and press Install .

Step 3: Now the phone reboots and flashes the update in stock recovery.

Step 4: Now reboot the phone . :)

METHOD 4 : Using Stock Recovery

Step 1: Place the downloaded Full ROM zip file in internal storage.

Step 2: Now Reboot the phone to Stock Recovery

Step 3: Wipe Cache.

Step 4: Now select Full ROM zip file to Flash.

Step 5: Now wipe Cache and Factory Reset

Step 6: Reboot the phone. :D

For users Who are facing Bootloop after completing all Steps, it means your phone is encrypted. So you have to wipe your internal storage to make your phone to boot.
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
INSTRUCTION TO ROOT :

Step 1: Download the Supersu or Magisk zip file From download Section. P.S. Supersu gives bootloop as of now. So Magisk is recommended.

Step 2: Now reboot the phone to TWRP Recovery.

Step 3: Select the Downloaded Supersu or Magisk zip file and Flash it.

Step 4: Reboot the phone :)
[OnePlus 5 Guides, News, & Discussion] ShiShTuBaBu:
Rooting guide?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
on process :)
[OnePlus 5 Guides, News, & Discussion] marko94:
what is the procedure if I am updating via ota (stock recovery) unrooted ? thx
[OnePlus 5 Guides, News, & Discussion] GuestK00362:
Just wait till you get notification or use VPN (Canada or Germany) to get it faster. Then just download and install. No need to do anything else
[OnePlus 5 Guides, News, & Discussion] Markelijk:
What if I'm on OB2, does the first method work?
[OnePlus 5 Guides, News, & Discussion] mark264:
Can i normaly flash SU after i flash the room with TWRP?
[OnePlus 5 Guides, News, & Discussion] umutcezarap:
I'm on leaked beta 3. No root no custom recovery what should I do?
[OnePlus 5 Guides, News, & Discussion] marko94:
how much time it need to update, it updated and now it is in bootanimation for 4-5 minutes ? what now ?
[OnePlus 5 Guides, News, & Discussion] Serris:
Can anyone check what version of play services are installed 440 or 940?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
wipe all and try method 2 if u r using twrp.
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
flash the blu_spark custom recovery and the follow 2nd flashing method
[OnePlus 5 Guides, News, & Discussion] romano19:
Hi, i'm using beta2.can i install without fullwipe? (just wipe system, cache&davik cache). because i dont want reinstall apps :(((
[OnePlus 5 Guides, News, & Discussion] FirePower36v:
When i've installed the OB1 I had to wipe the internal storage beacuse twrp recovery wasn't able to decrypt it, after when i've installed the update to OB2 i've dirty flashed the update and only wiped cache/dalvik. now should i wipe only system, data and cache right? Or i must wipe also the whole internal storage?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
yes u can flash it .
[OnePlus 5 Guides, News, & Discussion] Garfanki:
I installed the rom over the second open beta. No problems. I also installed magisk 14.6 and it works.
[OnePlus 5 Guides, News, & Discussion] DJBhardwaj:
Yes, you can. Just wipe cache from recovery afterward. You should be good.

Anyone able to capture the OTA zip from 4.5.15 to 5.0?
[OnePlus 5 Guides, News, & Discussion] qot:
I was not rooted (only unlocked bootloader, but with a stock bootloader), and I still cannot access my data.

the system won't boot, twrp shows /sdcard as encrypted.
[OnePlus 5 Guides, News, & Discussion] kabauterman:
Very helpful tutorial. !

The no-verity file just made my hole Internal-Storage no more readable....
[OnePlus 5 Guides, News, & Discussion] chetan125:
Hi guys, currently I'm on OOS v4.5.8 and trying to flash OOS v5 rom on my phone but I'm stuck with the error "E1001: Failed to update system image." Error 7.

Rooted: yes

Decrypted: yes

Can anyone help me with this error?
[OnePlus 5 Guides, News, & Discussion] akxak:
Which TWRP? With the 3.2.1 I had the same problem (and finally reset my phone), I did not get 3.2.1 working thereafter at all. But the OP referenced the BluSpark version which works fine, recognized the encrypted userdata and was able to install Magisk (so I am restoring app by app as Titanium Backup has also trouble with Oreo permission changes).

Try the BluSpark TWRP as linked in the OP guide. That did the trick for me.
[OnePlus 5 Guides, News, & Discussion] tkmas:
Thank you very much for this guide. I went ahead and updated to Oreo using the official OTA (look Mom, without backups!) and the phone was stuck in boot loop. With these instructions, I was able to recover all my data, and after wipe and full install the phone is working again.
[OnePlus 5 Guides, News, & Discussion] dough29:
Just gave a try to Blu_Spark TWRP and could decrypt /sdcard/ then install Magisk ?
[OnePlus 5 Guides, News, & Discussion] qot:
I've tried both the standard twrp-3.2.1-0-cheeseburger.img and the twrp-3.2.1-x_blu_spark_v8.61-op5_op5t.img.

The first one cannot mount data at all ("Could not mount /data and unable to find crypto footer", "Failed to mount '/data' (Invalid argument)"), the blu_spark one mounts the data, but never asks for the unlock pin, so all my /sdcard shows as encrypted.
[OnePlus 5 Guides, News, & Discussion] akxak:
Have a look in this thread, there was a guide to recover from that situation (but you might face a factory reset and reinstall from scratch which I am just doing).
[OnePlus 5 Guides, News, & Discussion] qot:
if you mean the one by WhoDunnit quoted a couple of posts above, then it did not work for me: #169

I still do not get the pin unlock prompt from the blu spark twrp.

My current priority is not getting the phone to boot again (I have an old one which I can use for now), but salvaging the data, so no factory reset for me...
[OnePlus 5 Guides, News, & Discussion] Senaxo:
I also had problems with the TWRP version and the system was always deleted automatically. Then I have that Blu_Spark TWRP tried and worked here without problems. I'm really happy with that.
[OnePlus 5 Guides, News, & Discussion] vortex-5:
I think it's fair ur to say at this point a lot of people are experiencing issues with this there should be a warning about this especially users that are decrypted and using magisk. Seems like that is the combination causing problems.
[OnePlus 5 Guides, News, & Discussion] qot:
how did you make the blu_spark twrp to decrypt your data? it does not ask me anything, just shows the encrypted file names.
[OnePlus 5 Guides, News, & Discussion] Senaxo:
So I have over TWRP first saved my data and copied the backup to the PC. Then I deleted the system and Oreo installed and the Blu Mark Image and then format Data now I restarted the recovery and then flash Blu Mark again. And that worked for me.
[OnePlus 5 Guides, News, & Discussion] qot:
this is where I'm having a problem -- my /data/media/0 (or /sdcard) shows up as encrypted (scrambled filenames) in twrp.

is there an option somewhere to make it decrypt the data, which I overlooked?
[OnePlus 5 Guides, News, & Discussion] lucas.hohmann:
Is this the German or the Canadian ROM? From the ROM name I belive this is the German version. According to Android Police the German ROM is corrupted and they recommend people to download the Canadian ROM instead.

http://www.androidpolice.com/2017/1...ygen-os-5-0-android-8-0-oreo-started-rolling/
[OnePlus 5 Guides, News, & Discussion] ashishpadave:
Did you leave the partition as Read Only when you booted through TWRP?
[OnePlus 5 Guides, News, & Discussion] samwidd:
i have been successful using step 2 and the also had to make a factory system wipe to work but now i am unable to encrypt my data partition can you help please
[OnePlus 5 Guides, News, & Discussion] Maria_gr:
Do I have to flash no verity even if my phone is encrypted ?

Also if I'm running encrypted, I won't have to format data / internal storage using method 2 ?

Thanks in advance for your help!
[OnePlus 5 Guides, News, & Discussion] NGowtham:
No need to flash verify file and format data if your device is encrypted also you have to be on stock recovery and un-rooted if you are dirty flashing the build.
[OnePlus 5 Guides, News, & Discussion] Maria_gr:
Thanks for your input!

Those instructions of the first post aren't very clear..

I'm running encrypted , rooted and on a custom recovery (twrp) and custom nougat rom.

I obviously have to follow method 2 but I am suspecting some steps are missing..lol.

Don't I have to wipe my internal storage - format data at some point?
[OnePlus 5 Guides, News, & Discussion] NikWarlord:
Dont do that, you'll end up into bootloop. Just wait for a fix.
[OnePlus 5 Guides, News, & Discussion] DorianX:
I think the same... Does anybody been able to root any OOS Oreo version using SuperSU?
[OnePlus 5 Guides, News, & Discussion] rIdd3r:
Thanks!

Worked like a charm! I had to use the exact versions and we are now copying everything. Next stop: trying to get to a working system with the current /data.

Has anyone been lucky with that?
[OnePlus 5 Guides, News, & Discussion] YassGo:
QS Tiles are now white with default theme instead of blue ?
[OnePlus 5 Guides, News, & Discussion] WhoDunnit:
No, I did not.
[OnePlus 5 Guides, News, & Discussion] tommy92tc:
Same here, bootloop yesterday... (unlocked, twrp, magisk, xposed)

But I managed to recover, I used otg, used usb stick with 4.5.15, in twrp I saw everything scrabbled (encrypted) but I can flash zip from usb.

Dirty flash of 4.5.15 over the bootlooped 5.0, now is everything fine, no data loss at all.

But I don't know how to dirty flash Oreo now :/
[OnePlus 5 Guides, News, & Discussion] azeem40:
The only way I was able to get Oreo to boot is by formatting system, data (not internal), and both cache, but that was on Xxx NoLimit v9.
[OnePlus 5 Guides, News, & Discussion] mele80:
------------
[OnePlus 5 Guides, News, & Discussion] rosso832:
Try to sideload 4.1.5 rom and flash.

I don't think it's possible to flash this build without erasing user data.
[OnePlus 5 Guides, News, & Discussion] mele80:
Tried that earlier also without success so i just decided to erase everything. Thanks for the advice though
[OnePlus 5 Guides, News, & Discussion] rosso832:
I've done the same and Oreo is working fine now.
[OnePlus 5 Guides, News, & Discussion] Ashish.akc:
I have a rooted oos 4.5.14 , encrypted, with magisk and twrp. Reading all the comments here I am going by the route of clean flash. I will wipe everything and start fresh. But I need to get answer to few queries:

1. What is that no verity zip for? (ELI5)

2. Install Magisk 14.5 right after rom installation (or should i go with 14.6)

3. Steps : format all data>flash rom>flash Magisk>install twrp again>reboot to recovery and then to system.

4. I will take app data backup using TB for some of my games, so restoration should be hassle free in oos 5.0.

5. What the heck is this with encryption and decryption? Am ok with both but what to choose to prevent such hassle next time? Or there won't be any problem similar untill 8.1 or P update? Any link between encrypted/decrypted device and choosing custom kernel?

I know that's a hell lot of queries but hey...am a person too?
[OnePlus 5 Guides, News, & Discussion] GroovyGeek:
One or both of the following must be true

a) I am doing this totally wrong

d) The update is not as stable as thought

Here is what I did

1) Removed fingerprint and PIN per instructions

2) Flashed the blu_spark TWRP

3) Rebooted into recovery

4) Installed the provided zip OnePlus5Oxygen_23_OTA_027_all_1712231851_8d16de8.zip

5) DID NOT REINSTALL blu_spark TWRP - this was an omission on my part

6) Rebooted back into recovery - I went into blu_spar recovery but not my SD card is encrypted

at this point rebooted back into fastboot then

7) fastboot boot twrp-3.2.1-x_blu_spark_v8.61-op5_op5t.img

8) adb sideload OnePlus5Oxygen_23_OTA_027_all_1712231851_8d16de8

9) reboot into boot loader

10) fastboot flash recovery twrp-3.2.1-x_blu_spark_v8.61-op5_op5t.img

sdcard is still encrypted !!!

11) adb sideload no_verity_mod_For_OOS_Oreo_by_HatriGt.zip

12)reboot into system = endless spinning Oneplus logo

Any suggestions?
[OnePlus 5 Guides, News, & Discussion] sansanc:
After reading the horror stories here, i think i'm going to do the proper instalation method. Better safe than sorry. So i'll backup everything with Titanium and TWRP, copy all of internal storage to computer, wipe everything on phone, install full ROM and copy back the internal storage folder and install apps from backup. I'll install whatsapp from scratch because Titanium creates notifications problems. I'll restore the whatsapp backup from within it.

On a big update like this, better install fresh. Why people insist going rambo style on this?
[OnePlus 5 Guides, News, & Discussion] Nimic3792:
Same here...I upgraded through the Oxygen Updater app. Black screen, blue led
[OnePlus 5 Guides, News, & Discussion] qot:
I did not expect any problems doing OTA update from stock ROM, no root, no custom recovery, nothing.

now it seems that I lost all my data :(

twrp shows just scrambled filenames.
[OnePlus 5 Guides, News, & Discussion] sansanc:
Well, what does the file manager on system shows?

You should at least on a big update like this, always backup. That's rule Nr 1.
[OnePlus 5 Guides, News, & Discussion] tinuz97:
I did backup everything, and started clean. Working great with zero issues. Even titanium Backup(s) are working fine for my apps. So I did a fresh install, Bluespark 8.61 twrp, Bluespark R74 oreo kernel, removed system apps that i don't use, viper4android, AdAway, Magisk 14.5, realy like this Oreo 8 so far :good:
[OnePlus 5 Guides, News, & Discussion] k4get1:
I installed as directed and all is good as gold.

plus I am running blu-spark recovery & Kernel r70 for oreo.

thanks guys
[OnePlus 5 Guides, News, & Discussion] oF2pks:
decrypted magisk 14.3

Everything fine + Bluetooth battery indicator level working.

BTW Snapdragon/caf Oreo compatibles apk uploaded : https://xdaforums.com/oneplus-5/themes/app-snapdragon-caf-8-0-music-fx-camera-t3725339

Decrypted

+ Magisk (SafetyNet ok) 14.3, with PrivacyFix; but trying to switch to other alternative roms (N&O) always fails on decryption unsuccessful blue screen, whatever additional decryption zip flashed. EDIT: OK with https://xdaforums.com/showpost.php?p=74937274&postcount=643

(Noticed also 2 new system apk ...FactoryModeV1.)
[OnePlus 5 Guides, News, & Discussion] qot:
twrp file manager on /system shows regular system files and directories: app, bin, bpm, etc.

what else should it show?
[OnePlus 5 Guides, News, & Discussion] babadook:
Anyone have problems changing the picture of their user profile? I get a save as null when I tried to change mine.

---------- Post added at 06:10 AM ---------- Previous post was at 06:07 AM ----------

Do we really need to flash the No Verity file? What does it do?
[OnePlus 5 Guides, News, & Discussion] docnok63:
No verity is used if you're decrypted to bypass the security check. I'm encrypted and upgraded from Closed Beta 2 and only removed pattern, fingerprint, and face unlock without any problems. While I know I had to remove my face data since this build doesn't have Face Unlock, I'm not even sure that it's necessary to remove pattern and prints. I did it just to be sure, though. Better safe than sorry and easily put back and then update banking apps with "new" prints.
[OnePlus 5 Guides, News, & Discussion] kallekula33:
Perhaps stupid question, but how can I check if I'm encrypted or decrypted..?
[OnePlus 5 Guides, News, & Discussion] null0seven:
kallekula33

Settings > Security. Scrol down. It show if youre Encrypted
[OnePlus 5 Guides, News, & Discussion] ashishpadave:
Thank you! I was able to salvage all my photos and music :) I am on OREO now and its working great.

I backed up everything and did a factory reset. Installed OREO and its all great now!

Thank you again!
[OnePlus 5 Guides, News, & Discussion] aswinrulez:
method 2, decrypts the phone right? What if i want to encrypt it later?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Format ur internal storage
[OnePlus 5 Guides, News, & Discussion] Mayday_XL:
Is it possible to hide the brightness slider?

Can i encrypt the phone via settings, will this work with Blu Spark TWRP ?

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[OnePlus 5 Guides, News, & Discussion] rellik_yzarc:
Please make instructions for Encrypted Rooted User.

I have no success using METHOD 2 but skipping "Step 6: Now Flash the No-verity file"

It keeps going back to Recovery after "Step 7: Reboot the phone."
[OnePlus 5 Guides, News, & Discussion] aswinrulez:
Wipe>Advance wipe>Internal storage?
[OnePlus 5 Guides, News, & Discussion] mcduffie2010:
What are you doing /trying
[OnePlus 5 Guides, News, & Discussion] Happz0r:
When I try this step, i always get the error "cannot read OnePlus5Oxygen_23_OTA_020_all_1712052226_98fd584ab032fe.zip" in the shell :( Any suggestions? I've already redownloaded the file.

Edit: Fixed it with "Large Address Aware" -> Google
[OnePlus 5 Guides, News, & Discussion] darkdragon88:
I wish I saw this 15 minutes ago.
[OnePlus 5 Guides, News, & Discussion] muimui725:
I got bootloop after flashing the Magisk. I didn't flash it right after flashing the ROM. does it matter?
[OnePlus 5 Guides, News, & Discussion] rellik_yzarc:
I'm trying to maintain my encryption
[OnePlus 5 Guides, News, & Discussion] kallekula33:
OK. Thanks. I'm encrypted. So now the only question is if I need the no verity file?
[OnePlus 5 Guides, News, & Discussion] mcduffie2010:
You can get encryption back easily after formatting and flashing the Rom. There is an option in the Rom itself.
[OnePlus 5 Guides, News, & Discussion] null0seven:
Or you can flash xXx No Limits 9.0 wich it's based on Oos 5.0. Read the OP instructions.

Rom works fine. Magisk it's included. You have Aroma to select what you want.
[OnePlus 5 Guides, News, & Discussion] mcduffie2010:
Are you following me? :laugh:
[OnePlus 5 Guides, News, & Discussion] null0seven:
Yeahhh. It's my job...:laugh:
[OnePlus 5 Guides, News, & Discussion] mcduffie2010:
:good:
[OnePlus 5 Guides, News, & Discussion] kalaris:
Hey all,

Is anybody experiencing a slight delay in sounds being generated, for example I receive a new SMS and get the notification sound like half a second later. It's enough to be noticeable. It definitely starts happening after I mount a USB-OTG but may happen otherwise (not entirely sure). It goes away after a restart but sometimes on its own as well. Have not been able to identify the reason yet.

Also, accompanying video stuttering issues occur, probably due to the sounds being thrown out of sync

Apologies, if this has already been posted (did check and search the thread) but would love to know I'm not alone.
[OnePlus 5 Guides, News, & Discussion] rajackar:
Can anyone comment on how long the first boot should take?

I've installed on a non rooted phone using method one without factory reset. But it's taking an aweful long time to boot. It doesn't look like it's looping back though.

For some reason I can't adb either to see what's going on.

I did't wipe the cache, would this be a problem?
[OnePlus 5 Guides, News, & Discussion] igoorsoouza:
You should remove pin and fingerprint before flashing magisk, then it will be fine to put it back.
[OnePlus 5 Guides, News, & Discussion] serithes:
How to get encryption back / working

I wiped my whole device and flashed OOS 5.0 in blue spark twrp, afterwards magisk. I couldn't make it boot without the no verity mod file - so had to flash that as well.

So far so good, i have a fully working rooted OOS 5.0. but without encryption. Encrypting option in the rom leads to crash /reboot.

Does anybody know how to encrypt device or how to get to a working OOS 5.0. with root and encryption?
[OnePlus 5 Guides, News, & Discussion] rajackar:
Looks like I botched it with the encryption :(

Internal storage no looks like only files and folders with names like "6TA7e2f7TlVU6iJA2Te8HD"

I can have a look using bluespark twrp but not access or cop, is a full factory reset the only option now?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Yes.. You have to wipe all

--------

Format your data. Phone becomes encrypted.

-------

I don't feel I have the problem. It's wrking fine here.
[OnePlus 5 Guides, News, & Discussion] rajackar:
OK thanks! I didn't really get that from the instructions but might have read to quickly there.

Format all did the trick and phone is booting again.
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Actually u can do it by

Wipe - format - yes
[OnePlus 5 Guides, News, & Discussion] rajackar:
OK thanks again, I've not been using OP5 for a while and this is a friends phone.

Now I cant use internal storage for some reason. Keeps giving me errors on all storage actions. Do I need wipe again?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Yes u have to.
[OnePlus 5 Guides, News, & Discussion] rajackar:
Thanks man! Is stock recovery ok or should I sideload twrp?

And which wipe option do you recommend?
[OnePlus 5 Guides, News, & Discussion] aeonix_05:
Anyone managed to flash successfully coming from encrypted and rooted stock OOS 4.5.15? Which method and steps? The 2nd post seems unclear and didn't mention about encrypted users
[OnePlus 5 Guides, News, & Discussion] muimui725:
It is still in bootloop after flashing the Magisk :(
[OnePlus 5 Guides, News, & Discussion] tinuz97:
Everything working great, I only have 1 weird bug. If i put in my headphones, and listening to music it works good. If i unplug my headphones, all notifications sounds are gone, and the phone only vibrates lol? Anyone else having this issue? Or test it?

Edit: clean official oreo 8, no dirty flash or something like that.

Edit 2:

If i reboot the phone after unplugging the headphones, notifications are back, need to do this every time if i did listen to music...