yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Questions & Answers] strongst:
You won't get into pixel experience rom at first?

If your storage is encrypted and you flash stock oxygenOS(which encrypts your storage at the first boot) you need to format your storage to encrypt it again, otherwise oxygenOS won't boot at all.

This makes me think of if you have a backup of your storage, apps etc?
[OnePlus 5 Questions & Answers] medsabkhi:
but , doesn't the data get decrypted while flashing stock os through TWRP(i thought TWRP decrypts the data) ? i don't get why the stock won't work after flashing it

(i didn't make a back up)
[OnePlus 5 Questions & Answers] strongst:
No, the opposite thing, it encrypts by default. Twrp won't decrypted data in any way,you need to flash no verity patch.

That's why stock rom won't work, if your storage is encrypted by another os.
[OnePlus 5 Questions & Answers] medsabkhi:
so if im not wrong: Wipe everything except internal storage , flash no veriety , then stock os ?
[OnePlus 5 Questions & Answers] strongst:
No, you need to format internal storage. Reread my post above yours.
[OnePlus 5 Questions & Answers] Akarsh Adithya.K:
updating issues from OOS 5.1.7 to 9.0.0

i have recently decided to update to oos 9.0.0, was able to update till 5.1.7 and after that recovery was throwing compitability error when trying to flash oos 9.0.0 zip, so removed compitability zip.

Now it throws error 7 ,

any idea how i can update to latest oxygen os now:confused:
[OnePlus 5 Questions & Answers] strongst:
You have removed the compatibility.zip with a wrong tool or method, that's why the rom zip file is corrupt now hence you'll see error 7.

So which tool and method do you used to remove compatibility.zip?
[OnePlus 5 Questions & Answers] Akarsh Adithya.K:
i figured that out and used total commander on phone, then was able to update to oos 9.0.0,

now a new problem started when i tried to update to 9.0.5, phone got hard bricked, with screen always going to fastboot mode or twrp..:crying::confused:
[OnePlus 5 Questions & Answers] strongst:
What is you current twrp recovery (file name)?

What is your magisk version?

Is your storage encryped or decrypted?
[OnePlus 5 Questions & Answers] Akarsh Adithya.K:
right now twrp is 3.2.3 blu spark and i m trying to restore nandroid backups created using twrp, restoring is not happening ,ending at fastboot screen

it was decrypted before flashing
[OnePlus 5 Questions & Answers] strongst:
I need file names please. Please answer every question in the exact way, otherwise it's time consuming and frustrating for you.

Additional please provide detailed steps what you flashed and in which order,with file names. And which steps or guide did you follow?

Maybe you missed no verity patch, but to less information. Hardbrick is surely not happening to you.
[OnePlus 5 Questions & Answers] Akarsh Adithya.K:
"https://xdaforums.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003"

i followed this guide ,it all went well till flashing 9.0.0.

OS booted up, was decrypted ,rooted with magisk 19.2,used "no-verity-op5(T)_V3_treble_" for decrypting, twrp was 3.2.3 blu spark and then changed it to 3.3.1 blue spark for flashing 9.0.5

when i tried to flash 9.0.5 in same way, things went crazy.

at first it was black screen with white Led,

when i tried to restore using nand droid backup, it dint work and ended at fastboot screen after booting.

edit: used oneplus unbrick tool and was able to boot the phone , only down side, its back to nougat.
[OnePlus 5 Questions & Answers] strongst:
How about using older twrp recovery (like a 3.2.3 from around March) and magisk 18.1?

You even did not give file names of twrp recovery, so I can't say more.

You can't restore a twrp backup cause you have pie recovery which cannot handle Oreo roms.
[OnePlus 5 Questions & Answers] FurianStorm:
Phone app and Contact broken

Oneplus 5 is rooted. After update for 9.0.5 OOS, Phone app instant crash, Contacts wont sync with Google. Cant make or answer calls (even though it rings, no Phone app UI pop up)

Please Help!

Thanks!
[OnePlus 5 Questions & Answers] strongst:
Do you have any mods or apps that interfere with dialer? From which rom you did update to 9.0.5? Did you cleared the dialers cache and app data?
[OnePlus 5 Questions & Answers] FurianStorm:
I dont have any mods that would interfere with dialer. The only mod I have interferes with my GPS so that i can spoof my location.

I updated from the OOS so 9.04 to 9.05 i guess. I did clear my dialers cache but not app data.

What can I do to fix this?? worst case factory reset?
[OnePlus 5 Questions & Answers] strongst:
You can clean flash the rom by only wiping system partition and NOT data or internal storage. Backup always recommended before proceeding :good:
[OnePlus 5 Questions & Answers] FurianStorm:
I tried Flashing the Rom by using TWRP. The ROM iI flashed to is the latest stock OOS ROM provided by oneplus. But still the Phone app is still crash and contacts dont sync. It feels like root was not 100 removed.

I tried it again by unrooting first using magisk uninstaller then reflashing stock OOS ROM. But still broken.

is there other ways to clean flash rom?
[OnePlus 5 Questions & Answers] strongst:
I have no clue why this happened to you without using mods. But consider to do the following: backup everything, wipe system, data cache and clean flash only oxygenOS 9.0.5 then test your phone app. Don't restore any of your apps.
[OnePlus 5 Questions & Answers] FurianStorm:
How to flash Stock ROM when wiping systems will delete the stock ROM stored in the internal storage of phone?
[OnePlus 5 Questions & Answers] strongst:
Wiping system partition won't erase your internal storage where you place the rom zip in general.
[OnePlus 5 Questions & Answers] FurianStorm:
hello,

I tried this " wipe system, data cache and clean flash only oxygenOS 9.0.5 then test your phone app"

but It did not seem to work. First off it seems none of my apps for deleted ( although not sure if it was suppose to do that in the first place).

And yes my phone app still instant crashes and contacts wont sync. Also the virtual keyboard randomly closes itself sometimes.

Any other way to fix this? please help ><
[OnePlus 5 Questions & Answers] strongst:
If you wipe system and data partition there's no app left. Please read the twrp log after issuing the partition wipes.
[OnePlus 5 Questions & Answers] FurianStorm:
So in twrp I need to wipe my Cache data, systems and Data. then flash OOS9.0.5 and see if that works?
[OnePlus 5 Questions & Answers] strongst:
Exactly. And keep in mind to read the twrp log and see if errors are written especially after wiping each of the 3 partitions.
[OnePlus 5 Questions & Answers] Gruber008:
Are there any Wi-Fi spoofing apps that are working?

I couldn't find any properly working Wi-Fi spoofing or basically any in depth Wi-Fi management apps (like WiFi Kill or Csploit) in last couple of years.

Are there any working apps or maybe even magisk modules in 2019?
[OnePlus 5 Questions & Answers] Tecagaste:
My issue of screen casting was solved by updating the software on my TV. Not sure how to delete post.
[OnePlus 5 Questions & Answers] strongst:
Yes, here, maybe that help you https://xdaforums.com/oneplus-5/help/qa-help-thread-newbies-post-t3624656/post79280440
[OnePlus 5 Questions & Answers] crvenazvezda:
Bluetooth is dead :(

Hello everyone, I hope you can help me fix my broken Bluetooth.

I'm running stock OOS, with Magisk, and blu_spark kernel and TWRP. I had absolutely no problems until I sent my OP5 to the authorized service center for repair. I knew they would wipe my device so, before I sent it, I went into TWRP and did a Nandroid backup of everything on the list, and saved the backups to my PC. They replaced the screen, battery, and USB port. Once I got it back, I booted into TWRP from my PC using "fastboot boot twrp.img" and restored all the Nandroid backups that I made.

All seemed fine at first, but then I realized that neither my GPS nor my Bluetooth were working properly. The GPS wouldn't work at all if I was moving, and would give a large area if I was standing still. Bluetooth would not connect to anything.

I decided to try flashing the newest version of OOS(9.0.6; the previous installed version was 9.0.5), newest blu_spark kernel and TWRP, and newest Magisk. I hoped that might fix the Bluetooth. I used my standard upgrade process:

Flash Magisk uninstaller

Wipe dalvik+cache

Flash blu_spark TWRP

Reboot recovery

Flash new OOS zip

Flash blu_spark kernel

Flash Magisk

Wipe dalvik+cache

Update Magisk Manager

Not sure if the GPS has been fixed, but it seems like it gives me a smaller area now. The Bluetooth is definitely not fixed; the only device to have recognized it at all was my dads Moto G4 Plus(I tried my PC, my Bose headphones, my Jaybird headphones, and my Pioneer car stereo). I tried clearing the Bluetooth cache and rebooting to no avail.

Should I have wiped some stuff before running the restore process?

Should I not have restored all the backups, rather only a select few?

What should I do?

This is a massive deal breaker for me... I don't know what to do.

Edit 1: I went ahead and attempted a clean flash of OOS and Bluetooth still does not work :(

Flash Magisk uninstaller

Wipe dalvik, cache, system, vendor, and data

Flash new OOS zip

Flash blu_spark kernel

Flash Magisk

Wipe dalvik+cache

Update Magisk Manager

Edit 2: Well guys, I figured it out. The repair center didn't reinstall the antenna... I opened it up only to see that the WiFi/Bluetooth/GPS antenna isn't even there. Awesome... I don't understand how the WiFi worked at all.
[OnePlus 5 Questions & Answers] Rhoban:
I need to replace the screen of my device, because it's dead. I was thinking of either doing it myself or have a service do it.

I saw there are screens with frames and without frames.

Is the frame necessary or can I just use the old frame?

I don't want to invest that much into it, so I'd rather go for the one without the frame.
[OnePlus 5 Questions & Answers] Gruber008:
What's your opinion on edXposed?

Do you think it's unsafe because it's not as "open sourced" as previous Xposed versions made by rovo89?
[OnePlus 5 Questions & Answers] strongst:
It depends on the mods you're using and is the same as rooting and using su rights.
[OnePlus 5 Questions & Answers] crvenazvezda:
After having replaced several screens for several different devices over the years I can without a doubt only recommend OEM(ie send it to the service centre). Every other screen has not had the same quality as OEM, they were far more fragile.
[OnePlus 5 Questions & Answers] Rhoban:
I'm aware aftermarket screens are not as good as OEM.

But it also costs double. Besides, I just wanna get it fixed until I get enough money to get the OnePlus 7 Pro or until the Redmi K20 Pro releases globally.

I'm usually very careful with my devices. I broke this one because my dog knocked it out of my hand.
[OnePlus 5 Questions & Answers] Ballos46:
OP5 omni issues

Alright hopefully I'm just making a stupid mistake and someone can help me with this. Up until recently I was running an older version of OMNI rom (oreo) on a rooted op5. However this was almost a year and a half oudated as well as It had not properly gotten Magisk flashed and the internal memory was still encrypted. So I decided to update since omni just got its 9.0 release. After some digging I found that I could remove the device encryption by wiping the data from the device so that would solve that issue. So I went out and grabbed the latest version of OMNI and gapps, and magisk. wiped all the data from the device, and started trying to flash the new ROM. The Rom succeeds and the gapps succeeds but magisk fails stating that its failing to mount /vendor. I then set about looking for answers, Several different forum posts stated that it was added into TWRP for compatability with project treble and the warning can be ignored. So just in case I updated my recovery to make sure that wasn't causing issues. still didn't help. (I was on 3.2.3-0 updated to 3.3.1-0)

the other thing is omni rom asks you to flash the firmware and vendor before you install. went out made a couple posts and found the android 9 firmware and vendor zip. I wipe everything clean, reboot and flash the firmware and the vendor zip. It won't flash the file, because it says theres no vendor partition.... How am I supposed to flash firmware to get a vendor partition when you need the vendor partition to flash that????

TL : DR I can't flash any new software because the system is complaining about a lack of vendor partition. (either that or I'm really stupid and omni is only a kernal and I've been trying to flash a kernal without a rom so ofc it doesn't boot)

Also at this point it I just want to get a functioning OS back it doesn't even have to be omni, hell I'd go back to OOS but that requires an unmodified kernal iirc, and im using omni's kernal so.

(also if this is too long for Q&A thread move this to its own thread I didn't know where this sort of question was preferred)
[OnePlus 5 Questions & Answers] strongst:
Backup everything at first!

Please flash this recovery https://drive.google.com/file/d/1UlTftbe6wooAs4Fp0cjwXlOKmfQHgdfL/view?usp=drivesdk

Then wipe system, data, cache and if you can format internal storage, then flash OxygenOS 5.1.4 clean.

You have a vendor partition now :svetius:

Now you can clean flash omni rom or later pie firmware if you want.
[OnePlus 5 Questions & Answers] Ballos46:
Flashing oxygen 5.1.4 worked just fine after I swapped back to the version of TWRP you gave me. However I still have no vendor partition. either that or its not mounting. but TWRP is still giving me issues. I tried flashing a more up to date version of oxygen and it won't even attempt to saying "zip treble compatibility error!" "invalid zip file format" Not to mention the failed to mount /vendor (invalid argument) still shows up.

I don't believe I missed anything, flashed the recovery you gave me, formated the device, flashed oxygen 5.1.4 (which booted) , system wipe, attempted to flash newer oxygen Os version (which failed before even trying to install due to the zip treble compatability error) if it helps I can provide a log file.

Also yes I should have ran a backup lol it was stupid of me not to do it lol.
[OnePlus 5 Questions & Answers] strongst:
With the recovery I linked you you need to remove the compatibility.zip within the rom zip, otherwise you get the verification error.

For mounting vendor partition you can force it manually within twrp by mount option.
[OnePlus 5 Questions & Answers] Gruber008:
[MENTION=613506]strongst[/MENTION] , are you using custom kernel, and if you do - which one?
[OnePlus 5 Questions & Answers] strongst:
None at the moment, but ElementalX is very good imo as I used it a while. Custom kernels are like the name: custom for your purposes, so just try them and find the right one for your individual usage scenario ;)
[OnePlus 5 Questions & Answers] Gruber008:
Thanks, I will check that out.

One more question since it's my first time using custom kernel in last couple of years, do I need to re-flash the stock kernel before flashing OTA updates? :silly:
[OnePlus 5 Questions & Answers] strongst:
It's better to do so.
[OnePlus 5 Questions & Answers] Rajeshrajkhaju:
Hello hai bro iam running latest oss9.0

6 and successfully rootedy phone but

I NEED TO GUIDE TO BACK STOCK ROM THROUGH TWRP RECOVERY

I RUNNING ON CRDRIOD CUSTOM ROM please tell me any body
[OnePlus 5 Questions & Answers] strongst:
Hello, you need to clean flash as described here https://xdaforums.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003/post72799040 in the first post for clean flash. Format internal storage isn't necessary if you're decrypted it and want to keep it decrypted again with the no verity patch.

Please backup everything in case of issues.
[OnePlus 5 Questions & Answers] great_yarn:
No Recovery [Need help going back to stock]

Greetings,

So, I have this problem atm,

Last time (A few weeks ago), I tried to upgrade to Android Pie from Oreo.

It didn't work, I somehow messed up my recovery, Magisk was still working surprisingly

Thankfully, my ROM was still booting up, which is an old version of this ( https://xdaforums.com/oneplus-5/development/rom-xxx-nolimits-1-1-speed-ram-optimized-t3627121/page1834 )

So now, my plan is to get back to Stock ROM with TWRP + Magisk

I was wondering if I can use this and if someone here could guide me.

I was reading through the threads and it seems that this would make me go back to stock ROM (Android 7) and stock recovery

https://xdaforums.com/oneplus-5/how-to/unbrick-tool-oneplus-5-t3648169

The problem now is I still remember last time i tried upgrading to android pie from oreo, There are some partition issues or anything,

So how do I reach my goal?

1. Stock Android

2. Somehow get my recovery back using the unbrick tool.

(I think I can manage flashing twrp on my own)

Thank you

Ps. I once messaged in the official oneplus 5 group chat, and got ignored :(
[OnePlus 5 Questions & Answers] strongst:
You will not be ignored here :)

Can you name the actual rom and twrp recovery you have by file name?
[OnePlus 5 Questions & Answers] great_yarn:
My actual ROM currently is the xXx_NoLimits

Build number: 10.8

OOS 5.1.2

I used to have a blusparks TWRP version. I don't have the file name currently as the file is lost or somewhere in the backup drive. (It has been so long since I have tried to do a clean flash). It was Jan or Feb? I guess.

I have been trying to get my recovery working by installing other recoveries on Top including the official ones, But it doesn't seem to work.

Sorry I couldn't give any more info.

Thanks :D
[OnePlus 5 Questions & Answers] strongst:
Ok, upgrading to Android pie needs to flash 5.1.4 OxygenOS stable version at first. That's to create the vendor partition which is needed for all further versions of oxygenos and the reason the update failed for you since 5.1.2 is lower.
[OnePlus 5 Questions & Answers] great_yarn:
Ohh. Noted with thanks. And just to confirm about the recovery issue atm. <I do not have a recovery now. If I boot to recovery it will be a black screen blue led>

Can I use the app above? Or can I just flash the stock recovery over it?

Cause now I've no way of updating my custom ROM that's why and I feel like going bck to stock ROM

Thank you
[OnePlus 5 Questions & Answers] strongst:
You need to flash an Oreo compatible recovery like this one with fastboot https://drive.google.com/file/d/1UlTftbe6wooAs4Fp0cjwXlOKmfQHgdfL/view?usp=drivesdk then you'll have an working recovery back.
[OnePlus 5 Questions & Answers] great_yarn:
I will try that. Thanks

If I got my recovery back. How should I proceed to upgrade to Pie?

With the partition issues and me not being able to upgrade to 5.1.4 due to my custom ROM

Just to recap everything

1. Get a compatible recovery

2. Flash it

3. Clean flash 5.1.4 full ROM

4. Upgrade to pie using OTA?

Thank you again.. ~~

<It sounds like idk what I'm doing. But I truly don't>

Last time upgrading from nougat to Oreo with custom ROM is not as hard compared to now~~
[OnePlus 5 Questions & Answers] strongst:
Your steps are correct, once you're on 5.1.4 you should get ota notification to 9.0.6. If not, report back here.

You're allowed to ask any question here, see title of the thread :)
[OnePlus 5 Questions & Answers] great_yarn:
Hello, I would like to thank you for all the help that you have given me,

Edit: managed to update to the latest ota, removed Compatibility.zip from the zip file

Thanks for everything :D

Edit 2. Migrate works flawlessly. I suggest everyone to use it
[OnePlus 5 Questions & Answers] Gruber008:
Hello, I just want to ask you one more thing [MENTION=613506]strongst[/MENTION], if I want to delete xXx ROM and get back to stock, is deleting the module enough or do I need to wipe anything and re-flash the stock one?
[OnePlus 5 Questions & Answers] strongst:
With the new xXx mod there's an debloat option that deletes apps instead of freezing it, so if you have chosen that, you cannot simply deleting xXx mod cause the apps won't appear again.

So it depends which xXx mod you have and how you debloated them(see last pages of xXx op5 thread).
[OnePlus 5 Questions & Answers] Gruber008:
Thank you, I will check it out later, when I come back from work.

I am just interested in general case, for example if I don't debloat, can I do regular OTA update without wiping all data if I flash xXx via Magisk (if I uninstall xXx module first, of course)?

I'm planning to flash latest xXx ROM on my OP5 running 9.0.6.
[OnePlus 5 Questions & Answers] strongst:
Regular OTAs are always possible following the update instructions for 9.0.6 thread in the first post. You can just simply don't use the debloat function where the files will be deleted, to avoid issues when taking ota.
[OnePlus 5 Questions & Answers] drjat:
Hi [MENTION=613506]strongst[/MENTION] or anyone else as helpful as him: I am on Oneplus 5 running Oxygen OS Pie 9.0.7 with Magisk 17.3. I am hoping to upgrade Magisk to 19.3 - I do not want to use Magisk Uninstaller zip - mainly to preserve Magisk Manager data.

Question: can I just flash Magisk 19.3 via recovery over 17.3? Or is there some other way? Thanks
[OnePlus 5 Questions & Answers] strongst:
Hello, you can try to update through the magisk app itself or by "dirty flashing" magisk within twrp as you mentiond.

That are 2 possibilities you can try to keep your magisk as is.
[OnePlus 5 Questions & Answers] strongst:
Mod edit: Quoted post deleted!

and what is your question or issue with the oneplus 5?
[OnePlus 5 Questions & Answers] vipklaus:
I have unlock the boatloader.... fastboot devices is working fine..... but flash recovery not flashing the twrp...... and my device is saying as not rooted in Twrp app..... but everywhere is showing as rooted..... and when i check in root checker it says not rooted....... Plz help....
[OnePlus 5 Questions & Answers] strongst:
Please provide a powershell or cmd log so I can see what you did while trying to flash the twrp etc.

Also provide file names, otherwise it's not possible to investigate the issue.

Please be as detailed as possible.

And please post your question in only one thread
[OnePlus 5 Questions & Answers] vipklaus:
So at first, I have unlock boatloader..... twrp..... Root..... Magisk..... Aur hydrogen install kiya..... Then jab... Oxygen version aaya..... I directly flash it..... Uske Baad sab ho raha h problem.....not able to flash twrp and install magisk.zip
[OnePlus 5 Questions & Answers] vipklaus:
I am not able to attach photo the same..... In case plz share mail id or whats app no...
[OnePlus 5 Questions & Answers] strongst:
You can post broken links. Also you need to provide file names as already mentioned, otherwise it's not possible. Exact installation steps or the steps you folowed are necessary. We cannot look into your mind, so you need so provide as much as possible ;)

This is a forum hence no individual mail or whatsapp support.
[OnePlus 5 Questions & Answers] vipklaus:
File name recovery

Showing error no file or directory...

So this file us under platform tools name as recovery

Using in MacBook pro..... Terminal... fastboot boot recovery recovery.img and tried fastboot flash recovery recovery.img

Earlier I have used windows to unlock boatloader and install magisk.....

Only wrong step.... I did was install oxygen from local upgrade from hydrogen os...

Please help to install magisk zip... And it says my phone is not rooted.....
[OnePlus 5 Questions & Answers] strongst:
You did not say what versions of Magisk, twrp OxygenOS you have or trying to flash. You did not provide an log of the flashing attempt of twrp.

So i cant help you, cause I can't look into your mind. Please provide the information I recommended earlier.
[OnePlus 5 Questions & Answers] vipklaus:
Magisk 19.3......twrp 3.1.1.1.img....and twrp 3.3.1.0 nothing is working... Oxygen os version 9.0.8

From where i will get this log you require....

---------- Post added at 05:36 PM ---------- Previous post was at 05:04 PM ----------

Error couldn't create a device interface iterator : (e00002bd)

Above error showing in MacBook terminal