yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] Zofoor:
Hi all!

I have a problem. I followed the first post to upgrade, for the first time, my OnePlus 5 to Oreo (it was rooted with Magisk, no TWRP installed).

I have:

1. Use Codeworkx TWRP (fastboot boot twrp-3.2.2-0-20180721-codeworkx-cheeseburger.img)

2. Magisk Uninstaller

3. wipe dalwin & cache

4. install rom (5.1.3)

5. install magisk 16.7 (I wanted to give it a try as the post was old)

6. wipe cache & dalwin

7. reboot

Now it is stuck at the bootscreen. I have then read about the no-verity-opt-encrypt-6.0.zip. So I have made:

1. reboot with volume down - power

2. wipe cache

3. entered in fastboot mode

4. fastboot boot twrp-3.2.2-0-20180721-codeworkx-cheeseburger.img

5. it is loaded but then the device is stucked at in a screen with the text "fastboot mode"

6. I try to load to make again fastboot boot twrp-3.2.2-0-20180721-codeworkx-cheeseburger.img, but now it says "remote: Failed to load/authenticate boot image: 00000050"

I tried then the option "Install from internal storage", but it does nothing, then Install from ADB but I get an error when I try to sideload the file no-verity-opt-encrypt-6.0.zip

What can I do to unbrick the device (without wiping all data)? Any idea would be really appreciated, thanks!

EDIT: I was able to install twrp codeworkx as recovery software, and to boot in twp recovery mode. Sadly all data on the device seems encrypted and I am not asked to enter my password to unlock the content.
[OnePlus 5 Guides, News, & Discussion] clock51:
you can try: with twrp 3.2.1.0 universal, clean system / dalvik / cache in this flash order: OOs 5.1.4> Magisk 16.6> no_verity_mod_For_OOS_OREO-by_HatriGT.zip that you place here: :http://www.mediafire.com/file/wj1r8s8s9jgyeal/no_verity_mod_For_OOS_Oreo_by_HatriGt.zip/file
[OnePlus 5 Guides, News, & Discussion] Zofoor:
Thanks for your fast reply, but the drive seems to be in "read-only" mode, and all the content is also encrypted. I could try that only by sideload from TWRP. Is that a good idea? Becouse I cannot find any zip to load with the Install option as everything is encrypted.
[OnePlus 5 Guides, News, & Discussion] clock51:
you can use an external memory where you have loaded the files and with usb OTG try if the law
[OnePlus 5 Guides, News, & Discussion] Quercy:
Hello, no way to upgrade in 5.1.4. Error 7 during installation with Oxygen update or directly with blue spark. I have tried 2 differents complete ota Zip.Thanks for your help. I'm on 5.1.3
[OnePlus 5 Guides, News, & Discussion] Zofoor:
I don't have the usb otg, but anyway I doubt it would work with the data partition encrypted. I have found that I could use the adb command "adb shell twrp decrypt yourpassword", where yourpassword is a number that rappresent the lockscreen pattern, using that schema:

1 2 3

4 5 6

7 8 9

I have tried but it doesn't work. That could be a good trick to fix my problem, but I don't get a valid password to use. :confused:
[OnePlus 5 Guides, News, & Discussion] faraday48:
Try codeworkx twrp and magisk 16.7 (1671) worked for me.
[OnePlus 5 Guides, News, & Discussion] corleone48:
Hello,

I reach to install 5.1.4 with clean install.

But I try different ways to install magisk but always failed.

- before 1st start or after

- v16.0 and v16.7

With clean uninstall at each try....

So now, I'm not root, and because boot.img isn't modified by rooting, twrp is replace by original recovery every reboot.....

Thanks for help
[OnePlus 5 Guides, News, & Discussion] strongst:
Have you followed the root guide here https://xdaforums.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 ?
[OnePlus 5 Guides, News, & Discussion] corleone48:
Thanks for replying.

