yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] null0seven:
1. Flash twrp blu spark 8.61

Do a clean flash. Wipe everithing EXCEPT internal storage.

2. Install rom.

3. For root, install Magisk 14.5 or SuperSU SR5. If it's not well install reboot to recovery. If you get stuck reboot to recovery by Power button. Reinstall the root app.

Reboot recovery.

4. Reinstall recovery by Twrp. Install > image > select img. ( you must have the recovery image in the phone )

Reboot to RECOVERY.

If it's ok reboot to system. If not reinstall recovery.
[OnePlus 5 Guides, News, & Discussion] Uzumaki:
Hey,

As my device is encrypted and I have to manually format data to become decrypted. Then while unlocking bootloader it should not delete my data on internal storage right?
[OnePlus 5 Guides, News, & Discussion] patr_:
No, unlocking the Bootloader removes all data from your device, INCLUDING internal storage.
[OnePlus 5 Guides, News, & Discussion] null0seven:
Unlocking Bootloader wipes ALL in youre phone.
[OnePlus 5 Guides, News, & Discussion] pysklona:
SuperSU doesn't work Open Beta. At least not with me, I'm encrypted and just get rebooted back to recovery
[OnePlus 5 Guides, News, & Discussion] null0seven:
I use Magisk. I use SuperSU only on first OREO for OnePlus 3.
[OnePlus 5 Guides, News, & Discussion] gonsa:
I'm encrypted, can I use this method?
[OnePlus 5 Guides, News, & Discussion] null0seven:
On Settings my phone shows, Encripted. I don't use passwords, PIN, etc.
[OnePlus 5 Guides, News, & Discussion] NikWarlord:
I presume that's the problem we are all getting.

I rolled back to 4.5.15 for now. Dont wanna erase all.
[OnePlus 5 Guides, News, & Discussion] null0seven:
If you like, flash xXx NoLimits. That one works fine with Magisk 14.6, but you also need to FORMAT DATA.

I did.
[OnePlus 5 Guides, News, & Discussion] woolymaggot:
This worked then........

Everything worked fine then stupidly not concentrating I wiped everything, backup...the lot....dumb a##

I have TWRP installed (had to go back 1 version as touch screen stopped working)

PC has all necessary drivers etc

I cannot copy files from PC to 1+5, sees phone but can't create new folder

Tried adb sideload....failed. Fault message on phone was a newer version of adb is required, again, don't get this as bootloader unlock, root etc worked

Basically I cannot flash a ROM so stuffed at this point....pretty paper weight.

Gonna carry on looking through various guides but close to waving the white flag.

Anyone with who has experience and recovered from this, I'm all ears

Thanks
[OnePlus 5 Guides, News, & Discussion] vortex-5:
Does the dm-verity file listed here still work for Oreo or do you need the new updated zip that is floating around with another tutorial?
[OnePlus 5 Guides, News, & Discussion] xZARx:
oreo

is this guide still good for Oreo update?
[OnePlus 5 Guides, News, & Discussion] ivivdim:
Try use OTG cable and flash drive to copy files to the phone - when the flash drive is inserted you will have option to mount USB (search in TWRP menu).
[OnePlus 5 Guides, News, & Discussion] woolymaggot:
Thanks bud. I managed to format user data via fastboot, flashed TWRP then transferred a ROM to my OP5. My previous failed attempts appeared related to encryption but no idea why as I'm still developing my knowledge.

This guide works a treat to unlocking bootloader, rooting etc.

More hoops to jump through after that with the ROMs though than my good old OPO.

