yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Questions & Answers] strongst:
Ok, so please use this recovery from here https://sourceforge.net/projects/ch...-20190713-codeworkx-cheeseburger.img/download

And flash it with your current recovery by going into twrp and install > image.

If it was was possible, try again to flash magisk 19.3 and report back if it was successful.

Is your storage decrypted(you flashed no verity patch?) or encrypted?
[OnePlus 5 Questions & Answers] vipklaus:
Thanks

Yes I have flash no verity zip
[OnePlus 5 Questions & Answers] strongst:
Then you need to flash it after magisk and before the first reboot.
[OnePlus 5 Questions & Answers] vipklaus:
Still not working..... Error showing as no file or such directory....
[OnePlus 5 Questions & Answers] strongst:
Please post the error in any possible way.
[OnePlus 5 Questions & Answers] vipklaus:
Error is showing as no file or such directory...

Summary of what I have done.....

I still do not get out of this to install TWRP and root one plus 5 device. So, when I got my OnePlus 5 I struggled a lot with rooting it, but finally I managed it somehow (using Magisk). After the oxygen update (OTA) from Hydrogen update... root was removed and not sure of TWRP were removed(please confirm). Therefore, I decided to install it. I have tried to this in MacBook pro...

Fastboot flash recovery twrp.img

fastboot boot twrp.img

boot into TWRP

flash magisk.zip

Flash no verity

reboot into system

However, I was stuck in a boot loop and I could not fix it.

I wasn't able to boot into TWRP anymore. Whatever I tried.

Now, nothing seems to work anymore. The phone only boots in boatloader

Any ideas how I can proceed now? I'm pretty much stuck and do not know what else I can do. I am already working more than two hours on it, but the more I do, the worse it seems to get...

Can you please help with step by step what should I do.... That would be helpful..... ??
[OnePlus 5 Questions & Answers] strongst:
As soon as you post a log of the things you flashed with fastboot and twrp I can see what's happening, if not, I can't. Everything else is digging around and guessing around, sorry.

You should format internal storage at the first boot, that is mandatory on the first decryption.

Detailed flashing instructions are here for clean flash and dirty flash(update): https://xdaforums.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003

They're valid and working :highfive: I recommend to follow the clean flash explicit.
[OnePlus 5 Questions & Answers] Gruber008:
[MENTION=613506]strongst[/MENTION], can you help me please?

I tried dirty flashing to the latest version (9.0.7 to 9.0.8) but it failed saying "updater process ended with ERROR: 7 , error installing ..." and now I can't reboot my device - it keeps getting me to recovery.

I did everything as it is mentioned in the first thread, any info would be helpful.
[OnePlus 5 Questions & Answers] strongst:
Error 7 is for corrupt rom file.

But please list every step you take to update to 9.0.8 and also if you have encrypted or decrypted storage :)
[OnePlus 5 Questions & Answers] Gruber008:
I'm such a dummy with this, I've always checked MD5 except this time when I transferred the ROM file onto my device - it turns out it was corrupted like you said.

I've flashed the proper zip file and now it successfully without any issues (I hope).

Thanks for everything and sorry for being dum-dum. :silly:
[OnePlus 5 Questions & Answers] strongst:
You do not have to apologize, everything is good ;)
[OnePlus 5 Questions & Answers] vipklaus:
Finally.... Its done.... Thanks bro for all your support.....
[OnePlus 5 Questions & Answers] strongst:
Nice to hear that now everything is working after such a journey :)
[OnePlus 5 Questions & Answers] bumbar1:
data recovery from dead phone/motherboard

Hi,

My oneplus 5 died a few days ago, took it to a local repair shop and technician said most likely the motherboard is dead. I know I can get it replaced, but I'm looking for ways to get data (at least some) from the dead chip. Official oneplus support said "user data will be erased during the repair due to privacy and security concern", which is understandable but not really helpful. A friend told me that supposedly there is a way to get those flash chips powered and do a memory dump. I realize it's quite a hard task I'm asking for, and not a cheap one but depending on the price I'd be willing to pay. Any help and tips are greatly appreciated!
[OnePlus 5 Questions & Answers] strongst:
Maybe you can solder the memory chip to another motherboard and boot it.
[OnePlus 5 Questions & Answers] bumbar1:
That thought also occurred. For best chances would one try with 128GB board, or would 64GB do? Other than RAM and flash size, I image they're pretty much identical boards, or..?
[OnePlus 5 Questions & Answers] strongst:
I don't know if there are other differences than that.
[OnePlus 5 Questions & Answers] alfick3:
What kind of data are you worried about losing? Don't you use Google photos and or some other cloud service?
[OnePlus 5 Questions & Answers] bumbar1:
Family photos, chat logs, 2FA codes, bitcoin wallet, some work stuff.. I don't use cloud services because I don't want anyone else to have my data, and some of it can't (or rather shouldn't) be backed up on cloud. Anyways, a friend who repairs phones is taking a look at, even to only find out which part died. Then hopefully resoldering to a new board will work.
[OnePlus 5 Questions & Answers] Gruber008:
Hey [MENTION=613506]strongst[/MENTION] , is it okay if I backup stock kernel while on xXx ROM or should I disable the xXx ROM module and then backup, because I'm going custom kernel again.

