yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] wartomato:
TWRP is flashed to both slots.

Go to your current recovery, flash the zip of blu_spark, chose reboot to recovery. You should end up in the blu_spark version.
[OnePlus 6 Guides, News, & Discussion] Mord0rr:
Done!

Thank you my friend!!
[OnePlus 6 Guides, News, & Discussion] Mord0rr:
Edit:

Had to re-install Magisk....
[OnePlus 6 Guides, News, & Discussion] wartomato:
Depends on rom and magisk version... ;)
[OnePlus 6 Guides, News, & Discussion] Mord0rr:
Original 9.0.3 + xXx....nothing more.

It was nothing serious......now is ok!

Dank!
[OnePlus 6 Guides, News, & Discussion] v0 HaVoK 0v:
Does this work for Pie, been a while since I rooted any phone and read some things with TWRP not working with pie. So just making sure before I start
[OnePlus 6 Guides, News, & Discussion] ahacker:
The latest version of bluespark twrp that runs through "fastboot boot" command for me is twrp-3.2.3-x_blu_spark_v9.85_op6.img
[OnePlus 6 Guides, News, & Discussion] k!DDa:
I am reading some different opinions on that but which blu spark version should I use after updating to 9.0.4? v9.xx?
[OnePlus 6 Guides, News, & Discussion] yldlj:
Always use the latest. Which is v9.93
[OnePlus 6 Guides, News, & Discussion] dobi3:
Check my post from page 100

Works with Pie

Enjoy ? ?
[OnePlus 6 Guides, News, & Discussion] itstheunsub:
sending 'recovery' (14757 KB)...

OKAY [ 0.323s]

writing 'recovery'...

FAILED (remote: (recovery_a) No such partition)

finished. total time: 0.328s

Fix?
[OnePlus 6 Guides, News, & Discussion] petran07:
Please how can I make a proper restore of a backup without bootloop?
[OnePlus 6 Guides, News, & Discussion] ahacker:
First, try installing Magisk after restoring, then boot. If it doesn't work there is a more complicated route via reflashing a fastboot rom, read my note here. Remember to copy your backup onto an otg usb stick, or you will lose it when flashing the fastboot rom.

If the second method does not work, like it initialy did not for me, you might be screwed and will need to start afresh.
[OnePlus 6 Guides, News, & Discussion] thugslug:
I bet you didn't use the command

fastboot boot twrp.img

Whatever you did use won't work. Never any need to to specify the slot (if you did). It's looked after by itself.
[OnePlus 6 Guides, News, & Discussion] adrifc:
Hello!

First of all thanks for the guide, its really useful.

I just root my phone, but im not shure if I should disable OEM Unlock, USB debugger and advanced reboot after rooting, or its better to keep it enable.

Thanks!
[OnePlus 6 Guides, News, & Discussion] lm089:
Hi all,

first of all many thanks to the OP and everyone else who contributed to this guide.

I'm expecting my OP6 sometime next week so I'm trying to be prepared. Tried to read the better part of this guide but with well over 1000 posts since May 2018 this is a tedious task.