My pb is that magisk is installed, but my system become unstable, lot of app are foreclosing
[OnePlus 5 Guides, News, & Discussion] strongst:
You didn't mention that... Time to clean install
[OnePlus 5 Guides, News, & Discussion] Zofoor:
I have purshed the usb OTG adapter, and made as you suggested (clear cache & dalvin, install 5.1.4, clear cache & dalvin, install magisk 16.7, clear cache & dalvin, install no_verity_mod_For_OOS_OREO-by_HatriGT.zip, clear cache & dalvin).

After that I have rebooted the device, but after a few minutes the phone rebooted again and loaded TWRP. That's strange becouse after the installation of 5.1.4 I didn't installed TWRP.

Anyway, I have then clear cache & dalvin, install 5.1.4, clear cache & dalvin. Rebooted and again, after a few minutes, the phone rebooted again and TWRP has been automatically reloaded.

Tried again adb shell twrp decrypt yourpassword without success.

I have then clear cache & dalvin, and then installed no-verity-opt-encrypt-6.0 (instead of no_verity_mod_For_OOS_Oreo_by_HatriGt), to give it a try. Also no success.

After reading online it seems that the first time the phone is upgrade to Oreo then the encryption key is lost. So, if that's is correct, then simply there is no way to fix that without wiping everything.
[OnePlus 5 Guides, News, & Discussion] strongst:
I recommend the v2 of the no verity zip. Why? Just read the changelog https://xdaforums.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144

Just give it a try :good:
[OnePlus 5 Guides, News, & Discussion] tbqstp:
This. Sadly, this step is not listed in the instructions. For encrypted devices, jumping from N to O requires formatting internal storage.
[OnePlus 5 Guides, News, & Discussion] rezapatel:
Update went super smooth from 5.1.3 to 5.1.4 on a rooted + encrypted setup using the below steps -

- Boot to recovery (latest Blu TWRP recovery)

- Dump cache + dalvik

- Flash 5.1.4

- Dump cache + dalvik

- Flash Magisk 16.0 stable

- Flash TWRP recovery (shouldn't be needed but I always do it to be on the safe side)

Gluck with the upgrades!
[OnePlus 5 Guides, News, & Discussion] ska1983:
Hello everyone, I would have a simple question but I have not updated for months and I ask in doubt.

Now I have the ROM Oxylite, is based on the beta 12, I would like to put the 5.1.4 stable and clean everything !! What procedure do you recommend?

- Flash Bluspark TWRP

- Flash Magisk Uninstaller

- Wipe Dalvik, cache and data

- Flash rom

- Flash Magisk 15.3

- Wipe Dalvik and cache

- Reboot

- Update Magisk

Correct? can I proceed quietly?

Thank you all
[OnePlus 5 Guides, News, & Discussion] strongst:
At least you need to wipe system partition too. Otherwise sounds good but I recommend to backup your internal storage in case you need a clean installation with formatted internal storage.
[OnePlus 5 Guides, News, & Discussion] Elleby:
Update went good using steps listed by rezapatel. Coming also from rooted and encrypted 5.13.
[OnePlus 5 Guides, News, & Discussion] gonsa:
is this the latest Blu Spark TWRP version for this rom?

blu_spark_r126-oos-oreo_op5-op5t_08be079.zip
[OnePlus 5 Guides, News, & Discussion] ulxerker:
Yes, you can flash 5.1.4 with this TWRP and also the bluspark kernel.
[OnePlus 5 Guides, News, & Discussion] strongst:
You have a kernel! Twrp is this: twrp-3.2.3-x_blu_spark_v8.83_treble-op5_op5t.img
[OnePlus 5 Guides, News, & Discussion] gonsa:
is the treble version compatible with this 5.1.4 rom?
[OnePlus 5 Guides, News, & Discussion] viande:
Since this update I seem to have an issue with the SIM card. I can't access the SIM toolkit app, and whenever I try to get into the SIM settings com.android.phone crashes... Anyone has this issue? Data and phone works fine.
[OnePlus 5 Guides, News, & Discussion] DSF:
No issue here (1 sim, orange romania)
[OnePlus 5 Guides, News, & Discussion] strongst:
Yes it is.

---------- Post added at 04:16 PM ---------- Previous post was at 04:13 PM ----------

Do you have another dialer and/or debloated something? Do you have titanium backup installed?
[OnePlus 5 Guides, News, & Discussion] viande:
I do have the Magisk module of the Google Dialer + Contacts, so yeah I have 2, but it always has been like that... Could it be the issue? Phone calls just work fine.

And yes I do have Titanium, but didn't really know what to do with SIM toolkit...
[OnePlus 5 Guides, News, & Discussion] strongst:
Try to start the sim toolkit from titanium backup for testing ;)