By the way, congrats on the new title, well deserved. :)
[OnePlus 5 Questions & Answers] strongst:
Thank you for the congratulations!

You can backup the kernel even with xXx installed or just use the boot.img from the stock rom zip you've installed underneath xXx rom.
[OnePlus 5 Questions & Answers] drjat:
The latest Magisk Manager v7.3.4 has a new feature 'Recovery Mode' (in advanced settings) - what is it supposed to do? When and why is it needed?

Where can I read/learn about it please?
[OnePlus 5 Questions & Answers] D_O_A:
Lost all data while updating OOS 4.1.15 to 5.1.4, restoring with twrp won't work

Hello everyone,

I was on Oxygen 4.5.15 and wanted to update to 9.0.8. I read the dedicated note that said go to 5.1.4 first, so I did, using twrp-3.2.1-0-universal-codeworkx-cheeseburger (any 3.3.1 I try doesn't start, all I get is a blue/white led). I got stuck into a bootloop and lost all data.

Now I can access fastboot and boot into recovery. Also I have a backup (data, system and boot) done with twrp. I just want to go back to my old status, and maybe update again if someone has a way of doing this that works without losing the data (I also have a separate, manual backup of whatever was in storage and important, like photos; I'm talking here about restoring things like installed apps and their settings). Bar that, I'd take a sure-fire way to upgrade to 9.0.8 and install everything again.

Now, I can flash the backup using twrp, but after reboot it says "encryption unsuccessful". I've seen a post where someone having a similar problem solved it by reformatting data to ext4, but that doesn't seem to help.

Any help would be greatly appreciated. My phone is useless right now :'(

Many thanks and cheers
[OnePlus 5 Questions & Answers] strongst:
As you already know: without data loss impossible if you did not made any backups (twrp partition backup can't be restored, except with titanium backup in partial, but can't guarantee...)

Clean flash(including format of internal storage) 5.1.4, take ota to 9.0.8, flash twrp and magisk. You're up to date now.
[OnePlus 5 Questions & Answers] D_O_A:
But I did!

I just bump into the "encryption unsuccessful" problem when I try and use them. Does it make sense at all to use twrp for backup purposes if your device is encrypted? I'm starting to have doubts whether or not this is supposed to work.

That's where I am (I made some progress since posting).

Still, ideally I would like to restore from twrp backup and update all the way through to 9.0.8 without losing data. Is this feasible?
[OnePlus 5 Questions & Answers] strongst:
You need to remove the pin/pattern before backup, that's mentioned on several threads/instructions or at least remove them with twrp and it's file browser(key database).

If you restore a backup to another Android version(a partition backup like twrp do) that's critical to succeed...
[OnePlus 5 Questions & Answers] D_O_A:
Can you elaborate? I've just did a search on the FAQ on twrp.me, and neither pin nor pattern come up. What you're saying is that I should remove those before backup. OK. But you also say they can be removed after the fact? By removing the key db from the backup? I don't see such a file. Where should it be? Or is that not a file?
[OnePlus 5 Questions & Answers] strongst:
Nah, twrp.me isn't a source for seeking help or a guide. It's to less detailed and lacking informations as you know now :)

Check out this post and the following within the guides section, it's the bootloader unlock thread(where your journey should begun): https://xdaforums.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877/post72748928
[OnePlus 5 Questions & Answers] D_O_A:
Thanks, this looks like a good one. It motivated me to try and see if I could roll back, but it seems that is complicated too. My backup of my nougat install isn't read by the currently installed twrp. It looks like maybe old and new are not compatible? I don't know, but I'm running out of steam. I guess I'll just have to live with reinstalling stuff and hope I didn't forget anything crucial while doing manual backups.
[OnePlus 5 Questions & Answers] CapnShitzhu:
I was wondering if I can use the "Audiolab Portable Headphone Amplifier Audio Powered USB DAC Headphone Amp" with OP5. Ive seen posts on OP6/6T threads that this works with those phones. If anyone have any experience with this let me know. Thank you
[OnePlus 5 Questions & Answers] vipklaus:
No os Installed in One plus 5

Hi

I tried to flash bootlegger rom,Gapps-arm64 super ,Magisk. but now i am struck in TWRP as it says there is no OS installed.

Tried push Oxygen OS from mount.....not happened. Tried to adb sildeload also not happening as it was stuck in TWRP and command prompt give up long list of 163 comments.......

Please help how to install the bootlegger rom or oxygen os

Device struck in TWRP mode.

Devices: one plus 5

Rooted

TWRP- 3.3.0.1

Bootloader unlocked
[OnePlus 5 Questions & Answers] Newbie8000:
Recover Encrypted Data After Flashing Lineage Over Stock

I don't normally mess with encrypted devices and I stupidly made a TWRP backup and flashed Lineage without removing the pattern lock. Things were working fine then TWRP started saying incorrect patten and booted up when you put the pattern in the screen would flash black and go right back to the lockscreen.

I backed up the whole sda partition and also userdata with adb. I thought I'd get lucky and be able to flash stock and setup the same pattern then restore the encrypted userdata, but of course that didn't work. Anything I should try?
[OnePlus 5 Questions & Answers] strongst:
Maybe this can help you, other ways idk sadly:

https://xdaforums.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877/post72748930
[OnePlus 5 Questions & Answers] Newbie8000:
Thank you, unfortunately I cannot restore the nandroid backup because TWRP is unable to decrypt the data. I did previously try deleting those files with aroma file manager to no avail.
[OnePlus 5 Questions & Answers] CamoGeko:
TWRP has its own File Manager you can use to delete those files.

I would say if the instructions in that thread don't work you're probably outta luck. Best advice is to keep your phone decrypted at all times if you're into flashing ROMs and modding, jsur flash a noverity zip before booting the ROM and that makes sure the phone doesn't encrypt on boot.

I never kept my OP5 encrypted.

Sent from my mata using Thebear Blue XDA Labs
[OnePlus 5 Questions & Answers] Trandaa:
Landline calls issue

Do anyone had issues when calling landline numbers? It appeared few days ago on my OP5. After few seconds of call I can't hear the other side at all. They still can hear me. Calling mobile phone numbers ist not affected at all.

The issue is definitely phone related, since I tried to call landline numbers with the same SIM-card using Sony Xperia Z1 Compact and Samsung Galaxy Alpha, on both it worked well. It happens on both SIM slots.

Does anyone has the same issue and know the fix? I would appreciate some fix which don't require factory reset.

Thanks in advance
[OnePlus 5 Questions & Answers] 350Rocket:
I call my work office land line number basically every day. Usually from sim number 2 (my work number) but occasionally from sim 1 (personal number - when sim 2 has no service). I've never had an issue.
[OnePlus 5 Questions & Answers] Gruber008:
Before couple of weeks I had my battery health on 85% (after 2 years) and that was good, but today when I checked it fell down to 79% with a label "serious loss".

Can this be due to some mods e.g L Speed or because of recent kernel switch because this 6% loss in such a short period worries me.

App used to monitor health : OnePlus Diagnostic.
[OnePlus 5 Questions & Answers] strongst:
Personally I would recommend to measure it again or longer to get an average value, maybe it was just an anomaly.
[OnePlus 5 Questions & Answers] Gruber008:
Hello once again.

I got issues in TWRP because of wrong installation process while switching it from custom to stock, OOS 9.0.9 (I didn't format data).

Now, I know you're already sick of my questions but can you help me out with the correct process of resolving this issue?

I'm aware I need to format internal storage but will the TWRP allow me that since it's encrypted?

I'm planning on switching to custom ROM (Pixel Experience soon) and I want to get it right this time, and I want to become decrypted so I don't run into the same problem.

Thank you in advance for your help, I really appreciate it.
[OnePlus 5 Questions & Answers] strongst:
Hello, questions are there to be asked ;)

So you want to switch to custom rom with decrypted storage? TWRP allowes you to format internal storage whether it's encrypted or decrypted, doesn't matter :good:
[OnePlus 5 Questions & Answers] Gruber008:
Yes, that's correct, I just thought that the issues with TWRP could cause an issue.

TWRP is locked (can't encrypt data) with password because I don't know it, that occurred because of not formatting data when switching ROMs, and yes - I removed pin/password before changing ROMs.

Now my question is, if I switch to custom and encrypt it with NoVerity, can I go back to stock without formatting once again?
[OnePlus 5 Questions & Answers] strongst:
In most cases you don't need to format decrypted internal storage when switching from custom rom to stock rom.
[OnePlus 5 Questions & Answers] Gruber008:
After doing a clean install of a custom ROM and flashing Magisk, do I first format data then flash no-verity or first flash no-verity then format if I want to get decrypted? :confused:
[OnePlus 5 Questions & Answers] strongst:
First format, then no verity
[OnePlus 5 Questions & Answers] Gruber008:
Sorry for bothering you, but last question.

Does being decrypted break safetynet in any way?
[OnePlus 5 Questions & Answers] strongst:
Nothing to apologize:)

No it does not affect safetynet. I never had issues.
[OnePlus 5 Questions & Answers] Gruber008:
I know it's out of your reach since I'm talking about custom ROM but -

Every time I switch to Custom ROM based on Android 10 I have carrier issues that no one else on these ROMs (apparently) has.

So, I have 2 SIMs and one of them is always in the Roaming mode.

I can't manually choose carrier because it says "Unable to connect" no matter which carrier network is found.

Furthermore, every time I did a clean flash, followed by format data last time - still no luck.

I tried playing with the settings when dialed *#*#4636#*#*, and I tried clearing Phone services storage as well as some other stuff in the network settings.

Does anyone have any clue what might be an issue?

And as always, thank you in advance for your help. :)
[OnePlus 5 Questions & Answers] mattou78400:
rooted oneplus 5 to get updated