Main reason for me considering to root the new device is that I don't feel like setting up all my apps from scratch but am hoping to be able to use Titanium to restore all app settings etc. Also I'd love to be able to use a root explorer as well as being able to debloat the device to a certain extent (although I hear that oneplus devices aren't bloated that much as compared to other devices).

Been running Xperia devices for several years now (see signature), both of them rooted. So I'm not really new to the topic, but then again I probably am, since apparently OP6 is different from what I'm used to.

Let me try to condense what I understood so far and I'd like to ask for confirmation or correction wherever it's applicable:

I understand that with OnePlus I DO NOT lose warranty if I unlock bootloader, install a custom recovery and apply root (as is still the case with most other vendors)

post #994 gives me the link to download the latest version of twrp being compatible with the latest OTA version of OOS (being based on Pie)

On my Xperias I'm currently running Magisk V 18.1 with MagiskManager V 7.0.0, and I assume that I can go with those versions as well for the OP6

following instructions on the first posts of this guide as well as this guide here (linked from post #378) as well as others I learned how to unlock the bootloader, boot to twrp, install it to 2 different slots etc. I assume that all guides still are up to date

what's new to me is the fact that MagiskManager will offer me different options to install Magisk from what I'm used to, but I assume that Manager somehow will guide me through the process

I read somewhere (in the German android-hilfe forum) that there might be issues with DRM levels restricting the use of streaming apps; this is not a problem for me as I'm an old-school standalone tv user, but it's still good to know. Can abnyone confirm whether this is still the case?

I understand that I have to take care that I don't go for partial OTA updates from OnePlus. But I assume that updating process will let me choose between options

Should I ever need to restore the original state of my future OP6 I can follow this guide or this one to re-lock bootloader and return to default Stock ROM (I'm fully aware that everything will be wiped and reset)

2 questions that currently remain are:

will I have to re-install TWRP and Magisk after each and every OTA update, or will both survive any complete updates?

is it still true that I need to first remove any security locks (like patterns, PINs and/or fingerprint scans) before creating backups as is mentioned here at #7 and #8?

Many thanks for reading into this catalog of conclusions and questions
[OnePlus 6 Guides, News, & Discussion] thugslug:
Yes. Always remove all security before backups before you upgrade anything. Saves heartache despite some saying you don't need to. Main prob is if you ever want to downgrade to a rom with an earlier security patch, you'd better have removed all security first.

Use blu_spark twrp. Latest is 9.93.

The slots take care of themselves. The phone knows what to do with them, but follow upgrade instructions given in many places.

Upgrade from the system Updater will get you back to stock each time, but it's hardly a chore to load twrp and Magisk from scratch again, except you need a pc for the first load of the TWRP image (fastboot boot twrp.img).

If you update ROM's through twrp you won't lose root if you're careful. This is where after the ROM flash through twrp you don't reboot after but flash twrp again (it flashes itself to both slots), then go to magisk manager before you reboot and flash it to the inactive slot. It's in the Magisk install menu (flash to inactive slot after ota). Only now do you reboot, as the phone changes slots and you need to get magisk on the inactive slot before it changes to it.

There's an alternative. After flashing rom in TWRP, not rebooting, then flashing twrp again, you can reboot then before magisk and get again back into twrp and flash the ROM and twrp again a second full time. This gets the ROM on both slots.

Then flash magisk through twrp as usual.

You just have to understand what the phone does with the slots and work with it (or around it).

Oneplus also has this great OP Switch app that allows you to switch phones painlessly. Look it up, read all about it and check it out when you get the phone before you fiddle with anything else. It's in the play store too.

Thanks for being probably the only person (since me) haha to study the forums for days before I touched anything. It will pay off, but if you do get into trouble there's always a way out with OP phones.
[OnePlus 6 Guides, News, & Discussion] yldlj:
The way to update the OP6 with TWRP and root is this:

Reboot to latest twrp recovery (bluespark is recommended)

Flash magisk uninstaller

Flash oos full ROM zip

Flash latest twrp zip

Reboot recovery

Flash magisk

Reboot system

Another method:

Remove magisk modules

Download the OTA from system settings (it will automatically download the full ROM zip because of root)

Once the phone has flashed the update don't reboot. Open magisk manager and install twrp A/B retention script module, then flash magisk to inactive slot and reboot.
[OnePlus 6 Guides, News, & Discussion] lm089:
Thanks both [MENTION=8957402]thugslug[/MENTION] and [MENTION=4107018]yldlj[/MENTION].

Now this is interesting: both of you mention a method to go into Magisk Manager before reboot into system. That would mean that there is a Magisk Manager version available from TWRP. Been using Magisk for quite a while now but I've never seen options to configure it from recovery. Is this something special I need to install?

>>

UPDATE:

just found Magisk Manager for TWRP module; I assume that's what you are referring to? Installed it on my Xperia and got it working...

Apparently, yes. I'll try to find some info about this...

Sure will. Are referring to this app >> "OnePlus Switch"? Thanks for hinting.

I admit that I fell asleep over it somewhere around page #20 :p

Had too many hassles with my first rooted phone several years ago, and had to go through several cases of soft bricking my Xperia. Don't want to risk destroying a brand new phone
[OnePlus 6 Guides, News, & Discussion] yldlj:
You don't need a magisk manager from twrp. The OTA will download and install while being in the system, then you will be prompted to reboot but don't. Instead open magisk manager and install the twrp retention module and magisk onto the other slot, then reboot.

TBH the easiest way to update is to flash OOS ROM in twrp.
[OnePlus 6 Guides, News, & Discussion] lm089:
Ok, got it :svetius:

I'll see what's it going to be like once I'll hit my first update ;)
[OnePlus 6 Guides, News, & Discussion] thugslug:
Yeah.... My mate [MENTION=4107018]yldlj[/MENTION] said the bottom line real well here.

There are quite a few combinations / strategies to update.

I only covered 2 or 3, but there's many combinations possible - yldlj is right about the easiest.

I don't mind using a pc and fastboot. So, if anything seems weird, I take the long but very safe, clean way, and update via ota (or local updater). Then reboot and I'm back to pure stock with a clean system. Then I fastboot the TWRP image, then flash the TWRP zip, reboot to make sure it's all good, then flash magisk and any kernel I might want to try.

Once you've done that a few times it's actually quick and easy too. And has never failed.

And just for completeness, I run Mint Linux on my laptop with the adb and fastboot packages installed. With Linux it just works. No need to worry about OP device drivers and updating them. All that crap I don't have to worry about.

I've also been on the open beta stream for ages, just out of interest in the latest, and to help out, and there's very few real problems, especially if you clean flash if something isn't right.
[OnePlus 6 Guides, News, & Discussion] yldlj:
? I also take the OTA normally then use my laptop to flash TWRP. img it's takes all of 1 minute
[OnePlus 6 Guides, News, & Discussion] thugslug:
Well [MENTION=4149551]lm089[/MENTION], there you go.

Both yldlj and I do that.

There's a hint in there for you somewhere.

And lots of alternatives to try when you have found your way around your new phone.

Good luck with it all mate.
[OnePlus 6 Guides, News, & Discussion] lm089:
Yep, same situation on my home notebook: dual boot with Mint vs. Win10. Most of the time I'm going into Mint when using adb or fastboot. Only with the Xperias there are some Sony native applications running on Windows only. But I don't expect that with OP. Can't wait to get going... (greets across the globe, Sinney used to be me my favourite city once but it's been ages since I last visitied...)
[OnePlus 6 Guides, News, & Discussion] aizn_void:
The phone stops at the unlocked bootloader warning screen if I charge it while it's off. Is this a problem and if so, is there a solution for this except for charging while the phone is turned on. Thank you
[OnePlus 6 Guides, News, & Discussion] thugslug:
Known issue reported a gazillion times if you read the forums.

It doesn't really affect you much. Who really has to power off to charge anyway?

It actually charges, just won't boot until you disconnect.

It seemed fixed at one stage, but is present again in more recent ROM updates.
[OnePlus 6 Guides, News, & Discussion] aizn_void:
I was trying to "calibrate" the battery by charging it from 0-100 while the phone is off, if there was even any truth to that. Anyway thanks for the response
[OnePlus 6 Guides, News, & Discussion] griMa010100:
Hi everybody,

I need your help and yes it was stupid.

First I am not sure I am in the right thread: I successfully flashed twrp and I got A/B partition and I am probably rooted now.

But here is the problem: rebooting in recovery did not work right out of the box (because I used the wrong zip) and my stock recovery welcome screen had chinese and english entries. (english entries let me choose between recovery and fastboot and 2.0.

Anyway somehow I pressed the chinese one (first line) and unfortunately it looks like I deleted something, because now when I boot to system I only get the new welcome screen.

But I still can boot to recovery and I see my internal memory with all my files.

My question:

1) someone knows what I deleted?

2) how do I revert back to my working phone?

3) it is not a question: I have no backup

