yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
ADB Tools comes with Fastboot also. just reboot in bootloader, and flash recovery.

yeah, let me know how you go. It should ask you for pin to decrypt.

---------- Post added at 11:30 AM ---------- Previous post was at 11:29 AM ----------

hahaha!! thats lucky!
[OnePlus 5 Guides, News, & Discussion] Alucarhd:
I flashed the blue TWRP, but no pin was asked :/

I'm trying another method, will let you know
[OnePlus 5 Guides, News, & Discussion] Alucarhd:
I followed this guide :

https://xdaforums.com/oneplus-5/how-to/guide-restore-data-stuck-bootloop-n-o-t3724515

and it worked like a charmmm!!!!!!!!!!!!!!!!!!

I'm backing up my pictures as I'm writing, what would you advise to do now?

Get a nandroid backup file?

and then?
[OnePlus 5 Guides, News, & Discussion] AMDP2:
Thanks for the update. But, it looks like it is not working.

I had enabled it prior to 5.0.1 update. Any apk i install, it does not prompt me. It installs any way.
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
did you get to see your internal storage? still encrypted?

it asked me for the pin when i was in your situation, im not sure what to make of it.
[OnePlus 5 Guides, News, & Discussion] Alucarhd:
Like I said I followed the guide I posted in my previous post :)

I could back up everything :D

Now I don't really know what to do aha
[OnePlus 5 Guides, News, & Discussion] paulo111:
Do you guys advise to update to 8.0.1 or stay on Nougat for now?
[OnePlus 5 Guides, News, & Discussion] ulxerker:
There is no 8.0.1 ... if you mean OS 5.0.1 then yes, update.
[OnePlus 5 Guides, News, & Discussion] rainmakersgroup:
I have read most of the thread since the oreo update and it's not clear on how to upgrade to oreo from nougat. I am currently on nougat 4.5.15, I'm rooted with magisk, my Bootloader is unlocked, and I am encrypted. Any help would be much appreciated.
[OnePlus 5 Guides, News, & Discussion] kallekula33:
I think many are in your situation, myself too. Although the flash instructions are pretty basic and straight forward, the results seems to be random, some succeed and others fail. Plus the fact that there seems to be software issues, but that's another story. Best to stay away from this util everything is crystal clear, just like Putin Vodka :silly::good:
[OnePlus 5 Guides, News, & Discussion] rainmakersgroup:
Agreed. Thanks for the feedback... I'll keep enjoying nougat and let some time pass so things can get sorted out.
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
haha, same here. I was planning to do it this afternoon. Right now I've about 10 tabs open in firefox, 2hours of reading, 10 ways to put oreo on this phone and about 15 problems that members have reported.

On every android devices I've owned, I've always did a fresh install, that means titanium back up and wipe everything but the sd card.

Seems like , to go from 4.5.15 to 5.0.1 , I need a fresh install, a sd wipe, and get 3 recovery ( twrp from nougat, twrp for 8.0 and reflash twrp when the 8.0 rom is flashed).

Seems to be simple, but like I said, there's 3 serious thread on that, about 10 how-to, and many issues.

I don't mind to loose data , since titanium back up is done, sd is on my PC, but all I want is to go from 4.5.15 rooted, to 5.0.1 rooted and keep the encryption. < this part is unclear. The rest is pretty clear.

the only serious instructions, but the guy didn't said if it worked :

https://xdaforums.com/showpost.php?p=74991337&postcount=316
[OnePlus 5 Guides, News, & Discussion] rainmakersgroup:
Yeah, I'm already to go if there were clear cut instructions. I did titanium backup for my apps which i moved to the PC, i used MybackUp Pro for my text messages, contacts, etc, which i also moved to the PC. I moved all my pictures and downloads to PC, i have my Nandroid backup on the PC, I'M READY TO ROCK N ROLL, LOL , but no clear instructions. And ill be damned if i brick my OP5 :laugh: Im just gonna sit on the sideline for a few weeks.
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
well, I doubt that you'll brick this phone. But you might got some bootloop, and hours to figure it out why.
[OnePlus 5 Guides, News, & Discussion] sansanc:
Search my posts, one or two have decent clear instructions, but basically, backup with Titanium and TWRP, wipe and format, install O, reinstall blu spark TWRP, boot once, then install Magisk in TWRP, right after installing O, install the no_verity file if you want unencrypted.

Done.
[OnePlus 5 Guides, News, & Discussion] r.sharma:
help in bootloop and file names are weird.

i did this on my op5 rooted and encrypted .