Hi all,

I once tried to update my rooted onePlus 5 (Magisk) to the latest oxygen os version, and lost everything. (with a corrupted Nandroid backup haha)

Since then, I've been pretty careful not to update anything, OTA isn't working anyway.

But now is about time to update it all.

I have flashfire, and Oxygen Updater (currently downloading OOS 5.1.4)

My question, before I go any further is:

If I download ALL the updates on Oxygen Updater and then flash them with flashfire (flash ZIP & OTA --> Select downloaded firmware --> proceed), I should be able to gradually flash all the new update until OOS 9.0.2, Keep root, and more importantly, Keep ALL my data, apps and all.

Is that correct? Does anyone have a proper flashfire walkthrough?

I'm a bit hesitant as someone seems to have had issues with Magisk as per below source's comment

And could I do this?

https://xdaforums.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003

source: https://forums.oneplus.com/threads/g...s-3-3t.621501/

P.S.: Ideally, I keep the phone rooted though that's not a hard requirement. Hard requirement is to keep the data & GAuth

Thanks!
[OnePlus 5 Questions & Answers] strongst:
Hello,

I can't assist on flash fire. But what is your current OxygenOS version, twrp file name and is your storage encryped or decrypted.

Why don't you want OxygenOS 9.0.10?
[OnePlus 5 Questions & Answers] mattou78400:
Hi,