Thanks OP, great job
[OnePlus 5 Guides, News, & Discussion] dego_:
Would be great to know that.
[OnePlus 5 Guides, News, & Discussion] allcracked:
It's not working for me. After I flash TWRP it will not see anything on the internal memory, it states 0 MB. You can factory reset, then flash the whole os's zip and try to flash SuperSU or magisk, but you'll end up in a boot loop.
[OnePlus 5 Guides, News, & Discussion] xZARx:
Which TWRP are you using? I've read somewhere that Blu_Spark TWRP should be used for Oreo. Have you tried it?
[OnePlus 5 Guides, News, & Discussion] jauhari:
Blu_Spark and Official didn't work for me, but China version work on me..
[OnePlus 5 Guides, News, & Discussion] blinkin:
And I was wondering since the beginning why my twrp doesn't stick and that's because I'm not rooted :/
[OnePlus 5 Guides, News, & Discussion] serlex:
I'm currently running Oreo 5.0 and was thinking about decrypting before updating to 5.0.1

But I have a question about the decryption process.

1. Do I need to decrypt every time after flashing a new rom? Or once I decrypt I stay decrypted?

2. If I make a nandroid backup of Data, decrypt and then restore the data nandroid, do I stay decrypted?

Thank you!

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[OnePlus 5 Guides, News, & Discussion] shadowstep:
1. No, once you've decrypted, you will stay decrypted (you have to flash the no-verity zip every time you dirty/clean flash a ROM) unless you manually encrypt or return to OOS stock.

2. Yes, you will stay decrypted. Re-encryption, as stated in the above point, will require your manual input/return to full stock.
[OnePlus 5 Guides, News, & Discussion] serlex:
Thanks a lot of your help.

So if I understood correctly once I decrypt I need to keep flashing the no verify every time I update OS or I would get encrypting back c, right?
[OnePlus 5 Guides, News, & Discussion] allcracked:
I had to use twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger to make it work in OOS5 I make a factory reset, transfered latest beta, magisk 15.2 and the no verify zips, flashed in that order and it's working now.

Thank you for your help.
[OnePlus 5 Guides, News, & Discussion] Absalom34:
Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery.

An example of this please?'
[OnePlus 5 Guides, News, & Discussion] Ikkegwn:
So, i downloaded the update, my internet didn't like it and in the end it failed. I'm already rooted so what the hell do i have to do?
[OnePlus 5 Guides, News, & Discussion] Gambo_7:
Download it again?
[OnePlus 5 Guides, News, & Discussion] Ikkegwn:
Just like that? because it failed and i'm not certain it will work. It's quite the big update too. and the update says, "if you have unlocked bootloader, it's likely to fail"
[OnePlus 5 Guides, News, & Discussion] aritrab:
yes
[OnePlus 5 Guides, News, & Discussion] gyedema:
Is the no-verity zip mandatory? Or is the twrp and magisk sufficient?

By the way: I flashed the Blu-spark twrp version, without rooting it after that (so, no Magisk or Supersu flashed). I reboot manually in recovery, and twrp starts. However, after powering down, restarting system, the stock recovery is back again when I reboot into recovery after that. Is that because it's not rooted?
[OnePlus 5 Guides, News, & Discussion] celesterafael:
Stuck on recovery mode

Hello,

I tried to follow this tutorial, but after I installed magisk (v15.3) I always get back to the recovery boot.

I'm using the latest version of TWRP (twrp-3.2.1-0-universal-codeworkx-cheeseburger) and I'm in android 8.0 but not the open betas.

If I wipe the phone, it boots to the system normally.

Can someone help me? Thanks
[OnePlus 5 Guides, News, & Discussion] MuhKuhMuh:
The trick is to flash the rom again, then (no reboot) magisk, then reboot into system
[OnePlus 5 Guides, News, & Discussion] Sealvin3:
Hello,

I flashed the official rom from the website One Plus, but the phone keeps rebooting in recovery mode (from one plus 5 and not twrp) ...

Any idea ?
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
From nougat to oreo? If yes you must reboot in stock recovery and in wipe section choose erase everything then your phone should boot
[OnePlus 5 Guides, News, & Discussion] Sealvin3:
It works !! Thank you very much !!
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
You"re welcome :good:
[OnePlus 5 Guides, News, & Discussion] 1vy:
I struck in TWRP (3.2.1) without OSS and when I try to flash lastest OSS 5.0.1 it show error 7.

