yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] strongst:
Did you removed the pin/pattern as suggested before flashing the update? Is your device storage encrypted or decrypted? You enter that password in twrp or after booting up the rom?
[OnePlus 5 Guides, News, & Discussion] 2hdq:
I just dirty flashed the OS. Sorry, if this has been covered, but...

Magisk won't ask for root permissions for the apps, just automatically denies them access, whereas before, I always got a prompt asking if access should be gained or not.

Frustrating, as some of the apps I used rooted, now stopped working, Magisk Manager inbuilt update being one of them, hehe.

Tried with both, Magisk 17.3. and 18.0.

Manager says it's installed, and passes the SafetyNet. What to do?

Not really sure if this should be here or in the Magisk thread, but it happened while migrating the OS, so it's got something to do with the update. Hope someone is able to help quickly. Thanks.
[OnePlus 5 Guides, News, & Discussion] fedex_742:
you can try with Magisk 17.1 works for me.
[OnePlus 5 Guides, News, & Discussion] clock51:
I removed pin / patten before flash, the password I enter after starting the rom and my device is decrypted.Weird thing that even if I restore the nandroidbackup done before the flash tells me that the password is wrong, no I know more what try I find myself with the phone blocked. help
[OnePlus 5 Guides, News, & Discussion] strongst:
That includes also the flash of a no verity file to stay decrypted? Did you changed your twrp too prior or in relation to the rom update? Please give details steps what(file names) you've flashed in which order and what you have before(twrp).

Every information might be helpful ;)
[OnePlus 5 Guides, News, & Discussion] clock51:
I used these steps:

Download the full ROM zip from the downloads section above

Reboot to TWRP recovery (please make sure that it's the latest one from one of the links above, unless you're on OxygenOS Oreo, in the case of which stick to the existing recovery that you have and update your recovery only after you've upgraded to OxygenOS Pie) and take a nandroid backup of your existing ROM

Flash Magisk Uninstaller (recommended)

From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe

From the TWRP menu, Install > Select full ROM zip > Swipe to flash

Flash the latest stable Magisk in case you want to root

From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe

If you were decrypted earlier, flash Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here

Reboot

but if I wanted to start from 0 what procedure should I do? it does not matter if I lose all the data I have made a backup of the internal memory
[OnePlus 5 Guides, News, & Discussion] Kallmeidroppe:
Today i did a clean flash, followed the instructions in OP. Everything work Well.

Thank you!
[OnePlus 5 Guides, News, & Discussion] strongst:
I asked you about the files you used and twrp version you installed too. There are so many people who flash wrong files, so it's absolutely important to make this transparent if you want help to solve your issue.

The clean flash instructions are also in the first post after the ones you've quoted for updating.
[OnePlus 5 Guides, News, & Discussion] RickDangerous:
Thanks for the info but in the meantime I started making a clean pie install as I couldn't find another solution.

I had a recent titanium backup of my sms, so I decided to start fresh with only that.

I've already spent a few hours setting up some some apps on pie..

Now I think it's too much of a hassle to go back to oreo and then reflash... :/

If only I had that info earlier..

I'll see how it goes

Thanks for the help nonetheless!!!
[OnePlus 5 Guides, News, & Discussion] sjamie:
Clean flashing a new Android version is always better than dirty flashing over the older one although some people have had some success doing it. Why take the risk?
[OnePlus 5 Guides, News, & Discussion] RickDangerous:
I agree.

It's just that I hadn't kept a titanium backup before attempting the update. (apart from my sms messages that is)

I thought the nandroid backup would be enough in case something goes wrong..:/

Now I have to spend too much time re-creating my setup

I have to spend literally days to reach the same setup..

I tried restoring apps from the nandroid through titanium, but for some reason I have no success

I see no new apps after the operation, although it has that ability theoretically

The reason I'm considering going back is to take a titanium backup and batch restore my setup/apps, after a clean install...

But I'm fearing that won't work too for some reason, maybe I will still have trouble restoring the nandroid and lose more time flashing clean again

I'm a typical unlucky guy

Now all is just a mess.. Not sure what is worth doing from here.
[OnePlus 5 Guides, News, & Discussion] clock51:
I installed in this order:

TWRP_3.2.3-Pie_siankatabg_OP5.zip

Magisk-uninstaller-20181208.zip

OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip (without compatibily zip)

Magisk-v18.0 (18000) .zip

Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble) .zip
[OnePlus 5 Guides, News, & Discussion] strongst:
I always backup user apps, SMS and wifi settings with titanium backup and that can safely be restored on every os generation. Every other restore within titanium backup is risky. I did this from Oreo to pie as well as nougat to oreo or vice versa, doesn't matter.
[OnePlus 5 Guides, News, & Discussion] sjamie:
Take a nandroid backup of your current setup then follow the instructions I previously posted to get back your previous Oreo setup. Once it is running properly, use SMS Backup & Restore and Titanium to backup your messages and apps. Then you may attempt a CLEAN flash of Pie if you still feel up to it.