so i followed all the steps precisely but in the end when i tried to boot into system it bootlooped (waited for hours to see if it really takes time on first boot). also when i open file manager in twrp it just shows weird long file names .
[OnePlus 5 Guides, News, & Discussion] sketch.droid:
yeah with soo many posts and threads its hard to get an actual easy answer, especially since many people have their own setup.

honestly, its easy and simple.

update from N to O requires you to format. no way around it as far as i know.

backup your Data partition with TWRP and move it to a PC.

backup all your Internal Storage to a PC

those are your safety nets.

see list below on how to update.

With your nandroid backup, if you need to use it, make sure you DO NOT restore the System partition, after you have updated to Oreo, because that will give you a bootloop also.

Restore ONLY Data partition, which includes all your apps, and app data.

you will not brick your phone, its quite safe. Just a bit of confusion this time because of the encryption thing.

so since you both have backups on a PC, internal storage and Data partition, do these steps below:

this is for Oreo to Oreo update.

STEPS:

Flash TWRP Codeworkx via ADB

boot into TWRP and Wipe dalvik/cache

Flash OOS 5.0.1 FULL.

Wipe dalvik/cache again

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

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

wipe dalvik/cache again

Reboot System.

this is for Nougat to Oreo update

STEPS:

Flash TWRP Codeworkx via ADB

boot into TWRP and Wipe Boot, System, Data.

Flash OOS 5.0.1 FULL.

Wipe dalvik/cache again

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 15.3 if you want to Root. skip if you dont.

wipe dalvik/cache again

Reboot System.

:: Sometimes ::

flashing a root method (magisk/superSu) before the FIRST boot of an update, will cause a boot loop.

Dont Panic.

Just go back into recovery, Flash OOS again, wipe cache/dalvic and reboot into system.

After system goes through its final setup, reboot in recovery and flash your root method, wipe dalvik/cache, and reboot system.

for me and my oneplus 5, i always root before the first boot, and it works fine. on my older nexus devices it always fails, so i have to first boot system then go bavk amd flash root.

most important thing to remember is not to panic. if you have your backups on a PC, you are as safe as can be in this Android world.

Good luck!

---------- Post added at 04:19 AM ---------- Previous post was at 04:13 AM ----------

Yeah the OP really need to distinguish between people updating from Nougat to Oreo (4.5.x - 5.0.x), and people updating from Oreo to Oreo (5.0 - 5.0.1)

the short answer is:

N to O = you must wipe your phone. Clean Flash.

O to O = you can Dirty Flash as instructed in OP.

if you have backups on a PC, you can safely wipe your phone and Flash OOS 5.0.1, then restore.

if you dont have any backups on PC, search this thread for a method to salvage your encrypted files, it shpuld be a couple pages back.
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
still ended up with a uncrypted phone with the no verity. some got bootloop if they dont flash the no verity zip. Will try without flashing it and I will report.
[OnePlus 5 Guides, News, & Discussion] rainmakersgroup:
And what's the difference between bluspark twrp and twrp codework?
[OnePlus 5 Guides, News, & Discussion] ulxerker:
codeworkx' twrp brings best compatibility with Oreo incl. decryption and stuff.
[OnePlus 5 Guides, News, & Discussion] ippocampos:
Hi friends i had unlooked the bootloader in the past but i didn't manage to root the phone ...... till now working well how can i lock it again and install the update??? Anyone can help me????
[OnePlus 5 Guides, News, & Discussion] DSF:
Wait.

People saying that you need to wipe when updating from N to O: doesn't apply to ones who didn't made any changes to bootloader, etc.

I am stock, no root and updated to Oreo and the update went fine, no data lost or any strange issues.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Nope, clean flash recommended. Dirty Flash only over an OOS release !!
[OnePlus 5 Guides, News, & Discussion] Binary Assault:
Anyone else have an issue with encrypting their op5? If I go to security - > encrypt phone, nothing happens when I click on it. Typically, it would show the next screen starting the encryption process.

I'm on stock OOS 5.0.1, unlocked bootloader and rooted with Magisk 15.3.
[OnePlus 5 Guides, News, & Discussion] jameswalker457:
I take it I can unlock boot loader again once complete?
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
edit

I was stuck on a non-installing Oreo file, it was hanging forever.

However, following rainmakersgroup number 8 step, fix it. And even if the file was transfered [MENTION=1412615]100%[/MENTION],
[OnePlus 5 Guides, News, & Discussion] ulxerker:
Yes, but that will wipe all your personal data, apps and settings again.
[OnePlus 5 Guides, News, & Discussion] jameswalker457:
Done it thanks. Had a brain fart.