So, what can I do to get my phone back :crying: .

PS. I'm newbie trying to root my OP5 , everything was ok (MY OP5 is rooted) but when TWRP couldnt find ANY FILES in my device i decided to wipe all data and I got this problem :crying::crying:
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
Install the universal twrp from codeworkx which you can find here

https://xdaforums.com/oneplus-5/development/recovery-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723

Copy and paste the 5.0.1 full Ota zip on your phone and install it and the phone should boot. If it doesn't boot and you hang in a bootloop, reboot in codeworkx twrp and go in wipe section, choose advance wipe, then you see a point which called format data, tap on it and then type yes. Then copy and paste OOS 5.0.1 rom zip again on your phone and install it :good:
[OnePlus 5 Guides, News, & Discussion] 1vy:
Install via TWRP? , I've done that with twrp codeworkx but it wounld work :( .

Cuz it failed to install and I found something, "E3004 : This package is for "OnePlus 5" devices; this is a "OnePlus 5T"".

:crying::crying:
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
So which device you have a OnePlus 5 or a OnePlus 5T
[OnePlus 5 Guides, News, & Discussion] 1vy:
now I can install Custom rom , Phoenix, so what should I do next?
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
Flash rom and gapps and reboot
[OnePlus 5 Guides, News, & Discussion] 1vy:
5 . But now I can install custom rom, Phoenix , so what should I do next?
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
Are you sure that you have OnePlus 5? Because this error message is curious

Your fingerprint scanner at the front or at the backside?
[OnePlus 5 Guides, News, & Discussion] 1vy:
Front fingerprint scanner. Definitely sure it's OP5. So, I should flash gapps (rom?!) and reboot?. Cuz I can't flash OSS 5.0.1 with same error :crying:
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
First rom and straight after rom gapps then reboot
[OnePlus 5 Guides, News, & Discussion] 1vy:
I just understand what gapps is :D (Google Apps LOL). But I really want to get OSS. So could it be possible ? :crying:
[OnePlus 5 Guides, News, & Discussion] GraveDigger176:
Yap install first a custom rom, you was on oreo from OnePlus before you get in trouble with it?
[OnePlus 5 Guides, News, & Discussion] 1vy:
Yep I was on Oreo from OnePlus before having this problem.
[OnePlus 5 Guides, News, & Discussion] santo77888:
Dude, thanks a lot!

I followed two youtubers and almost broke my cell phone ...

Following your tutorial I got it very easy, thanks for sharing your knowledge :)
[OnePlus 5 Guides, News, & Discussion] Funk Wizard:
Blu_Spark TWRP updated on the OP ;)
[OnePlus 5 Guides, News, & Discussion] Sathvikroxxx:
Can I unlock the bootloader while I am on the open beta 4? Or should I go to a stable build and then unlock the bootloader
[OnePlus 5 Guides, News, & Discussion] strongst:
Sure you can unlock bootloader.
[OnePlus 5 Guides, News, & Discussion] dego_:
I assume all that can be successfully done on stock OOS 5.1, right?
[OnePlus 5 Guides, News, & Discussion] laupuy:
Yes
[OnePlus 5 Guides, News, & Discussion] dego_:
Guys, I've been reading this thread, but it doesn't seem to contain the info I'm looking for. I would love to confirm if the step by step procedure I envision is correct before I jump to this rooting and flashing adventure with OP5 (I used to flash a bunch of roms on my Moto X2 last year).

Prerequisite: my OP5 is running stock 5.1.

Step 1. Unlock BL

Step 2. Flash blu spark 8.61 TWRP (someone says chinese TWRP works better)

Step 3. Is it needed to flash OOS 5.1 full OTA zip now?