P.S. I'm staying on Oreo because I love Xposed too much to divorce it. ?
[OnePlus 5 Guides, News, & Discussion] strongst:
That means if im correct: you changed your twrp from which one to TWRP_3.2.3-Pie_siankatabg_OP5.zip?

Changing twrp when decrypted can lead to such issues especially when this twrp have errors reading the internal storage.

I would recommend to not change the twrp or change it back, or remove pin/pattern files with twrp file manager at first.
[OnePlus 5 Guides, News, & Discussion] clock51:
before I was in TWRP: twrp-3.2.3-x_blu_spark_v9.85_treble-op5_op5t.img

and now how can I solve? thank you
[OnePlus 5 Guides, News, & Discussion] Knightrid3r:
Again Error 7

I installed 5.1.4 (when i tryed to reboot it says no OS..) so i tried installing the 5.1.5 which comes with this error message:

Checking for Digest file....

Skipping Digest check: no Digest file found

vendor partition is not existed, exit ota!!!

Updater process ended with ERROR: 7

Error installing zip file /....location/

and this is with 5.1.7 and Pie

Dunno what to do.

I'm still on bluespark_v9.85 TWRP without Magisk

EDIT:

Now i rebooted onetime and now i could install 5.1.5 and 5.1.7 and finally PIE

EDIT2: Bootloop into Recovery...

EDIT3: When i flashed the PIE OTA and i click on Reboot System after the flash it says: No OS installed...
[OnePlus 5 Guides, News, & Discussion] strongst:
Read my last 2 sentences;) it's just a suggestion...
[OnePlus 5 Guides, News, & Discussion] clock51:
with TWRP filemanager which files should I delete to remove pin / patten? thanks
[OnePlus 5 Guides, News, & Discussion] RickDangerous:
Yeap, that's what I do as well. I didn't think I would need it this one time. Oh well..

I don't really feel up to it but I'm currently considering it:P

One question. The Oreo nandroid backup was taken with twrp-3.2.3-0-20181031-codeworkx

Will blu_spark TWRP 9.85 work with this backup?

Also twrp-3.2.3-0-20181031-codeworkx didn't have an option to wipe vendor partition, as a note
[OnePlus 5 Guides, News, & Discussion] drjat:
I think going from 5.1.3 to 5.1.4 is mandatory as this step creates vendor partition.
[OnePlus 5 Guides, News, & Discussion] Knightrid3r:
So i wipe everything excluding the storage and installing the 5.1.3 -> 5.1.4 -> and so on, or do i need a OS installed?

And do i need to wipe after each Version?
[OnePlus 5 Guides, News, & Discussion] drjat:
The easiest thing for you is to flash 5.1.3 and DO NOT flash Magisk - boot into system without having root - then take official OTA and you will get to 5.1.7 - then use vpn to get to Pie. You can then install TWRP - Latest BluSpark is twrp-3.2.3-x_blu_spark_v9.91_treble-op5_op5t.img

