yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] OldYogi:
Could someone answer some basis questions before I move forward and do more damage?

Two or three days ago I had a happily rooted OnePlus5 . I tried to flash OOS5 - 5.01 actually -- and after various calamities wound up with a mostly bricked phone. ultimately I got an OS - 4.5.1x running - but without wifi connectivity.

I let OnePlus tech support remote in and install -- they installed OOS 4.5.13 the build # is 24_171012

Same problem -- no wifi connections -- the phone sees all the local wifi -- but can't connect -- after several tries it reports the wifi link "disabled" although I can access it with other devices.

So I consider trying to fully reinstall.

But given the various problems and incompatibilities I read about I'd better check it all out first.

the top level question is: flash the latest OOS 5.01? or an earlier OS like 4.5.12 that I know worked in the past?

unlock the bootloader?

If I don't unlock can I still flash a new ROM?

I'd still be using the OnePlus stock recovery. to flash Twrp I assume I'd have to unlock -- correct?

problems with OOS5.01 seem to involve various issues

encrypted or not?

unlocked or not

which exact version of TWRP

which exact version of SuperSu

ultimately this is all in the hope of getting the wifi to connect, so all my data etc. that is stored by Google can be reinstalled.

Advice will be greatly appreciated.

I'm more than a bit pessimistic, because after all the OnePlus tech did install a working ROM -- but it can't connect to wifi. Any other ways of resolving the wifi problem?

thanks in advance.
[OnePlus 5 Guides, News, & Discussion] akxak:
Some things... just from what I see at my OP 5 with OOS 5.0.1

To change the recovery you need to unlock the device. As the stock recovery only flashes files signed by Oneplus, TWRP is necessary to root the device (by flashing Magisk).

I would not use SuperSU, Magisk (15.3) is running fine on my device. It has a nice manager app which can directly install Magisk updated without using the recovery. And it can hide itself from some apps usually not running on rooted devices as well as it keeps the Safety Net status so for example Android Pay is useable.

Keep in mind, if you unlock the device, all user data will be deleted.

With regard to your problems, I would make a backup and install the latest 5.0.1 as described on the OP website (using the stock recovery, resteting the whole device but keeping it unlocked). If that leads to a working wifi, I would install TWRP (twrp-3.2.1-0-universal-codeworkx-cheeseburger) and then flash Magisk 15.3.

After that, I would restore the backup.

I kept my device encrpyted and would not like to change that for privacy and data security reasons.
[OnePlus 5 Guides, News, & Discussion] Rebel7022:
Sorry about your luck, sorry about your truck
[OnePlus 5 Guides, News, & Discussion] Oomahey:
Hey,

I'm in the same situation as you were. Tried installing 5.0.1, was unsuccessful, almost bricked my phone and now back on 4.5.14 without WiFi.

Did you have any luck resolving the issue? Any help is appreciated.
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
For the Wifi look here >>>>>> https://xdaforums.com/oneplus-5/how-to/guide-fix-fingerprints-wi-fi-failed-t3731059 :good:

When you come from Nougat and want to update to Oreo and your Bootloader is unlocked you must do the erase all step in stock recovery or if you on twrp (codeworkx Universal twrp is recommanded) you must do in twrp Format Data that you must confirm with yes. Backup your data and copy/paste the backup to your Pc in due you will lost all your data in both options
[OnePlus 5 Guides, News, & Discussion] Oomahey:
Thanks for this, but removing the wpa_supplicant.conf file did not help. Still unable to connect to WiFi. :(

Fingerprint is working fine, though. No issues there. I haven't removed the fingerprint files as mentioned in the post.
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Changelog For 5.0.2:

=> Camera

Supported EIS for Video Recording

=> Applications

New launcher V2.2

New Gallery V2.0

New Weather v1.9

New File Manager V1.7.6

=> System

Added Face Unlock Function <3

General Bug Fixes And Improvements

Added CPU security patch: CVE-2017-13218

Download Section :

ROM :OOS 5.0.2

Google Drive || OFFICIAL Link ||Mega Drive Soon​
[OnePlus 5 Guides, News, & Discussion] kramer987:
google drive Link is 5.0.1
[OnePlus 5 Guides, News, & Discussion] cirillo30:
this time i can't get google certification with magisk, there is a solution?
[OnePlus 5 Guides, News, & Discussion] iver23:
Hi, what should I do if I want my phone to be rooted and also getting the OTA updates??

---------- Post added at 10:43 AM ---------- Previous post was at 10:41 AM ----------

Hi, what should I do if I want my phone to be rooted and getting the OTA updates?

---------- Post added at 10:46 AM ---------- Previous post was at 10:43 AM ----------

Hi, what should I do if I want my phone to be rooted and getting the OTA updates?
[OnePlus 5 Guides, News, & Discussion] lazygeniuslanz:
I'm currently running 4.5.14, can I follow this tutorial to proceed to 5.0.2?
[OnePlus 5 Guides, News, & Discussion] ___Pg:
You'll get the OTAs.
[OnePlus 5 Guides, News, & Discussion] samwidd:
hi i am in unlocked bootloader and i am unable to install neither the stable nor the beta one
[OnePlus 5 Guides, News, & Discussion] kramer987:
google drive Link still wrong
[OnePlus 5 Guides, News, & Discussion] samwidd:
hi unable to install with twrp
[OnePlus 5 Guides, News, & Discussion] BenSow:
I'm coming from a custom N ROM, does method 2 still work? No need no-verity/full wipe?
[OnePlus 5 Guides, News, & Discussion] mayur.3.92:
My buttons are not swapping :(
[OnePlus 5 Guides, News, & Discussion] ALONS_94:
Good Morning to everyone, i would like some help upgrading from 5.0.1 to 5.0.2 currently i have the Bluspark_TWRP and im rooted with magisk not decrypted, i was planning to update to 5.0.2 ussing the following method :

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 .

My question is : Will it work ? can i install the stock recovery update and then install Bluspark_TWRP again ?

And second : AFTER updating from 5.0.1 to 5.0.2 will i need to reflash magisk ?
[OnePlus 5 Guides, News, & Discussion] sansanc:
Dirty flash the full ROM in TWRP, right after it, install TWRP again, reboot to recovery, install magisk/root, done.

Yep, installed it too, didn't even know it was .1. Downloaded another file from androidhost or something.

Better install fresh. Backup everything first. Search my posts.

Better install codexxx TWRP and dirty flash the full ROM, see my answer above.

Second: I think so.
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Yes you can upgrade after that install custom recovery.

2. you need to flash magisk again
[OnePlus 5 Guides, News, & Discussion] siddheshvartak:
the zip you have provided in 5.0.2 google drive section is 5.0.1 ...
[OnePlus 5 Guides, News, & Discussion] saumik.bose:
Please help on my queries

Hi guys, need your help.

Currently I am on Oxygen OS 5.0 on Oreo 8.0. I have rooted through MagiSk and recovery module is Bluespark twrp 3.2.1.

Phone is receiving 5.0.1 OTA from past couple of weeks, but it fails as the bootloader is unlocked.

Kindly help me with following queries before I proceed:

1. Can I do dirty flash from 5.0 to 5.0.2, or need to go to 5.0.1 first?

2. Which method to be used, METHOD 1: Using "TWRP recovery*[ For Decrypted Users]" i suppose?

3. How i know if I am an encrypted or decrypted user, sorry to be so dumb!! (In recovery mode, it shows decrypting my phone, once i enter my phone unlock password there)

4. Do I need to remove password / fingerprint before flashing?

I have already burnt my fingers while upgrading to 5.0 as I lost my data without taking backups, hence hesitant to do something foolish again this time.
[OnePlus 5 Guides, News, & Discussion] drpradsms:
There's no need to flash Recovery and then reboot to recovery as mentioned in step 4 in OP.

1. Just flash OOS Oreo ROM

2. Flash Magisk 14.5.. will give you an error.. (no need to panic.. no need to flash revovery. no need to reboot to recovery again).

3. Flash Magisk 14.5 again.. This time it'll succeed :)

4. Flash no verity as mentioned

You are good to go and with your decrypted data and TWRP recovery retained.

Tried and tested with Magisk 14.5 (Magisk 15.3 stuck at 1+ logo)

You can flash magisk 15.3 after booting and setting up
[OnePlus 5 Guides, News, & Discussion] lun471k:
The device won't flash the rom. Says it can't since the bootloader is unlocked.

If I want to lock it with fastboot, it will wipe data...
[OnePlus 5 Guides, News, & Discussion] lun471k:
Of course you can, just fully wipe your device back to a clean state, lock your bootloader, flash stock ROM from OP forums then update over OTA.
[OnePlus 5 Guides, News, & Discussion] NavinThomsy:
Hello! Thanks for the quick answer.

But is it possible without data loss?

What I mean is can i just remove root and replace stock recovery and proceed with ota? I don't wanna clean install every time an update comes.
[OnePlus 5 Guides, News, & Discussion] C0ntroller:
No luck for me. When I try to dirty flash it boot then suddenly shut down and rebooting in recovery.

Using Codeworkx TWRP. Currently on OOS 5.0.1 and trying to update with full update package. Flashed update, then Magisk 15.3 then rebooted.
[OnePlus 5 Guides, News, & Discussion] philippsp:
Launcher update did not work .
[OnePlus 5 Guides, News, & Discussion] tommy92tc:
https://xdaforums.com/showpost.php?p=75415115&postcount=517

If decrypted flash no verity
[OnePlus 5 Guides, News, & Discussion] sansanc:
If you already have Oreo, then dirty flash the full ROM. Re-install codexxx TWRP right after it, reboot in to recovery again, install magisk and that's it. Backup just in case.

---------- Post added at 22:37 ---------- Previous post was at 22:35 ----------

The google drive file is 5.0.1. Come on man, fix that. People here think they have .2 when actually they have .1. Like i did!
[OnePlus 5 Guides, News, & Discussion] erak606:
I'm on Oreo Open Beta 3 right now trying to upgrade to either stable 5.0.2 or Open Beta 5. I keep getting this error, what should I be doing?
[OnePlus 5 Guides, News, & Discussion] igoorsoouza:
Change your recovery, codeworkx twrp should fix it.
[OnePlus 5 Guides, News, & Discussion] edgd1er:
Not sure i ve seen a answer to that question. Just in case....

After flashing à encrypted, rooted, magisked 5.0.0.1 to 5.0.0.2, i had no problem.

OnePlus5Oxygen_23_OTA_029_all_1801292040_d71af3d.zip

MD5: 7eb69f11facd767a8941c3cf32407426

SHA-1: 70aac5e0b8462ca429af6fe9581d53d67f6a3cd4

Sent using tapathing
[OnePlus 5 Guides, News, & Discussion] dani07:
Hello, What did you follow?
[OnePlus 5 Guides, News, & Discussion] vanzant83:
Let me understand a thing.. now it seem like after flash the update, you should back to fastboot re flash recovery (??), boot in recovery again, flash magisk and reboot system to make it work.. am i correct? why should i re flash recovery again? is that supposed to be done in every update O to O from now on? in nougat this re-flash recovery thing was unneeded...
[OnePlus 5 Guides, News, & Discussion] null0seven:
When you flash a new Oxygen it changes youre recovery to Oxygen recovery.

After you flash a new Oos, reflash recovery. Reboot to recovery to check if it works. Then reboot to system.
[OnePlus 5 Guides, News, & Discussion] Bayernholic:
I'm on OOS 5.0 and trying to update to 5.0.2. I'm rooted and bootlocker is unlocked. I installed codexxx recovery and when I try to flash 5.0.2, TWRP gives me an "Updater process ended with ERROR: 7" error. Help? :(
[OnePlus 5 Guides, News, & Discussion] vanzant83:
what you mean with new Os? what's the difference between upgrade 5.0.1 to 5.0.2 and 4.5.13 to 4.5.15 for example? i never re flashed recovery from 4.5.0 to 4.5.12

---------- Post added at 05:34 PM ---------- Previous post was at 05:23 PM ----------

usually that kind of error is about incompatibility between twrp and the rom. Have you installed the last universal twrp? Have you checked md5 of the downloaded 5.0.2?
[OnePlus 5 Guides, News, & Discussion] edgd1er:
Twrp was universal 8.0 codeworx. Phone is encrypted, bootloader unlocked, rooted, magisk installed.

1 Reboot to recovery

2 Flash full rom 5.9.0.0.2

3 Wipe cache

4 reboot to recovery, flash twrp

5 flash magisk.

6 reboot

Now I enjoy rom 5.0.0.2

Sent using tapathing
[OnePlus 5 Guides, News, & Discussion] erak606:
Hey, what version did you start from when you did this? I used the codeworx recovery and it patched this time but it encrypted all my data in twrp.
[OnePlus 5 Guides, News, & Discussion] edgd1er:
5.0.0.1

sent using tapathing
[OnePlus 5 Guides, News, & Discussion] erak606:
How come after I update using your method my files are encrypted?
[OnePlus 5 Guides, News, & Discussion] blieque:
As I understand it, OxygenOS flashes its own recovery when it boots, unless you flash Magisk or similar over it before booting. I've always had to flash Magisk after an OxygenOS update in order to retain TWRP.
[OnePlus 5 Guides, News, & Discussion] edgd1er:
I m sorry for that but i mentionned that my phone was encrypted before flashing. As encryption is enforced without the no verity zip flashed, that s what happened when you have rebooted. On OP, you can find the no verity file. I guess it s too late now. Sorry again.

Sent using tapathing
[OnePlus 5 Guides, News, & Discussion] erak606:
It's fine, I had to mess around with the firmware and the ROM installations. Basically I had to flash the ob3 firmware and since the ob5 firmware wasn't working for some reason. This is what happened when I went from 4.5.10 to Open Beta 3. This time I knew that I needed to just revert the flashes.

I'm successfully running Open Beta 5 ROM with Open Beta 3 firmware, thanks.

So what you were mentioning for this no verity zip is that I should flash that before trying to flash the ROM? I just want to know for the next time I update.
[OnePlus 5 Guides, News, & Discussion] edgd1er:
Not sure about the perfect timing to do that. I would say after magisk flash. Please, search the forum or for a confirmation from someone that used it.

Sent using tapathing
[OnePlus 5 Guides, News, & Discussion] dani07:
thank you for your information, I will try.
[OnePlus 5 Guides, News, & Discussion] rahulns.xe:
Used the same steps to upgrade to OOS 5.0.2
[OnePlus 5 Guides, News, & Discussion] null0seven:
When you flash a new version of Oxygen. Full zip.
[OnePlus 5 Guides, News, & Discussion] vanzant83:
This is not true, as i said i updated all the step fronte 4.5.0 to 4.5.15 without reflash twrp a single time..
[OnePlus 5 Guides, News, & Discussion] null0seven:
For me every time it rewrite recovery. I usually use OB.
[OnePlus 5 Guides, News, & Discussion] ducasan:
For unencrypted you must flash the no_verity_mod.zip
[OnePlus 5 Guides, News, & Discussion] saumik.bose:
Waiting for guidance

Please suggest on my queries.
[OnePlus 5 Guides, News, & Discussion] k4get1:
i just dirty flashed 5.0.2 is root working now. my recovery is codeworx.and magisk 4.3 bata then, no verity mod For Oreo .

I've tried so many times to root to end up in a recovery loop. any ideas

k4get1
[OnePlus 5 Guides, News, & Discussion] akxak:
Does anybody experience GPS problems? I have partly really trouble to get a GPS fix or the GPS is off by ~50 m. I already use additional apps to keep A-GPS up to date and use the nearest NTP server.
[OnePlus 5 Guides, News, & Discussion] tab~:
For the folks who decrypted and use no verity, is there a way to go back to encrypted?
[OnePlus 5 Guides, News, & Discussion] andiak:
can sombebody help me ? i have made an clean flash. Wiped everything and installed in twrp codeworks oxygen 5.02 but everytime i reboot, i land back into twrp?

i have trys several times flash everything, clear cash use the no verity file etc
[OnePlus 5 Guides, News, & Discussion] PioneerDC:
Same problem here...
[OnePlus 5 Guides, News, & Discussion] k4get1:
try not rooting it . thats the only way i could get it to boot .do everything else.

Sent from my ONEPLUS A5000
[OnePlus 5 Guides, News, & Discussion] Tattvamasi:
Magisk 16.0 patched image won't boot

Hi,

since the 5.0.2 OxygenOS patching the boot image doesn't work as pachted_image.img stays in bootloop.

Procedure: upgrade via OTA, download ZIP en unzip.

Put boot.img on phone, patch with Magisk, flash patched_image.img with fastboot.

Until the last update this procedure worked perfect, didn't change anything on the phone in between.

What could be the solution?

KInd regards, Rob
[OnePlus 5 Guides, News, & Discussion] MMWolverine:
I think there should be a warning in the op about Magisk causing bootloop on 5.0.4 update. If you're decrypted make sure you have a nandroid backup, before attempting to dirty flash.
[OnePlus 5 Guides, News, & Discussion] geko53:
No problem with 5.0.4 and Magisk 16 when flashing the no-verity mod as last zip...

Ciao

Gerald
[OnePlus 5 Guides, News, & Discussion] MMWolverine:
Well clearly sth is not ok, because it reboots right before SystemUI should load. I'll do a clean install over the weekend.
[OnePlus 5 Guides, News, & Discussion] aneesh12:
should i go for method 2 when i am rooted? i am using oos 5.0 and wanna upgrade to 5.0.4
[OnePlus 5 Guides, News, & Discussion] abusalehsheikh:
Magisk 16.0 patched image won't boot

:good:

It's release me from bootloop.
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
encrypted or decrypted ?? bootloader unlocked ???
[OnePlus 5 Guides, News, & Discussion] aneesh12:
encrypted nd unlocked bootloader
[OnePlus 5 Guides, News, & Discussion] me1k01:
Hi, do i understannd correctly ? When i'm on lates LineageOS i just need to do a Full Wipe and flash OOS ?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Yes.. Wipe all.
[OnePlus 5 Guides, News, & Discussion] me1k01:
Do i have to wipe my internal storage? Or just Cache dalvik System data? And then OOS and reflash twrp?

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Does your data is encrypted or decrypted?
[OnePlus 5 Guides, News, & Discussion] me1k01:
How can i check this? In twrp the files are all readable

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[OnePlus 5 Guides, News, & Discussion] astracd:
settings - security and lock screen (scroll all the way down)

Encryption - if not encrypted it will say encrypt phone
[OnePlus 5 Guides, News, & Discussion] me1k01:
Its encrypted

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Den wipe all including internal. Storage.

If you want to stay decrypted, format internal storage and then flash any rom and then no verity file.
[OnePlus 5 Guides, News, & Discussion] Akarsh Adithya.K:
after seeing your tutorial , decided to move to nougat Oos to oreo Oos, but i was on rooted OOS 4.5.15(for a year ,coz xposed installer) and tried this tutorial , when i try to flash the OOS rom zip, it throws error 7 no matter what i do, i searched for solutions and couldn't find any. Instead of USB via ADB , i used OTG.

Boot loader is unlocked, i wiped everything you mentioned on tutorial , tried switching TWRP versions to , didnt work.
[OnePlus 5 Guides, News, & Discussion] strongst:
You should format internal storage, that's the easiest way. Then install 5.1.4 oos stock rom and. But please ask further questions here https://xdaforums.com/oneplus-5/help/qa-help-thread-newbies-post-t3624656
[OnePlus 5 Guides, News, & Discussion] Akarsh Adithya.K:
I wiped everything possible, dalvik cache, cache, system partition, data, and after that pressed format data button too.

The only change I made in process is I was trying to flash the ROM zip via OTG pendrive
[OnePlus 5 Guides, News, & Discussion] phoenix.505:
Even I flashed without the No-verity file and now stuck on boot animation. :confused:
[OnePlus 5 Guides, News, & Discussion] gonsa:
what if the phone is encrypted?
[OnePlus 5 Guides, News, & Discussion] alucard_24:
You will loose all data :(

That was what happened to me :(
[OnePlus 5 Guides, News, & Discussion] kimikim0:
flash all file like method 2 in OP, phone keep reboot back to twrp, wont let me even boot in bootanimation, any idea
[OnePlus 5 Guides, News, & Discussion] gonsa:
wait what? why?

shouldn't this be an OTA like update?
[OnePlus 5 Guides, News, & Discussion] kimikim0:
carl already mentioned and confirmed at twitter OP5 will get Face Unlock soon
[OnePlus 5 Guides, News, & Discussion] mofeywalker:
Hey, it's version 440
[OnePlus 5 Guides, News, & Discussion] Toppy02:
My phone is decrypted and Im using blue spark recovery. I'm on open beta 2.

Shall I dirty flash?

N also I need to flash no verity file?
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
If u are on latest blue spark recovery, then dirty flash the rom over ob2.

Yes.. You need to flash no verity file to avoid force encryption of ur phone.

------

I guess your phone was encrypted before, so Kindly do format your internal storage and boot the phone.
[OnePlus 5 Guides, News, & Discussion] kimikim0:
nope im pretty sure im decrypted before i flash oreo, smh
[OnePlus 5 Guides, News, & Discussion] Fis2:
Maybe you could add to post #3 another method with all the steps for encrypted Nougat custom roms ..... :angel:
[OnePlus 5 Guides, News, & Discussion] FloyderE:
I'm on Stock OOS 4.5.14 with latest Blu TWRP and Magisk Root.

To update to Stable Oreo what I have to do? Just flash the full zip after wiping cache,system & dalvik and then re-flash Magisk to stay rooted?

(I't not a problem to skip 4.5.15 right?)

Thanks in advance
[OnePlus 5 Guides, News, & Discussion] Deadlysikh:
In previous nougat updates I used to flash them via twrp and all my apps and data remained intact. Is that case here too or would I lose all my data?
[OnePlus 5 Guides, News, & Discussion] thiagoserrao:
I'm trying to update, but the install stuck in the boot menu, the circles still moving, but i'm trying to install for like 20 min >_>
[OnePlus 5 Guides, News, & Discussion] cerealguy:
My phone reboot itself in TWRP... used method 2... flashed Rom and then no verity zip but no luck.... anyone else??

EDIT. solved fashing magisk after Rom zip and no verity mod... It boots now!
[OnePlus 5 Guides, News, & Discussion] brmbjn:
dirty flash. work fine. but twrp blu after i flash it reboot. twrp lost again why ?
[OnePlus 5 Guides, News, & Discussion] blu3angel:
No go for me... Coming from latest nougat stock rom rooted. Tried Method 2 and stuck at bootloop... Using blu_spark recovery and the method suggested already...
[OnePlus 5 Guides, News, & Discussion] SoundWave007:
OB2 just dirty flash through stock recovery, work flawlessly
[OnePlus 5 Guides, News, & Discussion] Pro4TLZZ:
Can someone screenshot the quick settings and the settings app? Also could you check if they used the Google services for Oreo and not for nougat like they did on the 3t
[OnePlus 5 Guides, News, & Discussion] thiagoserrao:
Nice, the update $&¨*ded my phone :/, i'll have to reinstall all rom, OMG
[OnePlus 5 Guides, News, & Discussion] scorpio85:
I m on 4.5.15 - non rooted. Can i just download the ROM from post #2 and do a local upgrade?
[OnePlus 5 Guides, News, & Discussion] romano19:
I lost blu twrp after flash Offical (no_verity_mod_For_OOS_Oreo_by_HatriGt.zip) :(. if i install blu twrp via adb, so i will need format data for decryption or not? tks
[OnePlus 5 Guides, News, & Discussion] blu3angel:
I believe that the no verity mod is not working during the flash.. As i can see that the files are still encrypted... Maybe that's why it stuck at bootloop...
[OnePlus 5 Guides, News, & Discussion] HatRiGt:
Use Canada VPN and download the update and press install. ;)