Step 4. Flash latest Magisk (v15.3, I guess) to have root.

Step 5. Reboot to recovery.

Step 6. Reboot to system.

Could you please let me know what's missing/redundant/wrong here?
[OnePlus 5 Guides, News, & Discussion] Leonard13:
I try unlock bootloader from rom beta 4 don't working..

Drivers my device no detect
[OnePlus 5 Guides, News, & Discussion] Aragonia12:
Update Oneplus 5 to OOS 5.0.2 and tried to root with magisk. Didn't work. It would not boot up
[OnePlus 5 Guides, News, & Discussion] Absalom34:
Flashing

Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery.

Can someone explain this?

What full OTA must flashed and where? and after that,,, where do we must to flash the partial OTA?

Can someone name me the steps for a new unlock and everything from a device that never had all this boot unlock, recovery flash and everything adding a kernel?? I mean, when should we flashed the kernel, and what wipes should be applied if It is necessary ?

Thanks and please I need to know. A little help here
[OnePlus 5 Guides, News, & Discussion] Dario9781:
hi guys i need help, i followed the procedure on xda to unlock the bootloadre and root, after flashing magik the phone wont boot it just reboot in to recovery.

any advice?
[OnePlus 5 Guides, News, & Discussion] Abdulaziz6p:
What's the difference between Nandroid Backup and EFS ?
[OnePlus 5 Guides, News, & Discussion] strongst:
EFS is the partition with your IMEI numbers where nandroid backup is the backup method which can backup those partition(and any other partition).
[OnePlus 5 Guides, News, & Discussion] Toxicalien911:
Hey there guys.

So I wanted to root my OP5 with Magisk.

Started the rooting process by watching YouTube videos (I'm kindda noob in this stuff) and I successfully unlocked my bootloader via ADB.

INSTALLED the TWRP and copied the relevant Magisk zip folder to my internal drive but TWRP is showing 0mb in my storage and I can't see zip files in any directory whatsoever.

Can anyone tell me what's wrong there?

On a second note, I also tried flashing Nougat official rom in my OP5 via TWRP but the same thing happened, no zip files are showing in TWRP.

Please help, I really want to enjoy all the rooted modules on my. ONEPLUS 5.
[OnePlus 5 Guides, News, & Discussion] flashallthetime:
So I have tried 2 times to decrypt my OP5, formatted in TWRP and flashed no verity OP5 zip and flashed magisk and I'm still encrypted wtf.
[OnePlus 5 Guides, News, & Discussion] morfances:
Format data and type yes

wipe all except Otg

Copy files from PC to device

Flash no verity

Flash any ROM

Flash gapps

Flash magisk

Flash no verity

Reboot

You are decrypted!

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[OnePlus 5 Guides, News, & Discussion] laupuy:
Hi,

[MENTION=6143932]Funk Wizard[/MENTION]

Update for official twrp for OP5T and OP5: https://plus.google.com/+DeesTroy/posts/5ndBPdjHELb

Ethan Yonker (Dees Troy) 9 mars, 05:58

Updated #TWRP for Pixel devices and OnePlus 5 and OnePlus 5T with support for decrypting the February security patch.

;)
[OnePlus 5 Guides, News, & Discussion] ddaharu:
Dirty flashed over beta 5.

Wiped dalvic cache though.

Installed some substation overlays.