Then you can root etc

CLEAN FLASH IS MANDATORY FOR YOU - Better to format storage as well - do this when you are at 5.1.3
[OnePlus 5 Guides, News, & Discussion] strongst:
The process how to remove them within twrp you'll find here https://xdaforums.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877/post72748930 good luck :svetius:
[OnePlus 5 Guides, News, & Discussion] sjamie:
I don't believe recoveries are interchangeable. I recommend using the same recovery that made the backup to restore it. Once everything is working properly then switch to blu_spark TWRP if desired.
[OnePlus 5 Guides, News, & Discussion] strongst:
It's possible, I did it very often on several devices. But that's not a guarantee for every combination :D
[OnePlus 5 Guides, News, & Discussion] Knightrid3r:
I installed the 5.1.3 and now i want to reboot and it says:

No OS Installed! Are you sure you wish to reboot?

Dunno what i did wrong...
[OnePlus 5 Guides, News, & Discussion] sjamie:
Flash ROM, then NoVerity_V3 (if decrypted), and then Magisk then reboot.
[OnePlus 5 Guides, News, & Discussion] Knightrid3r:
maybe a stupid question, but where can i find if i'm decrypted or not?
[OnePlus 5 Guides, News, & Discussion] strongst:
Android Settings - security - encryption
[OnePlus 5 Guides, News, & Discussion] sjamie:
If you formatted your Data partition, your device is decrypted until you flash OOS which will encrypt your device unless you also flash NoVerity_V3.
[OnePlus 5 Guides, News, & Discussion] pkatsaras:
Clean install from 5.1.7. with modified installation zip and codeworkx 3.2.3 TWRP. Followed instructions and everything works like charm. Thanks for your good work!
[OnePlus 5 Guides, News, & Discussion] Knightrid3r:
ok thank you, V2 is also good? because the downloadlink for v3 is broken

---------- Post added at 09:15 PM ---------- Previous post was at 08:59 PM ----------

and when i do flash NoVerity - my internal storage stays untouched?
[OnePlus 5 Guides, News, & Discussion] pycxe-01:
Can I clean install the same way from OxygenOS Open Beta 12 the same way? Or do I need an upgrade to 5.1.7 or some other previous OxygenOS version first? I would be greatful for all your answers, thanks! :P
[OnePlus 5 Guides, News, & Discussion] sjamie:
Here is a working link for NoVerity_V3

Flashing this will not affect your internal storage.
[OnePlus 5 Guides, News, & Discussion] luis saucedo:
HELP!!! :(

f I am using the BETA of android 9.0 is the same method of installation of the stable version?
[OnePlus 5 Guides, News, & Discussion] strongst:
5.1.4 is minimum requirement you need for vendor partition. Please read the last 2 pages. Also other threads in Q&A section covers your questions ;)

---------- Post added at 10:38 PM ---------- Previous post was at 10:37 PM ----------

The installation instructions are the same for stable and beta.
[OnePlus 5 Guides, News, & Discussion] Zittou:
Hello, I'm getting this error while updating my rom from 5.1.7, tried codeworkx, blu_spark and siankatabg's recoveries but it just results the same.

E:String resource 'zip_compatible_err' not found.
Using default value.
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file '/sdcard/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
[OnePlus 5 Guides, News, & Discussion] strongst:
Have you removed the compatibility.zip from inside the rom file and flashing again? What version of twrp do you have?
[OnePlus 5 Guides, News, & Discussion] Zittou:
Yeah I removed it now it gives Error 7

I tried TWRP_3.2.3-Pie_siankatabg_OP5

twrp-3.2.3-0-20180822-codeworkx-cheeseburger