Yes maybe it's due to the Google dialer :rolleyes:
[OnePlus 5 Guides, News, & Discussion] poli7247:
Hi guys, I have a problem with the manual update at oreo. I come from android 7.1.2 (encrypted with magisk). Completely clean flash (wiped system, data, cache and dalwik, internal storage). I got bootloop with 5.1.3 rom without installing magisk manager (i tried both version 15.3 and 16) , if i try to install magisk after flashing the phone keep going back to recovey without starting (i use twrp blue spark provided in the first page)
[OnePlus 5 Guides, News, & Discussion] viande:
Well, tried to deactivate the dialer with no luck.

The thing is I tried to launch the SIM toolkit from Titanium already but I don't have the option to run it, only to like freeze it. Tried to update it from apkmirror, doesn't work. I already tried to flash the update again, and it doesn't change anything, as the usual wipes of cache. Guess I'll try to flash back 5.1.3...
[OnePlus 5 Guides, News, & Discussion] strongst:
Make a twrp backup and do a clean flash of 5.1.4 to test if the update messed up this.
[OnePlus 5 Guides, News, & Discussion] poli7247:
I am in big troubles guys...

can someone help me?
[OnePlus 5 Guides, News, & Discussion] strongst:
Which recovery do you have(exact version/link please)? For latest oos roms you need a treble enabled one(like blue spark with treble support) or the stock one before flashing the rom.

This is not a pays 24h live support, please keep in mind ;)
[OnePlus 5 Guides, News, & Discussion] poli7247:
I've tried with stock one and Latest Blu Spark TWRP (3.2.3)
[OnePlus 5 Guides, News, & Discussion] strongst:
Yeah, you don't have treble I know, but the latest oos roms needs a vendor partition hence a recovery that can handle it.

Do you have twrp-3.2.3-x_blu_spark_v8.83_treble-op5_op5t.img ?
[OnePlus 5 Guides, News, & Discussion] poli7247:
yes

When I go to flash the rom it gives me an error (unable to mount vendor), and from what I've been looking for is related to treble

OTHER INFORMATION After flashing the rom before rebooting it tells me no rom was installed
[OnePlus 5 Guides, News, & Discussion] oVeRdOsE.:
did you follow this ?: https://xdaforums.com/showpost.php?p=75186702&postcount=2765

This is the way I did it, I had many issue, but after seeing this method, my phone boot 8.0.

****

BTW I had the answer to my question , my previous question was how can I do a clean install. Well I flashed 5.1.4 over a wiped 5.1.3 WITHOUT flashing magisk.

Boot the phone, setup android.

then flash twrp through fastboot.

then magisk.

easy enough, and now im on a clean install, its been a while, I only did dirty flash before.
[OnePlus 5 Guides, News, & Discussion] strongst:
In twrp go to Mount and check Vendor, then repeat. It mounts the vendor partition. And yes, without the mounted vendor partition, no rom will be installed :)
[OnePlus 5 Guides, News, & Discussion] mrjuniork:
So, I have encountered following issue.

The sub setting "display" is crashing (com.android.settings) once selected.

It all started with 5.1.3, but not immediately after flashing the OTA. Except clean flash, I tried everything. Dirty flash, complete removal of everything substratum related. It just keeps on crashing. And with 5.1.4 the settings and all pre installed apps are in white with Blu accent. No overlay, no Ozone is having an affect, it just stays blue.

Could I just make an extra clean flash with adding "wipe system" to the equation? Coz I really want to cleanly reinstall the ROM for getting back access to the display setting.

Any thoughts or help is greatly appreciated.

Edit: factory reset fixed that issue for me
[OnePlus 5 Guides, News, & Discussion] parthlakhani1996:
I am on TWRP by Blu_spark 8.69 and 5.1.2