Thanks for the update, OP.
[OnePlus 5 Guides, News, & Discussion] Paz9:
if clean flashing should you flash magisk before first boot or after?
[OnePlus 5 Guides, News, & Discussion] Jo_Bro:
Cant seem to enter fastboot - FIXED (I'm an idiot)

Hi, I've got a OP5 and ive followed your steps to the up to entering fastboot mode, the problem is as the title says, i cant seem to enter fastboot mode, I havent done actually done anything to my phone yet (apart from doing the dev settings, enable debuging etc.) when i try to enter fastboot mode i hear the USB connected noise from windows but nothing comes up on the phone, its just a black screen. I can turn the phone off as normal by holding the power button when in the non responsive 'fastboot' mode.

thanks,

System info

OnePlus 5 128gb/8gb model (ONEPLUS A5000)

android 8.0.0

OxygenOs: 5.0.4

Security patch Dec 1 2017

Kernel Version: 4.4.78-perf+

OnePlus@ubuntu-23 #1

Fri Feb 23 01:25:38 CST 2018
[OnePlus 5 Guides, News, & Discussion] fedex_742:
hello!

if i want to uninstall magisk and not to get a bootloop, what do i have to do?

thank you!
[OnePlus 5 Guides, News, & Discussion] Absalom34:
Download all the files, place SuperSU or Magisk on Device Internal Memory and TWRP img in the Android Folder under the Platform Tools folder in C Drive <------------------- Whereis this??? Any picture please?
[OnePlus 5 Guides, News, & Discussion] strongst:
It's the same directory where you installed the adb tools from the instructions here https://xdaforums.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877/post72748916

It's not necessarily C. It depends on your system.

The requirements are that you have the twrp.img within the folder where you execute the command to flash the twrp recovery with "fastboot flash recovery twrp.img" where twrp.img needs to be replaced by your name of the Twrp.

---------- Post added at 02:29 PM ---------- Previous post was at 02:24 PM ----------

Maybe you found your answer, but you just need to open magisk manager app and hit uninstall and follow the instructions. That's it.
[OnePlus 5 Guides, News, & Discussion] hagamablabla:
Can anyone confirm if the official twrp-3.2.1-1 ROM works for Oreo? I soft bricked my phone once already and I'd rather not do it again.
[OnePlus 5 Guides, News, & Discussion] ahmed.ismael:
yes it works

but there is a lot of means to soft brick a device ( all up to you and what you are doing to your own device )

seriously if you followed what OP said then you are good ( the same for all developments threads,follow what is written in the OP )
[OnePlus 5 Guides, News, & Discussion] fedex_742:
i did that but i get bootloop..
[OnePlus 5 Guides, News, & Discussion] ardvrk571:
You might need to reflash and start again.

As [MENTION=7003469]ahmed.ismael[/MENTION] said if you follow the instructions in the original post you will be fine. Read OP, read it again. I had no problems. The instructions were perfect. I only deviated as I used Linux instead of Windows
[OnePlus 5 Guides, News, & Discussion] hagamablabla:
Haha, true enough. I've done it right before, it's just that this time I tried to flash an update without knowing about the Oreo encryption first, so I softbricked it. Thanks mate.
[OnePlus 5 Guides, News, & Discussion] RoPirate:
Hey! I tried following the guide, but when I flashed the Magisk zip from TWRP then rebooted the system, my screen turned black and the notification led turned white.

What can I do? Please keep in mind I'm kind of a noob at this.
[OnePlus 5 Guides, News, & Discussion] evomas:
edit
[OnePlus 5 Guides, News, & Discussion] telenut:
oeps, wrong forum, I have the 5t :)
[OnePlus 5 Guides, News, & Discussion] kiran8631:
After flashing bluespark latest twrp and booting to system and than flashing magisk latest stable and beta version gives bootloop..any solution..I am on latest oxygen beta version
[OnePlus 5 Guides, News, & Discussion] strongst:
Use blue spark 8.73 and magisk 16.3. Latest Magisk and blue spark can causing errors.
[OnePlus 5 Guides, News, & Discussion] kiran8631:
Tried but still the same result...that is bootloop
[OnePlus 5 Guides, News, & Discussion] lollos97boom:
Is this guide okay for my oneplus?

Hello my oneplus 5 (128gb/8gb ram) has the latest updates.

Android version: 8.1.0 and Oxygen Os: 5.1.1