twrp-3.2.3-x_blu_spark_v9.85_treble-op5_op5t
[OnePlus 5 Guides, News, & Discussion] strongst:
Ok, you removed it maybe with the wrong archiver hence the file gets corrupted. Please use 7zip, mixplorer or totalcommander and try again(first you need a new rom file which isn't corrupted).
[OnePlus 5 Guides, News, & Discussion] Kellwa:
Hello everyone

i have problem in GPS since i updated to Android Pie

first with custom rom Hovac OS and now with stable OOS 9

when using the GPS on device only mode (the wifi and data and bluetooth are off also scanning is off )

i get no GPS Lock even outdoor

i never had this problem before android pie

i tried the magisk module (Global optimized gps file replacer) which replaces the gps.conf file in system/etc and vendor/etc but it didn't work

any idea what to do to get the gps working ?

thanks in advanced for any help
[OnePlus 5 Guides, News, & Discussion] Zittou:
I removed it with WinRar from PC. Now I'll try with 7zip.

Edit: Okay It's flashing now, thanks :)
[OnePlus 5 Guides, News, & Discussion] strongst:
I've changed the flashing instructions cause of the latest issues when flashing the rom zip with Oreo recovery on Oreo rom cause you need to remove the compatibility.zip which isn't covered anymore by the instructions, so now updated to make it clear that you need to remove the compatibility.zip in that special case.
[OnePlus 5 Guides, News, & Discussion] TENlll423:
Updated to 9.0 from 5.1.7. clean flash by following OP instructions.. had to flash Magisk v 18 twice to get it to stick not sure what that was about. Anyway I'm now on 9.0 pie ,saftey net passed, and updated TWRP to latest blue spark...

Thanks to all that got this going..? definitely appreciated.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
[MENTION=5893314]shadowstep[/MENTION] & [MENTION=613506]strongst[/MENTION]: Great job maintaining the thread with the new template compiling all the required info in one post :good:
[OnePlus 5 Guides, News, & Discussion] anuraganasane:
They both rock it! ?
[OnePlus 5 Guides, News, & Discussion] AxelM:
Hello everyone,

I made a dirty flash and everything woks well. "GREAT"

There is just one little issue I found so far: I changed the button "last" and "back" but the function did not switch. Any ideas?

"settings-->buttons and gesture --> buttons --> switch buttons"

BR

Axel
[OnePlus 5 Guides, News, & Discussion] Knightrid3r:
Thank you mate, after the ROM flash, i flashed NoVerity and now, it works, thanks man!
[OnePlus 5 Guides, News, & Discussion] mrjuniork:
Well chosen.. Always patient, straightforward, respectful and devoted! This thread is in good hands, thx buddy :good:
[OnePlus 5 Guides, News, & Discussion] freaky2xd:
anybody else hate the new "recent apps" tab? I enjoyed swiping left and right to close apps...

---------- Post added at 12:01 PM ---------- Previous post was at 11:57 AM ----------

yep I tried with winrar as well first, ERROR 7

the modified zip/modifying with 7zip works ;)
[OnePlus 5 Guides, News, & Discussion] strongst:
It's the oneplus launcher. Nothing you cannot change withing a minute ;)
[OnePlus 5 Guides, News, & Discussion] sjamie:
I'm glad I was able to help you get it working. Enjoy! :)
[OnePlus 5 Guides, News, & Discussion] freaky2xd:
it's not part of the launcher, it's part of oxygenOS...
[OnePlus 5 Guides, News, & Discussion] strongst:
If you use another launcher, you'll see it's like before(swipe left/right to clear). Lawnchair, Nova etc.
[OnePlus 5 Guides, News, & Discussion] TENlll423:
I had lawnchair on my op5. With lawnstep. When I was on Oreo. Great set-up if you like quick access to Google feed. Nevertheless it's a great highly customizable launcher.
[OnePlus 5 Guides, News, & Discussion] RickDangerous:
Well in my first post with this issue I mentioned that the original recovery I used to create the twrp backup failed at restoring it.

Meaning the restore operation completed successfully but every time I tried to boot to the system I came across a blank screen and a constant blue notification led.

So, it seems I'm going to stay with my freshly clean installed Pie OOS and slowly set it up as it goes..