Advice for anyone.

Flash stock recovery (make sure this is done before oem lock you can unlock again though)

Fastboot oem lock

Then adb sideload 5.0.1

Reboot

Then fastboot OEM unlock

Go to stock recovery erase all data

Reboot.... You'll have an unlocked bootloader 5.0.1
[OnePlus 5 Guides, News, & Discussion] rainmakersgroup:
I'm not sure about how to fix ur problem, but I know for certain that oxygen force encrypts automatically. After my upgrade from nougat to O, I'm automatically encrypted. I did nothing special.

---------- Post added at 09:54 PM ---------- Previous post was at 09:53 PM ----------

If ur Bootloader is already before you start, it will remain unlocked. My Bootloader was unlocked, I upgraded to O from nougat, and my Bootloader remained unlocked.
[OnePlus 5 Guides, News, & Discussion] lazostat:
I have already installed oreo 8 via OTA. Then i unlocked bootloader, installed TWRP and magisk..

Should i download now this zip to clean install or not? Format system on TWRP can give a clean install?? It's risky?

How do i understand if i have done a clean install or not? I have zero apps now, zero settings, nothing.. Welcome screen came up and i set it up as a new device. Is this considered a clean install?
[OnePlus 5 Guides, News, & Discussion] GoodbyeSky:
Hey all. Just wanted to report that I was able to successfully update from unlocked/rooted 4.5.15 to unlocked/rooted 5.0.1 using the latest universal Codeworkx TWRP, and performing a full wipe/format of data first. Did not need to lock my bootloader. Only hiccup was needing to re-flash TWRP after flashing the full 5.0.1 update (as some others have reported).
[OnePlus 5 Guides, News, & Discussion] RiceAndPeas:
You cant dirty flash 5.0.1 on 4.5.15 . You need to back up your data and format , to upgrade to 5.0.1
[OnePlus 5 Guides, News, & Discussion] GoodbyeSky:
Right. I didn't dirty flash, I did a full wipe. I was just saying I made it work without needing to lock my bootloader.
[OnePlus 5 Guides, News, & Discussion] Vvkprksh:
Tried everything, every step and everytime it is a bootloop.

I'm trying to update my oneplus 5 to oreo, but i dont know why it is always giving a bootloop.

I tried updating by OTA, by flashing zip and also after unlocking bootloader and following the unlocked bootloader steps. But nothing works!!
[OnePlus 5 Guides, News, & Discussion] aritrab:
when u unlock BL, everything gets wiped

---------- Post added at 09:19 PM ---------- Previous post was at 09:18 PM ----------

Unlocked bootloader will have issues as it says when the OTA shows up
[OnePlus 5 Guides, News, & Discussion] Vvkprksh:
I tried the OTA when my bootloader was locked!!! Still it got stuck at a bootloop.

---------- Post added at 09:31 PM ---------- Previous post was at 09:30 PM ----------

I tried the OTA when my bootloader was locked!!! Still it got stuck at a bootloop.
[OnePlus 5 Guides, News, & Discussion] aritrab:
stock recovery ?
[OnePlus 5 Guides, News, & Discussion] anuraganasane:
They say oneplus 5 has telephoto lens which takes 2x zoom photo lossless. But it's fake. I tried covering the 2nd lens and tapping on 2x button it zooms like optical zoom in any regular camera. The 2nd lens is only used for depth effect /portrait mode.
[OnePlus 5 Guides, News, & Discussion] Vvkprksh:
Yes with stock recovery!!
[OnePlus 5 Guides, News, & Discussion] 5ud0:
Try the solution in this. it's temporary but it will work

https://github.com/topjohnwu/Magisk/issues/291
[OnePlus 5 Guides, News, & Discussion] yubimusubi:
That didn't work either.

Something must have been really messed up with my system because even a full wipe in TWRP didn't do it. I tried with and without "core mode only", and with the fixes suggested. Just getting the two red Xs every time.

I was able to get it to pass by re-locking the bootloader and completely reverting to stock using the stock recovery - I would have lost it if it wasn't passing at that point!

After that, I unlocked bootloader, re-installed Magisk, and it's passing after running the workaround script (I assume the flashable SafetyNet zip and the workaround work the same way?).

No idea how it got into that state though...
[OnePlus 5 Guides, News, & Discussion] 5ud0:
Yeah, the workaround script only works for one boot and it fails after reboot. If you want it to persist, either put it in init.d or try the tasker solution given in that thread.