TIA
[OnePlus 6 Guides, News, & Discussion] WillowTree:
Solved your issue yet?

If you can boot into recovery can you boot into fastboot mode (bootloader)? If yes; fastboot twrp and re-flash stock to both partitions and factory reset.

1: from the information you written, hard to tell.

2: as point 3: hard to do without backup. But you could try if you manage to boot into the bootloader and fastboot twrp > flash stock or side-load stock from the bootloader (don't know if that works on oneplus).
[OnePlus 6 Guides, News, & Discussion] griMa010100:
Thx willowtree. I fixed it. I accepted I made a mistake. It was probably a factory reset without deleting internal memory. Lost a bit of data and learned my lesson again. I had a little bit dated backup from titaniumbackup, but I realised it is not really reliable. For instance they can not handle Signal. If you try to restore Signal it is only crashing. The so called "support" is just ridiculous. Anyway thanks for your help.
[OnePlus 6 Guides, News, & Discussion] WillowTree:
No worries fam, didn't even do anything.

I know the struggle, I'm coming from pixel 2 xl and the op6 is breaking my will.
[OnePlus 6 Guides, News, & Discussion] kipue:
Haha, been a very long term flasher like many6of us around here, and I'm totally pussying out on the op6.

That A/B BS is really stressing me out before even trying it lol
[OnePlus 6 Guides, News, & Discussion] WillowTree:
I know what you mean. But when you get the hang of it, it'll be easy.

I think it's important to learn how to get out of different holes. So learning from my/phones ****ty mistake tought me da wai.
[OnePlus 6 Guides, News, & Discussion] kipue:
Yeah you are right of course, I think I'll gibe it a go soon.

I like playing around with my phones too much and I'm missing it ^^

will come back around if I got questions
[OnePlus 6 Guides, News, & Discussion] WillowTree:
Of course mate. Just PM or quote if you got questions.
[OnePlus 6 Guides, News, & Discussion] lm089:
So I finally got my OP6. Updated to Stock Pie (9.0.4), unlocked bootloader etc. following my own todo list in this thread. All apparently went well with latest twrp 3.2.3 V 9.96 flashed to both slots and Magisk 18.1, too. Rebooted to system and installed MagiskManager V7. Then followed the recommendation to install Magisk to the 2nd slot through MagiskManager, then performed a reboot. And stared at the OP boot animation for approx. 10 minutes.

Did a hard reboot into twrp, switched from active slot A to B then rebooted, and that worked. Back in MagiskManager the "Install buttons" are missing for both Magisk and MM.

Rebooted into twrp, switched slots again (B > A), reboot to system, and again the boot animation goes on and on.

Question: did I somehow destroy Slot A, maybe also Slot B?

What should I do to solve that situation? Simply boot into B and let it sit there until the next OTA comes along? Or should I worry because something is wrong?

Would it be viable to uninstall Magisk from twrp, then relock the bootloader and maybe later start from scratch?

If I should do so: would I somehow also need to uninstall twrp, or will that be taken care of be the system itself?

Update:

realized that I can't to WiFi anymore, tried several things and finally performed a full system reset (no harm done, as I hadn't really setup the phone yet). I'm now nearly back at where I was this morning: no Magisk, no Twrp. Only bootloader is still open.