Cheers!
[OnePlus 5 Guides, News, & Discussion] Sheng0729:
Do i still have to Remove the compatibility.zip with the latest TWRP for dirty flash?
[OnePlus 5 Guides, News, & Discussion] daitalos:
Only needed if you are coming from Oreo
[OnePlus 5 Guides, News, & Discussion] liam69:
I have updated to pie 9 but in the camera application there is no Google lens choice, why is that so?
[OnePlus 5 Guides, News, & Discussion] daitalos:
Install it manually...no problem
[OnePlus 5 Guides, News, & Discussion] liam69:
How ? Install from play store but no working
[OnePlus 5 Guides, News, & Discussion] daitalos:
Go settings > appl. & give all the permissions

G.Lens works normally

https://postimg.cc/gallery/1on1f9072/
[OnePlus 5 Guides, News, & Discussion] mrjuniork:
I gotta correct you on this one. The new recents layout is part of Google's design. No launcher can change this, it's part of the Pie ROM. I use Nova and this has nothing to do with the recents menu.
[OnePlus 5 Guides, News, & Discussion] :
New recents is integrated into the ROM launcher.

If you uninstall/deactivate stock launcher, you can't have the new horizontal recents.

In my case, I've uninstalled stock launcher and using Nova and I have the older recents style (vertical) even if I use custom ROMs (like crDroid).
[OnePlus 5 Guides, News, & Discussion] sjamie:
To fix your Oreo build:

- Reflash your original Oreo TWRP.

- Clean flash OOS.

- Flash NoVerity_V3. (only if decrypted)

- Flash Magisk.

- Reboot device.

- If all is well, reboot into TWRP.

- Restore Oreo nandroid backup.

- Wipe both caches.

- Profit! ?
[OnePlus 5 Guides, News, & Discussion] mrjuniork:
Absolutely correct. I mixed up Pie ROM integration with ROM launcher. I stand corrected, my apologies
[OnePlus 5 Guides, News, & Discussion] nikhilgauri09:
Did anyone try updating from 5.1.5 to 9.0?
[OnePlus 5 Guides, News, & Discussion] daitalos:
from 5.1.4 at least ... 5.1.7 are recommended

Personally with 5.1.7 etc without problem
[OnePlus 5 Guides, News, & Discussion] archraziel:
I am having issues with auto brightness since the update. It doesn't work anymore, its stay fixed at about 70% of the bar . Any one facing the same issue or have a fix for it?
[OnePlus 5 Guides, News, & Discussion] strongst:
Please check out this https://xdaforums.com/oneplus-5/how-to/official-oxygenos-beta-1-android-oreo-t3710003/post78413771 and the FAQ on the 2nd post of the linked thread.
[OnePlus 5 Guides, News, & Discussion] Sheng0729:
so, do i only flash the latest twrp after booting up first in pie? or after flashing the new rom?
[OnePlus 5 Guides, News, & Discussion] archraziel:
It was on. I rebooted and cleared the cache and it started working, thanks for the help
[OnePlus 5 Guides, News, & Discussion] hachamacha:
I just did this without a problem using USB 2.0 port & cable (~1.7GB) :

$ adb push \{folder}\filename /sdcard/{filename}

Substitute your folder & filename.

If for some reason it fails, then try a local copy "copy {yourfilename} {yourfilename.bak} as a test of whether the file is corrupted on your PC. If that works, then see if you can copy a big file already on your phone to /sdcard/{filename} and if both ends work, then MTP is a pretty well known culprit for not representing things accurately.
[OnePlus 5 Guides, News, & Discussion] Azure Dragon:
Is this normal?

The local copy works fine, it's not corrupted I guess. But how do I copy to the MTP device using the command line? Thanks!

UPDATE:

My bad, I actually forgot to include "/sdcard/" in the last command so I encountered an error. I corrected it and the transfer went just fine. Thank you so much!