It's failing since safetynet has a silent update yesterday.
[OnePlus 5 Guides, News, & Discussion] geoff5093:
Weird, worked fine for me :/
[OnePlus 5 Guides, News, & Discussion] yubimusubi:
No... Sorry, in my case something was totally bonk with my system to the point that none of the fixes posted would let it pass. I think it stemmed from a random crash that corrupted some data. I think it was just coincidence that a SafetyNet update happened about the same time. I know it sounds crazy, but nothing short of going full stock and locked then re-rooting worked. Trust me I didn't want to wipe my data so I tried everything else first.

I can confirm now that the workaround script is definitely necessary though, and works for me now.
[OnePlus 5 Guides, News, & Discussion] NatsuDzn:
[RESOLVED]

I have a bootloop (in the recovery) when I want to flash the full oos zip, I'm coming from an aosp rom so what I did :

-Wipe Data (factory reset)

-Flash OOS full zip

-Flash DM Verity Zip (to be decrypted)

-Flash Magisk

-Wipe Cache & Dalvik

Then I reboot and the phone keeps rebooting in the recovery with this screen
[OnePlus 5 Guides, News, & Discussion] wartomato:
New Magisk version is out with the fix included, afaik...
[OnePlus 5 Guides, News, & Discussion] mazubo:
Sorry for the OT post here. Has anybody tried relocking the bootloader? I get the error: FAILED (remote: flashing lock is not allowed)
[OnePlus 5 Guides, News, & Discussion] a g bell:
Just a question are you running stock rom and stock recovery?
[OnePlus 5 Guides, News, & Discussion] Flying Scotsman:
I'm not sure what's going on here but I can't for the life of me get Magisk to work on 4.5.5.

Completely stock device and no matter what I try - when I flash Magisk, I just get a Bootloop over and over. I have to uninstall Magisk to boot my phone.

I haven't flashed TWRP (I just temp boot off of it to flash Magisk) but I've done that in the past with my old Nexus 6 and never had this problem.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
We have released OOS 4.5.6 which fixes the reboot issue caused by dialing 911 once certain Oneplus 5 Units ;)
[OnePlus 5 Guides, News, & Discussion] djsubterrain:
Will the fixes be updated to the source for custom roms? I've read that OpenGapps identified an issue and put in a fix also.
[OnePlus 5 Guides, News, & Discussion] a g bell:
Seriously that's it what about the other issues like vibration etc?........................
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Yee, hopefully soon

Please use the feedback app and submit the report to bughunters

I will get it escalated.
[OnePlus 5 Guides, News, & Discussion] a g bell:
It's already on bug Hunter and l can quote it being added to next ota

Should l link ?
[OnePlus 5 Guides, News, & Discussion] SkandaH:
[MENTION=6143932]Funk Wizard[/MENTION]

4.5.6 full signed zip: http://otafsg1.h2os.com/patch/amazo...Oxygen_23_OTA_011_all_1707192021_eb641c6f.zip
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Thanks buddy, will update the OP

I have uploaded the OTA on the drive

https://drive.google.com/file/d/0B0pr-ZA5b-1pMkE1LVkxa3lJXzA/view
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Send me the details I shall try and expedite :fingers-crossed:
[OnePlus 5 Guides, News, & Discussion] SkandaH:
Welcome! As usual, you can find remaining incremental OTAs here.

:highfive:
[OnePlus 5 Guides, News, & Discussion] hachamacha:
[MENTION=6143932]Funk Wizard[/MENTION]:

I'll download and look later but am curious to know if anyone knows which couple files (or less) were actually changed to address the 911 fix and could just post those files so some of us can avoid doing a version update for this change. I'm just guessing that despite the full update changing /system and /data that it's only the dialer or dialer framework.

Many thanks in advance.
[OnePlus 5 Guides, News, & Discussion] TheGripper:
Wrong! It activated in good lighting. When I put my finger on the corresponding lens, I see it covered. Or jumping back to telephoto lens when I uncover it.

Your camera is smarter than you are. There is already hundreds of threads on this topic and you couldn't find one...
[OnePlus 5 Guides, News, & Discussion] anuraganasane:
I'm not talking about portrait mode. The telephoto zoom feature they say is done by the 20MP lens. After tapping the 2x button covering the left lens, it still zooms. That means only right lens is in use. Tried covering the right lens but as expected it showed black screen.
[OnePlus 5 Guides, News, & Discussion] TheGripper:
Wrong again. I'm not talking about portrait mode. In daylight, when I click 2x I can VISUALLY see it jumping from the main lens to telephoto lens. And then covering the second lens with my finger, it is covered.