I'm currently running Oxygen OS 5.0.2, I have the stock recovry and it seemed encrypted as I needed to put my password to access it.

But my bootloader is unlocked.

OOS 9.0.10 also sounds amazing! Even a custom ROM, I'd like to update it to the best but while keeping my data and my Google Auth.

Thanks!
[OnePlus 5 Questions & Answers] strongst:
Unless you update to OxygenOS 5.1.4 you cannot update to any pie based rom after 5.1.4.

This version is mandatory.

What OxygenOS is advertised as your ota update?
[OnePlus 5 Questions & Answers] mattou78400:
The OTA is OOS 5.1.4, but I can't run it as I'm rooted.. :(
[OnePlus 5 Questions & Answers] CamoGeko:
Just flash stock boot.img to unroot and you should be able to receive OTA just fine. Although I've never been on stock long enough to do this myself lmao ?

Sent from my mata using Thebear Blue XDA Labs
[OnePlus 5 Questions & Answers] strongst:
You can also update to 5.1.4 when you're rooted, but not via ota.

Just see instructions here https://xdaforums.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003

You can also update to the latest 9.0.10 by flashing the full rom zip when you follow the instructions.

The risk is high for any issues when you want to keep your settings and not willing to clean flash, but it's possible :)
[OnePlus 5 Questions & Answers] mattou78400:
Thanks for that!

So if I dirty flash, I shouldn't lose anything, correct?

Thanks
[OnePlus 5 Questions & Answers] strongst:
Backup and give it a try with dirty flashing of 5.1.4 :)
[OnePlus 5 Questions & Answers] Gruber008:
If I'm coming back to stock from custom ROM with F2FS do I need to first flash magisk unistaller -> format userdata and go back to ext4 -> wipe system, data, vendor, cache -> flash OOS 9.0.10 -> flash Magisk -> flash NoVerity for decryption and then wipe dalvik/cache and boot to system?
[OnePlus 5 Questions & Answers] strongst:
You don't need magisk uninstaller since you have to wipe/format every partition :)
[OnePlus 5 Questions & Answers] roshan2989:
Hi guys i need help here,op5 is still new for me..im on 9.10 stock,experiencing lag once in a while but quite annoying one..no magisk..(no random reboot here)