When i wanted to update to 5.1.4 i wanted to update the TWRP too. when i went to the download page of blu-spark, the name of the TWRP has 'TREBLE' in it. which one should i intall? the last version without the addition of word treble is 8.74, after that all have treble written. what should i do?
[OnePlus 5 Guides, News, & Discussion] strongst:
With treble cause new oos have vendor partition. For future compatibility, choose the one with treble.
[OnePlus 5 Guides, News, & Discussion] Quercy:
Hello. My problem "error 7" during ota 5.1.4 trw installation is solved. I have installed last release of Blu_spark but with same error. I have tried last release of codeworkx and with it it's working. Now i use codeworkx trw tools.
[OnePlus 5 Guides, News, & Discussion] a g bell:
My bad
[OnePlus 5 Guides, News, & Discussion] radiux00:
Not working on codeworkx and on blu spark.

No digest file
[OnePlus 5 Guides, News, & Discussion] wartomato:
That's a setting you can disable in TWRP, not an error.
[OnePlus 5 Guides, News, & Discussion] toooast:
How do I update it properly from 5.1.3 rooted via TWRP and Magisk to 5.1.4. ?

I probably missunderstood the steps.

Can I use the internal update from the device or do I have to flash it via TWRP?

What to do with Magisk? Do I have to uninstall it first before updating?
[OnePlus 5 Guides, News, & Discussion] tbqstp:
Reboot to recovery (I used Codeworx TWRP universal)

1) Flash OOS5.1.4

2) Wipe DALVIK/CACHE

3) Flash Magisk (I'm using version 16.0)

4)Wipe DALVIK/CACHE

5) Reboot system.

Good luck!
[OnePlus 5 Guides, News, & Discussion] yickhcr:
do we still need to flash that no verity zip?
[OnePlus 5 Guides, News, & Discussion] strongst:
If you want your internal storage to be decrypted, yes! Otherwise oos would encrypt it.
[OnePlus 5 Guides, News, & Discussion] tbqstp:
As strongst said, flash no-verity only if you want to decrypt internal storage. You don't have to if you intend to stay on OOS (i.e. you do't want to switch to a custom ROM).
[OnePlus 5 Guides, News, & Discussion] Nick James:
Just a suggestion, when posting how you flashed, it would be most helpful to include what recovery you flashed with exactly.

The OP instructions never include which exact recovery to use. I downloaded the wrong recovery this weekend to find out the "latest" recovery was not advisable.

Let's help take the guess work out!

That said, I ended up using:

twrp-3.2.2-0-20180721-codeworkx-cheeseburger

This worked perfectly for me. Cheers!

(edit: I had the wrong file name)
[OnePlus 5 Guides, News, & Discussion] strongst:
That's a kernel. You should look for "TWRP" in the filename. It's mentioned in the blu spark thread itself.;)
[OnePlus 5 Guides, News, & Discussion] Nick James:
I guess I don't know what I'm talking about then, haha.

Quick reboot into recovery shows that I'm using-

twrp-3.2.2-0-20180721-codeworkx-cheeseburger

Thanks for the correction ;)
[OnePlus 5 Guides, News, & Discussion] sleepwalking0593:
Which is the best kernel for 5.1.4? I am interested in battery life and decent smoothness
[OnePlus 5 Guides, News, & Discussion] lekiaM:
Render Zenith all the way:cool:
[OnePlus 5 Guides, News, & Discussion] Pshemo__:
Afaik a decrypted device simply won't boot without no verity. The only way to encrypt or decrypt a device is format data, there is no other way
[OnePlus 5 Guides, News, & Discussion] sleepwalking0593:
Battery life not good
[OnePlus 5 Guides, News, & Discussion] strongst:
Yes, exactly, format data is mandatory together with no verity.
[OnePlus 5 Guides, News, & Discussion] lekiaM:
Well.... Than... you should send your phone in for a battery replacement.
[OnePlus 5 Guides, News, & Discussion] sleepwalking0593:
It's better on stock kernel so not a battery issue
[OnePlus 5 Guides, News, & Discussion] sjamie:
Oh my... LoL
[OnePlus 5 Guides, News, & Discussion] halkoliiteri:
Stock kernel has best battery life in my case also and best performance on everyday use. First android-phone that runs on stock kernel and I've used Android since SGS1.
[OnePlus 5 Guides, News, & Discussion] Jurai:
anyone ever figure out a fix for Gmail notifications on 5.1.4? pretty worthless if I don't get notifications when email comes in
[OnePlus 5 Guides, News, & Discussion] Cyberman5145:
Has anyone noticed unusually high ram usage i.e. more than 50% since possible 5.1.4 on op5&5t?