If I try again later: should I possibly resort to an earlier version of TWRP (V9.93)? Or did I simply make some mistake when I installed Magisk to the 2nd slot, then simply rebooted to system from the MagiskManager dialog?
[OnePlus 6 Guides, News, & Discussion] yldlj:
You don't boot magisk onto other slot unless you did an OTA. What you need to do is boot into the slot you know it's going to start. After your on the correct slot and your phone is working boot into twrp, flash magisk uninstaller, flash magisk 18.1 from twrp then reboot. Don't swap slots.
[OnePlus 6 Guides, News, & Discussion] lm089:
Perfect, seems to be working now. Thanks!
[OnePlus 6 Guides, News, & Discussion] thugslug:
Great. You're over thinking the slots. Remember before in one of my replies I said don't worry about them - they largely look after themselves.. The fanciest thing I've ever done with slots is flash magisk to the inactive slot after an OTA, knowing that the phone will boot to the other slot and that's where magisk needed to install.

Other than that, fiddling with the slots in any configuration you do will most likely bugger it up.

Glad you got there. You'll get used to it soon and you'll be doing upgrades while you're eating your breakfast.
[OnePlus 6 Guides, News, & Discussion] lm089:
You're most probably right. It was already quite late at night and I somehow got mixed up between 2 different descriptions...

Another question which maybe doesn't belong here in the first place, but then again:

Over the years I got so used to the fact that with custom roms you always have a standard mail app other than Gmail (which I don't like). Now I see that my op6 only has Gmail on it, so I'm looking for a simple straight forward app like you have it in aosp and lineage roms and the likes. Should be smooth, intuitive and lightweight and I'm willing to pay for it if like it.

Any hints welcome.
[OnePlus 6 Guides, News, & Discussion] dabistduja:
Look for bluemail. https://play.google.com/store/apps/details?id=me.bluemail.mail

Easy, solid working at every weather, nothing to pay.
[OnePlus 6 Guides, News, & Discussion] lm089:
Thanks. Yeah looks nice. It 's maybe a bit on the heavy side (about double the size of lineage's app), but I guess I'll test it a while
[OnePlus 6 Guides, News, & Discussion] shiwan:
Hi all. Okay so first off thank you for this guide.

Alas, I can't even get past the first step. As in, I can't unlock the bootloader.

I've tried many different options, many different drivers, absolutely none seem to work. My phone is detected when booted up normally, but absolutely not when in fastboot.

Other guides tell me to go the fastboot folder to type "fastboot devices" and all the commands after, but this guide doesn't specify where to do it? Does it have something to do with my issue?

All I get when typing fastboot oem unlock is "waiting for devices", without anything happening, same for my phone which doesn't show any special screen or whatever.