if i go back to linageos 16 ,im experiencing random reboot once in a while,any rom that i tried will reboot by itself atleast once..(try to go get logcat,was riding when this happen)

any suggestion which are the stable rom to use?
[OnePlus 5 Questions & Answers] roshan2989:
guys,anyone having random reboot flashing any custom rom..?
[OnePlus 5 Questions & Answers] Gruber008:
Hey again, how can I revert back to default version of OnePlus camera?

I've tried installing some newer version but recording is broken. Disabling the app and re-enabling doesn't fix it, as well as trying to install the correct version (3.0.15) and disabling updates - nothing happens.

Thanks in advance!
[OnePlus 5 Questions & Answers] vdbhb59:
I suggest go with LOS or Xtended. They are stable. Even Revenge OS.

Random reboot can be only due to issues causing the kernel to panic. That can be numerous in count. But no random reboot in any of these ROM afaik.
[OnePlus 5 Questions & Answers] kronborg11:
Revert to stock OS

I recently installed TWRP and a custom ROM (Lineage OS). However, I would like to revert my phone back to stock settings in a fresh install. Can someone please confirm that this is the right approach:

1. Boot into recovery mode

2. Wipe cache and system partitions (do I need to wipe more or less?)

3. Sideload the Official Stock OxygenOS

4. Reboot
[OnePlus 5 Questions & Answers] umby75:
Hi, I bought as second hand this phone and I found this screen.

I've been using for two years and I've never upgraded the OS but now I'd sell phone and I'd like to restore clean and upgradable.

Do you know which are the steps to follow to get this condition?

Thanks in advance
[OnePlus 5 Questions & Answers] jordirpz:
is it possible to flash a custom kernel (stock based) with the bootloader locked?

Thanks
[OnePlus 5 Questions & Answers] strongst:
I would also recommend to wipe data partition too:)

And you have to flash magisk or you'll loose root on first OxygenOS boot.
[OnePlus 5 Questions & Answers] strongst:
You should update to the latest OxygenOS, perform a factory reset from Android setting and then you have to lock the bootloader(which causes this message) with your PC and adb :)
[OnePlus 5 Questions & Answers] strongst:
No it's not possible, cause you cannot flash anything when the bootloader is locked.
[OnePlus 5 Questions & Answers] umby75:
Ok. Thanks. But what are exactly the steps to do that?
[OnePlus 5 Questions & Answers] strongst:
I told you the exact steps, except the fastboot command:

fastboot oem lock

That's all. After you issue the command, the phone will reboot and another factory reset will be issued automatically.

Now you have what you want :good:
[OnePlus 5 Questions & Answers] umby75:
Ok thanks a lot.

I thought that the failed upgrade through the Ota that I've been trying this years were due by the unlocked bootloader.

The phone had Oxygen 8.1 installed and tried to install the package Oxygen 5.1.4 (1609Mb) but the installation was always failed after the boot but nevertheless it has been the best phone I ever had (it has been very stable and I have never need root, etc.)!!

Yesterday I tried to download the latest official version 9.0.11 (A5000_23_200224) from OnePlus website and all things were done...

Now I'm thinking whether is it convenient keep the unlocked bootloader or not when I decide to sell it.

What do you think?
[OnePlus 5 Questions & Answers] strongst:
Depending on your customer it needs to be locked or open. Don't know...
[OnePlus 5 Questions & Answers] Gruber008:
Hi again,

Can someone tell me what's the fastest way to remove all the modifications and go back to stock?

I mean, I want to remove Magisk, TWRP, lock the bootloader etc.

Thanks in advance!
[OnePlus 5 Questions & Answers] lazostat:
I have a question about dirac on oneplus5. Does it activate only on headphones or not? And what about if you want to install other audio mods? Do they conflict? Do i have to debloat dirac first?
[OnePlus 5 Questions & Answers] ber404:
DAC USB

Did anyone manage to get Soundblaster E5 work with the OP5 ? I mean, with USB-A - USB-C cable, and get the sound on E5 mini-jack ..