P.S. : The reason why I was thinking the ZIP file transferred through MTP was corrupt because it didn't pass ZIP signature verification. But neither did the one transferred via ADB. So I guess it's not something you should look at. Lesson learned. Thanks everyone.
[OnePlus 5 Guides, News, & Discussion] hachamacha:
Glad it worked out. I've run into zip sig verification errors on all these version of TWRP so I don't check those boxes anymore. You can do them in your terminal window if you want to see that (on your PC).
[OnePlus 5 Guides, News, & Discussion] ulxerker:
Welcome to the OP community :)
[OnePlus 5 Guides, News, & Discussion] Gizmundo:
the problem was the adb interface driver did't install during the automatic installation, needed to be done manually. I hope it is ok now
[OnePlus 5 Guides, News, & Discussion] thaidroid:
I'm about to get my OP5 delivered to me in Thailand. There is a chance that it might have Hydrogen OS installed.

I already have the latest Oxygen zip on my PC;)

If the phone actually comes with Hydrogen installed.

Will it be OK to just follow instructions for stock recovery no root on the OP and install latest Oxygen straight over the Hydrogen?

Any special wipes or just straight flash.

Always used Samsung (since I9000)so familiar with flashing and stuff but firs venture out in the rest of the unknown Android universe:D

I don't want to Brick my new phone straight out of the Box:cool:
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Congratulations and welcome to the OnePlus Family :highfive:

Yes if the comes with H2OS you can flash the full OOS zip via stock recovery no root method.

No special wipes needed, just place the zip ok internal, reboot to recovery, wipe cache, install from internal select OOS full zip and install.

After the flash wipe cache again and reboot to OS.

You will boot up the latest 4.5.7 :good:
[OnePlus 5 Guides, News, & Discussion] ___Pg:
I used the partial OTA 4.5.6 - 4.5.7 and it returned me with an Error 7 in TWRP.

Does anybody have any idea what's causing it? and also, should I now try and dirty flash the full OTA?

Should I dirty flash or clean flash it? I'm being completely thorough because I love my device like anything.

Also, I have Substratum, Ozone and Viper4Arise installed as well, after I dirty flash or clean flash it, should I flash Magisk and these as well?

Please do reply soon, thank you so much!
[OnePlus 5 Guides, News, & Discussion] iamelton:
you have to flash the full OTA zip.. dirty-flashing would be fine, just better wipe cache & dalvik before and after flashing.. and then flash magisk to regain root..

i have no idea whether those others you mentioned should be reflashed.. my guess would be if you flashed them previously, then probably have to flash again.. if you just installed them, then no need to reinstall..
[OnePlus 5 Guides, News, & Discussion] ___Pg:
Thanks man!
[OnePlus 5 Guides, News, & Discussion] 3DSammy:
I'll only comment on Viper4Arise but after your update to v4.5.7 there is not enough storage space on the /system (3gb partition), to flash V4Arise so you'll need to debloat an unused app that resides in that partition. I removed the Duo app (~20Mg) using Titanium Backup (after backing it up) then re-flashed V4Arise. Until v4.5.7 this extra debloat step was not necessary.
[OnePlus 5 Guides, News, & Discussion] HEROEdelREVES:
If i'm in 4.5.6 do i need to download the G-drive file (OTA Patch 4.5.6 to 4.5.7) or the full zip file (4.5.7)?
[OnePlus 5 Guides, News, & Discussion] Samaksh:
Battery life became worse after the update. Please fix this! The EIS on 4k made this already awesome phone even more awesome. Does EIS applies to 1080p 60fps too?

And devs please check the battery issue. Make this phone great again!
[OnePlus 5 Guides, News, & Discussion] Mikulec:
No EIS for 1080p60fps
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Coming Up OOS 4.5.8:

From the Rom team: We are withdrawing 4.5.7 due to a gaming stutter issue reported from some forum users. Therefore, we are pushing out 4.5.8 instead to resolve this issue ASAP.
[OnePlus 5 Guides, News, & Discussion] ghettopops:
Incremental rolling today?