I have this issue on my device. Ram usage drops upon manual rebooting device however looks like background apps are not getting closed when exiting. Even the app clean master which used to work great to boost ram n device doesn't seems to be effective anymore.

Has anyone noticed this on their device? Have u been able to find a perm fix to this troublesome issue?

If yes, pls share.
[OnePlus 5 Guides, News, & Discussion] kouss77550:
RAM usage is not a problem, actually RAM not filled up would be wasted RAM.

And it's not because RAM is full that apps are running in the background : apps can be cached in ram so that they can open more quickly, that's how Android manages RAM, and that's how it is supposed to work ;)
[OnePlus 5 Guides, News, & Discussion] ulxerker:
The more RAM is used the better it is. So everything is good. Same here...
[OnePlus 5 Guides, News, & Discussion] tbqstp:
Did you try switching off battery optimisation on Gmail?
[OnePlus 5 Guides, News, & Discussion] d1n0x:
It's not available for Gmail for some reason
[OnePlus 5 Guides, News, & Discussion] tbqstp:
After a reboot I get a notification when I open Gmail for the first time asking me how often it wants me to poll for messages. I choose push, then it asks again for confirmation to ignore battery optimisation and I say yes.

The same happens for Wear OS.
[OnePlus 5 Guides, News, & Discussion] d1n0x:
Yes, but it gets undone after a while saying sync settings have changed. Battery optimization is wonky since 5.1.2 I think.
[OnePlus 5 Guides, News, & Discussion] tbqstp:
Yes, it does that after every reboot in fact. But, otherwise it works fine for me.

Did you maybe restore Gmail using Titanium Backup? Usually when doing so apps like Gmail start missing notifications.
[OnePlus 5 Guides, News, & Discussion] Jurai:
You can't because OxygenOS bundles it as a system app, which aren't exposed for battery optimization level changes, would require you to root and move the app to be a User app. Having to root your device to get notifications is a major **** up from Oneplus on how they keep screwing up battery 'optimization'
[OnePlus 5 Guides, News, & Discussion] d1n0x:
No. I used the built-in version of Gmail and updated it via Play Store.
[OnePlus 5 Guides, News, & Discussion] yupo72:
Hi all, I've lost TWRP after updating and from the original recovery I cannot install .img files...how can I re-install TWRP recovery again?

Thanks
[OnePlus 5 Guides, News, & Discussion] strongst:
With adb tools like the first time you did: fastboot flash recovery...

https://xdaforums.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
[OnePlus 5 Guides, News, & Discussion] yupo72:
Well....the true problem now is that my Oneplus 5 is no more recognised by Windows 10 and I don't know how to solve it (I've already reinstalled USB drivers but it doesn't work) :rolleyes:
[OnePlus 5 Guides, News, & Discussion] TheColin21:
Will there be an incremental zip available?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Just check the system updates, OTA would be waiting for you there.

Once done you can follow the instruction on screen or follow my instructions OP
[OnePlus 5 Guides, News, & Discussion] TheColin21:
I am also rooted so the system updates part will only download the full package.
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
If you are rooted you need to flash the full zip to update, please follow the steps on instructions OP :fingers-crossed:
[OnePlus 5 Guides, News, & Discussion] TheColin21:
ok did it, thanks for the info.
[OnePlus 5 Guides, News, & Discussion] maddler:
For some reason this check in updater-script was failing while trying to flash with TWRP:

getprop("ro.display.series") == "Oneplus 5" || abort("E3004: This package is for \"OnePlus 5\" devices; this is a \"" +

Can't tell why, but the ro.display.series is returning empty.

Anyone else?
[OnePlus 5 Guides, News, & Discussion] xgerryx:
This is happening to me as well.
[OnePlus 5 Guides, News, & Discussion] Deacon-Frost:
I am rooted and the device offered to download the new build. After downloading the system recognized root and disabled it by itself (a pop-up window appeared saying this). Then it moved automatically to my Chinese TWRP and flashed it. After reboot I had to flash TWRP again and rooted it with Magisk.
[OnePlus 5 Guides, News, & Discussion] maddler:
Can't try again myself with TWRP 56, but the way I solved was editing the updater-script in the zip file.

But I'd rather try updating your TWRP to latest version available in the OP at https://xdaforums.com/oneplus-5/development/twrp-oneplus-5-wip-t3626134.

Let me know if that worked for you.
[OnePlus 5 Guides, News, & Discussion] xgerryx:
I was able to flash successfully with no errors on TWRP version 58.
[OnePlus 5 Guides, News, & Discussion] Interceptor777:
When flashing this in TWRP, I get this: "Error this package is meant for "OnePlus 5", your device is a """.

Error isnt exactly word to word but you get it, it doesnt have a name for my phone. Running 4.5.1 with ElementalZ kernel and Magisk v13

I wiped dalvik and cache, any ideas? flashing from TWRP 3.1.1 btw

---------- Post added at 15:00 ---------- Previous post was at 14:54 ----------

Fixed it by restoring an old nandroid of 4.5.1 without ElementalX kernel, didnt restore data, but everything else.

Flashed TWRP 58 and then flashed the ZIP, kernel and then magisk v13, all good and working.
[OnePlus 5 Guides, News, & Discussion] Sgace:
Anybody feels this update made the phone slower somehow?

After the update it feels slower to me. For example window animations in settings look and feel laggy.

Probably me, but had to ask.

Cheers
[OnePlus 5 Guides, News, & Discussion] c_86:
i need some help here... I am bootlooping to TWRP right now and cannot figure out how to get out of it...

This was my set up: 4.5.1 rooted with magisk 13, and running EX kernel...

Downloaded the full zip from this thread

Restores boot.img from backup

rebooted to system to confirm that exkernel was not installed

rebooted to twrp and attempted to flash zip 4.5.2. Gave me an error 7

flashed latest TWRP

Restored full back up of 4.5.1

flashed fine, and not booting into system... only reboots to recovery, and boots only to that...

Help...

EDIT: got it working now...

had to format data (wipe everything) then reflashed the 4.5.2 update and it worked.

Now i am rooted with the latest...
[OnePlus 5 Guides, News, & Discussion] oskarvlc:
TWRP .46 gave that error 7 too. So I flashed TWRP .58, ROM 4.5.2 and magisk v13 beta.

Everything is working fine.
[OnePlus 5 Guides, News, & Discussion] materoprodutions:
I followed the instructions and tried to update in twrp v58 and it gets stuck at patching system unconditionally and I don't know what to do....it's fine If I need to start over from stock but I don't know how to..please help
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
No lags for me, try clearing dalvik and cache again and i hope you's flashed the full zip.

You can also try reducing the animation/transition/simulate scale to 0.5 from developer options.

For update just wipe dalvik and cache and flash the full zip, make sure you use V58 being the latest stable.

Full zips flash compatibility was added from V56 onwards so V58 is fine for now.

Just wipe dalvik and cache and flash the full zip

V56 or V58 should work fine, i used V56 as V58 was released later

Please report once done :fingers-crossed:
[OnePlus 5 Guides, News, & Discussion] rav101:
Anyone else getting significantly worse standby drain? EXKM is showing me at around 1.6% an hour with screen off where on 4.5.1 I could have it down closer to 0.6% an hour?
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Stock kernel or EX

BTW my idle has also increased to 1.2 - 1.4 (Wi-Fi/sync) i am on Stock Kernel for now.

We might need to wait a battery cycle and check the permissions and doze settings again.