Is it okay to use the guide in the first page to root my device or i will have to go with a different procedure? Because from what i understood the guide was writen for an older version of android.

Also i would like to ask after the root procedure will i receive the updates? Or i will have to download them and flash them manually?

Thank's in advance! :)
[OnePlus 5 Guides, News, & Discussion] ardvrk571:
[MENTION=5676038]lollos97boom[/MENTION]

The guide will be fine. You will receive a notification of the update. It will detect you are running root and download the full update, not just the patch. You will need to flash from TWRP using the update in the .ota folder. The last one I did was around 1.6 GB. Remember to reflash Magisk after the update and before you reboot. Otherwise you lose root.

If you are new to flashing and rooting read the instructions a few times. If you are not sure ask before you start.
[OnePlus 5 Guides, News, & Discussion] kimon60:
Hello everyone,

I decided to update from Nougat to Oreo and from that moment everything went sideways.

For some strange reason if i install a custom recovery after the first reboot it switches back to stock always.

I do have unlock bootloader.

I also tried to decrypt phone with the guide but no luck.

What am I doing wrong?
[OnePlus 5 Guides, News, & Discussion] ardvrk571:
You need to flash root before you reboot. Use Magisk. If you don't you get stock recovery. This is normal
[OnePlus 5 Guides, News, & Discussion] carlese:
Guys I'm getting my OP5 back from repair, I think they'll flash stock firmware and lock bootloader.. Do I need to first boot to system and enable OEM unlocking or can I unlock the bootloader directly from fastboot without booting to system the first time? The guide tells to allow OEM unlocking in the recovery part, not in the bootloader part..
[OnePlus 5 Guides, News, & Discussion] alfick3:
We'll you can probably boot to the boot loader and it'll tell you if it's locked. If it is, bit all the way and go into settings and make sure the OEM unlock is set to unlock. Then you can unlock it. You will always have to check that out it won't unlock. So if the factory service did relock it on you you will have to check and make sure.
[OnePlus 5 Guides, News, & Discussion] djeyreaper:
OnePlus cannot be broken :) dont worry

https://xdaforums.com/oneplus-5/how-to/unbrick-tool-oneplus-5-t3648169
[OnePlus 5 Guides, News, & Discussion] Ajab karki:
what if i have no access to setting beacause of dirac control has stopped and i haven't oem unock in developer option...any solution?
[OnePlus 5 Guides, News, & Discussion] Andrea Cioccarelli:
Awesome guide

Really exhaustive and useful tutorial. Thanks!

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

I have just one question, does root affects battery performances? Because on some devices, after the root prices they had become unreliable
[OnePlus 5 Guides, News, & Discussion] strongst:
No. But apps with root access can impact battery as well as apps without root.
[OnePlus 5 Guides, News, & Discussion] kranthir42:
i unlocked the bootloader and flashed twrp according to instructions but when booted in to system and went in to recovery it goes to stock recovery, what should i do(on the latest version of oos)
[OnePlus 5 Guides, News, & Discussion] strongst:
It sounds like you typed

"fastboot boot recovery" and forgot to flash the recovery with "fastboot flash recovery" to the appropriate partition.

Just check instructions https://xdaforums.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877/post72748921
[OnePlus 5 Guides, News, & Discussion] laupuy:
Read carefully and start again.

Flash twrp

Boot twrp

Flash magisk

And then, you can boot system!

If you don't flash magisk (root) the stock kernel will put back the stock recovery.
[OnePlus 5 Guides, News, & Discussion] kranthir42:
thanks that helped
[OnePlus 5 Guides, News, & Discussion] elitemeat:
Best way to update OP5?

I rooted my OP5 months ago and am wondering what is the easiest way to update to the newest version of Android and OxygenOS.

I'm still on Android 7.1.1 and stock OOS 4.5.10. What should I do to upgrade to the newest versions?

If I try to use the build in System Update option from Settings, would it work?