If you cannot recreate this, you are mentally disabled or have a faulty device.

Search and YouTube this if still cannot understand the concept behind this.
[OnePlus 5 Guides, News, & Discussion] anuraganasane:
Gotcha ?? but too harsh of a speaking. ?
[OnePlus 5 Guides, News, & Discussion] TheGripper:
Sorry, autocorrect ?
[OnePlus 5 Guides, News, & Discussion] Yousvel:
It will be in next update. Only Open Beta 3 has it as of now.
[OnePlus 5 Guides, News, & Discussion] freaky2xd:
I can't open the internal storage with the stock recovery!

I can't flash it via twrp either because it shows a error 7
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
you can access the internal storage with TWRP...

have you POWER-OFF the device before transfering the files? see step 8) https://xdaforums.com/showpost.php?p=75186702&postcount=2765

then unplug the usb-c before installing or disable MTP. (to make sure the sd is not in reading/write mode on the PC.

it looks stupid, but it took me some tries before getting a error free flash.
[OnePlus 5 Guides, News, & Discussion] freaky2xd:
as I said, I get error 7 when I try flashing the ota zip!

I have already redownlaoded it, didn't work
[OnePlus 5 Guides, News, & Discussion] kramer987:
having an issue. I updated to 5.0 with no problem by just formatting the entire device. my bootloader is currently unlocked, I am rooted, and I'm running codeworx twrp.

now, I take the 5.0.1 update and dirty flash it using codeworx. it completes without a problem. I reboot and it just boots directly to twrp.

I retried flashing 5.0.1 using bluspark twrp. it also reboots directly to twrp.

I tried every combination of clearing cache and dalvik and flashing magisk and not. no matter what I do, it always just reboots into twrp after flashing 5.0.1.

any suggestions? I don't need to update, but when 5.0.2 comes I'd like to to able to.

the only thing I have not tried is locking my bootloader. but I don't want to have to format everything again.
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
I also got this error, it was because the MTP was enable on PC. You still have the error after rebooting twrp and disconnecting usb ?

The second error I had was because the file did NOT transfered à 100%, even if the transfert was ''completed''. This is why I pointed the fact, after format data, after dalvik/cache wipe > turn off the phone, rebooting in recovery did not work.

Just in case, you have the codeworkx TWRP ? flashed with ADB?
[OnePlus 5 Guides, News, & Discussion] clock51:
success to me too, revovery twrp 3.2.1.0 universal codework, flash rom-flash Magisk - flash dm / verity and I solved
[OnePlus 5 Guides, News, & Discussion] kramer987:
hmm dm verity. I forgot about that one. I'll try that out next.

edit:. worked
[OnePlus 5 Guides, News, & Discussion] freaky2xd:
yes I flashed the codeworkx twrp and followed the instructions...

I tried several TWRP versions like the bluspark twrp etc, the same error....

enabling adb in the settings did not work

I can't update with the official op5 stock recovery either! I can access the internal storage but when I select the zip file and confirm installing the update it stops after 5 seconds and brings me back to the internal storage.

xxx rom removed the update apk from the phone so installing via settings won't work, adb sideload doesn't work because the pc doesn't fully recognise the phone in adb sideload
[OnePlus 5 Guides, News, & Discussion] nathan30:
Not available to download ? I tried Opera VPN with Canada, Germany or USA, none of them will find a new update :/
[OnePlus 5 Guides, News, & Discussion] patr_:
Use the direct links in the 2nd post :)
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
I also got the adb problem, I had to change computer...

I did not have the twrp that bring me back to internal storage, but I had installation problem as well. The zip file stop installing and just hang for ever. I had to manually shutdown the phone (power button).

At the end; I got error 7, I got incomplete file transfert and I got incomplete zip instalation.

Took me about 5 tries. I just carefully follow the steps from the link that I've posted.

But at every tries, I format data, type 'yes'. on the 5th time it worked.
[OnePlus 5 Guides, News, & Discussion] Vanniman:
How can i flash dm verity? btw can you pm me? I'm italian too

edit: nevermind I solved following what you wrote down and searching a little bit more, thank you!
[OnePlus 5 Guides, News, & Discussion] oneplusplus5:
5.0 to 5.0.1

Hi, if i have currently 5.0 with unlocked bootloader, magisk root, newest bluespark twrp and im encrpted can i update via twrp with full signed zip to 5.0.1 without data loss?