Why is it that with all the different adb drivers I tried to install, none work for me?! I run Windows 10 1809, if that's of any help.
[OnePlus 6 Guides, News, & Discussion] lm089:
AFAIK running Windows you need to have 2 different drivers (adb and fastboot). Make sure they're both installed. Also make sure that you enabled developer options and USB debugging on your phone.

Connect your OP6 to the PC using USB and make sure that the USB connection is set to file transfer (not only charging).

In Windows open a command prompt, cd to the folder where adb and fastboot are installed. Type "adb devices". This should be responded with your device's ID. If not, then review driver installation.

If your device is found type "adb reboot fastboot". Another (probably nicer) option is to enable the advanced restart menu from developer options, then reboot into fastboot/bootloader from the menu.

Your phone should now be in fastboot mode. On screen you should read some device info including the phrase "DEVICE STATE - unlocked" (on my phone this is printed in red). Type "fastboot devices" into Window's command prompt. This again should be responded by your device's ID plus the term "fastboot".

If the response is just an empty line then there's a chance that something's wrong with driver installation.

From then on it's as described at the OP

Good luck
[OnePlus 6 Guides, News, & Discussion] Sp33d_:
Today I tried to go back to stock 9.0.4.

I booted to recovery -> flashed OOS 9.0.4 -> flashed TWRP (TWRP 3.2.3-x blu_spark v9.96) -> reboot to recovery. Now TWRP is not asking for the encryption password but it asks if I want keep System partition read only (like in the screenshot URL="http://www.99mediasector.com/wp-content/uploads/2018/04/read-only-twrp-min.jpg"]here[/URL]) and all files are crypted (some random names).

I managed to reboot my system by changing manually the active Partition. Actual state: Slot A broken, slot B works

Somebody has an idea how I can fix this?

THX!
[OnePlus 6 Guides, News, & Discussion] yldlj:
You will need to format data to get around the encryption.
[OnePlus 6 Guides, News, & Discussion] thugslug:
Do what [MENTION=4107018]yldlj[/MENTION] said. 9.0.4 is back on Jan security patch unfortunately, and you can't revert to an earlier security patch without a wipe, incl format data, and clean install.
[OnePlus 6 Guides, News, & Discussion] kewinhw:
delete
[OnePlus 6 Guides, News, & Discussion] Rawwr:
if i unlock the bootloader of my oneplus6, will i be able to stream HD content on Netflix ?
[OnePlus 6 Guides, News, & Discussion] finotti:
Yes. (At least I can.)
[OnePlus 6 Guides, News, & Discussion] thugslug:
I don't use it, but wouldn't hiding it with magisk work, like it does with banking apps?

Someone who uses it should know if magisk hide works.
[OnePlus 6 Guides, News, & Discussion] yldlj:
No you can't as unlocking the bootloader changes the L1 widvine DRM to L3. Watching Netflix in full HD needs a locked bootloader.
[OnePlus 6 Guides, News, & Discussion] thugslug:
Thanks mate. Never use Netflix and I should have kept my gob shut. Haha.
[OnePlus 6 Guides, News, & Discussion] yldlj:
LOL All good it's not like you can't watch Netflix with an unlocked bootloader but to get full HD stream you need a locked bootloader. Unless things have changed recently...
[OnePlus 6 Guides, News, & Discussion] plopingo:
(Moderator Edit: reference to Warez removed - as per XDA's Forum Rules)
[OnePlus 6 Guides, News, & Discussion] yldlj:
That's not the problem tho. Also all you need to do to make your device "official", certified is to install magisk. Yes you will be able to download Netflix but you can't stream full HD
[OnePlus 6 Guides, News, & Discussion] john2529:
How do i get back to stock if i have done this?
[OnePlus 6 Guides, News, & Discussion] kewinhw:
When I have pin and fingerprint. It is Only the data partition they is encrypted right? So I can take a nandroid of all the other partitions of choise, except data without problems in the future? For example efs, boot, modem. And restore without problems?
[OnePlus 6 Guides, News, & Discussion] BoGnY:
hi guys, i have follow instruction to root my oneplus 6.. i have booted in twrp, installed twrp in both slots, but when i have to reboot to twrp for magisk installation, recovery don't boot, it is freezed on loading, and i'm not able to flash magisk.. any idea for solutions?? i have installed latest twrp 3.3.0-1
[OnePlus 6 Guides, News, & Discussion] yldlj:
Did you flash the twrp zip? Also you should use bluespark twrp